MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.HeldClocks

Complete held-row and TD comparison solutions for CH1 section 4. These are conditional writer comparisons; the full native construction is separate.

noncomputable def MindFormal.CoholdingCH1.helpDose (limit damping cutoff : ℝ) :
Equations
Instances For
    noncomputable def MindFormal.CoholdingCH1.fixedHelpTime (limit damping cutoff gain : ℝ) :
    Equations
    Instances For
      theorem MindFormal.CoholdingCH1.helpDose_pos {limit damping cutoff : ℝ} (hχ : 0 < cutoff) (hχL : cutoff < limit) (hd : 0 < damping) :
      0 < helpDose limit damping cutoff
      theorem MindFormal.CoholdingCH1.fixedHelpTime_exact {limit damping cutoff gain : ℝ} (hχ : 0 < cutoff) (hχL : cutoff < limit) (hd : 0 < damping) (hM : 0 < gain) :
      0 < fixedHelpTime limit damping cutoff gain ∧ ∀ (t : ℝ), (heldLink limit damping (gain * t) < cutoff ↔ t < fixedHelpTime limit damping cutoff gain) ∧ (heldLink limit damping (gain * t) = cutoff ↔ t = fixedHelpTime limit damping cutoff gain) ∧ (cutoff < heldLink limit damping (gain * t) ↔ fixedHelpTime limit damping cutoff gain < t)
      theorem MindFormal.CoholdingCH1.interval_right_derivative {H t d : ℝ} {f : ℝ → ℝ} (h : HasDerivWithinAt f d (Set.Icc 0 H) t) (ht : t ∈ Set.Ico 0 H) :

      An integrating-factor uniqueness statement on the actual finite window. It requires the differential equation and primitive, never a proposed solution.

      theorem MindFormal.CoholdingCH1.scalar_decay_zero {H rate : ℝ} {m D z : ℝ → ℝ} (hD : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt D (m t) (Set.Icc 0 H) t) (hz : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt z (-rate * m t * z t) (Set.Icc 0 H) t) (hz0 : z 0 = 0) (t : ℝ) :
      t ∈ Set.Icc 0 H → z t = 0
      theorem MindFormal.CoholdingCH1.scalar_forcing_solution {H a rate : ℝ} {m D w : ℝ → ℝ} (hr : rate ≠ 0) (hD0 : D 0 = 0) (hw0 : w 0 = 0) (hD : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt D (m t) (Set.Icc 0 H) t) (hw : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt w (m t * (a - rate * w t)) (Set.Icc 0 H) t) (t : ℝ) :
      t ∈ Set.Icc 0 H → w t = heldLink (a / rate) rate (D t)
      def MindFormal.CoholdingCH1.heldRowRhs {C : Type u_1} [Fintype C] (β receiver input : ℝ) (presence activity row : C → ℝ) (j : C) :

      The actual two-writer held row; the pool contains every competitor.

      Equations
      Instances For
        theorem MindFormal.CoholdingCH1.full_held_row_solution {C : Type u_1} [Fintype C] {β receiver input H : ℝ} {presence activity : C → ℝ} {m D : ℝ → ℝ} {w : ℝ → C → ℝ} (hd : rowDamping β receiver presence activity ≠ 0) (hD0 : D 0 = 0) (hw0 : ∀ (j : C), w 0 j = 0) (hD : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt D (m t) (Set.Icc 0 H) t) (hw : ∀ (j : C), ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt (fun (s : ℝ) => w s j) (m t * heldRowRhs β receiver input presence activity (w t) j) (Set.Icc 0 H) t) (t : ℝ) :
        t ∈ Set.Icc 0 H → ∀ (j : C), w t j = heldLink (rowBalance β receiver input presence activity j) (rowDamping β receiver presence activity) (D t)

        With the ENTIRE incoming row initially zero, the full competing-row ODE uniquely has its simultaneous-balance vector times a common gain-dose profile. Activities, receiver drive and presences are held on this finite window; the gain is free to move and all competitors and both writers remain present.

        theorem MindFormal.CoholdingCH1.heldRowRhs_assembled {C : Type u_1} [Fintype C] {n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i j : C) :
        assembledDrift d u q s (Sum.inl (i, j)) = (d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|) * heldRowRhs d.β (mindActivity s i) (d.drive (u i) (q i) (mindValue s i)) (fun (k : C) => d.presence (mindTrace s k)) (mindActivity s) (mindRelation s i) j
        theorem MindFormal.CoholdingCH1.original_held_row_solution {C : Type u_1} [Fintype C] {n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData C n T Λ) (u q : ℝ → C → ℝ) (s : ℝ → MindState C n T Λ) (i : C) (presence activity : C → ℝ) (input H : ℝ) (D : ℝ → ℝ) (hd : rowDamping d.β (activity i) presence activity ≠ 0) (hD0 : D 0 = 0) (hw0 : ∀ (j : C), mindRelation (s 0) i j = 0) (hactivity : ∀ t ∈ Set.Icc 0 H, mindActivity (s t) = activity) (hpresence : ∀ t ∈ Set.Icc 0 H, ∀ (k : C), d.presence (mindTrace (s t) k) = presence k) (hinput : ∀ t ∈ Set.Icc 0 H, d.drive (u t i) (q t i) (mindValue (s t) i) = input) (hD : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt D (d.gain fun (a : T) (b : Fin n) => |assembledResidual d (u t) (s t) a b|) (Set.Icc 0 H) t) (hw : ∀ (j : C), ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt (fun (z : ℝ) => mindRelation (s z) i j) (assembledDrift d (u t) (q t) (s t) (Sum.inl (i, j))) (Set.Icc 0 H) t) (t : ℝ) :
        t ∈ Set.Icc 0 H → ∀ (j : C), mindRelation (s t) i j = heldLink (rowBalance d.β (activity i) input presence activity j) (rowDamping d.β (activity i) presence activity) (D t)

        Original equation II, with its actual D3 gain on the original residuals, implies the held-row profile. Every holding condition is explicit. This does not assert that unrestricted native histories have constant drive or activity.

        theorem MindFormal.CoholdingCH1.scalar_decay_solution {H rate : ℝ} {m D z : ℝ → ℝ} (hD0 : D 0 = 0) (hD : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt D (m t) (Set.Icc 0 H) t) (hz : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt z (-rate * m t * z t) (Set.Icc 0 H) t) (t : ℝ) :
        t ∈ Set.Icc 0 H → z t = z 0 * Real.exp (-rate * D t)
        theorem MindFormal.CoholdingCH1.held_delivery_solution {C : Type u_1} [Fintype C] {η τ reward H : ℝ} {c : C → ℝ} {v : ℝ → C → ℝ} (hγ : η / τ * ∑ k : C, c k ^ 2 ≠ 0) (hv : ∀ (i : C), ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt (fun (z : ℝ) => v z i) (η * c i * (reward - (∑ k : C, c k * v t k) / τ)) (Set.Icc 0 H) t) :
        (∀ t ∈ Set.Icc 0 H, reward - (∑ k : C, c k * v t k) / τ = (reward - (∑ k : C, c k * v 0 k) / τ) * Real.exp (-(η / τ * ∑ k : C, c k ^ 2) * t)) ∧ ∀ t ∈ Set.Icc 0 H, ∀ (i : C), v t i = v 0 i + η * c i * (reward - (∑ k : C, c k * v 0 k) / τ) / (η / τ * ∑ k : C, c k ^ 2) * (1 - Real.exp (-(η / τ * ∑ k : C, c k ^ 2) * t))

        Complete one-element equation III under the source's conditional held activity/delivery and identity-response assumptions. All contents enter the prediction and decay rate; the residual trajectory is derived from III.