theorem
MindFormal.PageConsequences.cohold_coefficient
{N : ℕ}
(P : PageReductions.Flat.Parameters N)
(U X K : ℝ)
(hU : 0 ≤ U)
(hX : 0 ≤ X)
(hK : 0 ≤ K)
(x r a w v : Fin N → ℝ)
(i j : Fin N)
(hx : ∀ (k : Fin N), |x k| ≤ X)
(hr : ∀ (k : Fin N), |r k| ≤ X)
(ha : ∀ (k : Fin N), |a k| ≤ X)
(hv : ∀ (k : Fin N), |v k| ≤ K)
:
|P.gain * ((1 - P.β) * r j * (U - ∑ k : Fin N, w k * x k) + P.β * x i * (r j - w j)) - ((coholdLoss P.gain P.β (a i) a) v + coholdSource P.gain P.β U (a i) a) j| ≤ P.gain * PageReductions.Flat.loss P X * ‖w - v‖ + P.gain * ((1 - P.β) * U + 2 * P.β * X + (2 * (1 - P.β) * ↑N * X + P.β) * K) * (‖x - a‖ + ‖r - a‖)
P1's coefficient subtraction, retaining both full writers and every predictor. Only the numerical activity/trace and comparison-row caps enter.
theorem
MindFormal.PageConsequences.cohold_row_error
{N : ℕ}
(P : PageReductions.Flat.Parameters N)
(G : PhysicalGlobalData N 1 Unit Unit)
(hd : G.data = canonicalPresenceData (PageReductions.Flat.mind P).drift)
(hsat : P.saturated = false)
(q H : NNReal)
(i : Fin N)
(a w0 : Fin N → ℝ)
{U X K δ bw : ℝ}
(hU : 0 ≤ U)
(hX : 0 ≤ X)
(hK : 0 ≤ K)
(hδ : 0 ≤ δ)
(hbw : 0 ≤ bw)
(hA : 0 < ∑ k : Fin N, a k ^ 2)
(ha : ∀ (k : Fin N), |a k| ≤ X)
(drive : ∀ t ∈ Set.Icc 0 ↑H, G.input (↑q + t) i = U ∧ G.pulse (↑q + t) i = 0)
(caps :
∀ t ∈ Set.Icc 0 ↑H, ∀ (k : Fin N), mindActivity (G.state (↑q + t)) k ≤ X ∧ mindTrace (G.state (↑q + t)) k () ≤ X)
(comparison : ∀ t ∈ Set.Icc 0 ↑H, ∀ (k : Fin N), |coholdRow P.gain P.β U (a i) a w0 t k| ≤ K)
(hdi : (1 - P.β) * ∑ k : Fin N, a k ^ 2 + P.β * a i ≠ 0)
(entry : ‖mindRelation (G.state ↑q) i - w0‖ ≤ δ)
(noise :
∀ t ∈ Set.Icc 0 ↑H, ∀ (j : Fin N), |G.driver (↑q + t).toNNReal (Sum.inl (i, j)) - G.driver q (Sum.inl (i, j))| ≤ bw)
:
have D :=
∫ (s : ℝ) in 0..↑H, ‖mindActivity (G.state (↑q + s)) - a‖ + ‖(fun (k : Fin N) => mindTrace (G.state (↑q + s)) k ()) - a‖;
∀ t ∈ Set.Icc 0 ↑H,
‖mindRelation (G.state (↑q + t)) i - coholdRow P.gain P.β U (a i) a w0 t‖ ≤ Real.exp (P.gain * PageReductions.Flat.loss P X * ↑H) * (δ + bw + P.gain * ((1 - P.β) * U + 2 * P.β * X + (2 * (1 - P.β) * ↑N * X + P.β) * K) * D)
P1 on the original physical row. The integrated activity-plus-trace discrepancy is computed from that run, and the entering row is paid explicitly. No plateau, state discrepancy, or frozen writer is imposed on the run.