MindFormal v1.0.0One Mind

MindFormal.Equations.StagedDriftBounds

02.12: explicit second-stage drift bounds for constant additive amplitudes. They use bounds on primitive evaluated coefficients on the activity/trace/input region, exactly as the paper's second stage does. They are coefficient estimates, not an assumption or construction of a path remaining in that region.

theorem MindFormal.assembledPresenceRate_bound {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype Λ] (d : MindDriftData C n T Λ) (s : MindState C n T Λ) (i : C) {X R D L : ℝ} (hD : 0 ≤ D) (hL : 0 ≤ L) (hx : |mindActivity s i| ≤ X) (hr : ∀ (l : Λ), |mindTrace s i l| ≤ R) (hd : ∀ (l : Λ), |d.presenceDerivative (mindTrace s i) l| ≤ D) (hl : ∀ (l : Λ), |d.rate l| ≤ L) :
|assembledPresenceRate d s i| ≤ ↑(Fintype.card Λ) * D * L * (X + R)

02.12, constant-amplitude second-stage coefficient estimate. With finite traces, bounds X,R and nonnegative D,L on activity magnitude, trace magnitude, each presence derivative component and each trace rate, the actual D4 presence rate has magnitude at most card(Lambda)DL*(X+R). Every trace component is retained; no presence-rate conclusion is assumed.

theorem MindFormal.assembledRelation_growth {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype T] [Fintype Λ] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i j : C) {X P D M : ℝ} (hX : 0 ≤ X) (hP : 0 ≤ P) (hD : 0 ≤ D) (hb0 : 0 ≤ d.β) (hb1 : d.β ≤ 1) (hx : ∀ (l : C), |mindActivity s l| ≤ X) (hp : |d.presence (mindTrace s j)| ≤ P) (hd : |d.drive (u i) (q i) (mindValue s i)| ≤ D * (1 + ‖s‖)) (hm : |d.gain fun (a : T) (b : Fin n) => |assembledResidual d u s a b|| ≤ M) :
|assembledDrift d u q s (Sum.inl (i, j))| ≤ M * (P * (D + ↑(Fintype.card C) * X) + X * (P + 1)) * (1 + ‖s‖)

02.12, constant-amplitude second-stage coefficient estimate. For finite indices and beta in [0,1], take nonnegative bounds X,P,D for activity, presence and the drive's linear-growth factor, and a real gain bound M. With |drive_i|<=D*(1+norm(s)), every complete II component is bounded by M*(P*(D+card(C)X)+X(P+1))*(1+norm(s)). Both the prediction and binding writers and all prediction columns remain; the learned state is unbounded.

theorem MindFormal.assembledValue_growth {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype T] [Fintype Λ] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i : C) (a : T) (b : Fin n) {A P Q U E K : ℝ} (hA : 0 ≤ A) (hP : 0 ≤ P) (hQ : 0 ≤ Q) (hU : 0 ≤ U) (hE : 0 ≤ E) (hK : 0 ≤ K) (hrew : ∀ (b : Fin n), |d.reward u b| ≤ A) (hp : ∀ (j : C), |d.presence (mindTrace s j)| ≤ P) (hc : ∀ (j : C), |assembledPresenceRate d s j| ≤ Q) (hu : |(d.τ a)⁻¹| ≤ U) (heta : |d.η b| ≤ E) (hk : ∀ (z : Fin n → ℝ), |d.response z b| ≤ K * (1 + ‖z‖)) :
|assembledDrift d u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a))))| ≤ P * E * K * (1 + A + ↑(Fintype.card C) * (Q + P * U)) * (1 + ‖s‖)

02.12, constant-amplitude second-stage coefficient estimate. For finite indices, nonnegative A,P,Q,U,E,K bound delivery, presence, presence rate, reciprocal horizons, learning rates and the response's C1 linear-growth factor. The full III component is bounded by PEK*(1+A+card(C)(Q+PU))*(1+norm(s)). The residual is computed from every contributor; no value-drift growth conclusion is assumed.