MindFormal v1.0.0One Mind

MindFormal.Example.TaskPreparations.Bounds

MT18.1.3: coefficient estimates for the complete bank, before any path bound is invoked. All content indices, both value kinds and both writers remain.

theorem MindFormal.TaskPreparations.presence_derivative {N : ℕ} {J : Type} (D : RationalMind N 2 Unit Unit J) (hD : D.Admissible) (r : Unit → ℝ) (hr : 0 ≤ r) :

Changing drive and gain does not change the canonical presence derivative.

theorem MindFormal.TaskPreparations.sum_bound {N : ℕ} (f : Fin N → ℝ) {A : ℝ} (hf : ∀ (i : Fin N), |f i| ≤ A) :
|∑ i : Fin N, f i| ≤ ↑N * A

Uniform bounds on a complete finite sum, with no dropped background port.

theorem MindFormal.TaskPreparations.prediction_bound {N : ℕ} (hN : N ≤ 10) (s : MindState (Fin N) 2 Unit Unit) (hx : ∀ (i : Fin N), |mindActivity s i| ≤ 2) (hW : ∀ (i j : Fin N), |mindRelation s i j| ≤ 300) (i : Fin N) :
|∑ j : Fin N, mindRelation s i j * mindActivity s j| ≤ 6000
theorem MindFormal.TaskPreparations.residual_bound {N : ℕ} (hN : N ≤ 10) (d : MindDriftData (Fin N) 2 Unit Unit) (s : MindState (Fin N) 2 Unit Unit) (u : Fin N → ℝ) (hp : ∀ (i : Fin N), d.presence (mindTrace s i) = mindTrace s i ()) (hdp : ∀ (i : Fin N), d.presenceDerivative (mindTrace s i) () = 1) (hrate : d.rate () = tiny) (htau : d.τ () = 1) (hx : ∀ (i : Fin N), mindActivity s i ∈ Set.Icc 0 2) (hr : ∀ (i : Fin N), mindTrace s i () ∈ Set.Icc 0 2) (hv : ∀ (i : Fin N) (b : Fin 2), |mindValue s i b ()| ≤ 2) (hu : ∀ (b : Fin 2), |d.reward u b| ≤ 2) (b : Fin 2) :

The full two-kind residual at unit presence and horizon.

theorem MindFormal.TaskPreparations.relation_bound {N : ℕ} (hN : N ≤ 10) (d : MindDriftData (Fin N) 2 Unit Unit) (s : MindState (Fin N) 2 Unit Unit) (u q : Fin N → ℝ) (hbeta : d.β = 1 / 2) (hp : ∀ (i : Fin N), |d.presence (mindTrace s i)| ≤ 2) (hx : ∀ (i : Fin N), |mindActivity s i| ≤ 2) (hW : ∀ (i j : Fin N), |mindRelation s i j| ≤ 300) (hdrive : ∀ (i : Fin N), |d.drive (u i) (q i) (mindValue s i)| ≤ 101) (hgain : |d.gain fun (a : Unit) (b : Fin 2) => |assembledResidual d u s a b|| ≤ 2 * tiny) (i j : Fin N) :
|assembledDrift d u q s (Sum.inl (i, j))| < 13000 * tiny

Both structural writers together have the printed 13000 epsilon bound.

theorem MindFormal.TaskPreparations.value_bound {N : ℕ} (d : MindDriftData (Fin N) 2 Unit Unit) (s : MindState (Fin N) 2 Unit Unit) (u q : Fin N → ℝ) (hp : ∀ (i : Fin N), |d.presence (mindTrace s i)| ≤ 2) (heta : ∀ (b : Fin 2), |d.η b| ≤ 2 * tiny) (hresponse : ∀ (z : Fin 2 → ℝ) (b : Fin 2), d.response z b = z b) (hdelta : ∀ (b : Fin 2), |assembledResidual d u s () b| ≤ 45) (i : Fin N) (b : Fin 2) :

Ordinary rates only. The fast learner uses its separate damped estimate.