MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch04.ClauseProofs

The general forms of chapter 4's clause theorems, each for any case of noise meeting the interface and on a continuing-learning reference; Chapters/Ch04 applies each at constant noise. Nothing here is tagged.

theorem MindFormal.result_04_26_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) (R1 : ∀ z ∈ C.run.good, ∀ t ∈ Set.Icc 0 ↑C.run.horizon, LearningFocusMargin C.run ⋯ z i t) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∀ (k : ℕ), ↑k * C.run.data.pause true ≤ ↑C.run.horizon → ((C.run.focus z).search k).event = some (↑k * C.run.data.pause true, i)) ∧ ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (C.run.data.toPhysicalNoiseData.globalData z).pulse t i = 1}

For any case of noise. At the constant case this theorem is result_04_26_clause_1.

theorem MindFormal.result_04_28_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (k : ℕ) (correct : Fin N) {p U : ℝ} (B4 : (z : Ω) → z ∈ C.run.good → LearningTargetWindow C.run z correct p U) (answerRelease : ∀ z ∈ C.run.good, p ≤ (C.run.schedule z).release k ∧ (C.run.schedule z).release k ≤ U) :
1 - C.run.control.failure ≤ C.run.data.μ.real (C.run.act k correct p U)

For any case of noise. At the constant case this theorem is result_04_28_clause_2.

theorem MindFormal.learningRun_other_label {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (k : ℕ) {winner other : Fin N} (hne : winner ≠ other) {p U : ℝ} (W : (z : Ω) → z ∈ C.good → LearningTargetWindow C z winner p U) (release : ∀ z ∈ C.good, p ≤ (C.schedule z).release k ∧ (C.schedule z).release k ≤ U) :
C.data.μ.real {z : Ω | (C.record k z).2 = Sum.inl other} ≤ C.control.failure

04.28 (B5): on the corridor event the answer slot's record is the window's winner, so a different label has probability at most the failure bound.

theorem MindFormal.result_04_28_clause_3_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S Cc : NoiseLearning Ω N n T Λ J 𝒩) (ks kc : ℕ) (correct wrong : Fin N) (hne : wrong ≠ correct) {ps Us pc Uc : ℝ} (stopB4 : (z : Ω) → z ∈ S.run.good → LearningTargetWindow S.run z correct ps Us) (stopRelease : ∀ z ∈ S.run.good, ps ≤ (S.run.schedule z).release ks ∧ (S.run.schedule z).release ks ≤ Us) (contB4 : (z : Ω) → z ∈ Cc.run.good → LearningTargetWindow Cc.run z wrong pc Uc) (contRelease : ∀ z ∈ Cc.run.good, pc ≤ (Cc.run.schedule z).release kc ∧ (Cc.run.schedule z).release kc ≤ Uc) :
Cc.run.data.μ.real {z : Ω | (Cc.run.record kc z).2 = Sum.inl correct} ≤ Cc.run.control.failure ∧ 1 - S.run.control.failure - Cc.run.control.failure ≤ S.run.data.μ.real {z : Ω | (S.run.record ks z).2 = Sum.inl correct} - Cc.run.data.μ.real {z : Ω | (Cc.run.record kc z).2 = Sum.inl correct}

For any case of noise. At the constant case this theorem is result_04_28_clause_3.

theorem MindFormal.result_04_24_clause_5_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) :

For any case of noise. At the constant case this theorem is result_04_24_clause_5.

theorem MindFormal.learningRun_practice_episodes {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (r c : Fin N) (e h g : ℕ → ℝ) (k : ℕ) {w0 pm pp sm a0 mm : ℝ} (hβ0 : 0 ≤ C.data.toPhysicalNoiseData.data.β) (hβ1 : C.data.toPhysicalNoiseData.data.β ≤ 1) (hs : ∀ m < k, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑C.horizon) (start : C.refCoordinate z (Sum.inl (r, c)) (e 0) ≤ w0) (gap : ∀ m < k, C.refCoordinate z (Sum.inl (r, c)) (e (m + 1) - h m) ≤ C.refCoordinate z (Sum.inl (r, c)) (e m) + g m) (presence : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ C.refPresence z c s ∧ C.refPresence z c s ≤ pp) (hpm : 0 ≤ pm) (hsm : 0 ≤ sm) (prediction : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.refError z r s ≤ -sm) (linkSign : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), 0 ≤ C.refCoordinate z (Sum.inl (r, c)) s) (receiver : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.refAct z r s ≤ a0) (hmm : 0 ≤ mm) (gain : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ C.refGain z s) (R1 : 0 ≤ (1 - C.data.toPhysicalNoiseData.data.β) * pm * sm - C.data.toPhysicalNoiseData.data.β * a0 * pp) :
C.refCoordinate z (Sum.inl (r, c)) (e k) ≤ w0 - mm * ((1 - C.data.toPhysicalNoiseData.data.β) * pm * sm - C.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range k, h m + ∑ m ∈ Finset.range k, g m

04.20 (R1), 04.22 (T2): interleaved practice on the continuing reference of draw z. Practice interval m<k is [e(m+1)-h m, e(m+1)]⊆[0,H], h m≥0; on each, the cue's presence lies in [p₋,p₊], p₋≥0, the receiver's prediction exceeds its drive by s₋≥0, the link is nonnegative, the receiver's activity is at most a₀ and the gain at least m₋≥0; from the checkpoint e m to practice interval m the link rises by at most g m. From W(e 0)≤w₀ the link at e k is at most w₀-m₋d₋Σh m+Σg m, d₋=(1-β)p₋s₋-βa₀p₊≥0: the useful practice accumulates and every gap is charged.

theorem MindFormal.learningRun_study_episodes {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i c : Fin N) (e h g : ℕ → ℝ) (k : ℕ) {w0 pm pp a wp Es mm : ℝ} (hβ0 : 0 ≤ C.data.toPhysicalNoiseData.data.β) (hβ1 : C.data.toPhysicalNoiseData.data.β ≤ 1) (hs : ∀ m < k, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑C.horizon) (start : w0 ≤ C.refCoordinate z (Sum.inl (i, c)) (e 0)) (gap : ∀ m < k, C.refCoordinate z (Sum.inl (i, c)) (e m) - g m ≤ C.refCoordinate z (Sum.inl (i, c)) (e (m + 1) - h m)) (presence : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ C.refPresence z c s ∧ C.refPresence z c s ≤ pp) (ha : 0 ≤ a) (active : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), a ≤ C.refAct z i s) (cap : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.refCoordinate z (Sum.inl (i, c)) s ≤ wp) (hwp0 : 0 ≤ wp) (hwp : wp < pm) (hEs : 0 ≤ Es) (prediction : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), -Es ≤ C.refError z i s) (hmm : 0 ≤ mm) (gain : ∀ m < k, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ C.refGain z s) (hd : 0 ≤ C.data.toPhysicalNoiseData.data.β * a * (pm - wp) - (1 - C.data.toPhysicalNoiseData.data.β) * pp * Es) :
w0 + mm * (C.data.toPhysicalNoiseData.data.β * a * (pm - wp) - (1 - C.data.toPhysicalNoiseData.data.β) * pp * Es) * ∑ m ∈ Finset.range k, h m - ∑ m ∈ Finset.range k, g m ≤ C.refCoordinate z (Sum.inl (i, c)) (e k)

04.23 (F1), 04.28 (B1)–(B2): study accumulated across useful intervals on the continuing reference of draw z. Useful interval m<k is [e(m+1)-h m, e(m+1)]⊆[0,H], h m≥0; on each, the sender's presence lies in [p₋,p₊], the receiver's activity is at least a≥0, the link is at most w₊ with 0≤w₊<p₋, the prediction error at least -E*, E*≥0, and the gain at least m₋≥0; from the checkpoint e m to useful interval m (the opposing intervals) the link falls by at most g m. From W(e 0)≥w₀ the link at e k is at least w₀+m₋d₊Σh m-Σg m, d₊=βa(p₋-w₊)-(1-β)p₊E*≥0.

theorem MindFormal.result_04_20_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (r c r' c' : Fin N) (k q : ℕ) (e h g : ℕ → ℝ) {a b p U w0 w0' pm pp sm a0 mm Bd B0 wF wS AF aS : ℝ} (hpa : a ≤ p) (hUb : U ≤ b) (hs : ∀ m < q, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑C.run.horizon) (start : ∀ z ∈ C.run.good, C.run.refCoordinate z (Sum.inl (r, c)) (e 0) ≤ w0 ∧ w0' ≤ C.run.refCoordinate z (Sum.inl (r', c')) (e 0)) (gaps : ∀ z ∈ C.run.good, ∀ m < q, C.run.refCoordinate z (Sum.inl (r, c)) (e (m + 1) - h m) ≤ C.run.refCoordinate z (Sum.inl (r, c)) (e m) + g m) (presence : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ C.run.refPresence z c s ∧ C.run.refPresence z c s ≤ pp) (hpm : 0 ≤ pm) (hsm : 0 ≤ sm) (prediction : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.run.refError z r s ≤ -sm) (linkSign : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), 0 ≤ C.run.refCoordinate z (Sum.inl (r, c)) s) (receiver : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.run.refAct z r s ≤ a0) (hmm : 0 ≤ mm) (gain : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ C.run.refGain z s) (R1 : 0 ≤ (1 - C.run.data.toPhysicalNoiseData.data.β) * pm * sm - C.run.data.toPhysicalNoiseData.data.β * a0 * pp) (delay : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc a b, C.run.refCoordinate z (Sum.inl (r, c)) s ≤ C.run.refCoordinate z (Sum.inl (r, c)) (e q) + Bd) (comparison : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc p U, C.run.refCoordinate z (Sum.inl (r', c')) (e 0) - B0 ≤ C.run.refCoordinate z (Sum.inl (r', c')) s) (failureCue : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc a b, C.run.refAct z c s ≤ AF) (failureSide : (z : Ω) → z ∈ C.run.good → LinkedExclusion C.run z r c a b wF AF) (successCue : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc p U, aS ≤ C.run.refAct z c' s) (successSide : (z : Ω) → z ∈ C.run.good → LinkedWindow C.run z r' c' p U wS aS) (successRelease : ∀ z ∈ C.run.good, p ≤ (C.run.schedule z).release k ∧ (C.run.schedule z).release k ≤ U) (R3 : w0 - mm * ((1 - C.run.data.toPhysicalNoiseData.data.β) * pm * sm - C.run.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range q, h m + ∑ m ∈ Finset.range q, g m + Bd ≤ wF ∧ wS ≤ w0' - B0) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | nativeRecall C.run r' a b z ∧ ¬nativeRecall C.run r a b z} ∧ 1 - 2 * C.run.control.failure ≤ C.run.data.μ.real {z : Ω | nativeRecall C.run r' a b z} - C.run.data.μ.real {z : Ω | nativeRecall C.run r a b z}

For any case of noise. At the constant case this theorem is result_04_20_clause_1.

theorem MindFormal.result_04_20_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (r c : Fin N) (q : ℕ) (e h g : ℕ → ℝ) {a b w0 pm pp sm a0 mm Bd wF AF : ℝ} (ha : 0 ≤ a) (hab : a ≤ b) (hbH : b ≤ ↑C.run.horizon) (hs : ∀ m < q, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑C.run.horizon) (start : ∀ z ∈ C.run.good, C.run.refCoordinate z (Sum.inl (r, c)) (e 0) ≤ w0) (gaps : ∀ z ∈ C.run.good, ∀ m < q, C.run.refCoordinate z (Sum.inl (r, c)) (e (m + 1) - h m) ≤ C.run.refCoordinate z (Sum.inl (r, c)) (e m) + g m) (presence : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ C.run.refPresence z c s ∧ C.run.refPresence z c s ≤ pp) (hpm : 0 ≤ pm) (hsm : 0 ≤ sm) (prediction : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.run.refError z r s ≤ -sm) (linkSign : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), 0 ≤ C.run.refCoordinate z (Sum.inl (r, c)) s) (receiver : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), C.run.refAct z r s ≤ a0) (hmm : 0 ≤ mm) (gain : ∀ z ∈ C.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ C.run.refGain z s) (R1 : 0 ≤ (1 - C.run.data.toPhysicalNoiseData.data.β) * pm * sm - C.run.data.toPhysicalNoiseData.data.β * a0 * pp) (delay : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc a b, C.run.refCoordinate z (Sum.inl (r, c)) s ≤ C.run.refCoordinate z (Sum.inl (r, c)) (e q) + Bd) (failureCue : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc a b, C.run.refAct z c s ≤ AF) (failureSide : (z : Ω) → z ∈ C.run.good → LinkedExclusion C.run z r c a b wF AF) (R3 : w0 - mm * ((1 - C.run.data.toPhysicalNoiseData.data.β) * pm * sm - C.run.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range q, h m + ∑ m ∈ Finset.range q, g m + Bd ≤ wF) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | C.run.coordinate z (Sum.inl (r, c)) a ≤ w0 - mm * ((1 - C.run.data.toPhysicalNoiseData.data.β) * pm * sm - C.run.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range q, h m + ∑ m ∈ Finset.range q, g m + Bd + C.run.control.error ∧ ∀ (j : ℕ), z ∉ C.run.act j r a b}

For any case of noise. At the constant case this theorem is result_04_20_clause_2.

theorem MindFormal.result_04_22_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (w f t : Fin N) (kf kt : ℕ) {p U pf Uf pt Ut x0 : ℝ} (hp : 0 ≤ p) (hU : U ≤ ↑C.run.horizon) (T1a : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc p U, C.run.refInput z w s ≤ C.run.data.toPhysicalNoiseData.data.activity.g / (1 - C.run.data.toPhysicalNoiseData.data.activity.g) * C.run.refOtherLoad z w s) (wordStart : ∀ z ∈ C.run.good, C.run.refAct z w p ≤ x0) (wordRead : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc p U, C.run.refAct z w s ≤ referenceActivity C.run.data.toPhysicalNoiseData.data.activity.ν 0 x0 (s - p) → C.run.score z w s < C.run.data.reads.actionBar - C.run.error) (T1bFragment : (z : Ω) → z ∈ C.run.good → LearningTargetWindow C.run z f pf Uf) (fragmentRelease : ∀ z ∈ C.run.good, pf ≤ (C.run.schedule z).release kf ∧ (C.run.schedule z).release kf ≤ Uf) (T1bReport : (z : Ω) → z ∈ C.run.good → LearningTargetWindow C.run z t pt Ut) (reportRelease : ∀ z ∈ C.run.good, pt ≤ (C.run.schedule z).release kt ∧ (C.run.schedule z).release kt ≤ Ut) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | z ∈ C.run.act kf f pf Uf ∧ z ∈ C.run.act kt t pt Ut ∧ ∀ (k : ℕ), z ∉ C.run.act k w p U}

For any case of noise. At the constant case this theorem is result_04_22_clause_1.

theorem MindFormal.result_04_22_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (f t r m : Fin N) (kf kt kr : ℕ) {pf Uf pt Ut pr Ur : ℝ} (T1bFragment : (z : Ω) → z ∈ C.run.good → LearningTargetWindow C.run z f pf Uf) (fragmentRelease : ∀ z ∈ C.run.good, pf ≤ (C.run.schedule z).release kf ∧ (C.run.schedule z).release kf ≤ Uf) (T1bReport : (z : Ω) → z ∈ C.run.good → LearningTargetWindow C.run z t pt Ut) (reportRelease : ∀ z ∈ C.run.good, pt ≤ (C.run.schedule z).release kt ∧ (C.run.schedule z).release kt ≤ Ut) (confirmation : (z : Ω) → z ∈ C.run.good → LearningTargetWindow C.run z r pr Ur) (confirmationRelease : ∀ z ∈ C.run.good, pr ≤ (C.run.schedule z).release kr ∧ (C.run.schedule z).release kr ≤ Ur) (comparisonExcluded : (z : Ω) → z ∈ C.run.good → LearningExclusion C.run z m pf Uf) (hε : 2 * C.run.control.failure < 1) :
0 < (1 - 2 * C.run.control.failure) / C.run.data.μ.real (C.run.act kt t pt Ut ∩ C.run.act kr r pr Ur) ∧ (1 - 2 * C.run.control.failure) / C.run.data.μ.real (C.run.act kt t pt Ut ∩ C.run.act kr r pr Ur) ≤ C.run.data.μ[|C.run.act kt t pt Ut ∩ C.run.act kr r pr Ur].real (C.run.act kf f pf Uf) - C.run.data.μ[|C.run.act kt t pt Ut ∩ C.run.act kr r pr Ur].real {z : Ω | ∃ (k : ℕ), z ∈ C.run.act k m pf Uf}

For any case of noise. At the constant case this theorem is result_04_22_clause_2.

theorem MindFormal.result_04_23_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (L Nl : NoiseLearning Ω N n T Λ J 𝒩) (l c : Fin N) (k q : ℕ) (e h g : ℕ → ℝ) {a b p U a' b' w0 w0' pm pp xl wp Es mm F F' wS wF aS AF : ℝ} (hap : a ≤ p) (hUb : U ≤ b) (hs : ∀ m < q, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑L.run.horizon) (listStart : ∀ z ∈ L.run.good, w0 ≤ L.run.refCoordinate z (Sum.inl (l, c)) (e 0)) (opposing : ∀ z ∈ L.run.good, ∀ m < q, L.run.refCoordinate z (Sum.inl (l, c)) (e m) - g m ≤ L.run.refCoordinate z (Sum.inl (l, c)) (e (m + 1) - h m)) (presence : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ L.run.refPresence z c s ∧ L.run.refPresence z c s ≤ pp) (hxl : 0 ≤ xl) (lureActive : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), xl ≤ L.run.refAct z l s) (linkCap : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), L.run.refCoordinate z (Sum.inl (l, c)) s ≤ wp) (hwp0 : 0 ≤ wp) (hwp : wp < pm) (hEs : 0 ≤ Es) (prediction : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), -Es ≤ L.run.refError z l s) (hmm : 0 ≤ mm) (gain : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ L.run.refGain z s) (F1 : 0 ≤ L.run.data.toPhysicalNoiseData.data.β * xl * (pm - wp) - (1 - L.run.data.toPhysicalNoiseData.data.β) * pp * Es) (listRetention : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p U, L.run.refCoordinate z (Sum.inl (l, c)) (e q) - F ≤ L.run.refCoordinate z (Sum.inl (l, c)) s) (recallCue : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p U, aS ≤ L.run.refAct z c s) (recallSide : (z : Ω) → z ∈ L.run.good → LinkedWindow L.run z l c p U wS aS) (recallRelease : ∀ z ∈ L.run.good, p ≤ (L.run.schedule z).release k ∧ (L.run.schedule z).release k ≤ U) (listMargin : wS ≤ w0 + mm * (L.run.data.toPhysicalNoiseData.data.β * xl * (pm - wp) - (1 - L.run.data.toPhysicalNoiseData.data.β) * pp * Es) * ∑ m ∈ Finset.range q, h m - ∑ m ∈ Finset.range q, g m - F) (noListStart : ∀ z ∈ Nl.run.good, Nl.run.refCoordinate z (Sum.inl (l, c)) 0 ≤ w0') (hF' : 0 ≤ F') (noListBudget : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Icc 0 b', Nl.run.refDrift z s (Sum.inl (l, c)) ≤ F') (noRecallCue : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Ioc a' b', Nl.run.refAct z c s ≤ AF) (noRecallSide : (z : Ω) → z ∈ Nl.run.good → LinkedExclusion Nl.run z l c a' b' wF AF) (noListMargin : w0' + F' * b' ≤ wF) :
1 - L.run.control.failure - Nl.run.control.failure ≤ L.run.data.μ.real {z : Ω | nativeRecall L.run l a b z} - Nl.run.data.μ.real {z : Ω | nativeRecall Nl.run l a' b' z}

For any case of noise. At the constant case this theorem is result_04_23_clause_1.

theorem MindFormal.result_04_23_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (L Nl : NoiseLearning Ω N n T Λ J 𝒩) (l c o : Fin N) (k q : ℕ) (e h g : ℕ → ℝ) {p0 p U a' b' w0 w0' pm pp xc wp Es mm F F' wc wc' al Al Bc Bc' Sc Sc' zc zc' wT wT' : ℝ} (hp00 : 0 ≤ p0) (hp0p : p0 ≤ p) (hUH : U ≤ ↑L.run.horizon) (hs : ∀ m < q, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑L.run.horizon) (listStart : ∀ z ∈ L.run.good, w0 ≤ L.run.refCoordinate z (Sum.inl (c, l)) (e 0)) (opposing : ∀ z ∈ L.run.good, ∀ m < q, L.run.refCoordinate z (Sum.inl (c, l)) (e m) - g m ≤ L.run.refCoordinate z (Sum.inl (c, l)) (e (m + 1) - h m)) (presence : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ L.run.refPresence z l s ∧ L.run.refPresence z l s ≤ pp) (hxc : 0 ≤ xc) (contextActive : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), xc ≤ L.run.refAct z c s) (linkCap : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), L.run.refCoordinate z (Sum.inl (c, l)) s ≤ wp) (hwp0 : 0 ≤ wp) (hwp : wp < pm) (hEs : 0 ≤ Es) (prediction : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), -Es ≤ L.run.refError z c s) (hmm : 0 ≤ mm) (gain : ∀ z ∈ L.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ L.run.refGain z s) (F1 : 0 ≤ L.run.data.toPhysicalNoiseData.data.β * xc * (pm - wp) - (1 - L.run.data.toPhysicalNoiseData.data.β) * pp * Es) (listRetention : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p0 U, L.run.refCoordinate z (Sum.inl (c, l)) (e q) - F ≤ L.run.refCoordinate z (Sum.inl (c, l)) s) (hwc : 0 ≤ wc) (listMargin : wc ≤ w0 + mm * (L.run.data.toPhysicalNoiseData.data.β * xc * (pm - wp) - (1 - L.run.data.toPhysicalNoiseData.data.β) * pp * Es) * ∑ m ∈ Finset.range q, h m - ∑ m ∈ Finset.range q, g m - F) (hal : 0 ≤ al) (probeWord : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p0 U, al ≤ L.run.refAct z l s) (probeRest : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p0 U, Bc ≤ L.run.refOtherInput z c l s) (probeLoad : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p0 U, L.run.refOtherLoad z c s ≤ Sc) (contextStart : ∀ z ∈ L.run.good, zc ≤ L.run.refAct z c p0) (contextRise : zc ≤ max (L.run.data.toPhysicalNoiseData.data.transform.ψ (wc * al + Bc) / (L.run.data.toPhysicalNoiseData.data.transform.ψ (wc * al + Bc) + Sc) - L.run.data.toPhysicalNoiseData.data.activity.g) 0) (taskRoute : ∀ z ∈ L.run.good, ∀ s ∈ Set.Ioc p U, wT ≤ L.run.refCoordinate z (Sum.inl (o, c)) s) (oldSide : (z : Ω) → z ∈ L.run.good → LinkedWindow L.run z o c p U wT (referenceActivity L.run.data.toPhysicalNoiseData.data.activity.ν (max (L.run.data.toPhysicalNoiseData.data.transform.ψ (wc * al + Bc) / (L.run.data.toPhysicalNoiseData.data.transform.ψ (wc * al + Bc) + Sc) - L.run.data.toPhysicalNoiseData.data.activity.g) 0) zc (p - p0))) (oldRelease : ∀ z ∈ L.run.good, p ≤ (L.run.schedule z).release k ∧ (L.run.schedule z).release k ≤ U) (noListStart : ∀ z ∈ Nl.run.good, Nl.run.refCoordinate z (Sum.inl (c, l)) 0 ≤ w0') (hF' : 0 ≤ F') (noListBudget : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Icc 0 b', Nl.run.refDrift z s (Sum.inl (c, l)) ≤ F') (hwc' : 0 ≤ wc') (noListMargin : w0' + F' * b' ≤ wc') (noProbeWord : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Ioc a' b', Nl.run.refAct z l s ≤ Al) (noProbeRest : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Ioc a' b', Nl.run.refOtherInput z c l s ≤ Bc') (hSc' : 0 < Sc') (noProbeLoad : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Ioc a' b', Sc' ≤ Nl.run.refOtherLoad z c s) (noContextStart : ∀ z ∈ Nl.run.good, Nl.run.refAct z c a' ≤ zc') (noTaskRoute : ∀ z ∈ Nl.run.good, ∀ s ∈ Set.Ioc a' b', Nl.run.refCoordinate z (Sum.inl (o, c)) s ≤ wT') (noOldSide : (z : Ω) → z ∈ Nl.run.good → LinkedExclusion Nl.run z o c a' b' wT' (max zc' (max (Nl.run.data.toPhysicalNoiseData.data.transform.ψ (wc' * Al + Bc') / (Nl.run.data.toPhysicalNoiseData.data.transform.ψ (wc' * Al + Bc') + Sc') - Nl.run.data.toPhysicalNoiseData.data.activity.g) 0))) :
1 - L.run.control.failure - Nl.run.control.failure ≤ L.run.data.μ.real {z : Ω | nativeRecall L.run o p U z} - Nl.run.data.μ.real {z : Ω | nativeRecall Nl.run o a' b' z}

For any case of noise. At the constant case this theorem is result_04_23_clause_2.

theorem MindFormal.result_04_33_clause_8_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S Cc : NoiseLearning Ω N n T Λ J 𝒩) (wrong right cue : Fin N) (hne : wrong ≠ right) (ks kc : ℕ) {s t ps Us pc Uc finish : ℝ} (hs : s ∈ Set.Icc 0 ↑Cc.run.horizon) (ht : t ∈ Set.Icc 0 ↑Cc.run.horizon) (leadMargins : ∀ z ∈ Cc.run.good, 4 * Cc.run.control.error < Cc.run.refAct z wrong t - Cc.run.refAct z right t - (Cc.run.refAct z wrong s - Cc.run.refAct z right s) ∧ 4 * Cc.run.control.error < Cc.run.refCoordinate z (Sum.inl (wrong, cue)) t - Cc.run.refCoordinate z (Sum.inl (right, cue)) t - (Cc.run.refCoordinate z (Sum.inl (wrong, cue)) s - Cc.run.refCoordinate z (Sum.inl (right, cue)) s)) (contAnswer : (z : Ω) → z ∈ Cc.run.good → LearningTargetWindow Cc.run z wrong pc Uc) (contRelease : ∀ z ∈ Cc.run.good, pc ≤ (Cc.run.schedule z).release kc ∧ (Cc.run.schedule z).release kc ≤ Uc) (stopAnswer : (z : Ω) → z ∈ S.run.good → LearningTargetWindow S.run z right ps Us) (stopRelease : ∀ z ∈ S.run.good, ps ≤ (S.run.schedule z).release ks ∧ (S.run.schedule z).release ks ≤ Us) (returnsEnd : ∀ z ∈ Cc.run.good, ∀ u ∈ Set.Icc finish ↑Cc.run.horizon, Cc.run.refAttention z wrong u < Cc.run.data.reads.attentionBar - Cc.run.control.scoreError Cc.experiment.mind.reads.attention ⋯) :
1 - Cc.run.control.failure ≤ Cc.run.data.μ.real {z : Ω | Cc.run.coordinate z (Sum.inr (Sum.inl wrong)) s - Cc.run.coordinate z (Sum.inr (Sum.inl right)) s < Cc.run.coordinate z (Sum.inr (Sum.inl wrong)) t - Cc.run.coordinate z (Sum.inr (Sum.inl right)) t ∧ Cc.run.coordinate z (Sum.inl (wrong, cue)) s - Cc.run.coordinate z (Sum.inl (right, cue)) s < Cc.run.coordinate z (Sum.inl (wrong, cue)) t - Cc.run.coordinate z (Sum.inl (right, cue)) t ∧ z ∈ Cc.run.act kc wrong pc Uc ∧ (∀ (j : ℕ) (u : ℝ), finish ≤ u → ((Cc.run.focus z).search j).event ≠ some (u, wrong)) ∧ ∀ u ∈ Set.Icc 0 ↑Cc.run.horizon, finish + Cc.run.data.pause true ≤ u → (Cc.run.data.toPhysicalNoiseData.globalData z).pulse u wrong = 0} ∧ 1 - S.run.control.failure ≤ S.run.data.μ.real (S.run.act ks right ps Us) ∧ Cc.run.data.μ.real {z : Ω | (Cc.run.record kc z).2 = Sum.inl right} ≤ Cc.run.control.failure ∧ 1 - S.run.control.failure - Cc.run.control.failure ≤ S.run.data.μ.real {z : Ω | (S.run.record ks z).2 = Sum.inl right} - Cc.run.data.μ.real {z : Ω | (Cc.run.record kc z).2 = Sum.inl right}

For any case of noise. At the constant case this theorem is result_04_33_clause_8.

theorem MindFormal.result_04_33_clause_7_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i j : Fin N) {s0 s1 ecut Ipred Irest Pm Tcut xm xp Cm Cp Wm mm : ℝ} (h0 : 0 ≤ s0) (h01 : s0 ≤ s1) (h1 : s1 ≤ ↑C.run.horizon) (driveCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, C.run.refDrive z i s ≤ ecut) (activityBand : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, xm ≤ C.run.refAct z i s ∧ C.run.refAct z i s ≤ xp) (presenceBand : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, Cm ≤ C.run.refPresence z j s ∧ C.run.refPresence z j s ≤ Cp) (hCm : 0 ≤ Cm) (linkFloor : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, Wm ≤ C.run.refCoordinate z (Sum.inl (i, j)) s) (prediction : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, Ipred ≤ C.run.refPrediction z i s) (rest : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, C.run.refNondrive z i s ≤ Irest) (load : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, Pm ≤ C.run.refOtherLoad z i s) (hT0 : 0 ≤ Tcut) (hTx : Tcut < xm) (hgT : C.run.data.toPhysicalNoiseData.data.activity.g + Tcut < 1) (TC11target : C.run.data.toPhysicalNoiseData.data.transform.ψ (ecut + Irest) ≤ (C.run.data.toPhysicalNoiseData.data.activity.g + Tcut) / (1 - (C.run.data.toPhysicalNoiseData.data.activity.g + Tcut)) * Pm) (hcut : ecut < Ipred) (TC11link : 0 < (1 - C.run.data.toPhysicalNoiseData.data.β) * Cm * (Ipred - ecut) - C.run.data.toPhysicalNoiseData.data.β * xp * max (Cp - Wm) 0) (hmm : 0 < mm) (gain : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, mm ≤ C.run.refGain z s) (activityMargin : 2 * C.run.control.error < (xm - Tcut) * (1 - Real.exp (-C.run.data.toPhysicalNoiseData.data.activity.ν * (s1 - s0)))) (linkMargin : 2 * C.run.control.error < mm * ((1 - C.run.data.toPhysicalNoiseData.data.β) * Cm * (Ipred - ecut) - C.run.data.toPhysicalNoiseData.data.β * xp * max (Cp - Wm) 0) * (s1 - s0)) :
(∀ z ∈ C.run.good, ∀ s ∈ Set.Icc s0 s1, C.run.refDrift z s (Sum.inr (Sum.inl i)) ≤ -(C.run.data.toPhysicalNoiseData.data.activity.ν * (xm - Tcut)) ∧ C.run.refDrift z s (Sum.inl (i, j)) ≤ -(mm * ((1 - C.run.data.toPhysicalNoiseData.data.β) * Cm * (Ipred - ecut) - C.run.data.toPhysicalNoiseData.data.β * xp * max (Cp - Wm) 0))) ∧ 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | C.run.coordinate z (Sum.inr (Sum.inl i)) s1 < C.run.coordinate z (Sum.inr (Sum.inl i)) s0 ∧ C.run.coordinate z (Sum.inl (i, j)) s1 < C.run.coordinate z (Sum.inl (i, j)) s0}

For any case of noise. At the constant case this theorem is result_04_33_clause_7.

theorem MindFormal.result_04_24_clause_6_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i j : Fin N) {Am Fp : ℝ} (hAm : 0 < Am) (hFp : 0 ≤ Fp) (Nloss : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, Am ≤ actualLoss (C.run.data.toPhysicalNoiseData.globalData z) i j s) (Nforcing : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, actualForcing (C.run.data.toPhysicalNoiseData.globalData z) i j s ≤ Fp) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ t ∈ Set.Icc 0 ↑C.run.horizon, C.run.coordinate z (Sum.inl (i, j)) t ≤ max (C.run.coordinate z (Sum.inl (i, j)) 0) 0 * Real.exp (-Am * t) + Fp / Am * (1 - Real.exp (-Am * t)) + 2 * C.run.noiseAllowance (Sum.inl (i, j)) ∧ C.run.coordinate z (Sum.inl (i, j)) t ≤ max (C.run.coordinate z (Sum.inl (i, j)) 0) (Fp / Am) + 2 * C.run.noiseAllowance (Sum.inl (i, j))}

For any case of noise. At the constant case this theorem is result_04_24_clause_6.

theorem MindFormal.result_04_28_clause_4_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (k : ℕ) (correct cue : Fin N) {h0 h1 p U fr ar wr0 Fret wr acue : ℝ} (hh0 : 0 ≤ h0) (hh : h0 ≤ h1) (hhp : h1 ≤ p) (hUH : U ≤ ↑C.run.horizon) (hfr : 0 ≤ fr) (har : 0 < ar) (hwr0 : 0 ≤ wr0) (supportStart : ∀ z ∈ C.run.good, wr0 ≤ C.run.refCoordinate z (Sum.inl (correct, cue)) h0) (B7forcing : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc h0 h1, fr ≤ C.run.refForcing z correct cue s) (B7loss : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc h0 h1, C.run.refLoss z correct cue s ≤ ar) (hFret : 0 ≤ Fret) (retention : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc h1 U, -Fret ≤ C.run.refDrift z s (Sum.inl (correct, cue))) (cueRead : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc p U, acue ≤ C.run.refAct z cue s) (B6 : (z : Ω) → z ∈ C.run.good → LinkedWindow C.run z correct cue p U wr acue) (answerRelease : ∀ z ∈ C.run.good, p ≤ (C.run.schedule z).release k ∧ (C.run.schedule z).release k ≤ U) (B7 : wr ≤ wr0 * Real.exp (-ar * (h1 - h0)) + fr / ar * (1 - Real.exp (-ar * (h1 - h0))) - Fret * (U - h1)) :
1 - C.run.control.failure ≤ C.run.data.μ.real (C.run.act k correct p U)

For any case of noise. At the constant case this theorem is result_04_28_clause_4.

theorem MindFormal.result_04_28_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S Cc : NoiseLearning Ω N n T Λ J 𝒩) (ks kc : ℕ) (correct wrong cue support : Fin N) (hne : wrong ≠ correct) {e0 e1 pc Uc ps Us w0 w0' pm pp bm wp Es mm Fc Fs wH wL ac r0 r0' Gc Gs : ℝ} (he0 : 0 ≤ e0) (he : e0 ≤ e1) (hep : e1 ≤ pc) (hUc : Uc ≤ ↑Cc.run.horizon) (contStart : ∀ z ∈ Cc.run.good, w0 ≤ Cc.run.refCoordinate z (Sum.inl (wrong, cue)) e0) (B1presence : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Icc e0 e1, pm ≤ Cc.run.refPresence z cue s ∧ Cc.run.refPresence z cue s ≤ pp) (hbm : 0 ≤ bm) (B1leader : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Icc e0 e1, bm ≤ Cc.run.refAct z wrong s) (B1cap : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Icc e0 e1, Cc.run.refCoordinate z (Sum.inl (wrong, cue)) s ≤ wp) (hwp0 : 0 ≤ wp) (hwp : wp < pm) (hEs : 0 ≤ Es) (B1error : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Icc e0 e1, -Es ≤ Cc.run.refError z wrong s) (hmm : 0 ≤ mm) (B1gain : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Icc e0 e1, mm ≤ Cc.run.refGain z s) (B2 : 0 ≤ Cc.run.data.toPhysicalNoiseData.data.β * bm * (pm - wp) - (1 - Cc.run.data.toPhysicalNoiseData.data.β) * pp * Es) (hFc : 0 ≤ Fc) (contRetention : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Icc e1 Uc, -Fc ≤ Cc.run.refDrift z s (Sum.inl (wrong, cue))) (B3cont : wH ≤ w0 + mm * (Cc.run.data.toPhysicalNoiseData.data.β * bm * (pm - wp) - (1 - Cc.run.data.toPhysicalNoiseData.data.β) * pp * Es) * (e1 - e0) - Fc * (Uc - e1)) (stopStart : ∀ z ∈ S.run.good, S.run.refCoordinate z (Sum.inl (wrong, cue)) 0 ≤ w0') (hFs : 0 ≤ Fs) (stopBudget : ∀ z ∈ S.run.good, ∀ s ∈ Set.Icc 0 Us, S.run.refDrift z s (Sum.inl (wrong, cue)) ≤ Fs) (hUs : Us ≤ ↑S.run.horizon) (B3stop : w0' + Fs * Us ≤ wL) (contSupport : ∀ z ∈ Cc.run.good, r0 ≤ Cc.run.refCoordinate z (Sum.inl (correct, support)) 0) (contSupportGain : ∀ z ∈ Cc.run.good, Cc.run.refCoordinate z (Sum.inl (correct, support)) 0 + Gc ≤ Cc.run.refCoordinate z (Sum.inl (correct, support)) Uc) (stopSupport : ∀ z ∈ S.run.good, S.run.refCoordinate z (Sum.inl (correct, support)) 0 ≤ r0') (stopSupportGain : ∀ z ∈ S.run.good, S.run.refCoordinate z (Sum.inl (correct, support)) Us ≤ S.run.refCoordinate z (Sum.inl (correct, support)) 0 + Gs) (contCue : ∀ z ∈ Cc.run.good, ∀ s ∈ Set.Ioc pc Uc, ac ≤ Cc.run.refAct z cue s) (contB4 : (z : Ω) → z ∈ Cc.run.good → LinkedWindow Cc.run z wrong cue pc Uc wH ac) (contRelease : ∀ z ∈ Cc.run.good, pc ≤ (Cc.run.schedule z).release kc ∧ (Cc.run.schedule z).release kc ≤ Uc) (stopB4 : (z : Ω) → z ∈ S.run.good → LearningTargetWindow S.run z correct ps Us) (stopRelease : ∀ z ∈ S.run.good, ps ≤ (S.run.schedule z).release ks ∧ (S.run.schedule z).release ks ≤ Us) (paired : S.run.data.μ = Cc.run.data.μ) (retainedSupport : r0' + Gs + S.run.control.error ≤ r0 + Gc - Cc.run.control.error) :
1 - Cc.run.control.failure ≤ Cc.run.data.μ.real {z : Ω | wH - Cc.run.control.error ≤ Cc.run.coordinate z (Sum.inl (wrong, cue)) Uc ∧ r0 + Gc - Cc.run.control.error ≤ Cc.run.coordinate z (Sum.inl (correct, support)) Uc ∧ z ∈ Cc.run.act kc wrong pc Uc} ∧ 1 - S.run.control.failure ≤ S.run.data.μ.real {z : Ω | S.run.coordinate z (Sum.inl (wrong, cue)) Us ≤ wL + S.run.control.error ∧ S.run.coordinate z (Sum.inl (correct, support)) Us ≤ r0' + Gs + S.run.control.error ∧ z ∈ S.run.act ks correct ps Us} ∧ 1 - S.run.control.failure - Cc.run.control.failure ≤ S.run.data.μ.real {z : Ω | (S.run.record ks z).2 = Sum.inl correct} - Cc.run.data.μ.real {z : Ω | (Cc.run.record kc z).2 = Sum.inl correct} ∧ 1 - S.run.control.failure - Cc.run.control.failure ≤ Cc.run.data.μ.real {z : Ω | S.run.coordinate z (Sum.inl (correct, support)) Us ≤ Cc.run.coordinate z (Sum.inl (correct, support)) Uc}

For any case of noise. At the constant case this theorem is result_04_28_clause_1.

theorem MindFormal.result_04_26_clause_5_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) {tq sfall Toff xp : ℝ} (htq : 0 ≤ tq) (offTarget : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc tq ↑C.run.horizon, C.run.actTarget z i s ≤ Toff) (activityCap : ∀ z ∈ C.run.good, C.run.coordinate z (Sum.inr (Sum.inl i)) tq ≤ xp) (hx : C.run.data.reads.awarenessBar < xp) (R7margin : Toff + 4 * C.run.noiseAllowance (Sum.inr (Sum.inl i)) < C.run.data.reads.awarenessBar) (R7fall : 1 / C.run.data.toPhysicalNoiseData.data.activity.ν * Real.log ((xp - Toff) / (C.run.data.reads.awarenessBar - Toff - 4 * C.run.noiseAllowance (Sum.inr (Sum.inl i)))) < sfall) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ t ∈ Set.Icc (tq + sfall) ↑C.run.horizon, C.run.coordinate z (Sum.inr (Sum.inl i)) t < C.run.data.reads.awarenessBar}

For any case of noise. At the constant case this theorem is result_04_26_clause_5.

noncomputable def MindFormal.sdRetained {m : ℕ} (time : Fin m → ℝ) (S : Finset (Fin m)) :

04.32 (C11): the lab's outlier rule within one group: of the trials in S keep those whose time lies within three standard deviations of the group mean (population deviation).

Equations
Instances For
    theorem MindFormal.sdRetained_nonempty {m : ℕ} (time : Fin m → ℝ) {S : Finset (Fin m)} (hS : S.Nonempty) :

    04.32 (C11): the three-deviation rule never empties a nonempty group: if every time lay beyond 3σ, the squared deviations would sum to more than nine times their own sum.

    noncomputable def MindFormal.RetainedTrials.correctTrials {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {m : ℕ} (R : RetainedTrials C m) (z : Ω) :

    04.32 (C11): the trials of a group whose native act in their slot is the correct response.

    Equations
    Instances For
      theorem MindFormal.retained_calibration {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {m : ℕ} (R : RetainedTrials C m) (hm : 0 < m) {a : ℝ} (labRule : ∀ (z : Ω), R.selected z = sdRetained (R.time z) (R.correctTrials z)) (C8 : (z : Ω) → z ∈ C.good → (q : Fin m) → LearningDelayedWindow C z (R.correct q) (R.onset q + a) (R.onset q + R.lower) (R.onset q + R.upper)) (release : ∀ z ∈ C.good, ∀ (q : Fin m), R.onset q + a ≤ (C.schedule z).release (R.slot q) ∧ (C.schedule z).release (R.slot q) ≤ R.onset q + R.upper) :

      04.32 (C7)–(C8), (C11): delayed response windows for every trial of a group, each with its slot released inside it, under the lab's rule (correct trials, then three deviations), give the group's calibration: on the corridor event every trial is correct, so the retained group is nonempty and every retained time lies in its window.

      theorem MindFormal.result_04_32_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) {m r : ℕ} (high : RetainedTrials C.run m) (neutral : RetainedTrials C.run r) (hm : 0 < m) (hr : 0 < r) {a : ℝ} (highRule : ∀ (z : Ω), high.selected z = sdRetained (high.time z) (high.correctTrials z)) (neutralRule : ∀ (z : Ω), neutral.selected z = sdRetained (neutral.time z) (neutral.correctTrials z)) (highC8 : (z : Ω) → z ∈ C.run.good → (q : Fin m) → LearningDelayedWindow C.run z (high.correct q) (high.onset q + a) (high.onset q + high.lower) (high.onset q + high.upper)) (highRelease : ∀ z ∈ C.run.good, ∀ (q : Fin m), high.onset q + a ≤ (C.run.schedule z).release (high.slot q) ∧ (C.run.schedule z).release (high.slot q) ≤ high.onset q + high.upper) (neutralC8 : (z : Ω) → z ∈ C.run.good → (q : Fin r) → LearningDelayedWindow C.run z (neutral.correct q) (neutral.onset q + a) (neutral.onset q + neutral.lower) (neutral.onset q + neutral.upper)) (neutralRelease : ∀ z ∈ C.run.good, ∀ (q : Fin r), neutral.onset q + a ≤ (C.run.schedule z).release (neutral.slot q) ∧ (C.run.schedule z).release (neutral.slot q) ≤ neutral.onset q + neutral.upper) (C9 : 0 < high.lower - neutral.upper) :
      0 < high.lower - neutral.upper ∧ 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (high.selected z).Nonempty ∧ (neutral.selected z).Nonempty ∧ high.lower - neutral.upper ≤ high.mean z - neutral.mean z}

      For any case of noise. At the constant case this theorem is result_04_32_clause_1.

      theorem MindFormal.result_04_32_clause_4_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) {m r : ℕ} (high : RetainedTrials C.run m) (neutral : RetainedTrials C.run r) (hm : 0 < m) (hr : 0 < r) {a H : ℝ} (hH : 0 ≤ H) (highRule : ∀ (z : Ω), high.selected z = sdRetained (high.time z) (high.correctTrials z)) (neutralRule : ∀ (z : Ω), neutral.selected z = sdRetained (neutral.time z) (neutral.correctTrials z)) (highC8 : (z : Ω) → z ∈ C.run.good → (q : Fin m) → LearningDelayedWindow C.run z (high.correct q) (high.onset q + a) (high.onset q + high.lower) (high.onset q + high.upper)) (highRelease : ∀ z ∈ C.run.good, ∀ (q : Fin m), high.onset q + a ≤ (C.run.schedule z).release (high.slot q) ∧ (C.run.schedule z).release (high.slot q) ≤ high.onset q + high.upper) (neutralC8 : (z : Ω) → z ∈ C.run.good → (q : Fin r) → LearningDelayedWindow C.run z (neutral.correct q) (neutral.onset q + a) (neutral.onset q + neutral.lower) (neutral.onset q + neutral.upper)) (neutralRelease : ∀ z ∈ C.run.good, ∀ (q : Fin r), neutral.onset q + a ≤ (C.run.schedule z).release (neutral.slot q) ∧ (C.run.schedule z).release (neutral.slot q) ≤ neutral.onset q + neutral.upper) (deadline : ∀ (z : Ω), (∀ q ∈ high.selected z, high.time z q ∈ Set.Icc 0 H) ∧ ∀ q ∈ neutral.selected z, neutral.time z q ∈ Set.Icc 0 H) (C9 : 0 < high.lower - neutral.upper) (C10 : C.run.control.failure < (high.lower - neutral.upper) / (H + (high.lower - neutral.upper))) (hQ : MeasurableSet {z : Ω | (high.selected z).Nonempty ∧ (neutral.selected z).Nonempty}) (scoredMeans : MeasureTheory.Integrable (fun (z : Ω) => high.mean z - neutral.mean z) C.run.data.μ[|{z : Ω | (high.selected z).Nonempty ∧ (neutral.selected z).Nonempty}]) :
      0 < (high.lower - neutral.upper) * (1 - C.run.control.failure) - H * C.run.control.failure ∧ (high.lower - neutral.upper) * (1 - C.run.control.failure) - H * C.run.control.failure ≤ ∫ (z : Ω), high.mean z - neutral.mean z ∂C.run.data.μ[|{z : Ω | (high.selected z).Nonempty ∧ (neutral.selected z).Nonempty}]

      For any case of noise. At the constant case this theorem is result_04_32_clause_4.

      theorem MindFormal.result_04_32_clause_3_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) {m : ℕ} (slot : Fin m → ℕ) (winner : Fin m → Fin N) (p L U : Fin m → ℝ) (C5 : (z : Ω) → z ∈ C.run.good → (q : Fin m) → FocusTargetWindow C.run ⋯ z (winner q) (p q) (L q) (U q)) (onsetSearch : ∀ z ∈ C.run.good, ∀ (q : Fin m), p q ≤ (C.run.focus z).release (slot q) ∧ (C.run.focus z).release (slot q) ≤ U q) :
      1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ (q : Fin m), ∃ (t : ℝ), ((C.run.focus z).search (slot q)).event = some (t, winner q) ∧ t ∈ Set.Icc (L q) (U q)}

      For any case of noise. At the constant case this theorem is result_04_32_clause_3.

      theorem MindFormal.noiseLearning_refLoss_nonneg {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (t : ℝ) :
      0 ≤ C.run.refLoss z i j t

      04.17 (E): on an admitted application the loss rate of every relation on the continuing reference is nonnegative: positive gain, binding share below one, nonnegative presence and activity.

      theorem MindFormal.linear_difference_lower {L W0 A B : ℝ} (hL : 0 ≤ L) (w μ R : ℝ → ℝ) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 L) (hR : IntervalIntegrable R MeasureTheory.volume 0 L) (hwc : Continuous w) (hμ0 : ∀ s ∈ Set.Icc 0 L, 0 ≤ μ s) (hw : ∀ s ∈ Set.Icc 0 L, w s = W0 + ∫ (u : ℝ) in 0..s, R u - μ u * w u) (hW0 : 0 ≤ W0) (hA : ∫ (u : ℝ) in 0..L, μ u ≤ A) (hB : ∫ (u : ℝ) in 0..L, |R u| ≤ B) :
      Real.exp (-A) * W0 - B ≤ w L

      04.22 (T3): a scalar w on [0,L] with w(s)=w(0)+∫₀ˢ(R-μw), μ≥0 integrable, R integrable and w continuous, starting at w(0)≥0, ends at least e^{-A}w(0)-B when ∫₀ᴸμ≤A and ∫₀ᴸ|R|≤B: the damping contracts the start by at most e^{-A}, and the mismatch passes through kernels at most one.

      noncomputable def MindFormal.pairedMismatch {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C10 C30 : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (a b u : ℝ) :

      04.22 (T3): the forcing mismatch R_Δ=F₁₀-F₃₀-(A₁₀-A₃₀)W₃₀ of relation (i,j) in two aligned branches at phase age u, the first branch's phase starting at a, the second's at b.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.learningRun_paired_difference {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C10 C30 : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {a b L A B : ℝ} (ha : 0 ≤ a) (hb : 0 ≤ b) (hL : 0 ≤ L) (h10 : a + L ≤ ↑C10.horizon) (h30 : b + L ≤ ↑C30.horizon) (hA0 : ∀ u ∈ Set.Icc 0 L, 0 ≤ C10.refLoss z i j (u + a)) (hΔ0 : 0 ≤ C10.refCoordinate z (Sum.inl (i, j)) a - C30.refCoordinate z (Sum.inl (i, j)) b) (damping : ∫ (u : ℝ) in 0..L, C10.refLoss z i j (u + a) ≤ A) (mismatch : ∫ (u : ℝ) in 0..L, |pairedMismatch C10 C30 z i j a b u| ≤ B) :
        Real.exp (-A) * (C10.refCoordinate z (Sum.inl (i, j)) a - C30.refCoordinate z (Sum.inl (i, j)) b) - B ≤ C10.refCoordinate z (Sum.inl (i, j)) (a + L) - C30.refCoordinate z (Sum.inl (i, j)) (b + L)

        04.22 (T3): the paired difference of two branches on one draw, aligned by phase age: Δ(u)=W¹⁰(a+u)-W³⁰(b+u) obeys dΔ=-A₁₀Δ+R_Δ, so with a nonnegative start, damping ∫A₁₀≤A and mismatch ∫|R_Δ|≤B over [0,L], Δ(L)≥e^{-A}Δ(0)-B.

        theorem MindFormal.result_04_22_clause_3_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (B30 B10 : NoiseLearning Ω N n T Λ J 𝒩) (word cue state : Fin N) (hne : word ≠ state) (k30 k10 q : ℕ) (e h g : ℕ → ℝ) {p U p' U' L A B Boff w0 w0' pm pp sm a0 mm G30 G10 wF wS AF aS : ℝ} (hs : ∀ m < q, 0 ≤ e (m + 1) - h m ∧ 0 ≤ h m ∧ e (m + 1) ≤ ↑B30.run.horizon) (T2gaps : ∀ z ∈ B30.run.good, ∀ m < q, B30.run.refCoordinate z (Sum.inl (word, cue)) (e (m + 1) - h m) ≤ B30.run.refCoordinate z (Sum.inl (word, cue)) (e m) + g m) (T2presence : ∀ z ∈ B30.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), pm ≤ B30.run.refPresence z cue s ∧ B30.run.refPresence z cue s ≤ pp) (hpm : 0 ≤ pm) (hsm : 0 ≤ sm) (T2unreturned : ∀ z ∈ B30.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), B30.run.refError z word s ≤ -sm) (T2sign : ∀ z ∈ B30.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), 0 ≤ B30.run.refCoordinate z (Sum.inl (word, cue)) s) (T2word : ∀ z ∈ B30.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), B30.run.refAct z word s ≤ a0) (hmm : 0 ≤ mm) (T2gain : ∀ z ∈ B30.run.good, ∀ m < q, ∀ s ∈ Set.Icc (e (m + 1) - h m) (e (m + 1)), mm ≤ B30.run.refGain z s) (T2 : 0 ≤ (1 - B30.run.data.toPhysicalNoiseData.data.β) * pm * sm - B30.run.data.toPhysicalNoiseData.data.β * a0 * pp) (T2loss : ∑ m ∈ Finset.range q, g m ≤ mm * ((1 - B30.run.data.toPhysicalNoiseData.data.β) * pm * sm - B30.run.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range q, h m) (paired : B10.run.data.μ = B30.run.data.μ) (common : ∀ z ∈ B30.run.good, z ∈ B10.run.good → B30.run.refCoordinate z (Sum.inl (word, cue)) (e 0) ≤ B10.run.refCoordinate z (Sum.inl (word, cue)) (e 0)) (he0 : 0 ≤ e 0) (heq : e 0 ≤ e q) (hL : 0 ≤ L) (hT30 : e q + L ≤ ↑B30.run.horizon) (hT10 : e q + L ≤ ↑B10.run.horizon) (T3damping : ∀ z ∈ B10.run.good, ∫ (u : ℝ) in 0..L, B10.run.refLoss z word cue (u + e 0) ≤ A) (T3mismatch : ∀ z ∈ B10.run.good, z ∈ B30.run.good → ∫ (u : ℝ) in 0..L, |pairedMismatch B10.run B30.run z word cue (e 0) (e q) u| ≤ B) (T3offset : ∀ z ∈ B10.run.good, B10.run.refCoordinate z (Sum.inl (word, cue)) (e 0 + L) - Boff ≤ B10.run.refCoordinate z (Sum.inl (word, cue)) (e q + L)) (longStart : ∀ z ∈ B30.run.good, B30.run.refCoordinate z (Sum.inl (word, cue)) (e 0) ≤ w0') (longMove : ∀ z ∈ B30.run.good, ∀ s ∈ Set.Ioc p U, B30.run.refCoordinate z (Sum.inl (word, cue)) s ≤ B30.run.refCoordinate z (Sum.inl (word, cue)) (e q) + G30) (longCue : ∀ z ∈ B30.run.good, ∀ s ∈ Set.Ioc p U, B30.run.refAct z cue s ≤ AF) (longWordFails : (z : Ω) → z ∈ B30.run.good → LinkedExclusion B30.run z word cue p U wF AF) (longState : (z : Ω) → z ∈ B30.run.good → LearningTargetWindow B30.run z state p U) (longRelease : ∀ z ∈ B30.run.good, p ≤ (B30.run.schedule z).release k30 ∧ (B30.run.schedule z).release k30 ≤ U) (shortStart : ∀ z ∈ B10.run.good, w0 ≤ B10.run.refCoordinate z (Sum.inl (word, cue)) (e 0)) (shortMove : ∀ z ∈ B10.run.good, ∀ s ∈ Set.Ioc p' U', B10.run.refCoordinate z (Sum.inl (word, cue)) (e 0) + G10 ≤ B10.run.refCoordinate z (Sum.inl (word, cue)) s) (shortCue : ∀ z ∈ B10.run.good, ∀ s ∈ Set.Ioc p' U', aS ≤ B10.run.refAct z cue s) (shortWordRecalled : (z : Ω) → z ∈ B10.run.good → LinkedWindow B10.run z word cue p' U' wS aS) (shortRelease : ∀ z ∈ B10.run.good, p' ≤ (B10.run.schedule z).release k10 ∧ (B10.run.schedule z).release k10 ≤ U') (T4 : w0' - mm * ((1 - B30.run.data.toPhysicalNoiseData.data.β) * pm * sm - B30.run.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range q, h m + ∑ m ∈ Finset.range q, g m + G30 ≤ wF ∧ wS ≤ w0 + G10) :
        1 - B30.run.control.failure ≤ B30.run.data.μ.real {z : Ω | z ∈ B30.run.act k30 state p U ∧ ∀ (j : ℕ), z ∉ B30.run.act j word p U} ∧ B10.run.data.μ.real {z : Ω | (B10.run.record k10 z).2 = Sum.inl state} ≤ B10.run.control.failure ∧ 1 - B30.run.control.failure - B10.run.control.failure ≤ B30.run.data.μ.real {z : Ω | (B30.run.record k30 z).2 = Sum.inl state} - B10.run.data.μ.real {z : Ω | (B10.run.record k10 z).2 = Sum.inl state} ∧ 1 - B10.run.control.failure - B30.run.control.failure ≤ B30.run.data.μ.real {z : Ω | Real.exp (-A) * (mm * ((1 - B30.run.data.toPhysicalNoiseData.data.β) * pm * sm - B30.run.data.toPhysicalNoiseData.data.β * a0 * pp) * ∑ m ∈ Finset.range q, h m - ∑ m ∈ Finset.range q, g m) - B - Boff - B10.run.control.error - B30.run.control.error ≤ B10.run.coordinate z (Sum.inl (word, cue)) (e q + L) - B30.run.coordinate z (Sum.inl (word, cue)) (e q + L)}

        For any case of noise. At the constant case this theorem is result_04_22_clause_3.

        theorem MindFormal.learningRun_positive_mode {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 xs ws s0 μ₁ μ₂ γ₁ γ₂ ex ew : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (P4x : ∀ s ∈ Set.Icc t0 t1, -μ₁ * (C.refAct z i s - xs) + γ₁ * (C.refCoordinate z (Sum.inl (i, j)) s - ws) - ex ≤ C.refDrift z s (Sum.inr (Sum.inl i))) (P4w : ∀ s ∈ Set.Icc t0 t1, γ₂ * (C.refAct z i s - xs) - μ₂ * (C.refCoordinate z (Sum.inl (i, j)) s - ws) - ew ≤ C.refDrift z s (Sum.inl (i, j))) (P5start : C.refAct z i t0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.refCoordinate z (Sum.inl (i, j)) t0 - ws = s0) :
        s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) * growthDirection μ₁ μ₂ γ₁ γ₂ - ∫ (τ : ℝ) in 0..t1 - t0, coopExp11 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp12 μ₁ μ₂ γ₁ γ₂ τ * ew ≤ C.refAct z i t1 - xs ∧ s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - ∫ (τ : ℝ) in 0..t1 - t0, coopExp21 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ τ * ew ≤ C.refCoordinate z (Sum.inl (i, j)) t1 - ws

        04.24 (P5): from the positive-mode start s₀(v,1) the reference displacements obey X(t₁)≥s₀e^{λ₊Δ}v-D₁ and U(t₁)≥s₀e^{λ₊Δ}-D₂, Δ=t₁-t₀, D the base-cost integrals.

        noncomputable def MindFormal.LearningRun.refDriftAt {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (i j : Fin N) (x w : ℝ) (k : CoordinateIndex (Fin N) n T Λ) :

        04.24 (P1)–(P2), 04.33 (TC1): the complete drift of coordinate k on the reference of draw z at time t with content i's activity set to x and relation (i,j) set to w, every other coordinate as on the reference: the drift on a coordinate section of the rectangle.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.LearningRun.refDriftAt_self {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (i j : Fin N) (k : CoordinateIndex (Fin N) n T Λ) :
          C.refDriftAt z t i j (C.refAct z i t) (C.refCoordinate z (Sum.inl (i, j)) t) k = C.refDrift z t k

          04.24 (P1)–(P2): at the reference's own activity and relation the section drift is the reference drift.

          theorem MindFormal.rectangle_lower {g : ℝ → ℝ → ℝ} {xs ws xm wm ax aw x w : ℝ} (dx : ∀ x' ∈ Set.Icc xs xm, ∀ w' ∈ Set.Icc ws wm, DifferentiableAt ℝ (fun (y : ℝ) => g y w') x' ∧ ax ≤ deriv (fun (y : ℝ) => g y w') x') (dw : ∀ x' ∈ Set.Icc xs xm, ∀ w' ∈ Set.Icc ws wm, DifferentiableAt ℝ (fun (y : ℝ) => g x' y) w' ∧ aw ≤ deriv (fun (y : ℝ) => g x' y) w') (hx : x ∈ Set.Icc xs xm) (hw : w ∈ Set.Icc ws wm) :
          g xs ws + ax * (x - xs) + aw * (w - ws) ≤ g x w

          04.24 (P4): integrating the coordinate derivatives along the two sides of a rectangle. If on [x*,x₊]×[w*,w₊] the section x↦g(x,w) has derivative at least a_x and w↦g(x,w) at least a_w, then g(x,w)≥g(x*,w*)+a_x(x-x*)+a_w(w-w*) there.

          structure MindFormal.GrowthRectangle {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew : ℝ) :

          04.24 (P1)–(P2), 04.33 (TC1): the growth rectangle on [t₀,t₁] for content i and its cue link (i,j) on the reference of draw z. On the rectangle [x*,x₊]×[w*,w₊], including its coordinate sections, at every time: i's complete I drift has x-derivative at least -μ₁ and w-derivative at least γ₁; the link's complete II drift has x-derivative at least γ₂ and w-derivative at least -μ₂ (P1); at the corner (x*,w*) the two drifts are at least -εx and -εw (P2), all other coordinates and the focus mode as they move on the reference; and the reference stays below the rectangle's upper sides x₊, w₊ (the enclosure's other exit margins).

          Instances For
            theorem MindFormal.GrowthRectangle.drifts {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i j : Fin N} {t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew : ℝ} (R : GrowthRectangle C z i j t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew) {s : ℝ} (hs : s ∈ Set.Icc t0 t1) (hx : xs ≤ C.refAct z i s) (hw : ws ≤ C.refCoordinate z (Sum.inl (i, j)) s) :
            -μ₁ * (C.refAct z i s - xs) + γ₁ * (C.refCoordinate z (Sum.inl (i, j)) s - ws) - ex ≤ C.refDrift z s (Sum.inr (Sum.inl i)) ∧ γ₂ * (C.refAct z i s - xs) - μ₂ * (C.refCoordinate z (Sum.inl (i, j)) s - ws) - ew ≤ C.refDrift z s (Sum.inl (i, j))

            04.24 (P4), 04.33 (TC1): inside the rectangle the two complete drifts obey the linear comparison, derived from (P1)–(P2) by integrating along the rectangle's sides.

            theorem MindFormal.learningRun_positive_mode_derived {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {t0 t1 xs ws xm wm s0 μ₁ μ₂ γ₁ γ₂ ex ew : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (P1P2 : GrowthRectangle C z i j t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew) (P5start : C.refAct z i t0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.refCoordinate z (Sum.inl (i, j)) t0 - ws = s0) (P4pos : ∀ τ ∈ Set.Icc 0 (t1 - t0), ∫ (u : ℝ) in 0..τ, coopExp11 μ₁ μ₂ γ₁ γ₂ u * ex + coopExp12 μ₁ μ₂ γ₁ γ₂ u * ew < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * τ) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ ∫ (u : ℝ) in 0..τ, coopExp21 μ₁ μ₂ γ₁ γ₂ u * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ u * ew < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * τ)) :
            s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) * growthDirection μ₁ μ₂ γ₁ γ₂ - ∫ (τ : ℝ) in 0..t1 - t0, coopExp11 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp12 μ₁ μ₂ γ₁ γ₂ τ * ew ≤ C.refAct z i t1 - xs ∧ s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - ∫ (τ : ℝ) in 0..t1 - t0, coopExp21 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ τ * ew ≤ C.refCoordinate z (Sum.inl (i, j)) t1 - ws

            04.24 (P4)–(P5), 04.33 (TC1)–(TC2): the positive-mode growth with the drift comparison derived. From the positive-mode start s₀(v,1) at t₀ and a growth rectangle on [t₀,t₁], if the comparison's lower right-hand side s₀e^{λ₊τ}(v,1)-D(τ) stays positive in both coordinates for τ∈[0,t₁-t₀], the reference never leaves the rectangle's lower sides (a first exit would contradict the comparison at the exit time), so (P4) holds throughout and X(t₁)≥s₀e^{λ₊(t₁-t₀)}v-D₁, U(t₁)≥s₀e^{λ₊(t₁-t₀)}-D₂.

            noncomputable def MindFormal.modeAllowanceX (μ₁ μ₂ γ₁ γ₂ ex ew κx κw : ℝ) (M : Set ℝ) (t0 t : ℝ) :

            04.24 (P4a): the comparison allowance from t₀ to t when the intervening modes on M cost κ: the first row of ∫_{t₀}^t e^{H(t-s)}(ε+1_M(s)κ)ds.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              noncomputable def MindFormal.modeAllowanceW (μ₁ μ₂ γ₁ γ₂ ex ew κx κw : ℝ) (M : Set ℝ) (t0 t : ℝ) :

              04.24 (P4a): the second row of the allowance with intervening modes.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                structure MindFormal.GrowthModes {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) (M : Set ℝ) (t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw : ℝ) :

                04.24 (P1)–(P2) with intervening modes: the growth rectangle on [t₀,t₁] for content i and its cue link (i,j) on the reference of draw z, except on a measurable set M of times (the intervening modes). Off M, on [x*,x₊]×[w*,w₊]: i's complete I drift has x-derivative at least -μ₁ and w-derivative at least γ₁, the link's complete II drift x-derivative at least γ₂ and w-derivative at least -μ₂ (P1), and at the corner the drifts are at least -εx and -εw (P2). On M those bounds may fail; there the complete drifts are only at least -cx and -cw. Throughout, the reference stays below the rectangle's upper sides x₊, w₊.

                Instances For
                  theorem MindFormal.GrowthModes.drifts {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i j : Fin N} {M : Set ℝ} {t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw : ℝ} (R : GrowthModes C z i j M t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw) (hμ₁ : 0 ≤ μ₁) (hμ₂ : 0 ≤ μ₂) (hγ₁ : 0 ≤ γ₁) (hγ₂ : 0 ≤ γ₂) (hex : 0 ≤ ex) (hew : 0 ≤ ew) {s : ℝ} (hs : s ∈ Set.Icc t0 t1) (hx : xs ≤ C.refAct z i s) (hw : ws ≤ C.refCoordinate z (Sum.inl (i, j)) s) :
                  -μ₁ * (C.refAct z i s - xs) + γ₁ * (C.refCoordinate z (Sum.inl (i, j)) s - ws) - (ex + M.indicator (fun (x : ℝ) => cx + γ₁ * (wm - ws)) s) ≤ C.refDrift z s (Sum.inr (Sum.inl i)) ∧ γ₂ * (C.refAct z i s - xs) - μ₂ * (C.refCoordinate z (Sum.inl (i, j)) s - ws) - (ew + M.indicator (fun (x : ℝ) => cw + γ₂ * (xm - xs)) s) ≤ C.refDrift z s (Sum.inl (i, j))

                  04.24 (P4) with intervening modes: inside the rectangle the two complete drifts obey the linear comparison with the base costs, plus on M the modes' complete drift costs κx=cx+γ₁(w₊-w*) and κw=cw+γ₂(x₊-x*), which also cancel the cross-feed the comparison would claim there.

                  theorem MindFormal.GrowthModes.mono {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LearningRun Ω N n T Λ J 𝒩} {z : Ω} {i j : Fin N} {M : Set ℝ} {t0 t1 t0' t1' xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw : ℝ} (R : GrowthModes C z i j M t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw) (h0 : t0 ≤ t0') (h1 : t1' ≤ t1) :
                  GrowthModes C z i j M t0' t1' xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw

                  04.24 (P4)–(P5): a growth rectangle with intervening modes on [t₀,t₁] is one on every subinterval.

                  04.24 (P4a): a constant on a measurable set, zero off it, is interval integrable.

                  theorem MindFormal.learningRun_positive_mode_modes {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (z : Ω) (i j : Fin N) {M : Set ℝ} {t0 t1 xs ws xm wm s0 μ₁ μ₂ γ₁ γ₂ ex ew cx cw : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.horizon) (hM : MeasurableSet M) (hμ₁ : 0 ≤ μ₁) (hμ₂ : 0 ≤ μ₂) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (hex : 0 ≤ ex) (hew : 0 ≤ ew) (P1P2 : GrowthModes C z i j M t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw) (P5start : C.refAct z i t0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.refCoordinate z (Sum.inl (i, j)) t0 - ws = s0) (P4pos : ∀ t ∈ Set.Icc t0 t1, modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t - t0)) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t - t0))) :
                  s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) * growthDirection μ₁ μ₂ γ₁ γ₂ - modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1 ≤ C.refAct z i t1 - xs ∧ s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1 ≤ C.refCoordinate z (Sum.inl (i, j)) t1 - ws

                  04.24 (P4)–(P5) with intervening modes: from the positive-mode start s₀(v,1) at t₀ and a growth rectangle with intervening modes on [t₀,t₁], if the comparison's lower right-hand side s₀e^{λ₊(t-t₀)}(v,1)-D_M(t) stays positive in both coordinates for t∈[t₀,t₁], D_M the allowance with the modes' costs, the reference never leaves the rectangle's lower sides and X(t₁)≥s₀e^{λ₊(t₁-t₀)}v-D_{M,1}(t₁), U(t₁)≥s₀e^{λ₊(t₁-t₀)}-D_{M,2}(t₁).

                  theorem MindFormal.result_04_24_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i j r : Fin N) (M : Set ℝ) {t0 t1 xs ws xm wm s0 μ₁ μ₂ γ₁ γ₂ ex ew cx cw Bx Bw : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.run.horizon) (hμ₁ : 0 < μ₁) (hμ₂ : 0 < μ₂) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (hfeed : μ₁ * μ₂ < γ₁ * γ₂) (hM : MeasurableSet M) (hex : 0 ≤ ex) (hew : 0 ≤ ew) (P1P2 : ∀ z ∈ C.run.good, GrowthModes C.run z i j M t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw) (P4pos : ∀ t ∈ Set.Icc t0 t1, modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t - t0)) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t - t0))) (P5start : ∀ z ∈ C.run.good, C.run.refAct z i t0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.run.refCoordinate z (Sum.inl (i, j)) t0 - ws = s0) (rivalBudget : ∀ z ∈ C.run.good, C.run.refAct z r t1 - C.run.refAct z r t0 ≤ Bx ∧ C.run.refCoordinate z (Sum.inl (r, j)) t1 - C.run.refCoordinate z (Sum.inl (r, j)) t0 ≤ Bw) (P5a : 4 * C.run.control.error < s0 * (Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - 1) * growthDirection μ₁ μ₂ γ₁ γ₂ - modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1 - Bx ∧ 4 * C.run.control.error < s0 * (Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - 1) - modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1 - Bw) :
                  0 < growthRate μ₁ μ₂ γ₁ γ₂ ∧ 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | C.run.coordinate z (Sum.inr (Sum.inl i)) t0 - C.run.coordinate z (Sum.inr (Sum.inl r)) t0 < C.run.coordinate z (Sum.inr (Sum.inl i)) t1 - C.run.coordinate z (Sum.inr (Sum.inl r)) t1 ∧ C.run.coordinate z (Sum.inl (i, j)) t0 - C.run.coordinate z (Sum.inl (r, j)) t0 < C.run.coordinate z (Sum.inl (i, j)) t1 - C.run.coordinate z (Sum.inl (r, j)) t1}

                  For any case of noise. At the constant case this theorem is result_04_24_clause_1.

                  theorem MindFormal.product_error {x y X Y E : ℝ} (hx : 0 ≤ x) (hy : 0 ≤ y) (hX : |X - x| ≤ E) (hY : |Y - y| ≤ E) :
                  x * y - E * (x + y) - E ^ 2 ≤ X * Y ∧ X * Y ≤ x * y + E * (x + y) + E ^ 2

                  04.24 (P5b): a product of two quantities each within E of nonnegative reference values x,y lies within E(x+y)+E² of xy.

                  theorem MindFormal.result_04_24_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i j : Fin N) (M : Set ℝ) {t0 t1 xs ws xm wm s0 μ₁ μ₂ γ₁ γ₂ ex ew cx cw zm Bj Xc : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ ↑C.run.horizon) (hμ₁ : 0 ≤ μ₁) (hμ₂ : 0 ≤ μ₂) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (hM : MeasurableSet M) (hex : 0 ≤ ex) (hew : 0 ≤ ew) (P1P2 : ∀ z ∈ C.run.good, GrowthModes C.run z i j M t0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw) (P4pos : ∀ t ∈ Set.Icc t0 t1, modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t - t0)) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t - t0))) (P5start : ∀ z ∈ C.run.good, C.run.refAct z i t0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.run.refCoordinate z (Sum.inl (i, j)) t0 - ws = s0) (cueFloor : ∀ z ∈ C.run.good, zm ≤ C.run.refAct z j t1) (cueLoss : ∀ z ∈ C.run.good, C.run.refAct z j t0 - C.run.refAct z j t1 ≤ Bj) (activityCap : ∀ z ∈ C.run.good, C.run.refAct z i t0 ≤ Xc ∧ C.run.refAct z i t1 ≤ Xc ∧ C.run.refAct z j t0 ≤ Xc ∧ C.run.refAct z j t1 ≤ Xc) (hzm : 0 ≤ zm) (P5b : 4 * C.run.control.error * Xc + 2 * C.run.control.error ^ 2 < zm * (s0 * (Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - 1) * growthDirection μ₁ μ₂ γ₁ γ₂ - modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1) - (xs + s0 * growthDirection μ₁ μ₂ γ₁ γ₂) * Bj) (hGx : 0 ≤ s0 * (Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - 1) * growthDirection μ₁ μ₂ γ₁ γ₂ - modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t0)) - modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M t0 t1 - C.run.control.error ≤ C.run.coordinate z (Sum.inl (i, j)) t1 - ws ∧ C.run.coordinate z (Sum.inr (Sum.inl i)) t0 * C.run.coordinate z (Sum.inr (Sum.inl j)) t0 < C.run.coordinate z (Sum.inr (Sum.inl i)) t1 * C.run.coordinate z (Sum.inr (Sum.inl j)) t1}

                  For any case of noise. At the constant case this theorem is result_04_24_clause_2.

                  theorem MindFormal.result_04_24_clause_4_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i j : Fin N) (M : Set ℝ) {t1 xs ws xm wm s0 μ₁ μ₂ γ₁ γ₂ ex ew cx cw Dstar : ℝ} (h1 : t1 ≤ ↑C.run.horizon) (hμ₁ : 0 < μ₁) (hμ₂ : 0 < μ₂) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (hfeed : μ₁ * μ₂ < γ₁ * γ₂) (hs0 : 0 < s0) (hM : MeasurableSet M) (hex : 0 ≤ ex) (hew : 0 ≤ ew) (P1P2 : ∀ z ∈ C.run.good, GrowthModes C.run z i j M 0 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew cx cw) (P5start : ∀ z ∈ C.run.good, C.run.refAct z i 0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.run.refCoordinate z (Sum.inl (i, j)) 0 - ws = s0) (P4pos : ∀ t ∈ Set.Icc 0 t1, modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M 0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * t) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M 0 t < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * t)) (Dbound : ∀ t ∈ Set.Icc 0 t1, modeAllowanceX μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M 0 t ≤ Dstar ∧ modeAllowanceW μ₁ μ₂ γ₁ γ₂ ex ew (cx + γ₁ * (wm - ws)) (cw + γ₂ * (xm - xs)) M 0 t ≤ Dstar) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ (k : ℕ) (t : ℝ), ((C.run.focus z).search k).event = some (t, i) → t ≤ t1 → s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * t) * growthDirection μ₁ μ₂ γ₁ γ₂ - Dstar - C.run.control.error ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) t - xs ∧ s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * t) - Dstar - C.run.control.error ≤ C.run.coordinate z (Sum.inl (i, j)) t - ws ∧ ↑k * C.run.data.pause true ≤ t ∧ growthRate μ₁ μ₂ γ₁ γ₂ * t ≤ Real.log ((xm - xs + Dstar) / (s0 * growthDirection μ₁ μ₂ γ₁ γ₂)) ∧ growthRate μ₁ μ₂ γ₁ γ₂ * t ≤ Real.log ((wm - ws + Dstar) / s0)}

                  For any case of noise. At the constant case this theorem is result_04_24_clause_4.

                  theorem MindFormal.result_04_33_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (k : ℕ) (wrong cue : Fin N) {tex p U xs ws xm wm s0 μ₁ μ₂ γ₁ γ₂ ex ew F ellW Wneed acue : ℝ} (htex : 0 ≤ tex) (htp : tex ≤ p) (hUH : U ≤ ↑C.run.horizon) (hμ₁ : 0 < μ₁) (hμ₂ : 0 < μ₂) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (hfeed : μ₁ * μ₂ < γ₁ * γ₂) (hs0 : 0 < s0) (TC1 : ∀ z ∈ C.run.good, GrowthRectangle C.run z wrong cue 0 tex xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew) (TC1pos : ∀ τ ∈ Set.Icc 0 tex, ∫ (u : ℝ) in 0..τ, coopExp11 μ₁ μ₂ γ₁ γ₂ u * ex + coopExp12 μ₁ μ₂ γ₁ γ₂ u * ew < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * τ) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ ∫ (u : ℝ) in 0..τ, coopExp21 μ₁ μ₂ γ₁ γ₂ u * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ u * ew < s0 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * τ)) (TC2start : ∀ z ∈ C.run.good, C.run.refAct z wrong 0 - xs = s0 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.run.refCoordinate z (Sum.inl (wrong, cue)) 0 - ws = s0) (hF : 0 ≤ F) (TC4retention : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc tex U, -F ≤ C.run.refDrift z s (Sum.inl (wrong, cue))) (TC4allowance : (∫ (τ : ℝ) in 0..tex, coopExp21 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ τ * ew) + F * (U - tex) ≤ ellW) (TC5 : 1 / growthRate μ₁ μ₂ γ₁ γ₂ * Real.log (max 1 ((Wneed + ellW - ws) / s0)) < tex) (readCue : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc p U, acue ≤ C.run.refAct z cue s) (TC3 : (z : Ω) → z ∈ C.run.good → LinkedWindow C.run z wrong cue p U Wneed acue) (TC6release : ∀ z ∈ C.run.good, p ≤ (C.run.schedule z).release k ∧ (C.run.schedule z).release k ≤ U) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real (C.run.act k wrong p U)

                  For any case of noise. At the constant case this theorem is result_04_33_clause_1.

                  theorem MindFormal.result_04_32_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (c : Fin N) (neutral money : Finset (Fin N)) (b : Fin n) (a : T) {TF S Ac Bc A0 B0 Lc L0 bv : ℝ} (hTF : 0 ≤ TF) (hS : TF ≤ S) (hSH : S ≤ ↑C.run.horizon) (identityResponse : ∀ (δ : Fin n → ℝ), C.run.data.toPhysicalNoiseData.data.response δ = δ) (unvalued : ∀ z ∈ C.run.good, C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (c, b, a)))) 0 = 0 ∧ ∀ k ∈ neutral, C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (k, b, a)))) 0 = 0) (C1money : ∀ z ∈ C.run.good, Ac ≤ ∫ (s : ℝ) in 0..TF, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) c s * C.run.actForecast z money a b s) (C1rest : ∀ z ∈ C.run.good, ∫ (s : ℝ) in 0..TF, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) c s * max (-(C.run.actSurprise z a b s - C.run.actForecast z money a b s)) 0 ≤ Bc) (C2money : ∀ z ∈ C.run.good, ∀ k ∈ neutral, |∫ (s : ℝ) in 0..TF, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) k s * C.run.actForecast z money a b s| ≤ A0) (C2rest : ∀ z ∈ C.run.good, ∀ k ∈ neutral, ∫ (s : ℝ) in 0..TF, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) k s * |C.run.actSurprise z a b s - C.run.actForecast z money a b s| ≤ B0) (trainingNoise : C.run.noiseAllowance (Sum.inr (Sum.inr (Sum.inl (c, b, a)))) ≤ bv ∧ ∀ k ∈ neutral, C.run.noiseAllowance (Sum.inr (Sum.inr (Sum.inl (k, b, a)))) ≤ bv) (laterChanges : ∀ z ∈ C.run.good, (C.run.data.toPhysicalNoiseData.data.η b * ∫ (s : ℝ) in TF..S, |actualPresence (C.run.data.toPhysicalNoiseData.globalData z) c s * C.run.actSurprise z a b s|) + 2 * C.run.noiseAllowance (Sum.inr (Sum.inr (Sum.inl (c, b, a)))) ≤ Lc ∧ ∀ k ∈ neutral, (C.run.data.toPhysicalNoiseData.data.η b * ∫ (s : ℝ) in TF..S, |actualPresence (C.run.data.toPhysicalNoiseData.globalData z) k s * C.run.actSurprise z a b s|) + 2 * C.run.noiseAllowance (Sum.inr (Sum.inr (Sum.inl (k, b, a)))) ≤ L0) (C3 : C.run.data.toPhysicalNoiseData.data.η b * (A0 + B0) + bv + L0 < C.run.data.toPhysicalNoiseData.data.η b * (Ac - Bc) - bv - Lc) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | ∀ t ∈ Set.Icc TF S, C.run.data.toPhysicalNoiseData.data.η b * (Ac - Bc) - bv - Lc ≤ C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (c, b, a)))) t ∧ ∀ k ∈ neutral, |C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (k, b, a)))) t| ≤ C.run.data.toPhysicalNoiseData.data.η b * (A0 + B0) + bv + L0 ∧ |C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (k, b, a)))) t| < C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (c, b, a)))) t}

                  For any case of noise. At the constant case this theorem is result_04_32_clause_2.

                  theorem MindFormal.learningRun_rating_distance {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) {z : Ω} (hz : z ∈ C.good) (ℓ : Fin n → ℝ) (i : Fin N) (a : T) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑C.horizon) :
                  |∑ b : Fin n, ℓ b * C.coordinate z (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) t - C.refRating z ℓ i a t| ≤ (∑ b : Fin n, |ℓ b|) * C.control.error

                  04.23 (F5): the actual rating Σ_b ℓ_b v_i(b) differs from the reference rating by at most (Σ_b|ℓ_b|)E on the corridor event.

                  theorem MindFormal.result_04_23_clause_4_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CH CL : NoiseLearning Ω N n T Λ J 𝒩) (lH lL : Fin N) (ℓ : Fin n → ℝ) (a : T) (ρ : ℝ → ℝ) {t0 t1 Tr R0H R0L pH zH pL zL BH BL qH qL B : ℝ} (h0 : 0 ≤ t0) (h01 : t0 ≤ t1) (h1 : t1 ≤ Tr) (hTH : Tr ≤ ↑CH.run.horizon) (hTL : Tr ≤ ↑CL.run.horizon) (startH : ∀ z ∈ CH.run.good, R0H ≤ CH.run.refRating z ℓ lH a 0) (startL : ∀ z ∈ CL.run.good, CL.run.refRating z ℓ lL a 0 ≤ R0L) (hzH : 0 ≤ zH) (hzL : 0 ≤ zL) (F5H : ∀ z ∈ CH.run.good, ∀ s ∈ Set.Icc t0 t1, pH ≤ CH.run.refPresence z lH s ∧ zH ≤ CH.run.refRatingRate z ℓ a s) (F5L : ∀ z ∈ CL.run.good, ∀ s ∈ Set.Icc t0 t1, CL.run.refPresence z lL s ≤ pL ∧ CL.run.refRatingRate z ℓ a s ≤ zL) (otherH : ∀ z ∈ CH.run.good, (∫ (s : ℝ) in 0..t0, |CH.run.refPresence z lH s * CH.run.refRatingRate z ℓ a s|) + ∫ (s : ℝ) in t1..Tr, |CH.run.refPresence z lH s * CH.run.refRatingRate z ℓ a s| ≤ BH) (otherL : ∀ z ∈ CL.run.good, (∫ (s : ℝ) in 0..t0, |CL.run.refPresence z lL s * CL.run.refRatingRate z ℓ a s|) + ∫ (s : ℝ) in t1..Tr, |CL.run.refPresence z lL s * CL.run.refRatingRate z ℓ a s| ≤ BL) (scale : ∀ (x : ℝ), 0 ≤ ρ x ∧ ρ x ≤ B) (hqH : 0 ≤ qH) (hqL : qL ≤ B) (binH : ∀ (x : ℝ), R0H + pH * zH * (t1 - t0) - BH - (∑ b : Fin n, |ℓ b|) * CH.run.control.error ≤ x → qH ≤ ρ x) (binL : ∀ x ≤ R0L + pL * zL * (t1 - t0) + BL + (∑ b : Fin n, |ℓ b|) * CL.run.control.error, ρ x ≤ qL) (scoredH : MeasureTheory.Integrable (fun (z : Ω) => ρ (∑ b : Fin n, ℓ b * CH.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (lH, b, a)))) Tr)) CH.run.data.μ) (scoredL : MeasureTheory.Integrable (fun (z : Ω) => ρ (∑ b : Fin n, ℓ b * CL.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (lL, b, a)))) Tr)) CL.run.data.μ) :
                  qH * (1 - CH.run.control.failure) - qL - (B - qL) * CL.run.control.failure ≤ ∫ (z : Ω), ρ (∑ b : Fin n, ℓ b * CH.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (lH, b, a)))) Tr) ∂CH.run.data.μ - ∫ (z : Ω), ρ (∑ b : Fin n, ℓ b * CL.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (lL, b, a)))) Tr) ∂CL.run.data.μ

                  For any case of noise. At the constant case this theorem is result_04_23_clause_4.

                  theorem MindFormal.result_04_26_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) (b : Fin n) (a : T) {pp bN : ℝ} (identityResponse : ∀ (δ : Fin n → ℝ), C.run.data.toPhysicalNoiseData.data.response δ = δ) (noDelivery : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.data.toPhysicalNoiseData.data.reward ((C.run.data.toPhysicalNoiseData.globalData z).input s) b = 0) (oneThought : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.actForecast z (Finset.univ.erase i) a b s = 0) (presenceCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) i s ≤ pp) :

                  For any case of noise. At the constant case this theorem is result_04_26_clause_2.

                  theorem MindFormal.ending_reference {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) (b : Fin n) (a : T) (l : Λ) {ζ xp pp C0 V0 Om Q γ : ℝ} (identityResponse : ∀ (δ : Fin n → ℝ), C.run.data.toPhysicalNoiseData.data.response δ = δ) (noDelivery : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.data.toPhysicalNoiseData.data.reward ((C.run.reference z).input s) b = 0) (hlr : 0 < C.run.data.toPhysicalNoiseData.data.rate l) (presenceTrace : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refPresence z i s = C.run.refCoordinate z (Sum.inr (Sum.inr (Sum.inr (i, l)))) s) (attentionRead : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refAttention z i s = C.run.refAct z i s + ζ * C.run.refValue z i b a s) (activityCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refAct z i s ≤ xp) (presenceCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refPresence z i s ≤ pp) (hC0 : 0 ≤ C0) (presenceStart : ∀ z ∈ C.run.good, C0 ≤ C.run.refPresence z i 0) (valueStart : ∀ z ∈ C.run.good, |C.run.refValue z i b a 0| ≤ V0) (TC9other : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, |C.run.refForecast z (Finset.univ.erase i) a b s| ≤ Om) (hQ : 0 < Q) (hQC : Q < C0 ^ 2 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) (TC10 : |ζ| * Real.exp (C.run.data.toPhysicalNoiseData.data.η b * (pp ^ 2 - C0 ^ 2) / 2) * V0 * Real.exp (-(C.run.data.toPhysicalNoiseData.data.η b / C.run.data.toPhysicalNoiseData.data.τ a) * Q) + xp + |ζ| * (Real.exp (C.run.data.toPhysicalNoiseData.data.η b * pp ^ 2 / 2) * (C.run.data.toPhysicalNoiseData.data.η b * pp * Om * ↑C.run.horizon)) ≤ C.run.data.reads.attentionBar - γ) (attentionMargin : C.run.control.scoreError C.experiment.mind.reads.attention ⋯ < γ) (z : Ω) :

                  04.33 (TC8)–(TC10), 04.26 (R2)–(R6): under the ending certificate, on every draw of the corridor event the reference attention score of i is below the attention bar minus the score error from t_end=-(1/2λ)log(1-2λQ/C₀²) through H.

                  theorem MindFormal.result_04_33_clause_6_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) (b : Fin n) (a : T) (l : Λ) {ζ xp pp C0 V0 Om Q γ : ℝ} (identityResponse : ∀ (δ : Fin n → ℝ), C.run.data.toPhysicalNoiseData.data.response δ = δ) (noDelivery : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.data.toPhysicalNoiseData.data.reward ((C.run.reference z).input s) b = 0) (hlr : 0 < C.run.data.toPhysicalNoiseData.data.rate l) (presenceTrace : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refPresence z i s = C.run.refCoordinate z (Sum.inr (Sum.inr (Sum.inr (i, l)))) s) (attentionRead : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refAttention z i s = C.run.refAct z i s + ζ * C.run.refValue z i b a s) (activityCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refAct z i s ≤ xp) (presenceCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refPresence z i s ≤ pp) (hC0 : 0 ≤ C0) (presenceStart : ∀ z ∈ C.run.good, C0 ≤ C.run.refPresence z i 0) (valueStart : ∀ z ∈ C.run.good, |C.run.refValue z i b a 0| ≤ V0) (TC9other : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, |C.run.refForecast z (Finset.univ.erase i) a b s| ≤ Om) (hQ : 0 < Q) (hQC : Q < C0 ^ 2 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) (TC10 : |ζ| * Real.exp (C.run.data.toPhysicalNoiseData.data.η b * (pp ^ 2 - C0 ^ 2) / 2) * V0 * Real.exp (-(C.run.data.toPhysicalNoiseData.data.η b / C.run.data.toPhysicalNoiseData.data.τ a) * Q) + xp + |ζ| * (Real.exp (C.run.data.toPhysicalNoiseData.data.η b * pp ^ 2 / 2) * (C.run.data.toPhysicalNoiseData.data.η b * pp * Om * ↑C.run.horizon)) ≤ C.run.data.reads.attentionBar - γ) (attentionMargin : C.run.control.scoreError C.experiment.mind.reads.attention ⋯ < γ) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∀ (k : ℕ) (t : ℝ), -(1 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) * Real.log (1 - 2 * C.run.data.toPhysicalNoiseData.data.rate l * Q / C0 ^ 2) ≤ t → ((C.run.focus z).search k).event ≠ some (t, i)) ∧ ∀ t ∈ Set.Icc 0 ↑C.run.horizon, -(1 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) * Real.log (1 - 2 * C.run.data.toPhysicalNoiseData.data.rate l * Q / C0 ^ 2) + C.run.data.pause true ≤ t → (C.run.data.toPhysicalNoiseData.globalData z).pulse t i = 0}

                  For any case of noise. At the constant case this theorem is result_04_33_clause_6.

                  theorem MindFormal.result_04_26_clause_3_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) (b : Fin n) (a : T) (l : Λ) {ζ xp pp C0 V0 Q γ bN : ℝ} (identityResponse : ∀ (δ : Fin n → ℝ), C.run.data.toPhysicalNoiseData.data.response δ = δ) (noDelivery : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.data.toPhysicalNoiseData.data.reward ((C.run.data.toPhysicalNoiseData.globalData z).input s) b = 0) (hlr : 0 < C.run.data.toPhysicalNoiseData.data.rate l) (presenceTrace : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) i s = mindTrace ((C.run.data.toPhysicalNoiseData.globalData z).state s) i l) (attentionRead : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, learningScoreActual C.run.data.toPhysicalNoiseData C.run.data.reads.attention z i s = C.run.coordinate z (Sum.inr (Sum.inl i)) s + ζ * C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) s) (activityCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.coordinate z (Sum.inr (Sum.inl i)) s ≤ xp) (presenceCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, actualPresence (C.run.data.toPhysicalNoiseData.globalData z) i s ≤ pp) (hC0 : 0 ≤ C0) (presenceStart : ∀ z ∈ C.run.good, C0 ≤ actualPresence (C.run.data.toPhysicalNoiseData.globalData z) i 0) (valueStart : ∀ z ∈ C.run.good, |C.run.coordinate z (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) 0| ≤ V0) (oneThought : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.actForecast z (Finset.univ.erase i) a b s = 0) (R6 : 0 < Q ∧ Q < C0 ^ 2 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) (R4 : |ζ| * Real.exp (C.run.data.toPhysicalNoiseData.data.η b * (pp ^ 2 - C0 ^ 2) / 2) * V0 * Real.exp (-(C.run.data.toPhysicalNoiseData.data.η b / C.run.data.toPhysicalNoiseData.data.τ a) * Q) + xp + |ζ| * (2 * Real.exp (C.run.data.toPhysicalNoiseData.data.η b * pp ^ 2 / 2) * bN) ≤ C.run.data.reads.attentionBar - γ) (hγ : 0 < γ) :
                  1 - C.run.control.failure - C.run.data.μ.real {z : Ω | z ∈ C.run.good ∧ z ∉ {z : Ω | ∀ t ∈ Set.Icc 0 ↑C.run.horizon, |C.run.valueNoise z i b a t| ≤ bN}} ≤ C.run.data.μ.real {z : Ω | (∀ (k : ℕ) (t : ℝ), -(1 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) * Real.log (1 - 2 * C.run.data.toPhysicalNoiseData.data.rate l * Q / C0 ^ 2) ≤ t → ((C.run.focus z).search k).event ≠ some (t, i)) ∧ ∀ t ∈ Set.Icc 0 ↑C.run.horizon, -(1 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) * Real.log (1 - 2 * C.run.data.toPhysicalNoiseData.data.rate l * Q / C0 ^ 2) + C.run.data.pause true ≤ t → (C.run.data.toPhysicalNoiseData.globalData z).pulse t i = 0}

                  For any case of noise. At the constant case this theorem is result_04_26_clause_3.

                  theorem MindFormal.result_04_33_clause_4_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i cue : Fin N) (b : Fin n) (a : T) (l : Λ) {ζ xp pp C0 V0 Om Q γ t2 t1 xs ws xm wm s1 μ₁ μ₂ γ₁ γ₂ ex ew : ℝ} (identityResponse : ∀ (δ : Fin n → ℝ), C.run.data.toPhysicalNoiseData.data.response δ = δ) (noDelivery : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.data.toPhysicalNoiseData.data.reward ((C.run.reference z).input s) b = 0) (hlr : 0 < C.run.data.toPhysicalNoiseData.data.rate l) (presenceTrace : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refPresence z i s = C.run.refCoordinate z (Sum.inr (Sum.inr (Sum.inr (i, l)))) s) (attentionRead : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refAttention z i s = C.run.refAct z i s + ζ * C.run.refValue z i b a s) (activityCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refAct z i s ≤ xp) (presenceCap : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, C.run.refPresence z i s ≤ pp) (hC0 : 0 ≤ C0) (presenceStart : ∀ z ∈ C.run.good, C0 ≤ C.run.refPresence z i 0) (valueStart : ∀ z ∈ C.run.good, |C.run.refValue z i b a 0| ≤ V0) (TC9other : ∀ z ∈ C.run.good, ∀ s ∈ Set.Icc 0 ↑C.run.horizon, |C.run.refForecast z (Finset.univ.erase i) a b s| ≤ Om) (hQ : 0 < Q) (hQC : Q < C0 ^ 2 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) (TC10 : |ζ| * Real.exp (C.run.data.toPhysicalNoiseData.data.η b * (pp ^ 2 - C0 ^ 2) / 2) * V0 * Real.exp (-(C.run.data.toPhysicalNoiseData.data.η b / C.run.data.toPhysicalNoiseData.data.τ a) * Q) + xp + |ζ| * (Real.exp (C.run.data.toPhysicalNoiseData.data.η b * pp ^ 2 / 2) * (C.run.data.toPhysicalNoiseData.data.η b * pp * Om * ↑C.run.horizon)) ≤ C.run.data.reads.attentionBar - γ) (attentionMargin : C.run.control.scoreError C.experiment.mind.reads.attention ⋯ < γ) (h2 : 0 ≤ t2) (h21 : t2 ≤ t1) (h1 : t1 ≤ ↑C.run.horizon) (hγ₁ : 0 < γ₁) (hγ₂ : 0 < γ₂) (afterEnding : -(1 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) * Real.log (1 - 2 * C.run.data.toPhysicalNoiseData.data.rate l * Q / C0 ^ 2) ≤ t2) (TC1 : ∀ z ∈ C.run.good, GrowthRectangle C.run z i cue t2 t1 xs ws xm wm μ₁ μ₂ γ₁ γ₂ ex ew) (TC1pos : ∀ τ ∈ Set.Icc 0 (t1 - t2), ∫ (u : ℝ) in 0..τ, coopExp11 μ₁ μ₂ γ₁ γ₂ u * ex + coopExp12 μ₁ μ₂ γ₁ γ₂ u * ew < s1 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * τ) * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ ∫ (u : ℝ) in 0..τ, coopExp21 μ₁ μ₂ γ₁ γ₂ u * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ u * ew < s1 * Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * τ)) (TC2start : ∀ z ∈ C.run.good, C.run.refAct z i t2 - xs = s1 * growthDirection μ₁ μ₂ γ₁ γ₂ ∧ C.run.refCoordinate z (Sum.inl (i, cue)) t2 - ws = s1) (growthMargin : 2 * C.run.control.error < s1 * (Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t2)) - 1) * growthDirection μ₁ μ₂ γ₁ γ₂ - ∫ (τ : ℝ) in 0..t1 - t2, coopExp11 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp12 μ₁ μ₂ γ₁ γ₂ τ * ew ∧ 2 * C.run.control.error < s1 * (Real.exp (growthRate μ₁ μ₂ γ₁ γ₂ * (t1 - t2)) - 1) - ∫ (τ : ℝ) in 0..t1 - t2, coopExp21 μ₁ μ₂ γ₁ γ₂ τ * ex + coopExp22 μ₁ μ₂ γ₁ γ₂ τ * ew) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∀ (k : ℕ) (t : ℝ), -(1 / (2 * C.run.data.toPhysicalNoiseData.data.rate l)) * Real.log (1 - 2 * C.run.data.toPhysicalNoiseData.data.rate l * Q / C0 ^ 2) ≤ t → ((C.run.focus z).search k).event ≠ some (t, i)) ∧ (∀ (k : ℕ), ∀ t ∈ Set.Icc t2 t1, ((C.run.focus z).search k).event ≠ some (t, i)) ∧ C.run.coordinate z (Sum.inr (Sum.inl i)) t2 < C.run.coordinate z (Sum.inr (Sum.inl i)) t1 ∧ C.run.coordinate z (Sum.inl (i, cue)) t2 < C.run.coordinate z (Sum.inl (i, cue)) t1}

                  For any case of noise. At the constant case this theorem is result_04_33_clause_4.

                  theorem MindFormal.result_04_23_clause_3_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (Dn Dk : NoiseLearning Ω N n T Λ J 𝒩) (i j old did : Fin N) (k0 k1 cn ck : ℕ) (en ek gn gk : ℕ → ℝ) (ΘOn ΘDn ΘOk ΘDk : Ω → ℝ) {h p0 U0 p1 U1 ap fm am fp w0 w0' Bret Bret' wlo whi zOlo zDlo zOhi zDhi Flo Fhi : ℝ} (hh : 0 ≤ h) (hsn : ∀ m < cn, 0 ≤ en (m + 1) - h ∧ en (m + 1) ≤ ↑Dn.run.horizon) (hsk : ∀ m < ck, 0 ≤ ek (m + 1) - h ∧ ek (m + 1) ≤ ↑Dk.run.horizon) (hap : 0 < ap) (hfm : 0 ≤ fm) (ham : 0 < am) (hfp : 0 ≤ fp) (hw0 : 0 ≤ w0) (hgn : ∀ (m : ℕ), 0 ≤ gn m) (hgk : ∀ (m : ℕ), 0 ≤ gk m) (F2start : ∀ z ∈ Dn.run.good, w0 ≤ Dn.run.refCoordinate z (Sum.inl (i, j)) (en 0)) (F2n : ∀ z ∈ Dn.run.good, ∀ m < cn, ∀ s ∈ Set.Icc (en (m + 1) - h) (en (m + 1)), Dn.run.refLoss z i j s ≤ ap ∧ fm ≤ Dn.run.refForcing z i j s) (F2gapn : ∀ z ∈ Dn.run.good, ∀ m < cn, Dn.run.refCoordinate z (Sum.inl (i, j)) (en m) - gn m ≤ Dn.run.refCoordinate z (Sum.inl (i, j)) (en (m + 1) - h)) (F3n : ∀ z ∈ Dn.run.good, ∀ s ∈ Set.Icc p0 U1, Dn.run.refCoordinate z (Sum.inl (i, j)) (en cn) - Bret ≤ Dn.run.refCoordinate z (Sum.inl (i, j)) s) (F2start' : ∀ z ∈ Dk.run.good, Dk.run.refCoordinate z (Sum.inl (i, j)) (ek 0) ≤ w0') (F2k : ∀ z ∈ Dk.run.good, ∀ m < ck, ∀ s ∈ Set.Icc (ek (m + 1) - h) (ek (m + 1)), am ≤ Dk.run.refLoss z i j s ∧ Dk.run.refForcing z i j s ≤ fp) (F2gapk : ∀ z ∈ Dk.run.good, ∀ m < ck, Dk.run.refCoordinate z (Sum.inl (i, j)) (ek (m + 1) - h) ≤ Dk.run.refCoordinate z (Sum.inl (i, j)) (ek m) + gk m) (F3k : ∀ z ∈ Dk.run.good, ∀ s ∈ Set.Icc p0 U1, Dk.run.refCoordinate z (Sum.inl (i, j)) s ≤ Dk.run.refCoordinate z (Sum.inl (i, j)) (ek ck) + Bret') (F3margins : wlo ≤ w0 * Real.exp (-ap * (↑cn * h)) + fm / ap * (1 - Real.exp (-ap * (↑cn * h))) - ∑ m ∈ Finset.range cn, gn m - Bret ∧ max w0' 0 * Real.exp (-am * (↑ck * h)) + fp / am * (1 - Real.exp (-am * (↑ck * h))) + ∑ m ∈ Finset.range ck, gk m + Bret' ≤ whi) (criterionLaw : Dn.run.data.μ.real {z : Ω | ΘOn z ≤ zOlo ∧ ΘDn z ≤ zDlo} = Flo ∧ Dk.run.data.μ.real {z : Ω | ΘOk z ≤ zOhi ∧ ΘDk z ≤ zDhi} = Fhi) (F4lower : (z : Ω) → z ∈ Dn.run.good → ΘOn z ≤ zOlo → ΘDn z ≤ zDlo → (∀ s ∈ Set.Icc p0 U1, wlo ≤ Dn.run.refCoordinate z (Sum.inl (i, j)) s) → LearningTargetWindow Dn.run z old p0 U0 × LearningTargetWindow Dn.run z did p1 U1) (F4lowerRelease : ∀ z ∈ Dn.run.good, (p0 ≤ (Dn.run.schedule z).release k0 ∧ (Dn.run.schedule z).release k0 ≤ U0) ∧ p1 ≤ (Dn.run.schedule z).release k1 ∧ (Dn.run.schedule z).release k1 ≤ U1) (F4upper : (z : Ω) → z ∈ Dk.run.good → ¬(ΘOk z ≤ zOhi ∧ ΘDk z ≤ zDhi) → (∀ s ∈ Set.Icc p0 U1, Dk.run.refCoordinate z (Sum.inl (i, j)) s ≤ whi) → LearningExclusion Dk.run z old p0 U0 ⊕ LearningExclusion Dk.run z did p1 U1) :
                  Flo - Dn.run.control.failure ≤ Dn.run.data.μ.real {z : Ω | z ∈ Dn.run.act k0 old p0 U0 ∧ z ∈ Dn.run.act k1 did p1 U1} ∧ Dk.run.data.μ.real {z : Ω | z ∈ Dk.run.act k0 old p0 U0 ∧ z ∈ Dk.run.act k1 did p1 U1} ≤ Fhi + Dk.run.control.failure ∧ Flo - Fhi - Dn.run.control.failure - Dk.run.control.failure ≤ Dn.run.data.μ.real {z : Ω | z ∈ Dn.run.act k0 old p0 U0 ∧ z ∈ Dn.run.act k1 did p1 U1} - Dk.run.data.μ.real {z : Ω | z ∈ Dk.run.act k0 old p0 U0 ∧ z ∈ Dk.run.act k1 did p1 U1}

                  For any case of noise. At the constant case this theorem is result_04_23_clause_3.

                  theorem MindFormal.result_04_21_clause_1_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S E : NoiseLearning Ω N n T Λ J 𝒩) (b w : Fin N) {Ls Us rs ts ds Le Ue te de : ℝ} (hLs : 0 ≤ Ls) (hUs : Us ≤ ↑S.run.horizon) (hrs : 0 ≤ rs) (hrsts : rs ≤ ts) (hds : S.run.data.pause false ≤ ds) (hUe : Ue ≤ ↑E.run.horizon) (hLeUe : Le ≤ Ue) (hte : 0 ≤ te) (output : S.run.data.reads.outputs b = true) (pendingS : ∀ z ∈ S.run.good, ∀ t ∈ Set.Ico (Ls + rs - S.run.data.pause false) Ls, 0 ≤ t → ∀ (j : Fin N), S.run.data.reads.outputs j = true → S.run.score z j t < S.run.data.reads.actionBar - S.run.error) (firstS : (z : Ω) → z ∈ S.run.good → Ls + ts ≤ Us → ReportReturnLower S.run z b Ls ts) (priorRenewalS : (z : Ω) → z ∈ S.run.good → (k : ℕ) → (τ : ℝ) → S.run.record k z = (τ, Sum.inl b) → τ < Ls → ReportRenewal S.run z b w τ) (cycleS : (z : Ω) → z ∈ S.run.good → (k : ℕ) → (τ : ℝ) → S.run.record k z = (τ, Sum.inl b) → τ ∈ Set.Icc Ls Us → τ + ds ≤ Us → ReportReturnLower S.run z b τ ds) (cycleRenewalS : (z : Ω) → z ∈ S.run.good → (k : ℕ) → (τ : ℝ) → S.run.record k z = (τ, Sum.inl b) → τ ∈ Set.Icc Ls Us → τ + ds ≤ Us → ReportRenewal S.run z b w τ) (rivalsS : ∀ z ∈ S.run.good, ∀ (j : Fin N), j ≠ b → S.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc Ls Us, S.run.score z j t < S.run.data.reads.actionBar - S.run.error) (firstE : (z : Ω) → z ∈ E.run.good → ReportHeld E.run z b Le te) (cycleE : (z : Ω) → z ∈ E.run.good → (k : ℕ) → (τ : ℝ) → E.run.record k z = (τ, Sum.inl b) → τ ∈ Set.Icc Le Ue → ReportReturnUpper E.run z b τ de) :
                  have ns := ↑(1 + ⌊(Us - Ls - ts) / ds⌋).toNat; have ne := ↑(1 + ⌊(Ue - Le - te) / max (E.run.data.pause false) de⌋).toNat; have B := ↑(1 + ⌊(Ue - Le) / E.run.data.pause false⌋).toNat; ns - ne - ns * S.run.control.failure - (B - ne) * E.run.control.failure ≤ ∫ (z : Ω), S.run.renewedCount b w Ls Us z ∂S.run.data.μ - ∫ (z : Ω), E.run.renewedCount b w Le Ue z ∂E.run.data.μ

                  For any case of noise. At the constant case this theorem is result_04_21_clause_1.

                  theorem MindFormal.result_04_21_clause_2_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S E : NoiseLearning Ω N n T Λ J 𝒩) (b w : Fin N) {Le Ue re te de Lq Uq tq dq : ℝ} (hLe : 0 ≤ Le) (hUe : Ue ≤ ↑E.run.horizon) (hre : 0 ≤ re) (hrete : re ≤ te) (hde : E.run.data.pause false ≤ de) (hUq : Uq ≤ ↑S.run.horizon) (hLqUq : Lq ≤ Uq) (htq : 0 ≤ tq) (output : E.run.data.reads.outputs b = true) (pendingE : ∀ z ∈ E.run.good, ∀ t ∈ Set.Ico (Le + re - E.run.data.pause false) Le, 0 ≤ t → ∀ (j : Fin N), E.run.data.reads.outputs j = true → E.run.score z j t < E.run.data.reads.actionBar - E.run.error) (firstE : (z : Ω) → z ∈ E.run.good → Le + te ≤ Ue → ReportReturnLower E.run z b Le te) (priorRenewalE : (z : Ω) → z ∈ E.run.good → (k : ℕ) → (τ : ℝ) → E.run.record k z = (τ, Sum.inl b) → τ < Le → ReportRenewal E.run z b w τ) (cycleE : (z : Ω) → z ∈ E.run.good → (k : ℕ) → (τ : ℝ) → E.run.record k z = (τ, Sum.inl b) → τ ∈ Set.Icc Le Ue → τ + de ≤ Ue → ReportReturnLower E.run z b τ de) (cycleRenewalE : (z : Ω) → z ∈ E.run.good → (k : ℕ) → (τ : ℝ) → E.run.record k z = (τ, Sum.inl b) → τ ∈ Set.Icc Le Ue → τ + de ≤ Ue → ReportRenewal E.run z b w τ) (rivalsE : ∀ z ∈ E.run.good, ∀ (j : Fin N), j ≠ b → E.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc Le Ue, E.run.score z j t < E.run.data.reads.actionBar - E.run.error) (firstS : (z : Ω) → z ∈ S.run.good → ReportHeld S.run z b Lq tq) (cycleS : (z : Ω) → z ∈ S.run.good → (k : ℕ) → (τ : ℝ) → S.run.record k z = (τ, Sum.inl b) → τ ∈ Set.Icc Lq Uq → ReportReturnUpper S.run z b τ dq) :
                  have ne := ↑(1 + ⌊(Ue - Le - te) / de⌋).toNat; have nq := ↑(1 + ⌊(Uq - Lq - tq) / max (S.run.data.pause false) dq⌋).toNat; have B := ↑(1 + ⌊(Uq - Lq) / S.run.data.pause false⌋).toNat; ne - nq - ne * E.run.control.failure - (B - nq) * S.run.control.failure ≤ ∫ (z : Ω), E.run.renewedCount b w Le Ue z ∂E.run.data.μ - ∫ (z : Ω), S.run.renewedCount b w Lq Uq z ∂S.run.data.μ

                  For any case of noise. At the constant case this theorem is result_04_21_clause_2.