MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.A760RecallComparison.Recovery

G14's recovery comparison. Recall recovers after a delay at the criterion π exactly when the actual recall probability reaches π; RC1.4's lower certificate reaching π proves recovery, its upper certificate below π throughout a set of delays proves no recovery anywhere on it, and a failed lower certificate alone proves nothing, since a valid certificate is zero. On the reference of the native member, recall returns exactly when RC2.4's complete probe margin is nonnegative, and the former weight returns exactly under RC5.8's net-write condition.

theorem MindFormal.A760RecallComparison.criterion_of_certificates {𝒟 : Type u_1} (F L U : 𝒟 → ℝ) (π : ℝ) (h : ∀ (d : 𝒟), L d ≤ F d ∧ F d ≤ U d) :
(∀ (d : 𝒟), π ≤ L d → π ≤ F d) ∧ ∀ (D : Set 𝒟), (∀ d ∈ D, U d < π) → ∀ d ∈ D, ¬π ≤ F d

The criterion's logic for any certificates: a lower certificate at or above π proves recovery; an upper certificate below π throughout a set of delays proves no recovery anywhere on it.

theorem MindFormal.A760RecallComparison.lower_certificate_trivial {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) (i : Fin (N a)) (p ℓ : NNReal) (α : ℝ) (lo hi : Ω → ℝ → ℝ) (hloi : ∀ (ω : Ω), IntervalIntegrable (lo ω) MeasureTheory.volume 0 ↑ℓ) (hlom : MeasureTheory.StronglyMeasurable (Function.uncurry lo)) :
ProbeEnclosure E a i p ℓ α lo hi ∅ ∧ (condProb (↑ℱ p) μ ∅ᶜ ≤ᵐ[μ] fun (x : Ω) => 1) ∧ ∫ (ω : Ω), max 0 (condProb (↑ℱ p) μ (comparisonHit E a i p ℓ α lo hloi) ω - 1) ∂μ = 0

A failed lower certificate is not a no-recovery proof: with the enclosure event empty and the failure one, RC1.4's lower certificate is a valid certificate and equals zero, below every positive criterion, at every delay, whether or not recall recovers.

theorem MindFormal.A760RecallComparison.reference_recall {N n : ℕ} {T : Type u_6} {Λ : Type u_7} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (i : Fin N) {α p ℓ : ℝ} (hp : 0 ≤ p) (hℓ : 0 ≤ ℓ) (hpℓ : p + ℓ ≤ ↑H) :
(∀ τ ∈ Set.Icc 0 ℓ, mindActivity ((ContinuousMap.IccExtend ⋯ R.path) (p + τ)) i = Real.exp (-d.activity.ν * τ) * mindActivity ((ContinuousMap.IccExtend ⋯ R.path) p) i + d.activity.ν * ∫ (u : ℝ) in 0..τ, Real.exp (-d.activity.ν * (τ - u)) * max (R.useful i (p + u) / (R.useful i (p + u) + R.rest i (p + u)) - d.activity.g) 0) ∧ ((∃ τ ∈ Set.Icc 0 ℓ, α ≤ mindActivity ((ContinuousMap.IccExtend ⋯ R.path) (p + τ)) i) ↔ 0 ≤ R.probeMargin i α p ℓ)

RC2.4 on any continuing reference of a drift: over the probe the reference activity is the exact convolution of the complete share target, and it reaches α exactly when the complete probe margin is nonnegative.

theorem MindFormal.A760RecallComparison.reference_weight {N n : ℕ} {T : Type u_6} {Λ : Type u_7} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} (hd : PhysicalCoefficientRegularity d) {H : NNReal} (R : LearningReference d H) (i j : Fin N) {t : ℝ} (ht0 : 0 ≤ t) (htH : t ≤ ↑H) (Wacq : ℝ) :
have W := fun (s : ℝ) => mindRelation ((ContinuousMap.IccExtend ⋯ R.path) s) i j; have net := ∫ (s : ℝ) in 0..t, Real.exp (R.linkDose i j s) * (R.linkForcing i j s - R.linkLoss i j s * W 0); (Wacq ≤ W t ↔ Wacq ≤ Real.exp (-R.linkDose i j t) * (W 0 + ∫ (s : ℝ) in 0..t, Real.exp (R.linkDose i j s) * R.linkForcing i j s)) ∧ (net ≤ 0 → W 0 < Wacq → W t < Wacq) ∧ ((fun (s : ℝ) => R.linkForcing i j s - R.linkLoss i j s * W 0) =ᵐ[MeasureTheory.volume.restrict (Set.Icc 0 t)] 0 → W t = W 0)

RC5.8 on any continuing reference of a regular drift, restarted at the end of cue-only practice: the former weight is restored by t exactly when e^{-𝒬(t)}[W_post + ∫₀ᵗ e^{𝒬}𝔥] ≥ W_acq; a lost weight is not restored where the net delay write is nonpositive; a zero coefficient balance leaves the weight unchanged.

theorem MindFormal.A760RecallComparison.member_reference_recall {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) {H : NNReal} (R : LearningReference (E.observed.member a).drift H) (i : Fin (N a)) {α p ℓ : ℝ} (hp : 0 ≤ p) (hℓ : 0 ≤ ℓ) (hpℓ : p + ℓ ≤ ↑H) :
have ν := (E.observed.member a).drift.activity.ν; have g := (E.observed.member a).drift.activity.g; (∀ τ ∈ Set.Icc 0 ℓ, mindActivity ((ContinuousMap.IccExtend ⋯ R.path) (p + τ)) i = Real.exp (-ν * τ) * mindActivity ((ContinuousMap.IccExtend ⋯ R.path) p) i + ν * ∫ (u : ℝ) in 0..τ, Real.exp (-ν * (τ - u)) * max (R.useful i (p + u) / (R.useful i (p + u) + R.rest i (p + u)) - g) 0) ∧ ((∃ τ ∈ Set.Icc 0 ℓ, α ≤ mindActivity ((ContinuousMap.IccExtend ⋯ R.path) (p + τ)) i) ↔ 0 ≤ R.probeMargin i α p ℓ)

RC2.4 on any continuing reference of the native member's drift.

theorem MindFormal.A760RecallComparison.member_reference_weight {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} (E : GroupsWorld.CompleteExperiment hB) (a : A) {H : NNReal} (R : LearningReference (E.observed.member a).drift H) (i j : Fin (N a)) {t : ℝ} (ht0 : 0 ≤ t) (htH : t ≤ ↑H) (Wacq : ℝ) :
have W := fun (s : ℝ) => mindRelation ((ContinuousMap.IccExtend ⋯ R.path) s) i j; have net := ∫ (s : ℝ) in 0..t, Real.exp (R.linkDose i j s) * (R.linkForcing i j s - R.linkLoss i j s * W 0); (Wacq ≤ W t ↔ Wacq ≤ Real.exp (-R.linkDose i j t) * (W 0 + ∫ (s : ℝ) in 0..t, Real.exp (R.linkDose i j s) * R.linkForcing i j s)) ∧ (net ≤ 0 → W 0 < Wacq → W t < Wacq) ∧ ((fun (s : ℝ) => R.linkForcing i j s - R.linkLoss i j s * W 0) =ᵐ[MeasureTheory.volume.restrict (Set.Icc 0 t)] 0 → W t = W 0)

RC5.8 on any continuing reference of the native member's drift, whose regularity is the member's admission.

theorem MindFormal.A760RecallComparison.recovery_at_criterion {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {𝒟 : Type u_6} (E : 𝒟 → GroupsWorld.CompleteExperiment hB) (a : A) (i : Fin (N a)) (hlo : ∀ (d : 𝒟), ((E d).normal.range a).lower (Sum.inr (Sum.inl i)) = some 0) (hup : ∀ (d : 𝒟), ((E d).normal.range a).upper (Sum.inr (Sum.inl i)) = none) (p ℓ : 𝒟 → NNReal) (α π : ℝ) (lo hi : 𝒟 → Ω → ℝ → ℝ) (hloi : ∀ (d : 𝒟) (ω : Ω), IntervalIntegrable (lo d ω) MeasureTheory.volume 0 ↑(ℓ d)) (hhii : ∀ (d : 𝒟) (ω : Ω), IntervalIntegrable (hi d ω) MeasureTheory.volume 0 ↑(ℓ d)) (hlom : ∀ (d : 𝒟), MeasureTheory.StronglyMeasurable (Function.uncurry (lo d))) (hhim : ∀ (d : 𝒟), MeasureTheory.StronglyMeasurable (Function.uncurry (hi d))) (G : 𝒟 → Set Ω) (hG : ∀ (d : 𝒟), MeasurableSet (G d)) (hencl : ∀ (d : 𝒟), ProbeEnclosure (E d) a i (p d) (ℓ d) α (lo d) (hi d) (G d)) (ε : 𝒟 → Ω → ℝ) (hεm : ∀ (d : 𝒟), MeasureTheory.StronglyMeasurable (ε d)) (hε : ∀ (d : 𝒟), condProb (↑ℱ (p d)) μ (G d)ᶜ ≤ᵐ[μ] ε d) :
have F := fun (d : 𝒟) => probeRead (E d) a i (p d) (ℓ d) α; have 𝔉 := fun (d : 𝒟) (c : Ω → ℝ → ℝ) (hc : ∀ (ω : Ω), IntervalIntegrable (c ω) MeasureTheory.volume 0 ↑(ℓ d)) => condProb (↑ℱ (p d)) μ (comparisonHit (E d) a i (p d) (ℓ d) α c hc); have L := fun (d : 𝒟) => ∫ (ω : Ω), max (𝔉 d zeroCurve ⋯ ω) (max 0 (𝔉 d (lo d) ⋯ ω - ε d ω)) ∂μ; have U := fun (d : 𝒟) => ∫ (ω : Ω), min (𝔉 d (ceilingCurve (E d) a) ⋯ ω) (min 1 (𝔉 d (hi d) ⋯ ω + ε d ω)) ∂μ; (∀ (d : 𝒟), L d ≤ F d ∧ F d ≤ U d) ∧ (∀ (d : 𝒟), π ≤ L d → π ≤ F d) ∧ ∀ (D : Set 𝒟), (∀ d ∈ D, U d < π) → ∀ d ∈ D, ¬π ≤ F d

Recovery at the criterion π over a family of delays, each a complete native experiment on the same original ground with its own history, delay and probe: recovery at d is the actual recall probability reaching π; RC1.4's averaged certificates (with the universal comparisons) bracket it; a lower certificate at or above π proves recovery; an upper certificate below π throughout a set of delays proves none on it.