MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.ClauseProofs

The general forms of chapter 2's clause theorems of ORDER O04, each for any case of noise meeting the interface, and the lemmas they use; Chapters/Ch02 applies each at constant noise. Nothing here is tagged.

theorem MindFormal.mindValue_update_value {n : ℕ} {T : Type u_1} {Λ : Type u_2} {C : Type u_3} (s : MindState C n T Λ) (j : C) (b : Fin n) (τ : T) (r : ℝ) (k : C) (c : Fin n) (a : T) :
mindValue (Function.update s (Sum.inr (Sum.inr (Sum.inl (j, b, τ)))) r) k c a = if k = j ∧ c = b ∧ a = τ then r else mindValue s k c a

02.9: changing one value coordinate (content j, element b, horizon τ) of a full state changes exactly that value read and no other.

theorem MindFormal.mindTrace_update_value {n : ℕ} {T : Type u_1} {Λ : Type u_2} {C : Type u_3} (s : MindState C n T Λ) (j : C) (b : Fin n) (τ : T) (r : ℝ) :

02.9: changing one value coordinate leaves every trace read unchanged.

theorem MindFormal.mindActivity_update_value {n : ℕ} {T : Type u_1} {Λ : Type u_2} {C : Type u_3} (s : MindState C n T Λ) (j : C) (b : Fin n) (τ : T) (r : ℝ) :

02.9: changing one value coordinate leaves every activity read unchanged.

theorem MindFormal.assembledResidual_update_value {n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] {C : Type u_3} [Fintype C] (d : MindDriftData C n T Λ) (u : C → ℝ) (s : MindState C n T Λ) (j : C) (b : Fin n) (τ : T) (r : ℝ) :

02.9: changing content j's value element b at horizon τ from its value to r changes III's complete surprise at τ only in element b, by (χ_j−p_j/τ)(r−v_jb(τ)); presences and their rates read traces and activity, which do not change.

theorem MindFormal.trace_zero_activity_decay {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {t0 t : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (i : Fin N) (hx : ∀ s ∈ Set.Icc t0 t, mindActivity (G.state s) i = 0) (l : Λ) :
mindTrace (G.state t) i l = mindTrace (G.state t0) i l * Real.exp (-G.data.rate l * (t - t0))

02.9, D4: on the constructed run, if a content's activity is zero throughout [t0,t], each of its traces decays exactly as r(t0)e^{−λ(t−t0)}, so a positive trace stays positive.

noncomputable def MindFormal.pulseTrace (rate : ℝ) (z : ℝ → ℝ) (t : ℝ) :

02.15 (15.1): D4's trace from zero, λ∫₀ᵗe^{−λ(t−s)}z(s)ds, driven by an integrable comparison activity z at trace rate λ.

Equations
Instances For
    theorem MindFormal.visibility_boundary {ν g level a K d I : ℝ} (hν : 0 < ν) (ha : 0 < a) (hK : 0 < K) (hl : 0 < level) (hd : 0 < d) (hI : 0 ≤ I) (hrange : g + level / (1 - Real.exp (-ν * d)) < 1) :
    level ≤ referenceActivity ν (max (a * I / (K + a * I) - g) 0) 0 d ↔ K / a * (g + level / (1 - Real.exp (-ν * d))) / (1 - g - level / (1 - Real.exp (-ν * d))) ≤ I

    02.18 (18.3): for positive gain a, other load plus floor K, level and duration d, with g+level/F<1 where F=1−e^{−νd}, the held-target peak [aI/(K+aI)−g]_+F from rest reaches the level exactly when I is at least (K/a)(g+level/F)/(1−g−level/F).

    theorem MindFormal.visibility_energy {ν g level d δt δg δn : ℝ} (hν : 0 < ν) (hl : 0 < level) (hd : 0 < d) (hg : 0 ≤ g) (hrange : g + level / (1 - Real.exp (-ν * d)) < 1) (hδt : ν * d ≤ δt) (hδg : g * (1 - Real.exp (-ν * d)) / level ≤ δg) (hδn : g + level / (1 - Real.exp (-ν * d)) ≤ δn) (hδn1 : δn < 1) (a K : ℝ) (ha : 0 < a) (hK : 0 < K) :
    have F := 1 - Real.exp (-ν * d); have I0 := K / a * (g + level / F) / (1 - g - level / F); I0 * d / (K * level / (a * ν)) = ν * d / F * ((1 + g * F / level) / (1 - g - level / F)) ∧ 1 ≤ I0 * d / (K * level / (a * ν)) ∧ I0 * d / (K * level / (a * ν)) ≤ Real.exp δt * (1 + δg) / (1 - δn)

    02.18 (18.4)–(18.5): the boundary intensity's energy in units Kα/(aν) is (νd/F)(1+gF/α)/(1−g−α/F), and under νd≤δt, gF/α≤δg, g+α/F≤δn<1 it lies between 1 and e^{δt}(1+δg)/(1−δn).

    theorem MindFormal.shifted_passage_differences {ν Tr x0 θ ε : ℝ} (hε : 0 ≤ ε) (hlow : x0 < θ - ε) (hup : θ + ε < Tr) :
    passageTime ν Tr x0 θ - passageTime ν Tr x0 (θ - ε) = Real.log (1 + ε / (Tr - θ)) / ν ∧ passageTime ν Tr x0 (θ + ε) - passageTime ν Tr x0 θ = -Real.log (1 - ε / (Tr - θ)) / ν

    02.20 RP16: for a held target T with x0<ϑ−ε, ϑ+ε<T and ε≥0, the shifted passage times differ from the reference one by ν⁻¹log(1+ε/(T−ϑ)) and −ν⁻¹log(1−ε/(T−ϑ)).

    noncomputable def MindFormal.shockFeedback (τ : ℝ) (h : ℝ → ℝ) (Tt s : ℝ) :

    02.16 (16.2): the accumulated feedback B(s,T) of a presence profile h at horizon τ.

    Equations
    Instances For
      noncomputable def MindFormal.learnedFactor (η τ : ℝ) (h R : ℝ → ℝ) (Tt Q : ℝ) :

      02.16 (16.2): the learned factor z_Q(T) for total squared presence Q.

      Equations
      Instances For
        theorem MindFormal.shockFeedback_continuous (τ : ℝ) {h : ℝ → ℝ} (hh : Continuous h) (Tt : ℝ) :

        02.16 (16.2): for a continuous presence profile the accumulated feedback B(s,T) is continuous in s; its integral term is a primitive of h².

        theorem MindFormal.finite_shock_bound {η τ pL q QS Tt : ℝ} (hη : 0 < η) (hpL : 0 < pL) (hq : 0 < q) (hQS : 0 ≤ QS) (hT : 0 ≤ Tt) {h R : ℝ → ℝ} (hh : Continuous h) (hR : IntervalIntegrable R MeasureTheory.volume 0 Tt) (hRnn : ∀ (s : ℝ), 0 ≤ R s) (hhnn : ∀ (s : ℝ), 0 ≤ h s) {m : ℕ} (a len hj Rj Bminus Bplus : Fin m → ℝ) (hlen : ∀ (j : Fin m), 0 < len j) (hin : ∀ (j : Fin m), 0 ≤ a j ∧ a j + len j ≤ Tt) (hdisj : ∀ (j k : Fin m), j ≠ k → Disjoint (Set.Icc (a j) (a j + len j)) (Set.Icc (a k) (a k + len k))) (hoff : ∀ s ∈ Set.Icc 0 Tt, (∀ (j : Fin m), s ∉ Set.Icc (a j) (a j + len j)) → R s = 0) (hbounds : ∀ (j : Fin m), ∀ s ∈ Set.Icc (a j) (a j + len j), hj j ≤ h s ∧ Rj j ≤ R s ∧ Bminus j ≤ shockFeedback τ h Tt s ∧ shockFeedback τ h Tt s ≤ Bplus j) (hhj : ∀ (j : Fin m), 0 ≤ hj j) (hRj : ∀ (j : Fin m), 0 ≤ Rj j) (hB : ∀ (j : Fin m), 0 < Bminus j) :
        η * pL * ∑ j : Fin m, len j * hj j * Rj j * Real.exp (-η * QS * Bplus j) * (1 - Real.exp (-η * q ^ 2 * Bminus j)) ≤ pL * learnedFactor η τ h R Tt QS - pL * learnedFactor η τ h R Tt (QS + q ^ 2)

        02.16 (16.3): from the learned factor (16.2), the light's value gap between single and compound training is at least the closed-form finite sum over disjoint shock intervals with lower bounds on presence and delivery and bounds on the feedback, when delivery is zero off the shocks and the feedback is positive on them.

        theorem MindFormal.learnedFactor_hasDerivAt {η τ Q Tt T : ℝ} {h h' R : ℝ → ℝ} (hh : ∀ (t : ℝ), HasDerivAt h (h' t) t) (hR : IntervalIntegrable R MeasureTheory.volume 0 Tt) (hT : T ∈ Set.Ioo 0 Tt) (hRc : ContinuousAt R T) :
        HasDerivAt (fun (t : ℝ) => learnedFactor η τ h R t Q) (η * h T * (R T + Q * (h' T - h T / τ) * learnedFactor η τ h R T Q)) T

        02.16 (16.1)–(16.2): the learned factor solves the scalar equation: at every T in (0,Tt) where the delivery R is continuous, with h differentiable, z_Q(T) has derivative ηh(T){R(T)+Q(h'(T)−h(T)/τ)z_Q(T)}; B(s,T) splits as φ(s)−φ(T) with φ=h²/2−(1/τ)∫₀h².

        theorem MindFormal.separable_value_drift {n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] {C : Type u_3} [Fintype C] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (b : Fin n) (τ : T) (γ : C → ℝ) {hv hd z R : ℝ} (hpres : ∀ (j : C), d.presence (mindTrace s j) = γ j * hv) (hrate : ∀ (j : C), assembledPresenceRate d s j = γ j * hd) (hvalue : ∀ (j : C), mindValue s j b τ = γ j * z) (hreward : d.reward u b = R) (hlinear : d.response (assembledResidual d u s τ) b = assembledResidual d u s τ b) (i : C) :
        assembledDrift d u q s (Sum.inr (Sum.inr (Sum.inl (i, b, τ)))) = γ i * (d.η b * hv * (R + (∑ j : C, γ j ^ 2) * (hd - hv / d.τ τ) * z))

        02.16 (16.1): with presences separable as γ_j h, presence rates γ_j h', values at the aversive element γ_j z, delivery R and the response linear at that element, III's systematic change of content i's value there is γ_i η h{R+Q(h'−h/τ)z} with Q=Σγ_j²: one scalar equation for z.

        theorem MindFormal.physicalGlobal_event_guard {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (c : Bool) (j : ℕ) {t : ℝ} {i : Fin N} (he : G.event c j = some (t, i)) :
        0 ≤ (G.reads.guards c) (G.realPath t) i

        02.1: every recorded global event of either native clock satisfies that clock's guard at its own time on the constructed path.

        02.1: the finite history with one focus on content i at time s and no other event.

        Equations
        Instances For
          theorem MindFormal.historyPulse_witness {C : Type u_3} {ρ s : ℝ} (hρ : 0 < ρ) (i : C) :

          02.1: the attention pulse depends on the record, not on the time alone: at the same time s, the empty record gives pulse 0 and a focus on i at s gives pulse 1, for any positive pause.

          theorem MindFormal.base_pulse_drift :
          assembledDrift (baseInstance 1).drift 0 (fun (x : Fin 1) => 1) 0 (Sum.inr (Sum.inl 0)) ≠ assembledDrift (baseInstance 1).drift 0 (fun (x : Fin 1) => 0) 0 (Sum.inr (Sum.inl 0))

          02.1, built case: in the base instance at the zero state with zero input, the activity drift with attention pulse 1 differs from that with pulse 0.

          theorem MindFormal.result_02_1_clause_4_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) (t : NNReal) :
          have G := E.data.toPhysicalNoiseData.globalData z; (∀ i ∉ E.mind.sensed, G.input (↑t) i = 0) ∧ (∀ (i : Fin N), 0 ≤ G.input (↑t) i) ∧ E.mind.primary ⊆ E.mind.sensed ∧ ∀ (u : Fin N → ℝ), G.data.reward u = E.mind.delivery fun (i : ↥E.mind.primary) => u ↑i

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

          theorem MindFormal.result_02_1_clause_5_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (ht : 0 ≤ t) (i : Fin N) :
          have G := E.data.toPhysicalNoiseData.globalData z; have I := fun (s : ℝ) (j : Fin N) => G.data.drive (G.input s j) (G.pulse s j) (mindValue (G.state s) j) + G.data.residue (mindTrace (G.state s) j) + ∑ l : Fin N, mindRelation (G.state s) j l * mindActivity (G.state s) l; mindActivity (G.state t) i = (mindActivity (G.state 0) i + ∫ (s : ℝ) in 0..t, G.data.activity.ν * (max (G.data.transform.ψ (I s i) / (G.data.activity.σ + ∑ j : Fin N, G.data.transform.ψ (I s j)) - G.data.activity.g) 0 - mindActivity (G.state s) i)) + G.driver t.toNNReal (Sum.inr (Sum.inl i)) + G.realPush t i

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

          theorem MindFormal.result_02_9_clause_1_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (ht : 0 ≤ t) :
          have G := E.data.toPhysicalNoiseData.globalData z; have p := fun (j : Fin N) => G.data.presence (mindTrace (G.state t) j); have χ := fun (j : Fin N) => assembledPresenceRate G.data (G.state t) j; (∀ (j : Fin N), HasDerivWithinAt (fun (s : ℝ) => G.data.presence (mindTrace (G.state s) j)) (χ j) (Set.Ici 0) t) ∧ ∀ (i : Fin N) (b : Fin n) (a : T), assembledDrift G.data (G.input t) (G.pulse t) (G.state t) (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) = p i * (G.data.η b * G.data.response (fun (c : Fin n) => G.data.reward (G.input t) c + ∑ j : Fin N, χ j * mindValue (G.state t) j c a - (∑ j : Fin N, p j * mindValue (G.state t) j c a) / G.data.τ a) b)

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

          theorem MindFormal.result_02_9_clause_4_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (i j : Fin N) (a b : Fin n) (τ : T) {Dk : ℝ} (hk : HasDerivAt (fun (r : ℝ) => E.data.toPhysicalNoiseData.data.response (Function.update (assembledResidual E.data.toPhysicalNoiseData.data u s τ) b r) a) Dk (assembledResidual E.data.toPhysicalNoiseData.data u s τ b)) :
          have d := E.data.toPhysicalNoiseData.data; have D := d.presence (mindTrace s i) * d.η a * Dk * (assembledPresenceRate d s j - d.presence (mindTrace s j) / d.τ τ); HasDerivAt (fun (r : ℝ) => assembledDrift d u q (Function.update s (Sum.inr (Sum.inr (Sum.inl (j, b, τ)))) r) (Sum.inr (Sum.inr (Sum.inl (i, a, τ))))) D (mindValue s j b τ) ∧ (D ≠ 0 ↔ d.presence (mindTrace s i) ≠ 0 ∧ Dk ≠ 0 ∧ assembledPresenceRate d s j ≠ d.presence (mindTrace s j) / d.τ τ)

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

          theorem MindFormal.result_02_9_clause_5_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (τ : T) :
          have G := E.data.toPhysicalNoiseData.globalData z; have d := G.data; have δ := assembledResidual d (G.input t) (G.state t) τ; ((δ = 0 → ∀ (i : Fin N) (b : Fin n), assembledDrift d (G.input t) (G.pulse t) (G.state t) (Sum.inr (Sum.inr (Sum.inl (i, b, τ)))) = 0) ∧ ∀ (i : Fin N) (b : Fin n), assembledDrift d (G.input t) (G.pulse t) (G.state t) (Sum.inr (Sum.inr (Sum.inl (i, b, τ)))) = d.presence (mindTrace (G.state t) i) * d.η b * d.response δ b ∧ (assembledDrift d (G.input t) (G.pulse t) (G.state t) (Sum.inr (Sum.inr (Sum.inl (i, b, τ)))) ≠ 0 ↔ d.presence (mindTrace (G.state t) i) ≠ 0 ∧ d.response δ b ≠ 0)) ∧ ∀ (i : Fin N) (t0 t1 : ℝ), 0 ≤ t0 → t0 ≤ t1 → (∀ s ∈ Set.Icc t0 t1, mindActivity (G.state s) i = 0) → ∀ (l : Λ), mindTrace (G.state t1) i l = mindTrace (G.state t0) i l * Real.exp (-d.rate l * (t1 - t0))

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

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

          theorem MindFormal.result_02_15_clause_3_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (l : Λ) (γ amplitude d : ℝ) :
          have zA := (Set.Icc 0 d).indicator fun (x : ℝ) => amplitude; have zB := (Set.Icc d (2 * d)).indicator fun (x : ℝ) => amplitude; have rB := pulseTrace (E.data.data.rate l) zB; (∀ t ∈ Set.Icc 0 d, rB t = 0) ∧ ∫ (t : ℝ) in 0..2 * d, γ * zA t * rB t = 0

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

          theorem MindFormal.result_02_19_clause_2_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (JL JH : Fin N → ℝ) (f : Fin N) (hL : ∀ (j : Fin N), 0 ≤ JL j) (hf : JH f = JL f) (hA : 0 < JL f) (hQ : ∑ j : Fin N, JL j < ∑ j : Fin N, JH j) (x : ℝ) :
          have σ := E.data.data.activity.σ; have g := E.data.data.activity.g; have ν := E.data.data.activity.ν; (∀ (e res : Fin N → ℝ) (W : Fin N → Fin N → ℝ) (y : Fin N → ℝ) (h c : Fin N), 0 < W h c → 0 < y c → 0 < rawInput e res W y h → rawInput e res W y h = rawInput e res (Function.update W h (Function.update (W h) c 0)) y h + W h c * y c ∧ E.data.data.transform.ψ (rawInput e res (Function.update W h (Function.update (W h) c 0)) y h) < E.data.data.transform.ψ (rawInput e res W y h)) ∧ pool σ JH - pool σ JL = ∑ j : Fin N, JH j - ∑ j : Fin N, JL j ∧ JL f / pool σ JL - JH f / pool σ JH = JL f * (∑ j : Fin N, JH j - ∑ j : Fin N, JL j) / (pool σ JL * pool σ JH) ∧ 0 < JL f / pool σ JL - JH f / pool σ JH ∧ normalizedTarget σ g JH f ≤ normalizedTarget σ g JL f ∧ (0 < normalizedTarget σ g JL f → normalizedTarget σ g JH f < normalizedTarget σ g JL f ∧ ν * (normalizedTarget σ g JH f - x) < ν * (normalizedTarget σ g JL f - x))

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

          theorem MindFormal.result_02_19_clause_3_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) {A K Q z b r d : ℝ} (hA : 0 < A) (hK : 0 < K) (hQ : 0 ≤ Q) (hzb : z < b) (hbT : b < A / (K + A + Q) - E.data.data.activity.g) :
          have ν := E.data.data.activity.ν; have g := E.data.data.activity.g; have P := K + A + Q; have Tn := A / P - g; ReferenceEquation ν Tn (referenceActivity ν Tn z) ∧ referenceActivity ν Tn z 0 = z ∧ (∀ (s : ℝ), b ≤ referenceActivity ν Tn z s ↔ passageTime ν Tn z b ≤ s) ∧ (∀ (s : ℝ), d + r ≤ s ∧ b ≤ referenceActivity ν Tn z (s - d) ↔ d + max r (passageTime ν Tn z b) ≤ s) ∧ HasDerivAt (fun (T' : ℝ) => passageTime ν T' z b) ((z - b) / (ν * (Tn - z) * (Tn - b))) Tn ∧ (z - b) / (ν * (Tn - z) * (Tn - b)) < 0 ∧ HasDerivAt (fun (Q' : ℝ) => passageTime ν (A / (K + A + Q') - g) z b) (A * (b - z) / (ν * P ^ 2 * (Tn - z) * (Tn - b))) Q ∧ 0 < A * (b - z) / (ν * P ^ 2 * (Tn - z) * (Tn - b))

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

          theorem MindFormal.result_02_18_clause_4_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (k : ℕ) (correct sensory : Fin N) {p U : ℝ} (W : TargetWindow C.run correct p U) (instructedRelease : ∀ z ∈ C.run.good, p ≤ (C.run.schedule z).release k ∧ (C.run.schedule z).release k ≤ U) (sensoryMargin : ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (ContinuousMap.IccExtend ⋯ C.run.reference.path) t (Sum.inr (Sum.inl sensory)) + C.run.control.error < C.run.data.reads.awarenessBar) :
          1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | z ∈ C.run.act k correct p U ∧ ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl sensory)) < C.run.data.reads.awarenessBar}

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

          theorem MindFormal.result_02_18_clause_5_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (k : ℕ) (correct sensory : Fin N) {p U : ℝ} (W : TargetWindow C.run correct p U) (instructedRelease : ∀ z ∈ C.run.good, p ≤ (C.run.schedule z).release k ∧ (C.run.schedule z).release k ≤ U) (sensoryMargin : ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (ContinuousMap.IccExtend ⋯ C.run.reference.path) t (Sum.inr (Sum.inl sensory)) + C.run.control.error < C.run.data.reads.awarenessBar) (hε : C.run.control.failure < 1 / 3) :
          have ε := C.run.control.failure; have correctAct := C.run.act k correct p U; have unseen := {z : Ω | ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl sensory)) < C.run.data.reads.awarenessBar}; 1 - ε ≤ C.run.data.μ.real correctAct ∧ 1 / 2 < C.run.data.μ.real correctAct ∧ 0 < C.run.data.μ.real unseen ∧ 1 - ε / (1 - ε) ≤ C.run.data.μ.real (correctAct ∩ unseen) / C.run.data.μ.real unseen ∧ 1 / 2 < C.run.data.μ.real (correctAct ∩ unseen) / C.run.data.μ.real unseen

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

          theorem MindFormal.result_02_15_clause_1_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CF CB : NoiseFrozen Ω N n T Λ J 𝒩) (kF kB : ℕ) (forward backward : Fin N) (hne : forward ≠ backward) (EF EB : Set Ω) (hEF : MeasurableSet EF) (hEB : MeasurableSet EB) {aF aB ε pF UF pB UB : ℝ} (hF : CF.run.data.μ.real EF = aF) (hB : CB.run.data.μ.real EB = aB) (hbadF : CF.run.data.μ.real (EF ∩ CF.run.goodᶜ) ≤ aF * ε) (hbadB : CB.run.data.μ.real (EB ∩ CB.run.goodᶜ) ≤ aB * ε) (opportunityMargin : 1 < (aF + aB) * (1 - ε)) (WF : TargetWindow CF.run forward pF UF) (WB : TargetWindow CB.run forward pB UB) (pauseF : ∀ z ∈ EF ∩ CF.run.good, pF ≤ (CF.run.schedule z).release kF ∧ (CF.run.schedule z).release kF ≤ UF) (pauseB : ∀ z ∈ EB ∩ CB.run.good, pB ≤ (CB.run.schedule z).release kB ∧ (CB.run.schedule z).release kB ≤ UB) :
          CB.run.data.μ.real (CB.run.label kB backward) < CF.run.data.μ.real (CF.run.label kF forward)

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

          theorem MindFormal.result_02_20_clause_4_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) {ι : Type u_5} (F : ι → (ℝ → MindState (Fin N) n T Λ) → (Fin N → ℝ → ℝ) → (Fin N → ℝ → ℝ) → ℝ) (LS LY LO : ι → ℝ) (sensitivity : ∀ (k : ι) (x x' : ℝ → MindState (Fin N) n T Λ) (Y Y' O O' : Fin N → ℝ → ℝ) (eS eY eO : ℝ), (∀ t ∈ Set.Icc 0 ↑C.run.horizon, ∀ (j : CoordinateIndex (Fin N) n T Λ), |x t j - x' t j| ≤ eS) → (∀ t ∈ Set.Icc 0 ↑C.run.horizon, ∀ (i : Fin N), |Y i t - Y' i t| ≤ eY) → (∀ t ∈ Set.Icc 0 ↑C.run.horizon, ∀ (i : Fin N), |O i t - O' i t| ≤ eO) → |F k x Y O - F k x' Y' O'| ≤ LS k * eS + LY k * eY + LO k * eO) (margin : ∀ (k : ι), LS k * C.run.control.error + LY k * C.run.control.scoreError C.run.data.reads.attention ⋯ + LO k * C.run.error < F k (fun (t : ℝ) => (ContinuousMap.IccExtend ⋯ C.run.reference.path) t) (frozenScoreReference C.run.reference C.run.data.reads.attention) (frozenScoreReference C.run.reference C.run.data.reads.output)) :

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

          theorem MindFormal.result_02_20_clause_5_counts_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (items : Finset (Fin N)) {level t0 t1 : ℝ} (hwindow : Set.Icc t0 t1 ⊆ Set.Icc 0 ↑C.run.horizon) :
          1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | {i ∈ items | ∀ t ∈ Set.Icc t0 t1, level + C.run.control.error ≤ C.run.refAct i t}.card ≤ {i ∈ items | ∀ t ∈ Set.Icc t0 t1, level ≤ (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl i))}.card ∧ {i ∈ items | ∀ t ∈ Set.Icc t0 t1, level ≤ (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl i))}.card ≤ {i ∈ items | ∀ t ∈ Set.Icc t0 t1, level - C.run.control.error ≤ C.run.refAct i t}.card}

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

          theorem MindFormal.result_02_20_clause_5_lead_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (i j : Fin N) {s t : ℝ} (hs : s ∈ Set.Icc 0 ↑C.run.horizon) (ht : t ∈ Set.Icc 0 ↑C.run.horizon) (hm : 4 * C.run.control.error < C.run.refAct i t - C.run.refAct j t - (C.run.refAct i s - C.run.refAct j s)) :

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

          theorem MindFormal.result_02_20_clause_5_first_action_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (j : Fin N) (hout : C.run.data.reads.outputs j = true) (hwinner : C.run.data.reads.actionBar + C.run.error < C.run.score j ↑C.run.horizon) (hrivals : ∀ (k : Fin N), k ≠ j → C.run.data.reads.outputs k = true → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, C.run.score k t < C.run.data.reads.actionBar - C.run.error) :

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

          theorem MindFormal.result_02_20_clause_5_first_focus_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (j : Fin N) (hwinner : max C.run.control.error (C.run.control.scoreError C.run.data.reads.attention ⋯) < C.run.refFocus j ↑C.run.horizon) (hrivals : ∀ (k : Fin N), k ≠ j → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, C.run.refFocus k t < -max C.run.control.error (C.run.control.scoreError C.run.data.reads.attention ⋯)) :

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

          theorem MindFormal.result_02_20_clause_5_arrival_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (i : Fin N) {Tr ϑ : ℝ} (hconst : ∀ s ∈ Set.Ioc 0 ↑C.run.horizon, C.run.reference.target i s = Tr) (hlow : C.run.refAct i 0 < ϑ - C.run.control.error) (hup : ϑ + C.run.control.error < Tr) (hH : passageTime C.run.data.toPhysicalNoiseData.data.activity.ν Tr (C.run.refAct i 0) (ϑ + C.run.control.error) ≤ ↑C.run.horizon) :
          have ν := C.run.data.toPhysicalNoiseData.data.activity.ν; have E := C.run.control.error; have x0 := C.run.refAct i 0; have tm := passageTime ν Tr x0 (ϑ - E); have tp := passageTime ν Tr x0 (ϑ + E); have tr := passageTime ν Tr x0 ϑ; tr - tm = Real.log (1 + E / (Tr - ϑ)) / ν ∧ tp - tr = -Real.log (1 - E / (Tr - ϑ)) / ν ∧ 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | {t : ℝ | t ∈ Set.Icc 0 ↑C.run.horizon ∧ ϑ ≤ (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl i))}.Nonempty ∧ tm ≤ sInf {t : ℝ | t ∈ Set.Icc 0 ↑C.run.horizon ∧ ϑ ≤ (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl i))} ∧ sInf {t : ℝ | t ∈ Set.Icc 0 ↑C.run.horizon ∧ ϑ ≤ (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl i))} ≤ tp}

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

          theorem MindFormal.result_02_18_clause_3_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (load : Fin N → ℝ) (light : Fin N) (hload : ∀ (j : Fin N), 0 ≤ load j) {a level d δt δg δn : ℝ} (ha : 0 < a) (hl : 0 < level) (hd : 0 < d) (hrange : E.data.data.activity.g + level / (1 - Real.exp (-E.data.data.activity.ν * d)) < 1) (hδt : E.data.data.activity.ν * d ≤ δt) (hδg : E.data.data.activity.g * (1 - Real.exp (-E.data.data.activity.ν * d)) / level ≤ δg) (hδn : E.data.data.activity.g + level / (1 - Real.exp (-E.data.data.activity.ν * d)) ≤ δn) (hδn1 : δn < 1) :
          have ν := E.data.data.activity.ν; have σ := E.data.data.activity.σ; have g := E.data.data.activity.g; have F := 1 - Real.exp (-ν * d); have K := σ + ∑ j ∈ Finset.univ \ {light}, load j; have I0 := K / a * (g + level / F) / (1 - g - level / F); (∀ (I : ℝ), 0 ≤ I → (level ≤ referenceActivity ν (normalizedTarget σ g (Function.update load light (a * I)) light) 0 d ↔ I0 ≤ I)) ∧ I0 * d / (K * level / (a * ν)) = ν * d / F * ((1 + g * F / level) / (1 - g - level / F)) ∧ 1 ≤ I0 * d / (K * level / (a * ν)) ∧ I0 * d / (K * level / (a * ν)) ≤ Real.exp δt * (1 + δg) / (1 - δn)

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

          theorem MindFormal.result_02_19_clause_4_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CH CL : NoiseFrozen Ω N n T Λ J 𝒩) (kH kL : ℕ) (iH iL : Fin N) (WH : FanTargetWindow CH.run kH iH) (WL : FanTargetWindow CL.run kL iL) (correctH correctL : Set Ω) (hcH : MeasurableSet correctH) (hcL : MeasurableSet correctL) (hpH : 0 < CH.run.data.μ.real correctH) (hpL : 0 < CL.run.data.μ.real correctL) (scoredH : CH.run.act kH iH (WH.d + max WH.rminus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bminus)) (WH.d + max WH.rplus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bplus)) ⊆ correctH) (scoredL : CL.run.act kL iL (WL.d + max WL.rminus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bminus)) (WL.d + max WL.rplus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bplus)) ⊆ correctL) (tailH : MeasureTheory.MemLp (CH.run.latency kH) 2 CH.run.data.μ[|correctH]) (tailL : MeasureTheory.MemLp (CL.run.latency kL) 2 CL.run.data.μ[|correctL]) {MH ML : ℝ} (hMH : 0 ≤ MH) (hML : 0 ≤ ML) (momentH : ∫ (z : Ω), CH.run.latency kH z ^ 2 ∂CH.run.data.μ[|correctH] ≤ MH ^ 2) (momentL : ∫ (z : Ω), CL.run.latency kL z ^ 2 ∂CL.run.data.μ[|correctL] ≤ ML ^ 2) :
          have LH := WH.d + max WH.rminus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bminus); have UH := WH.d + max WH.rplus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bplus); have LL := WL.d + max WL.rminus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bminus); have UL := WL.d + max WL.rplus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bplus); have μH := ∫ (z : Ω), CH.run.latency kH z ∂CH.run.data.μ[|correctH]; have μL := ∫ (z : Ω), CL.run.latency kL z ∂CL.run.data.μ[|correctL]; (LH * (1 - CH.run.control.failure) ≤ μH ∧ μH ≤ UH + MH * √CH.run.control.failure) ∧ (LL * (1 - CL.run.control.failure) ≤ μL ∧ μL ≤ UL + ML * √CL.run.control.failure) ∧ (UL + ML * √CL.run.control.failure < LH * (1 - CH.run.control.failure) → μL < μH)

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

          theorem MindFormal.result_02_19_clause_1_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CH CL : NoiseFrozen Ω N n T Λ J 𝒩) (kH kL : ℕ) (iH iL : Fin N) (WH : FanTargetWindow CH.run kH iH) (WL : FanTargetWindow CL.run kL iL) {A K QH QL : ℝ} (hA : 0 < A) (hK : 0 < K) (hQL : 0 ≤ QL) (hQ : QL < QH) (hTH : WH.target = A / (K + A + QH) - CH.run.data.toPhysicalNoiseData.data.activity.g) (hTL : WL.target = A / (K + A + QL) - CL.run.data.toPhysicalNoiseData.data.activity.g) (hg : CH.run.data.toPhysicalNoiseData.data.activity.g = CL.run.data.toPhysicalNoiseData.data.activity.g) (correctH correctL : Set Ω) (hcH : MeasurableSet correctH) (hcL : MeasurableSet correctL) (hpH : 0 < CH.run.data.μ.real correctH) (hpL : 0 < CL.run.data.μ.real correctL) (scoredH : CH.run.act kH iH (WH.d + max WH.rminus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bminus)) (WH.d + max WH.rplus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bplus)) ⊆ correctH) (scoredL : CL.run.act kL iL (WL.d + max WL.rminus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bminus)) (WL.d + max WL.rplus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bplus)) ⊆ correctL) (tailH : MeasureTheory.MemLp (CH.run.latency kH) 2 CH.run.data.μ[|correctH]) (tailL : MeasureTheory.MemLp (CL.run.latency kL) 2 CL.run.data.μ[|correctL]) {MH ML : ℝ} (hMH : 0 ≤ MH) (hML : 0 ≤ ML) (momentH : ∫ (z : Ω), CH.run.latency kH z ^ 2 ∂CH.run.data.μ[|correctH] ≤ MH ^ 2) (momentL : ∫ (z : Ω), CL.run.latency kL z ^ 2 ∂CL.run.data.μ[|correctL] ≤ ML ^ 2) (meanMargin : WL.d + max WL.rplus (passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bplus) + ML * √CL.run.control.failure < (WH.d + max WH.rminus (passageTime CH.run.data.toPhysicalNoiseData.data.activity.ν WH.target WH.start WH.bminus)) * (1 - CH.run.control.failure)) :
          WH.target < WL.target ∧ ∫ (z : Ω), CL.run.latency kL z ∂CL.run.data.μ[|correctL] < ∫ (z : Ω), CH.run.latency kH z ∂CH.run.data.μ[|correctH]

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

          theorem MindFormal.result_02_16_clause_2_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (b : Fin n) (τ : T) {pL q QS Tt : ℝ} (hpL : 0 < pL) (hq : 0 < q) (hQS : 0 ≤ QS) (hT : 0 ≤ Tt) {h R : ℝ → ℝ} (hh : Continuous h) (hR : IntervalIntegrable R MeasureTheory.volume 0 Tt) (hRnn : ∀ (s : ℝ), 0 ≤ R s) (hhnn : ∀ (s : ℝ), 0 ≤ h s) {m : ℕ} (a len hj Rj Bminus Bplus : Fin m → ℝ) (hlen : ∀ (j : Fin m), 0 < len j) (hin : ∀ (j : Fin m), 0 ≤ a j ∧ a j + len j ≤ Tt) (hdisj : ∀ (j k : Fin m), j ≠ k → Disjoint (Set.Icc (a j) (a j + len j)) (Set.Icc (a k) (a k + len k))) (hoff : ∀ s ∈ Set.Icc 0 Tt, (∀ (j : Fin m), s ∉ Set.Icc (a j) (a j + len j)) → R s = 0) (hbounds : ∀ (j : Fin m), ∀ s ∈ Set.Icc (a j) (a j + len j), hj j ≤ h s ∧ Rj j ≤ R s ∧ Bminus j ≤ shockFeedback (E.data.data.τ τ) h Tt s ∧ shockFeedback (E.data.data.τ τ) h Tt s ≤ Bplus j) (hhj : ∀ (j : Fin m), 0 < hj j) (hRj : ∀ (j : Fin m), 0 < Rj j) (hB : ∀ (j : Fin m), 0 < Bminus j) (hm : 0 < m) :
          have η := E.data.data.η b; have Dv := η * pL * ∑ j : Fin m, len j * hj j * Rj j * Real.exp (-η * QS * Bplus j) * (1 - Real.exp (-η * q ^ 2 * Bminus j)); 0 < Dv ∧ Dv ≤ pL * learnedFactor η (E.data.data.τ τ) h R Tt QS - pL * learnedFactor η (E.data.data.τ τ) h R Tt (QS + q ^ 2)

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

          theorem MindFormal.result_02_18_clause_2_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CC CI : NoiseFrozen Ω N n T Λ J 𝒩) (iC iI : Fin N) (WC : FanTargetWindow CC.run 0 iC) (WI : FanTargetWindow CI.run 0 iI) (separation : WC.d + max WC.rplus (passageTime CC.run.data.toPhysicalNoiseData.data.activity.ν WC.target WC.start WC.bplus) < WI.d + max WI.rminus (passageTime CI.run.data.toPhysicalNoiseData.data.activity.ν WI.target WI.start WI.bminus)) (correctC correctI : Set Ω) (hcC : MeasurableSet correctC) (hcI : MeasurableSet correctI) (hpC : 0 < CC.run.data.μ.real correctC) (hpI : 0 < CI.run.data.μ.real correctI) (scoredC : CC.run.act 0 iC (WC.d + max WC.rminus (passageTime CC.run.data.toPhysicalNoiseData.data.activity.ν WC.target WC.start WC.bminus)) (WC.d + max WC.rplus (passageTime CC.run.data.toPhysicalNoiseData.data.activity.ν WC.target WC.start WC.bplus)) ⊆ correctC) (scoredI : CI.run.act 0 iI (WI.d + max WI.rminus (passageTime CI.run.data.toPhysicalNoiseData.data.activity.ν WI.target WI.start WI.bminus)) (WI.d + max WI.rplus (passageTime CI.run.data.toPhysicalNoiseData.data.activity.ν WI.target WI.start WI.bplus)) ⊆ correctI) (tailC : MeasureTheory.MemLp (CC.run.latency 0) 2 CC.run.data.μ[|correctC]) (tailI : MeasureTheory.MemLp (CI.run.latency 0) 2 CI.run.data.μ[|correctI]) {MC MI : ℝ} (hMC : 0 ≤ MC) (hMI : 0 ≤ MI) (momentC : ∫ (z : Ω), CC.run.latency 0 z ^ 2 ∂CC.run.data.μ[|correctC] ≤ MC ^ 2) (momentI : ∫ (z : Ω), CI.run.latency 0 z ^ 2 ∂CI.run.data.μ[|correctI] ≤ MI ^ 2) (meanMargin : WC.d + max WC.rplus (passageTime CC.run.data.toPhysicalNoiseData.data.activity.ν WC.target WC.start WC.bplus) + MC * √CC.run.control.failure < (WI.d + max WI.rminus (passageTime CI.run.data.toPhysicalNoiseData.data.activity.ν WI.target WI.start WI.bminus)) * (1 - CI.run.control.failure)) :
          1 - (CC.run.control.failure + CI.run.control.failure) ≤ (CC.run.data.μ.prod CI.run.data.μ).real {z : Ω × Ω | CC.run.latency 0 z.1 < CI.run.latency 0 z.2} ∧ ∫ (z : Ω), CC.run.latency 0 z ∂CC.run.data.μ[|correctC] < ∫ (z : Ω), CI.run.latency 0 z ∂CI.run.data.μ[|correctI]

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

          structure MindFormal.NoisePressRace {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} :
          Type (max (max (max (max u_1 u_2) u_3) u_4) u_5)

          02.16 (16.5), for any case of noise: a test run C and a baseline run of one press case, the source's count parameters, and the entry's press premises on each run: persistent aversive press reads with count-boundary clearance displaced by the first-hit window, for testCount+1 and baseCount+1 presses, the baseline certified on the test run's corridor event (common, the Claim's "on G"), the source count formula for the test count, the defined trials (a positive total count), their measurability and mass, an integrable ratio and failure below one. No count identification is a field.

          Instances For
            def MindFormal.NoisePressRace.toCase {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (P : NoisePressRace) :

            02.16 (16.5): the press case with its count identification derived from the press premises by the native count, not supplied.

            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              structure MindFormal.AdmittedPressRace {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] :
              Type (max (max (max u_1 u_2) u_3) u_4)

              02.16 (16.5), for constant noise: the press race of NoisePressRace on admitted frozen applications; its count identification is derived, never a field.

              Instances For
                def MindFormal.AdmittedPressRace.toNoise {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] (P : AdmittedPressRace) :

                02.16: the constant-noise press race is the general one at the constant case.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  theorem MindFormal.second_response_upper_nonneg {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : LiveData Ω N n T Λ J 𝒩} {i j : Fin N} (W : SecondResponseWindow C i j) :

                  02.17 (17.1): the second-response window's upper end, measured from the onset, is nonnegative: R2's held curve reaches b+ a positive time after its onset.

                  02.17 (17.1), (13.9): the derived second-response window [L,U], measured from the onset s, is [L-s,U-s] with L-s≥0, on the corridor event, which lies inside the event that the second action occurs; conditioning on that event keeps the failure allowance.

                  theorem MindFormal.second_response_rt_lower {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : NoiseFrozen Ω N n T Λ J 𝒩} {i j : Fin N} (W : SecondResponseWindow C.run i j) (occur : Set Ω) (hoccur : occur = {z : Ω | (C.run.data.toPhysicalNoiseData.globalData z).event false 1 ≠ none}) (hm : MeasurableSet occur) (hp : 0 < C.run.data.μ.real occur) (tail : MeasureTheory.MemLp (fun (z : Ω) => C.run.latency 1 z - W.onset) 2 C.run.data.μ[|occur]) {M : ℝ} (hM : 0 ≤ M) (moment : ∫ (z : Ω), (C.run.latency 1 z - W.onset) ^ 2 ∂C.run.data.μ[|occur] ≤ M ^ 2) (after : ∀ᵐ (z : Ω) ∂C.run.data.μ[|occur], W.onset ≤ C.run.latency 1 z) :

                  02.17 (17.1), (13.9), lower mean bound: with the scored second response following its onset almost surely on the event that it occurs, square integrability of the time from onset and its conditional second moment at most M^2, the mean time from onset is at least (L-s)(1-eps).

                  theorem MindFormal.second_response_rt_upper {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {C : NoiseFrozen Ω N n T Λ J 𝒩} {i j : Fin N} (W : SecondResponseWindow C.run i j) (occur : Set Ω) (hoccur : occur = {z : Ω | (C.run.data.toPhysicalNoiseData.globalData z).event false 1 ≠ none}) (hm : MeasurableSet occur) (hp : 0 < C.run.data.μ.real occur) (tail : MeasureTheory.MemLp (fun (z : Ω) => C.run.latency 1 z - W.onset) 2 C.run.data.μ[|occur]) {M : ℝ} (hM : 0 ≤ M) (moment : ∫ (z : Ω), (C.run.latency 1 z - W.onset) ^ 2 ∂C.run.data.μ[|occur] ≤ M ^ 2) :

                  02.17 (17.1), (13.9), upper mean bound: with square integrability of the time from onset on the event that the second action occurs and its conditional second moment at most M^2, the mean time from onset is at most (U-s)+M sqrt(eps). No sign of the time is assumed.

                  theorem MindFormal.result_02_17_clause_1_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CS CL : NoiseFrozen Ω N n T Λ J 𝒩) (i j : Fin N) (WS : SecondResponseWindow CS.run i j) (WL : SecondResponseWindow CL.run i j) (separation : max (WL.onset + passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bplus) (WL.first.toLiveFanWindow.upper + CL.run.data.pause false) - WL.onset < max (WS.onset + passageTime CS.run.data.toPhysicalNoiseData.data.activity.ν WS.target WS.start WS.bminus) (WS.first.toLiveFanWindow.lower + CS.run.data.pause false) - WS.onset) (occurS occurL : Set Ω) (hoccurS : occurS = {z : Ω | (CS.run.data.toPhysicalNoiseData.globalData z).event false 1 ≠ none}) (hoccurL : occurL = {z : Ω | (CL.run.data.toPhysicalNoiseData.globalData z).event false 1 ≠ none}) (hmS : MeasurableSet occurS) (hmL : MeasurableSet occurL) (hpS : 0 < CS.run.data.μ.real occurS) (hpL : 0 < CL.run.data.μ.real occurL) (tailS : MeasureTheory.MemLp (fun (z : Ω) => CS.run.latency 1 z - WS.onset) 2 CS.run.data.μ[|occurS]) (tailL : MeasureTheory.MemLp (fun (z : Ω) => CL.run.latency 1 z - WL.onset) 2 CL.run.data.μ[|occurL]) {MS ML : ℝ} (hMS : 0 ≤ MS) (hML : 0 ≤ ML) (momentS : ∫ (z : Ω), (CS.run.latency 1 z - WS.onset) ^ 2 ∂CS.run.data.μ[|occurS] ≤ MS ^ 2) (momentL : ∫ (z : Ω), (CL.run.latency 1 z - WL.onset) ^ 2 ∂CL.run.data.μ[|occurL] ≤ ML ^ 2) (scoredAfterOnset : ∀ᵐ (z : Ω) ∂CS.run.data.μ[|occurS], WS.onset ≤ CS.run.latency 1 z) (meanMargin : max (WL.onset + passageTime CL.run.data.toPhysicalNoiseData.data.activity.ν WL.target WL.start WL.bplus) (WL.first.toLiveFanWindow.upper + CL.run.data.pause false) - WL.onset + ML * √CL.run.control.failure < (max (WS.onset + passageTime CS.run.data.toPhysicalNoiseData.data.activity.ν WS.target WS.start WS.bminus) (WS.first.toLiveFanWindow.lower + CS.run.data.pause false) - WS.onset) * (1 - CS.run.control.failure)) :
                  1 - (CS.run.control.failure + CL.run.control.failure) ≤ (CS.run.data.μ.prod CL.run.data.μ).real {z : Ω × Ω | CL.run.latency 1 z.2 - WL.onset < CS.run.latency 1 z.1 - WS.onset} ∧ ∫ (z : Ω), CL.run.latency 1 z - WL.onset ∂CL.run.data.μ[|occurL] < ∫ (z : Ω), CS.run.latency 1 z - WS.onset ∂CS.run.data.μ[|occurS]

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

                  theorem MindFormal.sourcePressCount_antitone {D r ν target start ω av θ v1 v2 : ℝ} (hν : 0 < ν) (hav : 0 < av) (hθ : 0 < θ) (hv : v1 ≤ v2) (hlow : start < ω + av * v1) (hhigh : ω + av * v2 < target) :
                  sourcePressCount D r ν target start ω av v2 θ ≤ sourcePressCount D r ν target start ω av v1 θ

                  02.16 (16.5): with positive press sensitivity a_v and both effective thresholds ω+a_v v inside (start, target), the source press count can only fall as the light's aversion v rises: a higher threshold is reached later, leaving fewer pauses in the test.

                  theorem MindFormal.result_02_16_clause_1_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (b : Fin n) (τ : T) (compound single : NoisePressRace) {pL q QS Tt : ℝ} (hpL : 0 < pL) (hq : 0 < q) (hQS : 0 ≤ QS) (hT : 0 ≤ Tt) {h R : ℝ → ℝ} (hh : Continuous h) (hR : IntervalIntegrable R MeasureTheory.volume 0 Tt) (hRnn : ∀ (s : ℝ), 0 ≤ R s) (hhnn : ∀ (s : ℝ), 0 ≤ h s) {m : ℕ} (a len hj Rj Bminus Bplus : Fin m → ℝ) (hlen : ∀ (j : Fin m), 0 < len j) (hin : ∀ (j : Fin m), 0 ≤ a j ∧ a j + len j ≤ Tt) (hdisj : ∀ (j k : Fin m), j ≠ k → Disjoint (Set.Icc (a j) (a j + len j)) (Set.Icc (a k) (a k + len k))) (hoff : ∀ s ∈ Set.Icc 0 Tt, (∀ (j : Fin m), s ∉ Set.Icc (a j) (a j + len j)) → R s = 0) (hbounds : ∀ (j : Fin m), ∀ s ∈ Set.Icc (a j) (a j + len j), hj j ≤ h s ∧ Rj j ≤ R s ∧ Bminus j ≤ shockFeedback (E.data.data.τ τ) h Tt s ∧ shockFeedback (E.data.data.τ τ) h Tt s ≤ Bplus j) (hhj : ∀ (j : Fin m), 0 < hj j) (hRj : ∀ (j : Fin m), 0 < Rj j) (hB : ∀ (j : Fin m), 0 < Bminus j) (hm : 0 < m) (hvC : compound.v = pL * learnedFactor (E.data.data.η b) (E.data.data.τ τ) h R Tt (QS + q ^ 2)) (hvS : single.v = pL * learnedFactor (E.data.data.η b) (E.data.data.τ τ) h R Tt QS) (hD : compound.D = single.D) (hr : compound.r = single.r) (hν : compound.ν = single.ν) (htarget : compound.target = single.target) (hstart : compound.start = single.start) (hω : compound.ω = single.ω) (hav : compound.av = single.av) (hθ : compound.C.run.data.pause false = single.C.run.data.pause false) (hνpos : 0 < single.ν) (havpos : 0 < single.av) (hreach : single.start < single.ω + single.av * compound.v) (hhead : single.ω + single.av * single.v < single.target) (sourceRatioMargin : single.C.run.control.failure / (1 - single.C.run.control.failure) + compound.C.run.control.failure / (1 - compound.C.run.control.failure) < ↑(compound.testCount + 1) / (↑(compound.testCount + 1) + ↑(compound.baseCount + 1)) - ↑(single.testCount + 1) / (↑(single.testCount + 1) + ↑(single.baseCount + 1))) :
                  compound.v < single.v ∧ single.testCount ≤ compound.testCount ∧ ∫ (z : Ω), single.C.run.pressRatio single.baselineRun.run single.press z ∂single.C.run.data.μ[|single.defined] < ∫ (z : Ω), compound.C.run.pressRatio compound.baselineRun.run compound.press z ∂compound.C.run.data.μ[|compound.defined]

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

                  theorem MindFormal.result_02_16_clause_1_mechanism_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (b : Fin n) (τ : T) :
                  have d := E.data.toPhysicalNoiseData.data; (∀ (u q : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (γ : Fin N → ℝ) (hv hd z R : ℝ), (∀ (j : Fin N), d.presence (mindTrace s j) = γ j * hv) → (∀ (j : Fin N), assembledPresenceRate d s j = γ j * hd) → (∀ (j : Fin N), mindValue s j b τ = γ j * z) → d.reward u b = R → d.response (assembledResidual d u s τ) b = assembledResidual d u s τ b → ∀ (i : Fin N), assembledDrift d u q s (Sum.inr (Sum.inr (Sum.inl (i, b, τ)))) = γ i * (d.η b * hv * (R + (∑ j : Fin N, γ j ^ 2) * (hd - hv / d.τ τ) * z))) ∧ ∀ (Q Tt T_1 : ℝ) (h h' R : ℝ → ℝ), (∀ (t : ℝ), HasDerivAt h (h' t) t) → IntervalIntegrable R MeasureTheory.volume 0 Tt → T_1 ∈ Set.Ioo 0 Tt → ContinuousAt R T_1 → HasDerivAt (fun (t : ℝ) => learnedFactor (d.η b) (d.τ τ) h R t Q) (d.η b * h T_1 * (R T_1 + Q * (h' T_1 - h T_1 / d.τ τ) * learnedFactor (d.η b) (d.τ τ) h R T_1 Q)) T_1

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

                  theorem MindFormal.result_02_9_clause_6_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) :
                  (∀ x ∈ instanceArgumentDomain, (∀ (i : Fin N) (b : Fin n) (a : T), mindValue x.1 i b a = 0) → ∀ (i : Fin N) (a : T), (fun (b : Fin n) (j : J) => E.mind.amplitude x (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) j) ≠ 0) ∧ (∀ (z : Ω) (t : ℝ), 0 ≤ t → ∀ (i : Fin N) (b : Fin n) (a : T), mindValue ((E.data.toPhysicalNoiseData.globalData z).state t) i b a = (mindValue ((E.data.toPhysicalNoiseData.globalData z).state 0) i b a + ∫ (s : ℝ) in 0..t, assembledDrift (E.data.toPhysicalNoiseData.globalData z).data ((E.data.toPhysicalNoiseData.globalData z).input s) ((E.data.toPhysicalNoiseData.globalData z).pulse s) ((E.data.toPhysicalNoiseData.globalData z).state s) (Sum.inr (Sum.inr (Sum.inl (i, b, a))))) + (E.data.toPhysicalNoiseData.globalData z).driver t.toNNReal (Sum.inr (Sum.inr (Sum.inl (i, b, a))))) ∧ InstanceAdmission rankTwoInstance ∧ (Matrix.of fun (i b : Fin 2) => ∑ j : CoordinateIndex (Fin 2) 2 Unit Unit, rankTwoInstance.amplitude 0 (Sum.inr (Sum.inr (Sum.inl (i, b, ())))) j * if j = Sum.inr (Sum.inr (Sum.inl (0, 0, ()))) ∨ j = Sum.inr (Sum.inr (Sum.inl (1, 1, ()))) then 1 else 0).rank = 2

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

                  theorem MindFormal.result_02_1_clause_3_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) :
                  have G := E.data.toPhysicalNoiseData.globalData z; (∀ (j : ℕ) (t : ℝ) (i : Fin N), G.event true j = some (t, i) → G.reads.awarenessBar ≤ mindActivity (G.state t) i ∧ G.reads.attentionBar ≤ G.reads.attention ((physicalReadState i) (G.realPath t))) ∧ (∀ (j : ℕ) (t : ℝ) (i : Fin N), G.event false j = some (t, i) → G.reads.outputs i = true ∧ G.reads.actionBar ≤ G.reads.output ((physicalReadState i) (G.realPath t))) ∧ (∀ (H : NNReal), ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), G.pulse t i ∈ {0, 1} ∧ G.pulse t i = historyPulse (G.pause true) (↑((G.toFinite H).coupledHistory true)) t i) ∧ (∀ (H : ℝ) (c : Bool) (k : ℕ) (t : ℝ) (i : Fin N), ((G.native H c).search k).event = some (t, i) → (G.native H c).release (k + 1) = t + G.pause c) ∧ InstanceAdmission (baseInstance 1) ∧ assembledDrift (baseInstance 1).drift 0 (fun (x : Fin 1) => historyPulse ((baseInstance 1).pause true) (oneFocusHistory 0 0) 0 0) 0 (Sum.inr (Sum.inl 0)) ≠ assembledDrift (baseInstance 1).drift 0 (fun (x : Fin 1) => historyPulse ((baseInstance 1).pause true) (emptyHistory (Fin 1)) 0 0) 0 (Sum.inr (Sum.inl 0))

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

                  theorem MindFormal.result_02_20_clause_5_bracket_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) :
                  1 - C.run.control.failure ≤ C.run.data.μ.real C.run.good ∧ ∀ z ∈ C.run.good, (∀ (f : MindState (Fin N) n T Λ → ℝ) (εS ϑ : ℝ), (∀ (x y : MindState (Fin N) n T Λ), ‖x - y‖ ≤ C.run.control.error → |f x - f y| ≤ εS) → ((firstHit ↑C.run.horizon fun (t : ℝ) => ϑ - εS ≤ f ((ContinuousMap.IccExtend ⋯ C.run.reference.path) t)) ≤ firstHit ↑C.run.horizon fun (t : ℝ) => ϑ ≤ f ((C.run.data.toPhysicalNoiseData.globalData z).state t)) ∧ (firstHit ↑C.run.horizon fun (t : ℝ) => ϑ ≤ f ((C.run.data.toPhysicalNoiseData.globalData z).state t)) ≤ firstHit ↑C.run.horizon fun (t : ℝ) => ϑ + εS ≤ f ((ContinuousMap.IccExtend ⋯ C.run.reference.path) t)) ∧ (∀ (i : Fin N) (ϑ : ℝ), ((firstHit ↑C.run.horizon fun (t : ℝ) => ϑ - C.run.error ≤ C.run.score i t) ≤ firstHit ↑C.run.horizon fun (t : ℝ) => ϑ ≤ frozenScoreActual C.run.data.toPhysicalNoiseData C.run.data.reads.output z i t) ∧ (firstHit ↑C.run.horizon fun (t : ℝ) => ϑ ≤ frozenScoreActual C.run.data.toPhysicalNoiseData C.run.data.reads.output z i t) ≤ firstHit ↑C.run.horizon fun (t : ℝ) => ϑ + C.run.error ≤ C.run.score i t) ∧ ∀ (i : Fin N) (ϑ : ℝ), ((firstHit ↑C.run.horizon fun (t : ℝ) => ϑ - C.run.control.scoreError C.run.data.reads.attention ⋯ ≤ frozenScoreReference C.run.reference C.run.data.reads.attention i t) ≤ firstHit ↑C.run.horizon fun (t : ℝ) => ϑ ≤ frozenScoreActual C.run.data.toPhysicalNoiseData C.run.data.reads.attention z i t) ∧ (firstHit ↑C.run.horizon fun (t : ℝ) => ϑ ≤ frozenScoreActual C.run.data.toPhysicalNoiseData C.run.data.reads.attention z i t) ≤ firstHit ↑C.run.horizon fun (t : ℝ) => ϑ + C.run.control.scoreError C.run.data.reads.attention ⋯ ≤ frozenScoreReference C.run.reference C.run.data.reads.attention i t

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

                  theorem MindFormal.result_02_18_clause_3_live_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseFrozen Ω N n T Λ J 𝒩) (light : Fin N) {a K I d : ℝ} (ha : 0 < a) (hK : 0 < K) (hI : 0 ≤ I) (hd : 0 < d) (hdH : d ≤ ↑C.run.horizon) (hrest : C.run.refAct light 0 = 0) (hexposure : ∀ s ∈ Set.Ioc 0 d, C.run.reference.target light s = max (a * I / (K + a * I) - C.run.data.toPhysicalNoiseData.data.activity.g) 0) (hoffset : ∀ s ∈ Set.Ioc d ↑C.run.horizon, C.run.reference.target light s ≤ max (a * I / (K + a * I) - C.run.data.toPhysicalNoiseData.data.activity.g) 0 * (1 - Real.exp (-C.run.data.toPhysicalNoiseData.data.activity.ν * d))) (hband : C.run.control.error < C.run.data.reads.awarenessBar) (hrange : C.run.data.toPhysicalNoiseData.data.activity.g + (C.run.data.reads.awarenessBar + C.run.control.error) / (1 - Real.exp (-C.run.data.toPhysicalNoiseData.data.activity.ν * d)) < 1) :
                  have ν := C.run.data.toPhysicalNoiseData.data.activity.ν; have g := C.run.data.toPhysicalNoiseData.data.activity.g; have α := C.run.data.reads.awarenessBar; have E := C.run.control.error; have F := 1 - Real.exp (-ν * d); have Iminus := K / a * (g + (α - E) / F) / (1 - g - (α - E) / F); have Iplus := K / a * (g + (α + E) / F) / (1 - g - (α + E) / F); have seen := {z : Ω | ∃ t ∈ Set.Icc 0 ↑C.run.horizon, α ≤ (C.run.data.toPhysicalNoiseData.globalData z).state t (Sum.inr (Sum.inl light))}; (I < Iminus → C.run.data.μ.real seen ≤ C.run.control.failure) ∧ (Iplus ≤ I → 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | α ≤ (C.run.data.toPhysicalNoiseData.globalData z).state d (Sum.inr (Sum.inl light))}) ∧ (Iplus ≤ I → 1 - C.run.control.failure ≤ C.run.data.μ.real seen) ∧ ∀ (q : ℝ), C.run.control.failure < q → q < 1 - C.run.control.failure → (q ≤ C.run.data.μ.real seen → Iminus ≤ I) ∧ (C.run.data.μ.real seen ≤ q → I < Iplus)

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

                  theorem MindFormal.result_02_20_clause_4_learning_general {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) {ι : Type u_5} (F : ι → (ℝ → MindState (Fin N) n T Λ) → (Fin N → ℝ → ℝ) → (Fin N → ℝ → ℝ) → ℝ) (LS LY LO : ι → ℝ) (sensitivity : ∀ (k : ι) (x x' : ℝ → MindState (Fin N) n T Λ) (Y Y' O O' : Fin N → ℝ → ℝ) (eS eY eO : ℝ), (∀ t ∈ Set.Icc 0 ↑C.run.horizon, ∀ (j : CoordinateIndex (Fin N) n T Λ), |x t j - x' t j| ≤ eS) → (∀ t ∈ Set.Icc 0 ↑C.run.horizon, ∀ (i : Fin N), |Y i t - Y' i t| ≤ eY) → (∀ t ∈ Set.Icc 0 ↑C.run.horizon, ∀ (i : Fin N), |O i t - O' i t| ≤ eO) → |F k x Y O - F k x' Y' O'| ≤ LS k * eS + LY k * eY + LO k * eO) (margin : ∀ (z : Ω) (k : ι), LS k * C.run.control.error + LY k * C.run.control.scoreError C.run.data.reads.attention ⋯ + LO k * C.run.control.scoreError C.run.data.reads.output ⋯ < F k (fun (t : ℝ) => (ContinuousMap.IccExtend ⋯ (C.run.reference z).path) t) (learningScoreReference C.run.reference C.run.data.reads.attention z) (learningScoreReference C.run.reference C.run.data.reads.output z)) :

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