MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.A804CoPresentRepair.QueryRead

(C7)–(C8) on the actual empty-record run: from the entering state the query read lands within E_Q of the held fixed point, with learning continuing, reflection, the activity and trace caps, and the link cap K₁ all derived.

theorem MindFormal.A798CoPresentRecruit.query_read {H : NNReal} {N n : ℕ} {T : Type u_1} [Fintype T] (D : PhysicalCouplingData (↑H) N n T Unit) {m : ℝ} (hd : HomSubclass D.data m) (hm : 0 ≤ m) (hβ0 : 0 ≤ D.data.β) (hβ1 : D.data.β ≤ 1) (hlam : 0 < D.data.rate ()) (c : ↑(HorizonTime ↑H)) (uQ : Fin N → ℝ) (hinput : ∀ (s : ℝ), ↑c < s → s ≤ ↑H → D.world.input (emptyHistory (Fin N)) s = uQ) (G : Fin N → Fin N → ℝ) (xs : Fin N → ℝ) (hxs : ∀ (i : Fin N), xs i = normalizedTarget D.data.activity.σ D.data.activity.g (fun (j : Fin N) => max (uQ j + ∑ k : Fin N, G j k * xs k) 0) i) {X Xin εW UQ K1 Gmax Ginf bx bW : ℝ} (hX : 0 ≤ X) (hbx : 0 ≤ bx) (hbW : 0 ≤ bW) (hεW : 0 ≤ εW) (hK10 : 0 ≤ K1) (hUQ0 : 0 ≤ UQ) (hUQ : ∀ (j : Fin N), |uQ j| ≤ UQ) (hGmax : ∀ (j k : Fin N), |G j k| ≤ Gmax) (hGinf0 : 0 ≤ Ginf) (hGinf : ∀ (j : Fin N), ∑ k : Fin N, |G j k| ≤ Ginf) (hL : (↑N + 1) * Ginf / D.data.activity.σ < 1) (hcapx : max Xin (1 - D.data.activity.g) + 4 * bx < X) (hK1 : Gmax + (εW + m * (↑H - ↑c) * ((1 - D.data.β) * X * (UQ + ↑N * K1 * X) + D.data.β * X * (X + K1)) + bW) < K1) (hW0 : ∀ (j k : Fin N), |mindRelation ((D.response (emptyClocks N)) c) j k - G j k| ≤ εW) (hx0 : ∀ (j : Fin N), mindActivity ((D.response (emptyClocks N)) c) j ≤ Xin) (hr0 : ∀ (j : Fin N), mindTrace ((D.response (emptyClocks N)) c) j () ≤ X) (hdx : ∀ (s : ↑(HorizonTime ↑H)), c ≤ s → ∀ (j : Fin N), |D.driver s (Sum.inr (Sum.inl j)) - D.driver c (Sum.inr (Sum.inl j))| ≤ bx) (hdW : ∀ (s : ↑(HorizonTime ↑H)), c ≤ s → ∀ (j k : Fin N), |D.driver s (Sum.inl (j, k)) - D.driver c (Sum.inl (j, k))| ≤ bW) :
have dW := εW + m * (↑H - ↑c) * ((1 - D.data.β) * X * (UQ + ↑N * K1 * X) + D.data.β * X * (X + K1)) + bW; have L := (↑N + 1) * Ginf / D.data.activity.σ; have EQ := X * Real.exp (-D.data.activity.ν * (1 - L) * (↑H - ↑c)) + ((↑N + 1) * ↑N * X * dW / D.data.activity.σ + 4 * bx) / (1 - L); (∀ (s : ↑(HorizonTime ↑H)), c ≤ s → ∀ (j : Fin N), mindActivity ((D.response (emptyClocks N)) s) j ≤ X) ∧ ∀ (i : Fin N), |mindActivity ((D.response (emptyClocks N)) ⟨↑H, ⋯⟩) i - xs i| ≤ EQ

(C7)–(C8) on the actual run, from its entering state at the query start c: with the held query input uQ, the fixed point x* = T(x*, G), the printed caps X, X_in, K₁ and budgets b'_x, b'_W, every activity stays below X and the read at the horizon is within E_Q = X e^{-ν(1-L)(H-c)} + ((N+1)N X d_W/σ + 4b'x)/(1-L) of x*, where L = (N+1)‖G‖∞/σ and d_W = ε_W + m(H-c)F_W + b'_W.