MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch11.PageConsequences.AttentionAssembly

theorem MindFormal.PageConsequences.native_attention {N : ℕ} (P : PageReductions.Flat.Parameters N) (hsat : P.saturated = false) (hres : P.residue = 0) (G : PhysicalGlobalData N 1 Unit Unit) (hd : G.data = canonicalPresenceData (PageReductions.Flat.mind P).drift) (hreads : G.reads = (PageReductions.Flat.mind P).reads) (H : NNReal) (k : ℕ) (word : Fin N) (a d U X K0 K δ bx bw : ℝ) (ha : 0 ≤ a) (hdur : 0 < d) (hU : 0 ≤ U) (hK : 0 ≤ K) (hδ : 0 ≤ δ) (hbx : 0 ≤ bx) (hbw : 0 ≤ bw) (hX : max (⨆ (i : Fin N), mindActivity (G.state 0) i) (1 - P.activity.g) + 2 * bx ≤ X) (rstart : ∀ (i : Fin N), mindTrace (G.state 0) i () ≤ X) (Wstart : ∀ (i j : Fin N), |mindRelation (G.state 0) i j| ≤ K0) (input : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), G.input t i ≤ U) (display : ∀ t ∈ Set.Ioo a (a + d), G.input t = fun (i : Fin N) => if i = word then U else 0) (blankInput : ∀ t ∈ Set.Ioo (a + d) ↑H, G.input t = 0) (nx : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), |G.driver t.toNNReal (Sum.inr (Sum.inl i))| ≤ bx) (nw : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i j : Fin N), |G.driver t.toNNReal (Sum.inl (i, j))| ≤ bw) (close : K0 + P.gain * ((1 - P.β) * X * (U + P.focus + ↑N * K * X) + P.β * X * (X + K)) * ↑H + bw < K) (hι : P.awareness ≤ P.attention) (hι0 : 0 < P.attention) (horizon : a + d ≤ ↑H) (entry : mindActivity (G.state a) word ≤ δ) (expired : ∀ m < k, ∀ (s : ℝ) (i : Fin N), ((G.native (↑H) true).search m).event = some (s, i) → s + G.pause true ≤ a) (released : (G.native (↑H) true).release k ≤ a) (blank : ∀ t ∈ Set.Ico ((G.native (↑H) true).release k) a, ∀ (i : Fin N), mindActivity (G.state t) i < P.attention) (rivals : ∀ t ∈ Set.Icc a (a + d), ∀ (i : Fin N), i ≠ word → mindActivity (G.state t) i < P.attention) :
have target := max (U / (P.activity.σ + U) - P.activity.g) 0; have ab := max (P.focus / (P.activity.σ + P.focus) - P.activity.g) 0; have dT := (↑N + 1) * ↑N * K * X / P.activity.σ; have ζ := δ + dT + 8 * bx; have early := Real.log (target / (target - P.attention + ζ)) / P.activity.ν; have late := Real.log (target / (target - P.attention - ζ)) / P.activity.ν; ζ < min P.attention (target - P.attention) → late ≤ d → ab + ζ < P.attention → d + max 0 (Real.log ((X - ab) / (P.attention - ζ - ab)) / P.activity.ν) < G.pause true → ∃ τ ∈ Set.Icc (a + early) (a + late), ((G.native (↑H) true).search k).event = some (τ, word) ∧ (∀ t ∈ Set.Ico a τ, G.pulse t = 0) ∧ ((G.native (↑H) true).search (k + 1)).event = none ∧ (∀ (m : ℕ), k < m → ((G.native (↑H) true).search m).event = none) ∧ ∀ t ∈ Set.Icc (τ + G.pause true) ↑H, G.pulse t = 0

TR2 P3 closes its complete recurrent target allowance and original native focus/blank outcome from the two-writer cap. It assumes the source's rival and preceding-blank holds, never qualification or the current winner.

theorem MindFormal.PageConsequences.attention_timing_error {ℓ Rp lam fU fA lo t hi : ℝ} (hlam : 0 ≤ lam) (hlo : 0 ≤ lo) (hlt : lo ≤ t) (hth : t ≤ hi) :
|ℓ * Rp * (fU - fA) * ∫ (s : ℝ) in lo..t, Real.exp (-lam * s)| ≤ |ℓ * Rp * (fU - fA)| * (hi - lo)

Timing uncertainty is paid as jump height times time uncertainty. The trace's exponential factor is at most one on the physical word interval.

theorem MindFormal.PageConsequences.attention_dose_increment {ℓ Rp lam fU fA start duration : ℝ} (hℓ : 0 < ℓ) (hRp : 0 < Rp) (hlam : 0 < lam) (hf : fU < fA) (ht : start < duration) :
ℓ * Rp / lam * (fU * (1 - Real.exp (-lam * start)) + fA * (Real.exp (-lam * start) - Real.exp (-lam * duration))) - ℓ * Rp / lam * fU * (1 - Real.exp (-lam * duration)) > 0

The local dose gain is positive with the earlier trace held fixed. It is not a monotonicity claim for a whole page or its final read.

theorem MindFormal.PageConsequences.attention_forcing_increase {σ β g U h : ℝ} (hσ : 0 < σ) (hβ : 0 < β) (hβ1 : β < 1) (hU : 0 ≤ U) (hh : 0 < h) :
(1 - β) * U + β * max (U / (σ + U) - g) 0 < (1 - β) * (U + h) + β * max ((U + h) / (σ + (U + h)) - g) 0

The displayed P3 forcing is strictly raised by a positive attention increment. This derives the coefficient inequality used in the local dose comparison, including either clipped-target branch.

theorem MindFormal.PageConsequences.native_attention_dose_gain {N : ℕ} (P : PageReductions.Flat.Parameters N) {Rp U start duration : ℝ} (hRp : 0 < Rp) (hU : 0 ≤ U) (ht : start < duration) :
have f := fun (v : ℝ) => (1 - P.β) * v + P.β * max (v / (P.activity.σ + v) - P.activity.g) 0; P.gain * Rp / P.rate * (f U * (1 - Real.exp (-P.rate * start)) + f (U + P.focus) * (Real.exp (-P.rate * start) - Real.exp (-P.rate * duration))) - P.gain * Rp / P.rate * f U * (1 - Real.exp (-P.rate * duration)) > 0

P3's actual primitive coefficients discharge its positive local gain; the earlier sender trace is held fixed only in this named comparison.

theorem MindFormal.PageConsequences.attention_count_insufficient {ℓ Rp lam f : ℝ} (hℓ : 0 < ℓ) (hRp : 0 < Rp) (hlam : 0 < lam) (hf : 0 < f) :
ℓ * 0 / lam * (f * (1 - Real.exp (-lam))) = 0 ∧ 0 < ℓ * Rp / lam * (f * (1 - Real.exp (-lam)))

With the same single focus window, an absent earlier sender trace has zero dose while a positive trace has positive dose. Thus counting that one pulse cannot determine its integral; the complete segment data is needed.

theorem MindFormal.PageConsequences.native_attention_cost {N : ℕ} (P : PageReductions.Flat.Parameters N) (G : PhysicalGlobalData N 1 Unit Unit) (hreads : G.reads = (PageReductions.Flat.mind P).reads) (H : NNReal) :
({k : ℕ | ((G.native (↑H) true).search k).event ≠ none}.Finite ∧ {k : ℕ | ((G.native (↑H) true).search k).event ≠ none}.ncard ≤ 1 + ⌊↑H / G.pause true⌋₊) ∧ ∀ (k : ℕ) (τ : ℝ) (word : Fin N), ((G.native (↑H) true).search k).event = some (τ, word) → P.awareness ≤ mindActivity (G.state τ) word ∧ P.attention ≤ mindActivity (G.state τ) word ∧ ↑k * G.pause true ≤ τ ∧ (∀ t ∈ Set.Ico τ (τ + G.pause true), t ≤ ↑H → G.pulse t = fun (i : Fin N) => if i = word then 1 else 0) ∧ ↑k * G.pause true ≤ ↑H

IV supplies the actual half-open pulse and both eligibility tests. The refractory price and endpoint-inclusive finite count are native outcomes.