MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch10.L82.HistoryMargin

Finite native-read margins at D7's equality-on convention. The enclosure event remains an explicit conditional scope in these support lemmas. In particular this file does not supply any of the seven acquired references, their episode statistics, or their complete enclosure events.

noncomputable def MindFormal.Logic.L82.historyBudget {H : ℝ} (nu d0 : ℝ) (d : ℝ → ℝ) (t : ↑(HorizonTime H)) :
Equations
Instances For
    theorem MindFormal.Logic.L82.historyBudget_convolution {H : ℝ} (nu d0 : ℝ) (d : ℝ → ℝ) (t : ↑(HorizonTime H)) :
    historyBudget nu d0 d t = 2 * Real.exp (-nu * ↑t) * d0 + 2 * nu * ∫ (s : ℝ) in 0..↑t, Real.exp (-nu * (↑t - s)) * d s
    theorem MindFormal.Logic.L82.historyBudget_nonnegative {H nu d0 : ℝ} (hnu : 0 ≤ nu) (hd0 : 0 ≤ d0) (d : ℝ → ℝ) (hn : ∀ s ∈ Set.Icc 0 H, 0 ≤ d s) (t : ↑(HorizonTime H)) :
    0 ≤ historyBudget nu d0 d t
    theorem MindFormal.Logic.L82.disagreement_cost {a r bar : ℝ} (h : ¬(bar ≤ a ↔ bar ≤ r)) :
    |r - bar| ≤ |a - r|

    Crossing to the other side of D7's bar costs at least the reference distance. The strict reference clearance excludes a reference tie.

    def MindFormal.Logic.L82.readDisagreement {Ω : 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) (i : Fin N) (t : ↑(HorizonTime ↑E.horizon)) (bar reference : ℝ) :
    Set Ω
    Equations
    Instances For
      theorem MindFormal.Logic.L82.own_disagreement_implies_excursion {Ω : 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) (i : Fin N) (referenceTarget : ℝ → ℝ) (hreference : IntervalIntegrable referenceTarget MeasureTheory.volume 0 ↑E.horizon) (referenceStart : ℝ) (hstartRef : 0 ≤ referenceStart) (htargetRef : ∀ s ∈ Set.Icc 0 ↑E.horizon, 0 ≤ referenceTarget s) (d : ℝ → ℝ) (hd : IntervalIntegrable d MeasureTheory.volume 0 ↑E.horizon) (hn : ∀ s ∈ Set.Icc 0 ↑E.horizon, 0 ≤ d s) (t : ↑(HorizonTime ↑E.horizon)) {d0 bar : ℝ} (hd0 : 0 ≤ d0) :
      have r := referenceActivity ⋯ E.mind.activity.ν referenceStart referenceTarget hreference t; have b := Real.exp (E.mind.activity.ν * ↑t) * (|r - bar| - historyBudget E.mind.activity.ν d0 d t) / 2; ∀ᵐ (ω : Ω) ∂E.ground.μ, |mindActivity (↑(E.start.state ω)) i - referenceStart| ≤ d0 → (∀ s ∈ Set.Icc 0 ↑E.horizon, |ownCompleteTarget E i ω s - referenceTarget s| ≤ d s) → ω ∈ readDisagreement E i t bar r → ∃ s ≤ (↑t).toNNReal, b ≤ |ownWeightedActivity E i s ω|

      On the actual enclosure event, disagreement forces the original weighted innovation to reach the exact margin threshold. Compactness pays for the supremum, so no strict/weak crossing convention is silently changed.

      theorem MindFormal.Logic.L82.own_disagreement_bound {Ω : 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) (i : Fin N) (referenceTarget : ℝ → ℝ) (hreference : IntervalIntegrable referenceTarget MeasureTheory.volume 0 ↑E.horizon) (referenceStart : ℝ) (hstartRef : 0 ≤ referenceStart) (htargetRef : ∀ s ∈ Set.Icc 0 ↑E.horizon, 0 ≤ referenceTarget s) (d : ℝ → ℝ) (hd : IntervalIntegrable d MeasureTheory.volume 0 ↑E.horizon) (hn : ∀ s ∈ Set.Icc 0 ↑E.horizon, 0 ≤ d s) (t : ↑(HorizonTime ↑E.horizon)) {d0 bar G εenv : ℝ} (hd0 : 0 ≤ d0) (hG : ∀ z ∈ instanceArgumentDomain, ∑ j : J, E.mind.amplitude z (Sum.inr (Sum.inl i)) j ^ 2 ≤ G ^ 2) (hV : 0 < activityEnergy E.mind.activity.ν G (↑t).toNNReal) (A : Set Ω) (hmass : E.ground.μ.real Aᶜ ≤ εenv) (henv : ∀ᵐ (ω : Ω) ∂E.ground.μ, ω ∈ A → |mindActivity (↑(E.start.state ω)) i - referenceStart| ≤ d0 ∧ ∀ s ∈ Set.Icc 0 ↑E.horizon, |ownCompleteTarget E i ω s - referenceTarget s| ≤ d s) (hgap : historyBudget E.mind.activity.ν d0 d t < |referenceActivity ⋯ E.mind.activity.ν referenceStart referenceTarget hreference t - bar|) :
      have r := referenceActivity ⋯ E.mind.activity.ν referenceStart referenceTarget hreference t; have b := Real.exp (E.mind.activity.ν * ↑t) * (|r - bar| - historyBudget E.mind.activity.ν d0 d t) / 2; E.ground.μ.real (readDisagreement E i t bar r) ≤ εenv + 2 * Real.exp (-b ^ 2 / (2 * activityEnergy E.mind.activity.ν G (↑t).toNNReal))

      LM1.6 in its energy form, conditional only on the expressly stated entering/complete-target enclosure. No independence from that event is used.