MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.ComparisonClocks

CH1.5--8 from complete II and III in the explicitly held writing comparison. Input and attention feedback are prescribed parameters of this comparison. All incoming links learn from zero, every value contributor is retained, and gain is evaluated on the original assembled residual. This does not assert native I/IV/V holds.

structure MindFormal.CoholdingCH1.HeldWriterComparison {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] (d : MindDriftData C n T Λ) (H : ℝ) (i : C) :
Type (max (max u_1 u_2) u_3)

The section 4 comparison's granted holds and original writer equations. h_presence_rate spells out zero derivative in the fixed-presence hold, as in the existing ValueComparison held contract. No row profile, residual solution, gain primitive, crossing event or time is a field. Attention is held; the received stream may vary while primary delivery, receiver drive and the complete cutoff obey their named holds. No native event or feedback solution is presumed.

Instances For
    def MindFormal.CoholdingCH1.HeldWriterComparison.damping {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) :
    Equations
    Instances For
      noncomputable def MindFormal.CoholdingCH1.HeldWriterComparison.limit {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (j : C) :
      Equations
      Instances For
        noncomputable def MindFormal.CoholdingCH1.HeldWriterComparison.valueRate {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (b : Fin n) (a : T) :
        Equations
        Instances For
          noncomputable def MindFormal.CoholdingCH1.HeldWriterComparison.initialError {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (b : Fin n) (a : T) :
          Equations
          Instances For
            theorem MindFormal.CoholdingCH1.HeldWriterComparison.residual_eq {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) {t : ℝ} (ht : t ∈ Set.Icc 0 H) (b : Fin n) (a : T) :
            assembledResidual d (A.input t) (A.state t) a b = A.delivery b - (∑ k : C, A.presence k * mindValue (A.state t) k b a) / d.τ a
            theorem MindFormal.CoholdingCH1.HeldWriterComparison.values {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (hk : ∀ (z : Fin n → ℝ), d.response z = z) (b : Fin n) (a : T) (hγ : A.valueRate b a ≠ 0) :
            (∀ t ∈ Set.Icc 0 H, assembledResidual d (A.input t) (A.state t) a b = A.initialError b a * Real.exp (-A.valueRate b a * t)) ∧ ∀ t ∈ Set.Icc 0 H, ∀ (k : C), mindValue (A.state t) k b a = mindValue (A.state 0) k b a + d.η b * A.presence k * A.initialError b a / A.valueRate b a * (1 - Real.exp (-A.valueRate b a * t))

            CH1.6 for any selected element and horizon, each at its own rate. The residual and the value solution are derived from the original full III.

            theorem MindFormal.CoholdingCH1.HeldWriterComparison.row {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (D : ℝ → ℝ) (hd : A.damping ≠ 0) (hD0 : D 0 = 0) (hD : ∀ t ∈ Set.Icc 0 H, HasDerivWithinAt D (d.gain fun (a : T) (b : Fin n) => |assembledResidual d (A.input t) (A.state t) a b|) (Set.Icc 0 H) t) (t : ℝ) :
            t ∈ Set.Icc 0 H → ∀ (j : C), mindRelation (A.state t) i j = heldLink (A.limit j) A.damping (D t)
            theorem MindFormal.CoholdingCH1.HeldWriterComparison.constant_clock {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] {d : MindDriftData C n T Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (j : C) (base cutoff : ℝ) (hb : 0 < base) (hd : 0 < A.damping) (hL : 0 < A.limit j) (hχ : 0 < cutoff) (hgain : ∀ (z : T → Fin n → ℝ), 0 ≤ z → d.gain z = base) :
            (∀ t ∈ Set.Icc 0 H, ∀ (k : C), mindRelation (A.state t) i k = heldLink (A.limit k) A.damping (base * t)) ∧ (A.limit j ≤ cutoff → ∀ t ∈ Set.Icc 0 H, mindRelation (A.state t) i j < cutoff) ∧ (cutoff < A.limit j → 0 < fixedHelpTime (A.limit j) A.damping cutoff base ∧ ∀ t ∈ Set.Icc 0 H, (mindRelation (A.state t) i j < cutoff ↔ t < fixedHelpTime (A.limit j) A.damping cutoff base) ∧ (mindRelation (A.state t) i j = cutoff ↔ t = fixedHelpTime (A.limit j) A.damping cutoff base) ∧ (cutoff < mindRelation (A.state t) i j ↔ fixedHelpTime (A.limit j) A.damping cutoff base < t))

            CH1.8: the complete incoming-row solution and all strict/equality clock tests. They apply only while the named comparison holds.

            theorem MindFormal.CoholdingCH1.HeldWriterComparison.moving_gain {C : Type u_1} {Λ : Type u_2} [Fintype C] [Fintype Λ] {d : MindDriftData C 1 Unit Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (base : ℝ) (hk : ∀ (z : Fin 1 → ℝ), d.response z = z) (hγ : A.valueRate 0 () ≠ 0) (hgain : ∀ (z : Unit → Fin 1 → ℝ), 0 ≤ z → d.gain z = base * (1 + z () 0 / (1 + z () 0))) {t : ℝ} (ht : t ∈ Set.Icc 0 H) :
            (d.gain fun (a : Unit) (b : Fin 1) => |assembledResidual d (A.input t) (A.state t) a b|) = deliveryGain base |A.initialError 0 ()| (A.valueRate 0 ()) t

            The gain is computed from the original complete residual, using III's derived decay. Its initial absolute error and rate are not proposed trajectories.

            theorem MindFormal.CoholdingCH1.HeldWriterComparison.moving_clock {C : Type u_1} {Λ : Type u_2} [Fintype C] [Fintype Λ] {d : MindDriftData C 1 Unit Λ} {H : ℝ} {i : C} (A : HeldWriterComparison d H i) (j : C) (base cutoff : ℝ) (hb : 0 < base) (hd : 0 < A.damping) (hL : 0 < A.limit j) (hχ : 0 < cutoff) (hk : ∀ (z : Fin 1 → ℝ), d.response z = z) (hγ : 0 < A.valueRate 0 ()) (hgain : ∀ (z : Unit → Fin 1 → ℝ), 0 ≤ z → d.gain z = base * (1 + z () 0 / (1 + z () 0))) :
            (∀ t ∈ Set.Icc 0 H, assembledResidual d (A.input t) (A.state t) () 0 = A.initialError 0 () * Real.exp (-A.valueRate 0 () * t)) ∧ (∀ t ∈ Set.Icc 0 H, (d.gain fun (a : Unit) (b : Fin 1) => |assembledResidual d (A.input t) (A.state t) a b|) = deliveryGain base |A.initialError 0 ()| (A.valueRate 0 ()) t) ∧ (∀ t ∈ Set.Icc 0 H, ∀ (k : C), mindRelation (A.state t) i k = heldLink (A.limit k) A.damping (deliveryDose base |A.initialError 0 ()| (A.valueRate 0 ()) t)) ∧ (A.limit j ≤ cutoff → ∀ t ∈ Set.Icc 0 H, mindRelation (A.state t) i j < cutoff) ∧ (cutoff < A.limit j → 0 < movingHelpTime base |A.initialError 0 ()| (A.valueRate 0 ()) (helpDose (A.limit j) A.damping cutoff) ∧ ∀ t ∈ Set.Icc 0 H, (mindRelation (A.state t) i j < cutoff ↔ t < movingHelpTime base |A.initialError 0 ()| (A.valueRate 0 ()) (helpDose (A.limit j) A.damping cutoff)) ∧ (mindRelation (A.state t) i j = cutoff ↔ t = movingHelpTime base |A.initialError 0 ()| (A.valueRate 0 ()) (helpDose (A.limit j) A.damping cutoff)) ∧ (cutoff < mindRelation (A.state t) i j ↔ movingHelpTime base |A.initialError 0 ()| (A.valueRate 0 ()) (helpDose (A.limit j) A.damping cutoff) < t))

            CH1.7: exact complete row, integrated changing gain and inverted crossing clock from the specified TD dynamics. Equality is first; strict help is later. At or above the limiting link the cutoff is never reached on a finite window.