MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch12.Writers

J1 and the pointwise part of J7. These identities keep the complete writer, vector residual, actual pulse, returned input and own innovation.

theorem MindFormal.Judgment.row_rank_one {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i j : Fin N) :
assembledDrift d u q s (Sum.inl (i, j)) = currentGain d u s * (d.presence (mindTrace s j) * ((1 - d.β) * d.drive (u i) (q i) (mindValue s i) + d.β * mindActivity s i) - ((1 - d.β) * d.presence (mindTrace s j) * ∑ l : Fin N, mindActivity s l * mindRelation s i l + d.β * mindActivity s i * mindRelation s i j))

J1's rank-one row expansion at a complete state, with positive or negative weights alike. It neither freezes the gain nor discards the binding writer.

theorem MindFormal.Judgment.row_accounting_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (t : ℝ) (ht : 0 ≤ t) (i j : Fin N) :
have G := E.supportHistory ω; G.W t i j - G.W 0 i j = (∫ (s : ℝ) in 0..t, currentGain G.data (G.input s) (G.state s) * (G.p s j * ((1 - G.data.β) * G.e s i + G.data.β * G.x s i) - ((1 - G.data.β) * G.p s j * ∑ l : Fin N, G.x s l * G.W s i l + G.data.β * G.x s i * G.W s i j))) + G.driver t.toNNReal (Sum.inl (i, j))

J1 on the mind's own run: the relation increment is the integral of the complete rank-one row plus its own innovation, with no drift hold.

theorem MindFormal.Judgment.value_accounting_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (t : ℝ) (ht : 0 ≤ t) (i : Fin N) (b : Fin n) (a : T) :
have G := E.supportHistory ω; G.v t i b a - G.v 0 i b a = (∫ (s : ℝ) in 0..t, G.p s i * G.data.η b * G.data.response (fun (b' : Fin n) => G.data.reward (G.input s) b' + ∑ j : Fin N, (G.dp s j - G.p s j / G.data.τ a) * G.v s j b' a) b) + G.driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) ∧ G.dp t i = ∑ l : Λ, G.data.presenceDerivative (G.r t i) l * G.data.rate l * (G.x t i - G.r t i l)

J1's vector writer and D4 presence velocity on the same moving run. All element-specific learning rates and all residual contributors remain.

theorem MindFormal.Judgment.pointwise_balance_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (t : ℝ) :
have G := E.supportHistory ω; have s := G.state t; assembledDrift E.mind.drift (G.input t) (G.pulse t) s = 0 ↔ (∀ (i : Fin N), mindActivity s i = normalizedTarget E.mind.activity.σ E.mind.activity.g (assembledInputs E.mind.drift (G.input t) (G.pulse t) s) i) ∧ (∀ (i : Fin N) (l : Λ), mindTrace s i l = mindActivity s i) ∧ (∀ (i j : Fin N), structuralBracket E.mind.drift (G.input t) (G.pulse t) s i j = 0) ∧ ∀ (i : Fin N) (b : Fin n) (a : T), E.mind.presence (mindTrace s i) * E.mind.response (fun (b' : Fin n) => E.mind.drift.reward (G.input t) b' - ∑ j : Fin N, E.mind.presence (mindTrace s j) / E.mind.τ a * mindValue s j b' a) b = 0

J7's complete pointwise zero-drift test evaluated at the actual state. This is a test of the coefficients, not an assertion of a stationary law or of persistence of the current input, pulse, or release clocks.

theorem MindFormal.Judgment.writer_sign_own {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (ω : Ω) (t : ℝ) (i j : Fin N) :
have G := E.supportHistory ω; have B := structuralBracket E.mind.drift (G.input t) (G.pulse t) (G.state t) i j; have D := assembledDrift E.mind.drift (G.input t) (G.pulse t) (G.state t) (Sum.inl (i, j)); (0 < D ↔ 0 < B) ∧ (D < 0 ↔ B < 0) ∧ (D = 0 ↔ B = 0)

J1/J7: positive gain preserves all three signs of the full II bracket on every state of the own run. No direction of a later judgment is inferred.