MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.PoolClocks

CH1 comparison clocks tested against the current complete target pool. The cutoff hold identifies the scalar with CH1.1 evaluated on the entire paired arrays; it is not an assumed crossing or a fitted event time.

noncomputable def MindFormal.CoholdingCH1.HeldWriterComparison.target {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 : ℝ) :
Equations
Instances For
    structure MindFormal.CoholdingCH1.HeldPoolComparison {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) (χ : ℝ) :
    Type u_1

    The literal positive-target, positive-sender complete-cutoff hold in the comparison. single retains its entire pool, while the joint array is calculated from the original complete state, drive, residue, relation row and feedback.

    Instances For
      noncomputable def MindFormal.CoholdingCH1.HeldPoolComparison.target {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} {χ : ℝ} (P : HeldPoolComparison A j χ) (t : ℝ) :
      Equations
      Instances For
        theorem MindFormal.CoholdingCH1.HeldPoolComparison.comparisons {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} {χ : ℝ} (P : HeldPoolComparison A j χ) {t : ℝ} (ht : t ∈ Set.Icc 0 H) :
        (A.target t < P.target t ↔ mindRelation (A.state t) i j < χ) ∧ (A.target t = P.target t ↔ mindRelation (A.state t) i j = χ) ∧ (P.target t < A.target t ↔ χ < mindRelation (A.state t) i j)

        Cost, equality and help are all tested using the original full joint pool.

        def MindFormal.CoholdingCH1.HeldPoolComparison.FirstHelpClock {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} {χ : ℝ} (P : HeldPoolComparison A j χ) (clock : ℝ) :

        First equality and the adjacent strict cost/help regimes on the entire held window. If the displayed clock lies in that window, equality occurs there.

        Equations
        Instances For
          theorem MindFormal.CoholdingCH1.HeldPoolComparison.constant_help_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} {χ : ℝ} (P : HeldPoolComparison A j χ) (base : ℝ) (hb : 0 < base) (hd : 0 < A.damping) (hL : 0 < A.limit j) (hχ : 0 < χ) (hχL : χ < A.limit j) (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)) ∧ P.FirstHelpClock (fixedHelpTime (A.limit j) A.damping χ base)
          theorem MindFormal.CoholdingCH1.HeldPoolComparison.moving_help_clock {C : Type u_4} {Λ : Type u_5} [Fintype C] [Fintype Λ] {d : MindDriftData C 1 Unit Λ} {H : ℝ} {i j : C} {A : HeldWriterComparison d H i} {χ : ℝ} (P : HeldPoolComparison A j χ) (base : ℝ) (hb : 0 < base) (hd : 0 < A.damping) (hL : 0 < A.limit j) (hχ : 0 < χ) (hχL : χ < A.limit j) (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)) ∧ P.FirstHelpClock (movingHelpTime base |A.initialError 0 ()| (A.valueRate 0 ()) (helpDose (A.limit j) A.damping χ))