MindFormal v1.0.0One Mind

MindFormal.Example.ContractPresentation.Coefficients

Complete coefficient estimates for the twelve-content family. Both relation writers, both unequal-rate value writers, and all twelve prediction summands remain.

Equations
Instances For
    theorem MindFormal.ContractPresentation.response_eq (ε : ℝ) (z : Fin 2 → ℝ) (b : Fin 2) :
    (mind ε).drift.response z b = z b
    theorem MindFormal.ContractPresentation.reward_eq (ε : ℝ) (u : Fin 12 → ℝ) (b : Fin 2) :
    (mind ε).drift.reward u b = u (if b = 0 then 10 else 11)
    theorem MindFormal.ContractPresentation.residual_eq (ε : ℝ) (s : MindState (Fin 12) 2 Unit Unit) (hs : PhysicalMindState s) (u : Fin 12 → ℝ) (b : Fin 2) :
    assembledResidual (mind ε).drift u s () b = u (if b = 0 then 10 else 11) + ∑ j : Fin 12, (mindActivity s j - 2 * mindTrace s j ()) * mindValue s j b ()
    theorem MindFormal.ContractPresentation.prediction_bound {ε : ℝ} (hε : 0 ≤ ε) (s : MindState (Fin 12) 2 Unit Unit) (hx : ∀ (i : Fin 12), mindActivity s i ∈ Set.Icc 0 1) (hW : ∀ (i j : Fin 12), |mindRelation s i j| ≤ 20 * ε) (i : Fin 12) :
    |∑ j : Fin 12, mindRelation s i j * mindActivity s j| ≤ 240 * ε
    theorem MindFormal.ContractPresentation.residual_bound (ε : ℝ) (s : MindState (Fin 12) 2 Unit Unit) (hx : ∀ (i : Fin 12), mindActivity s i ∈ Set.Icc 0 1) (hr : ∀ (i : Fin 12), mindTrace s i () ∈ Set.Icc 0 1) (hv : ∀ (i : Fin 12) (b : Fin 2), |mindValue s i b ()| ≤ 1) (u : Fin 12 → ℝ) (D : ℝ) (hu : ∀ (b : Fin 2), |u (if b = 0 then 10 else 11)| ≤ D) (b : Fin 2) :

    A primary-input bound D gives the full twelve-content residual bound D+24.

    theorem MindFormal.ContractPresentation.value_bound {ε : ℝ} (hε : 0 < ε) (s : MindState (Fin 12) 2 Unit Unit) (hx : ∀ (i : Fin 12), mindActivity s i ∈ Set.Icc 0 1) (hr : ∀ (i : Fin 12), mindTrace s i () ∈ Set.Icc 0 1) (hv : ∀ (i : Fin 12) (b : Fin 2), |mindValue s i b ()| ≤ 1) (u q : Fin 12 → ℝ) (D : ℝ) (hu : ∀ (b : Fin 2), |u (if b = 0 then 10 else 11)| ≤ D) (i : Fin 12) (b : Fin 2) :
    |assembledDrift (mind ε).drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, ()))))| ≤ 2 * ε * (D + 24)
    theorem MindFormal.ContractPresentation.writer_bounds {ε : ℝ} (hε : 0 < ε) (hsmall : ε ≤ 1 / 10000000) (s : MindState (Fin 12) 2 Unit Unit) (hx : ∀ (i : Fin 12), mindActivity s i ∈ Set.Icc 0 1) (hr : ∀ (i : Fin 12), mindTrace s i () ∈ Set.Icc 0 1) (hW : ∀ (i j : Fin 12), |mindRelation s i j| ≤ 20 * ε) (hv : ∀ (i : Fin 12) (b : Fin 2), |mindValue s i b ()| ≤ 1) (u q : Fin 12 → ℝ) (hu : u ∈ inputRange) (hq : ∀ (i : Fin 12), q i ∈ {0, 1}) :
    (∀ (i j : Fin 12), |assembledDrift (mind ε).drift u q s (Sum.inl (i, j))| ≤ 6 * ε) ∧ ∀ (i : Fin 12) (b : Fin 2), |assembledDrift (mind ε).drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, ()))))| ≤ 50 * ε

    Bounds are uniform over all twelve binary focus choices and every later return.