MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch20.Capture

noncomputable def MindFormal.Capture.forecastRate {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (s : MindState (Fin N) n T Λ) (a : T) (b : Fin n) :

CA1's complete forecast rate includes the actual presence derivative.

Equations
Instances For
    theorem MindFormal.Capture.residual_forecast {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (a : T) (b : Fin n) :
    assembledResidual d u s a b = d.reward u b - forecastRate d s a b
    theorem MindFormal.Capture.value_credit_sign {Ω : 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 : ℝ) (p : Fin N) (b : Fin n) (a : T) :
    have G := E.supportHistory ω; 0 < assembledDrift G.data (G.input t) (G.pulse t) (G.state t) (Sum.inr (Sum.inr (Sum.inl (p, b, a)))) ↔ 0 < G.data.presence (mindTrace (G.state t) p) * (G.data.η b * G.data.response (assembledResidual G.data (G.input t) (G.state t) a) b)

    CA1: systematic III writing has exactly the sign of credited presence times the full response. This is the actual drift, not a claim that a noisy sample path is monotone. The integrated and two-content identities are actual_value_accounting and actual_pair_contrast.

    theorem MindFormal.Capture.identity_credit_signs {Ω : 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 : ℝ) (p : Fin N) (b : Fin n) (a : T) (hk : ∀ (z : Fin n → ℝ), E.mind.response z = z) (hp : 0 < E.mind.presence (mindTrace ((E.supportHistory ω).state t) p)) :
    have G := E.supportHistory ω; have v := assembledDrift G.data (G.input t) (G.pulse t) (G.state t) (Sum.inr (Sum.inr (Sum.inl (p, b, a)))); (0 < v ↔ forecastRate G.data (G.state t) a b < G.data.reward (G.input t) b) ∧ (v = 0 ↔ G.data.reward (G.input t) b = forecastRate G.data (G.state t) a b) ∧ (v < 0 ↔ G.data.reward (G.input t) b < forecastRate G.data (G.state t) a b)

    CA1: with identity response, positive current presence gives all three drift signs by comparing primary delivery with the full forecast.

    theorem MindFormal.Capture.native_selection_iff {Ω : 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) (ω : Ω) (H : NNReal) (c : Bool) (k : ℕ) (t : ℝ) (p : Fin N) :
    have G := E.supportHistory ω; have S := G.native (↑H) c; (S.search k).event = some (t, p) ↔ S.release k ≤ t ∧ t ≤ ↑H ∧ 0 ≤ (G.reads.guards c) (G.realPath t) p ∧ (∀ (s : ℝ), S.release k ≤ s → s < t → ∀ (j : Fin N), (G.reads.guards c) (G.realPath s) j < 0) ∧ (∀ (j : Fin N), 0 ≤ (G.reads.guards c) (G.realPath t) j → (G.reads.scores c) (G.realPath t) j ≤ (G.reads.scores c) (G.realPath t) p) ∧ ∀ (j : Fin N), 0 ≤ (G.reads.guards c) (G.realPath t) j → (G.reads.scores c) (G.realPath t) j = (G.reads.scores c) (G.realPath t) p → p ≤ j

    CA2: the actual IV or V mark is exactly its complete qualification, first-hit, maximal-score and instance-priority test. Both clocks and every native release are included; focus uses the awareness/attention minimum, output uses its own mask and threshold and does not require awareness.

    theorem MindFormal.Capture.qualifications {Ω : 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 : ℝ) (p : Fin N) :

    CA2's IV and V qualifications unpack the actual primitive reads.

    theorem MindFormal.Capture.clipped_share_change (J P dJ dP g : ℝ) (hP : P ≠ 0) (hP' : P + dP ≠ 0) :
    max ((J + dJ) / (P + dP) - g) 0 - max (J / P - g) 0 = max (J / P - g + (P * dJ - J * dP) / (P * (P + dP))) 0 - max (J / P - g) 0

    CA3: exact clipped changes retain both branches. On two positive branches they reduce to the signed complete-pool share change.

    theorem MindFormal.Capture.active_share_change (J P dJ dP g : ℝ) (hP : P ≠ 0) (hP' : P + dP ≠ 0) (h0 : 0 ≤ J / P - g) (h1 : 0 ≤ (J + dJ) / (P + dP) - g) :
    max ((J + dJ) / (P + dP) - g) 0 - max (J / P - g) 0 = (P * dJ - J * dP) / (P * (P + dP))
    theorem MindFormal.Capture.single_increment (J P Δ g : ℝ) (hP : 0 < P) (hP' : 0 < P + Δ) (hJ : 0 ≤ J) (hΔ : 0 ≤ Δ) :
    max (J / (P + Δ) - g) 0 = max (J / P - g - J * Δ / (P * (P + Δ))) 0 ∧ max (J / (P + Δ) - g) 0 ≤ max (J / P - g) 0

    CA3's single proxy increment: every other numerator stays fixed; the clipped fall stops at zero. The signed formula on active branches is active_share_change with dJ=0.

    theorem MindFormal.Capture.target_suppression_iff {Ω : 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 : ℝ) (d p : Fin N) {α : ℝ} (hα : 0 ≤ α) :
    (E.supportHistory ω).target d t ≤ α ↔ (E.supportHistory ω).J t d / (E.mind.activity.g + α) - restLoad E.mind.activity.σ ((E.supportHistory ω).J t) p ≤ (E.supportHistory ω).J t p

    CA4 on every actual complete support vector. Positive g is a primitive activity parameter, so the zero-support case needs no extra denominator assumption. The rest of the pool includes every rival.

    theorem MindFormal.Capture.target_suppression_automatic {Ω : 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 : ℝ) (d : Fin N) {α : ℝ} (hg : 1 ≤ E.mind.activity.g + α) :
    (E.supportHistory ω).target d t ≤ α

    CA4: required share at least one makes target suppression automatic.

    theorem MindFormal.Capture.zero_support_iff {Ω : 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 : ℝ) (d p : Fin N) :