MindFormal v1.0.0One Mind

MindFormal.Tools.A705SharedDescriptions.RowAlgebra

The scalar algebra of 19.29 parts 5 and 8: the complete II row balance (MT1.20) and its degenerate rows, the balanced entry's directions in own drive and in a presence, the share change (MT1.9), the held-target envelopes (MT1.11) and crossing time (MT1.12). No mind object appears.

def MindFormal.A705SharedDescriptions.rowBracket {C : Type u_1} [Fintype C] (β e xi : ℝ) (c x w : C → ℝ) (j : C) :

The complete II bracket of row i, column j: presence c j, drive e, receiver activity xi, the row w, all activities x.

Equations
Instances For
    noncomputable def MindFormal.A705SharedDescriptions.balancedEntry (β e xi cj S : ℝ) :

    MT1.20's balanced entry C_j((1-β)e_i+βx_i)/((1-β)S+βx_i).

    Equations
    Instances For
      theorem MindFormal.A705SharedDescriptions.row_balance {C : Type u_1} [Fintype C] {β e xi : ℝ} (c x w : C → ℝ) (hβ : 0 < β) (hβ1 : β < 1) (hxi : 0 < xi) (hS : 0 ≤ ∑ l : C, c l * x l) :
      (∀ (j : C), rowBracket β e xi c x w j = 0) ↔ ∀ (j : C), w j = balancedEntry β e xi (c j) (∑ l : C, c l * x l)

      MT1.20: at positive receiver activity every bracket of the row vanishes exactly at the balanced entries, S = ∑ C_j x_j.

      theorem MindFormal.A705SharedDescriptions.row_balance_zero {C : Type u_1} [Fintype C] {β e : ℝ} (c x w : C → ℝ) (hβ1 : β < 1) :
      ((∃ (j : C), c j ≠ 0) → ((∀ (j : C), rowBracket β e 0 c x w j = 0) ↔ ∑ l : C, w l * x l = e)) ∧ ((∀ (j : C), c j = 0) → ∀ (j : C), rowBracket β e 0 c x w j = 0)

      MT1.20's undivided degeneracies at x_i = 0: with some positive presence the row balances exactly when the prediction meets the drive; with all presences zero every row has zero bracket.

      theorem MindFormal.A705SharedDescriptions.balanced_own_drive {β xi cj S : ℝ} (hβ1 : β < 1) (hc : 0 < cj) (hD : 0 < (1 - β) * S + β * xi) :
      (StrictMono fun (e : ℝ) => balancedEntry β e xi cj S) ∧ ∀ (e : ℝ), HasDerivAt (fun (e : ℝ) => balancedEntry β e xi cj S) (cj * (1 - β) / ((1 - β) * S + β * xi)) e

      MT1.20's direction in own drive: with positive presence the balanced entry is strictly increasing in the receiver's drive, slope C_j(1-β)/D.

      noncomputable def MindFormal.A705SharedDescriptions.presenceEntry (β e xi S₀ xk cj : ℝ) (own : Bool) (c : ℝ) :

      The balanced entry as a function of one presence c = C_k with the other arguments fixed: S = S₀ + c x_k.

      Equations
      Instances For
        theorem MindFormal.A705SharedDescriptions.presence_denominator {β xi S₀ xk c : ℝ} (hβ1 : β < 1) (hβ : 0 < β) (hxi : 0 < xi) (hS₀ : 0 ≤ S₀) (hxk : 0 ≤ xk) (hc : 0 ≤ c) :
        0 < (1 - β) * (S₀ + c * xk) + β * xi

        MT1.20's direction in its own presence: increasing C_k raises the k entry when its numerator factor (1-β)e_i+βx_i is positive.

        theorem MindFormal.A705SharedDescriptions.balanced_own_presence {β e xi S₀ xk : ℝ} (hβ1 : β < 1) (hβ : 0 < β) (hxi : 0 < xi) (hS₀ : 0 ≤ S₀) (hxk : 0 ≤ xk) (hN : 0 < (1 - β) * e + β * xi) (cj : ℝ) :
        StrictMonoOn (presenceEntry β e xi S₀ xk cj true) (Set.Ici 0)
        theorem MindFormal.A705SharedDescriptions.balanced_other_presence {β e xi S₀ xk cj : ℝ} (hβ1 : β < 1) (hβ : 0 < β) (hxi : 0 < xi) (hS₀ : 0 ≤ S₀) (hxk : 0 < xk) (hN : 0 < (1 - β) * e + β * xi) (hcj : 0 < cj) :
        StrictAntiOn (presenceEntry β e xi S₀ xk cj false) (Set.Ici 0)

        MT1.20's cross direction: increasing presence C_k strictly lowers every other entry j ≠ k with positive presence C_j, positive numerator factor and positive sender activity x_k.

        theorem MindFormal.A705SharedDescriptions.share_change (z dz P dP : ℝ) (hP : P ≠ 0) (hP' : P + dP ≠ 0) :
        (z + dz) / (P + dP) - z / P = (P * dz - z * dP) / (P * (P + dP))

        MT1.9: the exact change of a normalized share.

        theorem MindFormal.A705SharedDescriptions.focus_shares {zi zj P Δ g : ℝ} (hzi : 0 ≤ zi) (hzj : 0 ≤ zj) (hrest : zi < P) (hΔ : 0 ≤ Δ) :
        (zi / P ≤ (zi + Δ) / (P + Δ) ∧ (zi / P < (zi + Δ) / (P + Δ) ↔ 0 < Δ)) ∧ max (zi / P - g) 0 ≤ max ((zi + Δ) / (P + Δ) - g) 0 ∧ (0 < Δ → g < (zi + Δ) / (P + Δ) → max (zi / P - g) 0 < max ((zi + Δ) / (P + Δ) - g) 0) ∧ (zj / (P + Δ) ≤ zj / P ∧ (0 < zj → 0 < Δ → zj / (P + Δ) < zj / P)) ∧ max (zj / (P + Δ) - g) 0 ≤ max (zj / P - g) 0 ∧ (0 < zj → 0 < Δ → g < zj / P → max (zj / (P + Δ) - g) 0 < max (zj / P - g) 0) ∧ (zj / P ≤ g → max (zj / (P + Δ) - g) 0 = max (zj / P - g) 0)

        MT1.9 for an increase Δ ≥ 0 of one transformed input in a positive pool: its own share rises, strictly exactly when Δ > 0 (the rest of the pool is positive), and an unchanged competitor's share falls, strictly when it is positive and Δ > 0. Clipped targets follow weakly; the own target rises strictly when its new share exceeds g; a competitor's target falls strictly exactly when its old share exceeded g, and otherwise clipping keeps it at zero.

        theorem MindFormal.A705SharedDescriptions.held_envelope {ν Tlo Thi xlo xhi h : ℝ} (hν : 0 < ν) (hh : 0 ≤ h) (x T : ℝ → ℝ) (hx : ∀ t ∈ Set.Icc 0 h, HasDerivAt x (ν * (T t - x t)) t) (hT : ∀ t ∈ Set.Icc 0 h, Tlo ≤ T t ∧ T t ≤ Thi) (hx0 : xlo ≤ x 0 ∧ x 0 ≤ xhi) :
        Tlo + (xlo - Tlo) * Real.exp (-ν * h) ≤ x h ∧ x h ≤ Thi + (xhi - Thi) * Real.exp (-ν * h)

        MT1.11: with a held target band [T⁻, T⁺] and entering activity in [x⁻, x⁺], the zero-innovation reference of Equation I stays within the explicit exponential envelopes on the whole segment.

        noncomputable def MindFormal.A705SharedDescriptions.lowerEnvelope (ν Tlo xlo H d : ℝ) :

        MT1.11's lower envelope after a response time H - d.

        Equations
        Instances For
          theorem MindFormal.A705SharedDescriptions.latency_envelope {ν Tlo xlo H d₁ d₂ : ℝ} (hν : 0 < ν) (hd : d₁ < d₂) :
          H - d₂ < H - d₁ ∧ (xlo ≤ Tlo → lowerEnvelope ν Tlo xlo H d₂ ≤ lowerEnvelope ν Tlo xlo H d₁) ∧ (xlo < Tlo → lowerEnvelope ν Tlo xlo H d₂ < lowerEnvelope ν Tlo xlo H d₁)

          A longer latency leaves less response time: at fixed entering state and target, the response time H - d falls and the certified lower envelope at the deadline weakly falls, strictly when the entering bound lies below the target.

          theorem MindFormal.A705SharedDescriptions.held_crossing {ν T x b : ℝ} (hν : 0 < ν) (hxb : x < b) (hbT : b < T) :
          have t := ν⁻¹ * Real.log ((T - x) / (T - b)); 0 < t ∧ T + (x - T) * Real.exp (-ν * t) = b ∧ ∀ (d₁ d₂ deadline : ℝ), d₁ ≤ d₂ → d₂ + t < deadline → d₁ + t < deadline

          MT1.12: the held-target crossing time; the reference from x < b < T reaches b exactly then, and a crossing deadline met at latency d₂ is met at every shorter latency.