MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.ClauseProofs

The definitions, lemmas and general forms (…_general, for any case of noise) that chapter 3's clause theorems in Chapters/Ch03 use. Nothing here is tagged.

theorem MindFormal.firstAt_reference_time {M : ℕ} {ν : ℝ} (hν : 0 < ν) (target start need : Fin M → ℝ) {t : ℝ} {i : Fin M} (hf : FirstAt (fun (j : Fin M) => referenceActivity ν (target j) (start j)) need t i) (hs : start i < need i) :
need i < target i ∧ t = passageTime ν (target i) (start i) (need i)

03.12, 03.19 helper; ORDER O03. Own conditions: held paths from starts toward constant targets at rate ν>0 (hν), requirements, a first selection of label i at time t (hf) and a start of i below its requirement (hs). Conclusion: the requirement is below the target of i and t is its logarithmic arrival.

theorem MindFormal.result_03_7_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) :
(∀ (path read : ℝ → ℝ) (L ω : ℝ), Continuous read → Filter.Tendsto path Filter.atTop (nhds L) → ω < read L → ∃ (t : ℝ), 0 ≤ t ∧ ω < read (path t)) ∧ ∀ (h : ℝ), 0 < h → Filter.Tendsto (referenceActivity experiment.data.data.activity.ν h 0) Filter.atTop (nhds h) ∧ ∀ (t : ℝ), 0 ≤ t → referenceActivity experiment.data.data.activity.ν h 0 t < h

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

theorem MindFormal.result_03_7_clause_9_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (a h : Fin M → ℝ) (hh : ∀ (j : Fin M), 0 < h j) (i : Fin M) :
((∃ (t : ℝ), FirstAt (fun (j : Fin M) => referenceActivity experiment.data.data.activity.ν (a j) 0) h t i) ↔ h i < a i ∧ (∀ (j : Fin M), h j < a j → h i / a i ≤ h j / a j) ∧ ∀ (j : Fin M), h j < a j → h i / a i = h j / a j → i ≤ j) ∧ (∀ (c : Fin M → ℝ) (ω : ℝ), (∀ (j : Fin M), h j = ω - c j) → ∀ (j : Fin M), Filter.Tendsto (fun (t : ℝ) => referenceActivity experiment.data.data.activity.ν (a j) 0 t + c j) Filter.atTop (nhds (ω + (a j - h j)))) ∧ (∃ (t : ℝ), FirstAt (fun (j : Fin (Nat.succ 0).succ) => referenceActivity experiment.data.data.activity.ν (![2, 10] j) 0) ![1, 6] t 0) ∧ ![2, 10] 0 - ![1, 6] 0 < ![2, 10] 1 - ![1, 6] 1

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

theorem MindFormal.result_03_12_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (a : Fin M → ℝ) (read : ℝ → ℝ) (ω : ℝ) (ha : ∀ (j : Fin M), 0 ≤ a j) (hc : Continuous read) (hm : MonotoneOn read (Set.Ici 0)) :
(¬{x : ℝ | 0 ≤ x ∧ ω ≤ read x}.Nonempty → ∀ (t : ℝ) (i : Fin M), ¬ScoreFirstAt (fun (j : Fin M) (s : ℝ) => read (referenceActivity experiment.data.data.activity.ν (a j) 0 s)) ω t i) ∧ ({x : ℝ | 0 ≤ x ∧ ω ≤ read x}.Nonempty → 0 < scoreRequirement read ω → (∀ (j : Fin M), extendedPassageTime experiment.data.data.activity.ν (a j) 0 (scoreRequirement read ω) = if scoreRequirement read ω < a j then ↑(passageTime experiment.data.data.activity.ν (a j) 0 (scoreRequirement read ω)) else ⊤) ∧ ∀ (t : ℝ) (i : Fin M), ScoreFirstAt (fun (j : Fin M) (s : ℝ) => read (referenceActivity experiment.data.data.activity.ν (a j) 0 s)) ω t i ↔ scoreRequirement read ω < a i ∧ (∀ (j : Fin M), a j ≤ a i) ∧ (∀ (j : Fin M), a j = a i → i ≤ j) ∧ t = passageTime experiment.data.data.activity.ν (a i) 0 (scoreRequirement read ω))

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

noncomputable def MindFormal.optionalRequirement (read : ℝ → ℝ) (ω : ℝ) :

03.19 helper; ORDER O03. The requirement inf{x>=0: ω<=read x} as an optional value: absent (none) exactly when no nonnegative activity qualifies.

Equations
Instances For
    theorem MindFormal.result_03_19_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (read : ℝ → ℝ) (ω a z : ℝ) (ha : 0 ≤ a) (hz : 0 ≤ z) (hc : Continuous read) (hm : MonotoneOn read (Set.Ici 0)) :
    ReferenceEquation experiment.data.data.activity.ν a (referenceActivity experiment.data.data.activity.ν a z) ∧ referenceActivity experiment.data.data.activity.ν a z 0 = z ∧ (optionalRequirement read ω = none ↔ ∀ (x : ℝ), 0 ≤ x → read x < ω) ∧ (∀ (x : ℝ), 0 ≤ x → (ω ≤ read x ↔ ∃ (h : ℝ), optionalRequirement read ω = some h ∧ h ≤ x)) ∧ ∀ (t : ℝ), 0 ≤ t → (optionalPassageTime experiment.data.data.activity.ν a z (optionalRequirement read ω) ≤ ↑t ↔ ∃ s ∈ Set.Icc 0 t, ω ≤ read (referenceActivity experiment.data.data.activity.ν a z s))

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

    theorem MindFormal.result_03_19_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (a z : Fin M → ℝ) (read : Fin M → ℝ → ℝ) (ω : ℝ) (req : Fin M → Option ℝ) (ha : ∀ (j : Fin M), 0 ≤ a j) (hz : ∀ (j : Fin M), 0 ≤ z j) (hreq : ∀ (j : Fin M) (x : ℝ), 0 ≤ x → (ω ≤ read j x ↔ ∃ (h : ℝ), req j = some h ∧ h ≤ x)) (hstart : ∀ (j : Fin M) (h : ℝ), req j = some h → z j < h) (hnofinite : ∀ (j : Fin M) (h : ℝ), req j = some h → a j ≤ h) (t : ℝ) (i : Fin M) :
    ¬ScoreFirstAt (fun (j : Fin M) (s : ℝ) => read j (referenceActivity experiment.data.data.activity.ν (a j) (z j) s)) ω t i

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

    noncomputable def MindFormal.excursionCertificate {D : Type u_5} [Fintype D] (b H : ℝ) (G : D → ℝ) :

    03.12, 03.19 helper; ORDER O03. The certificate (C8)/(OC4): one minus twice the sum, over coordinates with nonzero loading norm G d, of exp(-b²/(2G_d²H)), floored at zero. A zero loading contributes nothing.

    Equations
    Instances For
      theorem MindFormal.excursionCertificate_tendsto_one {D : Type u_5} [Fintype D] {b H : ℝ} (hb : 0 < b) (hH : 0 < H) (G : D → ℝ) :
      Filter.Tendsto (fun (ε : ℝ) => excursionCertificate b H fun (d : D) => ε * G d) (nhdsWithin 0 (Set.Ioi 0)) (nhds 1)

      03.12, 03.19 helper; ORDER O03. Own conditions: b>0 and H>0 (hb, hH) and loading norms G. Conclusion: scaling every loading by ε>0 and letting ε→0, the certificate excursionCertificate b H (εG) tends to one.

      theorem MindFormal.experiment_hit_iff {Ω : 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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (H : NNReal) (z : Ω) :
      (((experiment.data.toPhysicalNoiseData.globalData z).native (↑H) false).search 0).event ≠ none ↔ ∃ t ∈ Set.Icc 0 ↑H, ∃ (i : Fin N), 0 ≤ (experiment.data.reads.guards false) ((experiment.data.toPhysicalNoiseData.globalData z).realPath t) i

      03.7 P1 on an admitted experiment, at any horizon H: the run continued from its original start records a first action by H exactly when some output read qualifies at a time in [0,H].

      theorem MindFormal.result_03_7_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (H : NNReal) :
      ⨆ s ∈ Set.Icc 0 ↑H, experiment.data.μ {z : Ω | ∃ (i : Fin N), 0 ≤ (experiment.data.reads.guards false) ((experiment.data.toPhysicalNoiseData.globalData z).realPath s) i} ≤ experiment.data.μ {z : Ω | (((experiment.data.toPhysicalNoiseData.globalData z).native (↑H) false).search 0).event ≠ none} ∧ ⨆ s ∈ Set.Ici 0, experiment.data.μ {z : Ω | ∃ (i : Fin N), 0 ≤ (experiment.data.reads.guards false) ((experiment.data.toPhysicalNoiseData.globalData z).realPath s) i} ≤ experiment.data.μ {z : Ω | (experiment.data.toPhysicalNoiseData.globalData z).hitTime false 0 < ⊤}

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

      theorem MindFormal.result_03_19_clause_14_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) {H K : NNReal} (hHK : H ≤ K) {p : ℝ × Fin N} (hfirst : (experiment.data.toPhysicalNoiseData.globalData z).finiteEvent H false 0 = some p) :

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

      noncomputable def MindFormal.heldPath (ν s : ℝ) (a : ℝ → ℝ) (t : ℝ) :

      03.19 helper; ORDER O03. The held activity from start s under a time-varying target path a at rate ν: e^{-νt}s+ν∫_0^t e^{-ν(t-u)}a(u)du.

      Equations
      Instances For
        def MindFormal.FirstAtTop {M : ℕ} (x : Fin M → ℝ → ℝ) (need : Fin M → WithTop ℝ) (t : ℝ) (i : Fin M) :

        03.19 (OC1)–(OC3): first qualification with requirements in [0,∞], an infinite requirement (an empty qualifying set) never qualifying; at the first time, the least label in the fixed order among those qualifying.

        Equations
        Instances For
          theorem MindFormal.result_03_19_clause_13_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (z : Fin M → ℝ) (a : Fin M → ℝ → ℝ) (h : Fin M → WithTop ℝ) (U : Fin M → ℝ) (Hb : Fin M) (hint : ∀ (j : Fin M) (t : ℝ), IntervalIntegrable (a j) MeasureTheory.volume 0 t) (hstart : ∀ (j : Fin M), z j ≤ z Hb) (htarget : ∀ (j : Fin M) (u : ℝ), 0 ≤ u → a j u ≤ a Hb u) (hneed : ∀ (j : Fin M), h Hb ≤ h j) (hU : ∀ (j : Fin M), U j ≤ U Hb) :
          (∀ (j : Fin M) (t : ℝ), 0 ≤ t → h j ≤ ↑(heldPath experiment.data.data.activity.ν (z j) (a j) t) → h Hb ≤ ↑(heldPath experiment.data.data.activity.ν (z Hb) (a Hb) t)) ∧ (∀ (t : ℝ) (i : Fin M), FirstAtTop (fun (j : Fin M) => heldPath experiment.data.data.activity.ν (z j) (a j)) h t i → h Hb ≤ ↑(heldPath experiment.data.data.activity.ν (z Hb) (a Hb) t) ∧ i ≤ Hb) ∧ ((∀ (j : Fin M), U j < U Hb → j < Hb → ∀ (t : ℝ), 0 ≤ t → h j ≤ ↑(heldPath experiment.data.data.activity.ν (z j) (a j) t) → ∃ (t' : ℝ), 0 ≤ t' ∧ t' < t ∧ h Hb ≤ ↑(heldPath experiment.data.data.activity.ν (z Hb) (a Hb) t')) → ∀ (t : ℝ) (i : Fin M), FirstAtTop (fun (j : Fin M) => heldPath experiment.data.data.activity.ν (z j) (a j)) h t i → U i = U Hb)

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

          theorem MindFormal.referenceActivity_le_max_start {ν c x t : ℝ} (hν : 0 ≤ ν) (ht : 0 ≤ t) :

          03.19 (OC2): a held path toward a constant target from a start stays at most the larger of the two.

          theorem MindFormal.result_03_19_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (U a : Fin M → ℝ) (h : Fin M → WithTop ℝ) (s : ℝ) (Hb : Fin M) (hH : ℝ) (hHb : h Hb = ↑hH) (hs : ∀ (j : Fin M), ↑s < h j) (hU : ∀ (j : Fin M), U j ≤ U Hb) (hreach : hH < a Hb) (htarget : ∀ (j : Fin M), a j ≤ a Hb) (hneed : ∀ (j : Fin M), h Hb ≤ h j) (htie : ∀ (j : Fin M) (r : ℝ), h j = ↑r → r < a j → climbFraction (a j) s r = climbFraction (a Hb) s hH → Hb ≤ j ∨ U j = U Hb) :
          (∃ (i : Fin M) (t : ℝ), FirstAtTop (fun (j : Fin M) => referenceActivity experiment.data.data.activity.ν (a j) s) h t i ∧ ∀ (j : Fin M), U j ≤ U i) ∧ normalizedTarget 1 (1 / 10) ![5, 4, 0] 0 = 2 / 5 ∧ normalizedTarget 1 (1 / 10) ![5, 4, 0] 1 = 3 / 10 ∧ 2 * (1 / 10) + 2 / 5 + 3 / 10 < 1 ∧ FirstAt (fun (j : Fin 2) => referenceActivity 1 (normalizedTarget 1 (1 / 10) ![5, 4, 0] j.castSucc) (1 / 20)) (fun (j : Fin 2) => 3 / 10 - ![1 / 5, 1 / 10] j) (Real.log (7 / 6)) 0 ∧ referenceActivity 1 (3 / 10) (1 / 20) (Real.log (5 / 2)) = 3 / 10 - 1 / 10 ∧ Real.log (7 / 6) < Real.log (5 / 2)

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

          theorem MindFormal.heldPath_restart {ν s : ℝ} {a : ℝ → ℝ} {t1 t2 : ℝ} (h1 : IntervalIntegrable a MeasureTheory.volume 0 t1) (h2 : IntervalIntegrable a MeasureTheory.volume t1 t2) :
          heldPath ν s a t2 = Real.exp (-ν * (t2 - t1)) * heldPath ν s a t1 + ν * ∫ (u : ℝ) in t1..t2, Real.exp (-ν * (t2 - u)) * a u

          03.7 helper; ORDER O03. Own conditions: a target path integrable on [0,t1] and [t1,t2] (h1, h2). Conclusion: the held path restarts at t1: x̄(t2)=e^{-ν(t2-t1)}x̄(t1)+ν∫_{t1}^{t2}e^{-ν(t2-u)}a(u)du.

          theorem MindFormal.heldPath_increment_bounds {ν : ℝ} (hν : 0 < ν) {a : ℝ → ℝ} {t1 t2 : ℝ} (h0 : 0 ≤ t1) (h12 : t1 ≤ t2) (ha : MonotoneOn a (Set.Ici 0)) :
          a t1 * (1 - Real.exp (-ν * (t2 - t1))) ≤ ν * ∫ (u : ℝ) in t1..t2, Real.exp (-ν * (t2 - u)) * a u ∧ ν * ∫ (u : ℝ) in t1..t2, Real.exp (-ν * (t2 - u)) * a u ≤ a t2 * (1 - Real.exp (-ν * (t2 - t1)))

          03.7 helper; ORDER O03. Own conditions: rate ν>0 (hν), times 0<=t1<=t2 (h0, h12) and a target nondecreasing on [0,∞) (ha). Conclusion: the restart integral ν∫_{t1}^{t2}e^{-ν(t2-u)}a(u)du lies between a(t1) and a(t2) times the closed fraction 1-e^{-ν(t2-t1)}.

          theorem MindFormal.result_03_7_clause_10_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (x0 B : ℝ) (a : ℝ → ℝ) (hx0 : 0 ≤ x0) (hstart : x0 ≤ a 0) (ha : MonotoneOn a (Set.Ici 0)) (hB : ∀ (u : ℝ), 0 ≤ u → a u ≤ B) :
          MonotoneOn (heldPath experiment.data.data.activity.ν x0 a) (Set.Ici 0) ∧ (∀ (t : ℝ), 0 ≤ t → heldPath experiment.data.data.activity.ν x0 a t ≤ a t) ∧ (∃ (L : ℝ), Filter.Tendsto (heldPath experiment.data.data.activity.ν x0 a) Filter.atTop (nhds L) ∧ ∀ (t : ℝ), 0 ≤ t → heldPath experiment.data.data.activity.ν x0 a t ≤ L) ∧ (∀ (read : ℝ → ℝ) (ω L : ℝ), MonotoneOn read (Set.Ici 0) → Filter.Tendsto (heldPath experiment.data.data.activity.ν x0 a) Filter.atTop (nhds L) → read L < ω → ∀ (t : ℝ), 0 ≤ t → read (heldPath experiment.data.data.activity.ν x0 a t) < ω) ∧ (∃ (t : ℝ), FirstAt (fun (j : Fin (Nat.succ 0).succ) => referenceActivity experiment.data.data.activity.ν (![2, 2] j) 0) ![1, 3 / 2] t 0) ∧ ∃ (t1 : ℝ), 0 ≤ t1 ∧ 3 / 2 ≤ referenceActivity experiment.data.data.activity.ν 2 0 t1

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

          theorem MindFormal.result_03_10_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (t : NNReal) (z : Ω) (c : Bool) (i : Fin N) (hi : nativeContentProcess experiment.data.toPhysicalNoiseData c t z = some i) :
          have G := experiment.data.toPhysicalNoiseData.globalData z; have R := G.native (↑t) c; ∃ (k : ℕ), (R.search k).event = some (↑t, i) ∧ R.release k ≤ ↑t ∧ (∀ (s : ℝ), R.release k ≤ s → s < ↑t → ∀ (j : Fin N), (G.reads.guards c) (G.realPath s) j < 0) ∧ 0 ≤ (G.reads.guards c) (G.realPath ↑t) i ∧ (∀ (j : Fin N), 0 ≤ (G.reads.guards c) (G.realPath ↑t) j → (G.reads.scores c) (G.realPath ↑t) j ≤ (G.reads.scores c) (G.realPath ↑t) i) ∧ (∀ (j : Fin N), 0 ≤ (G.reads.guards c) (G.realPath ↑t) j → (G.reads.scores c) (G.realPath ↑t) j = (G.reads.scores c) (G.realPath ↑t) i → i ≤ j) ∧ R.release (k + 1) = ↑t + experiment.data.toPhysicalNoiseData.pause c

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

          theorem MindFormal.result_03_1_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (t : NNReal) (z : Ω) :
          have S := experiment.data.toPhysicalNoiseData; have G := S.globalData z; have P := G.realPath ↑t; have Y := fun (j : Fin N) => S.reads.attention ((physicalReadState j) P); have O := fun (j : Fin N) => S.reads.output ((physicalReadState j) P); ((G.native (↑t) true).release 0 = 0 ∧ (G.native (↑t) false).release 0 = 0) ∧ (∀ (i : Fin N), constructedFocus S t z = some i → (S.reads.awarenessBar ≤ mindActivity (↑P) i ∧ S.reads.attentionBar ≤ Y i ∧ (∀ (j : Fin N), S.reads.awarenessBar ≤ mindActivity (↑P) j → Y j ≤ Y i) ∧ ∀ (j : Fin N), S.reads.awarenessBar ≤ mindActivity (↑P) j → Y j = Y i → i ≤ j) ∧ ∃ (k : ℕ), ((G.native (↑t) true).search k).event = some (↑t, i) ∧ (G.native (↑t) true).release k ≤ ↑t ∧ (G.native (↑t) true).release (k + 1) = ↑t + S.pause true) ∧ ∀ (i : Fin N), constructedAction S t z = some i → (S.reads.outputs i = true ∧ S.reads.actionBar ≤ O i ∧ (∀ (j : Fin N), S.reads.outputs j = true → O j ≤ O i) ∧ ∀ (j : Fin N), S.reads.outputs j = true → O j = O i → i ≤ j) ∧ ∃ (k : ℕ), ((G.native (↑t) false).search k).event = some (↑t, i) ∧ (G.native (↑t) false).release k ≤ ↑t ∧ (G.native (↑t) false).release (k + 1) = ↑t + S.pause false

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

          noncomputable def MindFormal.LiveData.fullUtility {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (w : Fin n → T → ℝ) (i : Fin N) (z : Ω) (t : ℝ) :

          03.19 helper; ORDER O03. The optimizer's full value (OC1) of content i on the actual run: the sum over every value horizon τ and element b of w_{bτ}v_{ib}(τ).

          Equations
          Instances For
            noncomputable def MindFormal.LiveData.referenceFullUtility {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (w : Fin n → T → ℝ) (i : Fin N) (t : ℝ) :

            03.19 helper; ORDER O03. The same full value on the verified reference.

            Equations
            Instances For
              theorem MindFormal.result_03_19_clause_10_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 : NoiseFrozen Ω N n T Λ J 𝒩) (winner : Fin N) (w : Fin n → T → ℝ) {μ : ℝ} (hout : C.run.data.reads.outputs winner = true) (herr : C.run.error < μ) (OC13winner : C.run.data.reads.actionBar + μ ≤ C.run.score winner ↑C.run.horizon) (OC13rivals : ∀ (j : Fin N), j ≠ winner → C.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, C.run.score j t ≤ C.run.data.reads.actionBar - μ) (OC14 : ∀ (j : Fin N), j ≠ winner → C.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (2 * ∑ τ : T, ∑ b : Fin n, |w b τ|) * C.run.control.error < C.run.referenceFullUtility w winner t - C.run.referenceFullUtility w j t) :
              1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | z ∈ C.run.act 0 winner 0 ↑C.run.horizon ∧ ∀ (j : Fin N), j ≠ winner → C.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, C.run.fullUtility w j z t < C.run.fullUtility w winner z t}

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

              noncomputable def MindFormal.NoiseExperiment.actualStateLaw {Ω : 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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (t : ℝ) :

              03.7 helper. The actual state distribution at time t of an admitted experiment, for any case of noise, as a probability measure on physical states.

              Equations
              Instances For
                noncomputable def MindFormal.actualStateLaw {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (experiment : AdmittedExperiment Ω N n T Λ J) (t : ℝ) :

                03.7 helper. The actual state distribution at time t of an admitted constant-noise experiment, as a probability measure on physical states.

                Equations
                Instances For
                  theorem MindFormal.result_03_7_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) (π : MeasureTheory.ProbabilityMeasure (PhysicalState N n T Λ)) (hconv : Filter.Tendsto experiment.actualStateLaw Filter.atTop (nhds π)) :
                  ↑π {s : PhysicalState N n T Λ | ∃ (i : Fin N), 0 < (experiment.data.reads.guards false) s i} ≤ experiment.data.μ {z : Ω | (experiment.data.toPhysicalNoiseData.globalData z).hitTime false 0 < ⊤}

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

                  theorem MindFormal.result_03_18_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} (CL CH : NoiseFrozen Ω N n T Λ J 𝒩) (kL kH : ℕ) (A B : Fin N) (lowGroup : LiveConfidenceGroup CL.run kL B) (highGroup : LiveConfidenceGroup CH.run kH A) (lowIntegrable : MeasureTheory.Integrable lowGroup.time lowGroup.law) (highL2 : MeasureTheory.MemLp highGroup.time 2 highGroup.law) {M : ℝ} (hM : 0 ≤ M) (secondMoment : ∫ (z : Ω), highGroup.time z ^ 2 ∂highGroup.law ≤ M ^ 2) (sourceGap : 0 < lowGroup.lower - highGroup.upper) (tailMargin : M * √(lowGroup.failure + highGroup.failure) < (1 - (lowGroup.failure + highGroup.failure)) * (lowGroup.lower - highGroup.upper)) :
                  (1 - (lowGroup.failure + highGroup.failure)) * (lowGroup.lower - highGroup.upper) - M * √(lowGroup.failure + highGroup.failure) ≤ ∫ (z : Ω), lowGroup.time z ∂lowGroup.law - ∫ (z : Ω), highGroup.time z ∂highGroup.law ∧ 0 < (1 - (lowGroup.failure + highGroup.failure)) * (lowGroup.lower - highGroup.upper) - M * √(lowGroup.failure + highGroup.failure)

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

                  noncomputable def MindFormal.depthFraction (m : ℕ) (z : ℝ) :

                  03.14 helper; ORDER O03. The (D2) envelope F_m(z)=1-e^{-z}Σ_{k<m}z^k/k!.

                  Equations
                  Instances For

                    03.14 helper; ORDER O03. Conclusion: F_{m+1} has derivative e^{-z}z^m/m! at every z, which equals F_m(z)-F_{m+1}(z).

                    theorem MindFormal.depthFraction_convolution (ν : ℝ) (m : ℕ) (t : ℝ) :
                    ν * ∫ (s : ℝ) in 0..t, Real.exp (-ν * (t - s)) * depthFraction m (ν * s) = depthFraction (m + 1) (ν * t)

                    03.14 helper; ORDER O03. Own conditions: a rate ν, an order m and a time t. Conclusion, the identity (D6) in time: ν∫0^t e^{-ν(t-s)}F_m(νs)ds=F{m+1}(νt).

                    theorem MindFormal.depthFraction_bounds (m : ℕ) {z : ℝ} (hz : 0 ≤ z) :
                    0 ≤ depthFraction (m + 1) z ∧ depthFraction (m + 1) z ≤ z ^ (m + 1) / ↑(m + 1).factorial

                    03.14 helper; ORDER O03. For z>=0, 0<=F_{m+1}(z)<=z^{m+1}/(m+1)!.

                    def MindFormal.RouteDepth {M : ℕ} (e : Fin M → ℝ → ℝ) (R : Fin M → ℝ) (W : Fin M → Fin M → ℝ) :
                    ℕ → Fin M → Prop

                    03.14 helper; ORDER O03. Route depth in the held comparison: every content has depth at least 0; depth at least d+1 means zero held drive at all nonnegative times, nonpositive held residue, and depth at least d for every positive incoming source.

                    Equations
                    Instances For
                      theorem MindFormal.result_03_14_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (e : Fin M → ℝ → ℝ) (R : Fin M → ℝ) (W : Fin M → Fin M → ℝ) (x : Fin M → ℝ → ℝ) {Lψ K : ℝ} (hL : 0 ≤ Lψ) (hK0 : 0 ≤ K) (hK : ∀ (i : Fin M), ∑ l : Fin M, max (W i l) 0 ≤ K) (hψ : ∀ (z : ℝ), 0 ≤ z → z ≤ K → experiment.data.data.transform.ψ z ≤ Lψ * z) (hflow : ∀ (i : Fin M) (t : ℝ), 0 ≤ t → x i t = heldPath experiment.data.data.activity.ν 0 (fun (s : ℝ) => normalizedTarget experiment.data.data.activity.σ experiment.data.data.activity.g (fun (k : Fin M) => experiment.data.data.transform.ψ (e k s + R k + ∑ l : Fin M, W k l * x l s)) i) t) (hint : ∀ (i : Fin M) (t : ℝ), IntervalIntegrable (fun (s : ℝ) => normalizedTarget experiment.data.data.activity.σ experiment.data.data.activity.g (fun (k : Fin M) => experiment.data.data.transform.ψ (e k s + R k + ∑ l : Fin M, W k l * x l s)) i) MeasureTheory.volume 0 t) :
                      (∀ (d : ℕ) (i : Fin M), RouteDepth e R W d i → ∀ (t : ℝ), 0 ≤ t → 0 ≤ x i t ∧ x i t ≤ (1 - experiment.data.data.activity.g) * (Lψ * K / experiment.data.data.activity.σ) ^ d * depthFraction (d + 1) (experiment.data.data.activity.ν * t) ∧ (1 - experiment.data.data.activity.g) * (Lψ * K / experiment.data.data.activity.σ) ^ d * depthFraction (d + 1) (experiment.data.data.activity.ν * t) ≤ (1 - experiment.data.data.activity.g) * (Lψ * K / experiment.data.data.activity.σ) ^ d * ((experiment.data.data.activity.ν * t) ^ (d + 1) / ↑(d + 1).factorial)) ∧ ∀ (i : Fin M), RouteDepth e R W 1 i → Lψ * ∑ l : Fin M, max (W i l) 0 ≤ experiment.data.data.activity.g * experiment.data.data.activity.σ → ∀ (t : ℝ), 0 ≤ t → x i t = 0

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

                      theorem MindFormal.heldPath_start_bracket {ν : ℝ} (hν : 0 < ν) {T : ℝ → ℝ} (hT : ContinuousWithinAt T (Set.Ici 0) 0) (hint : ∀ (t : ℝ), IntervalIntegrable T MeasureTheory.volume 0 t) {ε : ℝ} (hε : 0 < ε) :
                      ∃ (δ : ℝ), 0 < δ ∧ ∀ t ∈ Set.Icc 0 δ, (T 0 - ε) * (1 - Real.exp (-ν * t)) ≤ heldPath ν 0 T t ∧ heldPath ν 0 T t ≤ (T 0 + ε) * (1 - Real.exp (-ν * t))

                      03.14 helper; ORDER O03. Own conditions: rate ν>0 (hν), a target path T right-continuous at the start (hT, continuity within [0,∞) at 0), integrable on every [0,t] (hint), and ε>0 (hε). Conclusion: for some δ>0 the held path from rest satisfies (T(0)-ε)(1-e^{-νt})<=x̄(t)<=(T(0)+ε)(1-e^{-νt}) on [0,δ].

                      theorem MindFormal.result_03_14_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) {M : ℕ} (Tg : Fin M → ℝ → ℝ) (hT : ∀ (i : Fin M), ContinuousWithinAt (Tg i) (Set.Ici 0) 0) (hint : ∀ (i : Fin M) (t : ℝ), IntervalIntegrable (Tg i) MeasureTheory.volume 0 t) (hTnn : ∀ (i : Fin M) (s : ℝ), 0 ≤ s → 0 ≤ Tg i s) (hmaxpos : ∃ (i : Fin M), 0 < Tg i 0) :
                      (∃ (h0 : ℝ), 0 < h0 ∧ ∀ (h : ℝ), 0 < h → h < h0 → ∀ (t : ℝ) (i : Fin M), FirstAt (fun (j : Fin M) => heldPath experiment.data.data.activity.ν 0 (Tg j)) (fun (x : Fin M) => h) t i → ∀ (j : Fin M), Tg j 0 ≤ Tg i 0) ∧ (∀ (o : ℝ → ℝ), Continuous o → StrictMono o → ∃ (ω0 : ℝ), o 0 < ω0 ∧ ∀ (ω : ℝ), o 0 < ω → ω < ω0 → ∀ (t : ℝ) (i : Fin M), ScoreFirstAt (fun (j : Fin M) (s : ℝ) => o (heldPath experiment.data.data.activity.ν 0 (Tg j) s)) ω t i → ∀ (j : Fin M), Tg j 0 ≤ Tg i 0) ∧ ∀ (hs : Fin M), (∀ (j : Fin M), j ≠ hs → Tg j 0 < Tg hs 0) → ∃ (h0 : ℝ), 0 < h0 ∧ ∀ (h : ℝ), 0 < h → h < h0 → ∃ (H : ℝ) (μ : ℝ), 0 < H ∧ 0 < μ ∧ h + μ ≤ heldPath experiment.data.data.activity.ν 0 (Tg hs) H ∧ ∀ (j : Fin M), j ≠ hs → ∀ t ∈ Set.Icc 0 H, heldPath experiment.data.data.activity.ν 0 (Tg j) t ≤ h - μ

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

                      noncomputable def MindFormal.safeStep {S : Type u_5} [MeasurableSpace S] (P : ProbabilityTheory.Kernel S S) (B : Set S) (f : S → ENNReal) :
                      S → ENNReal

                      03.2 helper; ORDER O03. The safe-history operator Qf=1_B·Pf of a history kernel P and safe set B, on [0,∞]-valued functions of histories.

                      Equations
                      Instances For

                        03.2 helper; ORDER O03. The homogeneous history chain's step kernels for the Ionescu–Tulcea construction: the next history is drawn from P at the current one.

                        Equations
                        Instances For
                          theorem MindFormal.chain_safe_weight {S : Type u_5} [MeasurableSpace S] (P : ProbabilityTheory.Kernel S S) [ProbabilityTheory.IsMarkovKernel P] {B : Set S} (hB : MeasurableSet B) (N : ℕ) (f : S → ENNReal) :
                          Measurable f → ∀ (s : S), (∫⁻ (x : ↥(Finset.Iic N) → S), {x : ↥(Finset.Iic N) → S | ∀ (i : ↥(Finset.Iic N)), x i ∈ B}.indicator (fun (x : ↥(Finset.Iic N) → S) => f (x ⟨N, ⋯⟩)) x ∂(ProbabilityTheory.Kernel.partialTraj (chainKernel P) 0 N) fun (x : ↥(Finset.Iic 0)) => s) = (safeStep P B)^[N] (B.indicator f) s

                          03.2 helper; ORDER O03. Own conditions: a Markov history kernel P, a measurable safe set B (hB), a step count N, a measurable final weight f (hf) and a start s. Conclusion: under the chain's law of histories 0..N from s, the expected weight f(X_N) on the event that every history up to N is safe equals Q^N(1_B·f)(s).

                          def MindFormal.cylinderWeight {S : Type u_5} [MeasurableSpace S] (P : ProbabilityTheory.Kernel S S) (B : ℕ → Set S) :
                          ℕ → (S → ENNReal) → S → ENNReal

                          03.2 helper; ORDER O03. The iterated kernel weight of step-dependent sets: R_0f=1_{B_0}f and R_{N+1}f=R_N(P(1_{B_{N+1}}f)).

                          Equations
                          Instances For
                            theorem MindFormal.chain_cylinder_weight {S : Type u_5} [MeasurableSpace S] (P : ProbabilityTheory.Kernel S S) [ProbabilityTheory.IsMarkovKernel P] {B : ℕ → Set S} (hB : ∀ (k : ℕ), MeasurableSet (B k)) (N : ℕ) (f : S → ENNReal) :
                            Measurable f → ∀ (s : S), (∫⁻ (x : ↥(Finset.Iic N) → S), {x : ↥(Finset.Iic N) → S | ∀ (i : ↥(Finset.Iic N)), x i ∈ B ↑i}.indicator (fun (x : ↥(Finset.Iic N) → S) => f (x ⟨N, ⋯⟩)) x ∂(ProbabilityTheory.Kernel.partialTraj (chainKernel P) 0 N) fun (x : ↥(Finset.Iic 0)) => s) = cylinderWeight P B N f s

                            03.2 helper; ORDER O03. Own conditions: a Markov kernel P, measurable step sets B_k (hB), a step count N, a measurable final weight f and a start s. Conclusion: under the chain's law of states 0..N from s, the expected weight f(X_N) on the event that X_k lies in B_k for every k<=N equals R_Nf(s).

                            noncomputable def MindFormal.lateInputs (x : ℝ) :
                            Fin 3 → ℝ

                            03.19 (OC10a): the late route's transformed inputs: the head L with constant input 2/5, the follower H fed only by W_HL=6 from the head's activity x, the primary content with zero input.

                            Equations
                            Instances For
                              noncomputable def MindFormal.lateHead (x : ℝ) :

                              03.19 (OC10a): the head's held target from the complete pool, σ=1, g=1/10.

                              Equations
                              Instances For
                                noncomputable def MindFormal.lateFollower (x : ℝ) :

                                03.19 (OC10a): the follower's held target from the same complete pool.

                                Equations
                                Instances For
                                  theorem MindFormal.late_pool (x : ℝ) :
                                  pool 1 (lateInputs x) = 7 / 5 + 6 * x
                                  theorem MindFormal.lateHead_eq {x : ℝ} (hx : 0 ≤ x) (hx1 : x ≤ 1 / 10) :
                                  lateHead x = 2 / 5 / (7 / 5 + 6 * x) - 1 / 10
                                  theorem MindFormal.lateFollower_eq {x : ℝ} :
                                  lateFollower x = max (6 * x / (7 / 5 + 6 * x) - 1 / 10) 0
                                  noncomputable def MindFormal.lateClock (y : ℝ) :

                                  03.19 (OC10a): the head's clock, the separable time integral of its held equation x'=a_L(x)-x from rest: φ(x)=-(5/8)log(1-10x)-(3/8)log(1+30x/13).

                                  Equations
                                  Instances For
                                    theorem MindFormal.lateClock_hasDeriv {y : ℝ} (hy0 : 0 ≤ y) (hy1 : y < 1 / 10) :
                                    theorem MindFormal.lateDrift_bounds {y : ℝ} (hy0 : 0 ≤ y) (hy1 : y < 1 / 10) :
                                    0 < lateHead y - y ∧ lateHead y ≤ 13 / 70

                                    03.19 (OC10a): on [0,1/10) the head's held drift a_L(y)-y is positive and at most 13/70.

                                    theorem MindFormal.lateClock_sub_mono {y1 y2 : ℝ} (h0 : 0 ≤ y1) (h12 : y1 ≤ y2) (h2 : y2 < 1 / 10) :
                                    y2 - y1 ≤ lateClock y2 - lateClock y1

                                    03.19 (OC10a): the clock grows at least as fast as its argument on [0,1/10).

                                    theorem MindFormal.lateClock_unbounded {τ : ℝ} (hτ : 0 ≤ τ) :
                                    ∃ (b : ℝ), 0 ≤ b ∧ b < 1 / 10 ∧ τ ≤ lateClock b

                                    03.19 (OC10a): the clock exceeds every τ≥0 before 1/10.

                                    theorem MindFormal.lateClock_surj {τ : ℝ} (hτ : 0 ≤ τ) :
                                    ∃ (y : ℝ), (0 ≤ y ∧ y < 1 / 10) ∧ lateClock y = τ

                                    03.19 (OC10a): every τ≥0 is the clock of exactly one y in [0,1/10).

                                    noncomputable def MindFormal.lateHeadPath (τ : ℝ) :

                                    03.19 (OC10a): the head's held activity from rest, the inverse of its clock; zero before time zero.

                                    Equations
                                    Instances For
                                      theorem MindFormal.lateHeadPath_spec {τ : ℝ} (hτ : 0 ≤ τ) :
                                      theorem MindFormal.lateHeadPath_lipschitz {s t : ℝ} (hs : 0 ≤ s) (ht : 0 ≤ t) :
                                      theorem MindFormal.lateClock_strictMono {y1 y2 : ℝ} (h0 : 0 ≤ y1) (h12 : y1 < y2) (h2 : y2 < 1 / 10) :
                                      theorem MindFormal.lateHeadPath_clock {y : ℝ} (h0 : 0 ≤ y) (h1 : y < 1 / 10) :

                                      03.19 (OC10a): the head's held drift along its path is continuous on [0,τ].

                                      03.19 (OC10a): the head's path solves its held equation x(τ)=∫₀^τ(a_L(x)-x) from rest.

                                      theorem MindFormal.lateHeadPath_bounds {τ : ℝ} (hτ : 0 ≤ τ) :
                                      1 / 10 * (1 - Real.exp (-τ)) ≤ lateHeadPath τ ∧ lateHeadPath τ < 1 / 10 ∧ lateHeadPath τ ≤ 13 / 70 * (1 - Real.exp (-τ))

                                      03.19 (OC10b): the head's activity lies between (1/10)(1-e^{-τ}) and min{1/10,(13/70)(1-e^{-τ})}.

                                      theorem MindFormal.lateFollower_props :
                                      (∀ (x : ℝ), 0 ≤ x → x ≤ 7 / 270 → lateFollower x = 0) ∧ (∀ (x y : ℝ), 0 ≤ x → x ≤ y → lateFollower x ≤ lateFollower y) ∧ lateFollower (1 / 10) = 1 / 5 ∧ (∀ (x : ℝ), 0 ≤ lateFollower x) ∧ ContinuousAt lateFollower (1 / 10)

                                      03.19 (OC10a): the follower's target is zero while the head's activity is at most 7/270, and rises with it from 0 to 1/5 at 1/10.

                                      03.19 (OC10b): the head's activity converges to 1/10.

                                      03.19 (OC10a): the follower's held path converges to 1/5, the limit of its target.

                                      theorem MindFormal.lateFollowerPath_zero {t : ℝ} (ht0 : 0 ≤ t) (ht : t ≤ Real.log (10 / 9)) :
                                      heldPath 1 0 (fun (s : ℝ) => lateFollower (lateHeadPath s)) t = 0

                                      03.19 (OC10a)–(OC10b): through L0=log(10/9) the head's activity stays below 7/270, so the follower's target, and its held activity from rest, stay exactly zero.

                                      theorem MindFormal.late_route :
                                      (∀ (τ : ℝ), 0 ≤ τ → lateHeadPath τ = ∫ (s : ℝ) in 0..τ, lateHead (lateHeadPath s) - lateHeadPath s) ∧ (∀ (τ : ℝ), 0 ≤ τ → 1 / 10 * (1 - Real.exp (-τ)) ≤ lateHeadPath τ ∧ lateHeadPath τ ≤ min (1 / 10) (13 / 70 * (1 - Real.exp (-τ)))) ∧ (∀ (t : ℝ), 0 ≤ t → t ≤ Real.log (10 / 9) → heldPath 1 0 (fun (s : ℝ) => lateFollower (lateHeadPath s)) t = 0) ∧ 0 < 1 / 400 ∧ 1 / 200 - 1 / 400 < 1 / 200 - 0 ∧ FirstAt ![lateHeadPath, heldPath 1 0 fun (s : ℝ) => lateFollower (lateHeadPath s)] ![1 / 200 - 0, 1 / 200 - 1 / 400] (lateClock (1 / 200)) 0 ∧ Filter.Tendsto lateHeadPath Filter.atTop (nhds (1 / 10)) ∧ Filter.Tendsto (fun (τ : ℝ) => lateFollower (lateHeadPath τ)) Filter.atTop (nhds (1 / 5)) ∧ Filter.Tendsto (heldPath 1 0 fun (s : ℝ) => lateFollower (lateHeadPath s)) Filter.atTop (nhds (1 / 5))

                                      03.19 (OC10a)–(OC10b), the late route: from rest, the head L (constant input 2/5, value 0) and the follower H (only the learned route W_HL=6, value 1/400), with targets from the complete pool (σ=1, g=1/10) and scores O=x+U at bar 1/200: the head qualifies first, at its clock time of 1/200, while the follower's activity is still exactly zero; the follower is more valuable and needs less activity; yet the head converges to 1/10 and the follower's target and activity to 1/5.

                                      theorem MindFormal.result_03_19_clause_12_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} (experiment : NoiseExperiment Ω N n T Λ J 𝒩) :
                                      ((∃ (t : ℝ), FirstAt (fun (j : Fin (Nat.succ 0).succ) => referenceActivity experiment.data.data.activity.ν (![3 / 20, 2 / 5] j) 0) ![1 / 10, 1 / 5] t 1) ∧ 3 / 10 - 1 / 5 < 3 / 10 - 1 / 10) ∧ (∃ (t : ℝ), FirstAt (fun (j : Fin (Nat.succ 0).succ) => referenceActivity experiment.data.data.activity.ν (![2 / 5, 3 / 10] j) (![0, 19 / 100] j)) ![1 / 10, 1 / 5] t 1) ∧ (3 / 10 - 1 / 10 > 1 / 10 - 0 ∧ 3 / 10 - (3 / 10 - 3 * (1 / 10)) = 3 / 10 ∧ 3 / 10 - (1 / 10 - 3 * 0) = 1 / 5 ∧ ∃ (t : ℝ), FirstAt (fun (j : Fin (Nat.succ 0).succ) => referenceActivity experiment.data.data.activity.ν (![2 / 5, 3 / 10] j) 0) ![3 / 10, 1 / 5] t 1) ∧ (∀ (τ : ℝ), 0 ≤ τ → lateHeadPath τ = ∫ (s : ℝ) in 0..τ, lateHead (lateHeadPath s) - lateHeadPath s) ∧ (∀ (τ : ℝ), 0 ≤ τ → 1 / 10 * (1 - Real.exp (-τ)) ≤ lateHeadPath τ ∧ lateHeadPath τ ≤ min (1 / 10) (13 / 70 * (1 - Real.exp (-τ)))) ∧ (∀ (t : ℝ), 0 ≤ t → t ≤ Real.log (10 / 9) → heldPath 1 0 (fun (s : ℝ) => lateFollower (lateHeadPath s)) t = 0) ∧ 0 < 1 / 400 ∧ 1 / 200 - 1 / 400 < 1 / 200 - 0 ∧ FirstAt ![lateHeadPath, heldPath 1 0 fun (s : ℝ) => lateFollower (lateHeadPath s)] ![1 / 200 - 0, 1 / 200 - 1 / 400] (lateClock (1 / 200)) 0 ∧ Filter.Tendsto lateHeadPath Filter.atTop (nhds (1 / 10)) ∧ Filter.Tendsto (fun (τ : ℝ) => lateFollower (lateHeadPath τ)) Filter.atTop (nhds (1 / 5)) ∧ Filter.Tendsto (heldPath 1 0 fun (s : ℝ) => lateFollower (lateHeadPath s)) Filter.atTop (nhds (1 / 5))

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

                                      noncomputable def MindFormal.requirementTop (O : ℝ → ℝ) (ω : ℝ) :

                                      03.19 (OC2): a read's requirement h=inf{x≥0 : O(x)≥ω}, infinite when its qualifying set is empty.

                                      Equations
                                      Instances For
                                        theorem MindFormal.requirementTop_mono {OH Oj : ℝ → ℝ} {ω : ℝ} (hscore : ∀ (x : ℝ), 0 ≤ x → Oj x ≤ OH x) :

                                        03.19 §2: a read at least another's at every nonnegative activity has a requirement in [0,∞] at most the other's, an empty qualifying set included.

                                        def MindFormal.signedValueDrive (u q : ℝ) (v : Fin 1 → Unit → ℝ) :

                                        03.19 §2: the drive (u+q)(1+min(|v|,1)) of one scalar value element at one horizon.

                                        Equations
                                        Instances For
                                          theorem MindFormal.signedValueDrive_admissible :
                                          LipschitzOnBalls (fun (z : ℝ × ℝ × (Fin 1 → Unit → ℝ)) => signedValueDrive z.1 z.2.1 z.2.2) {z : ℝ × ℝ × (Fin 1 → Unit → ℝ) | 0 ≤ z.1 ∧ z.2.1 ∈ {0, 1}} ∧ (∀ (u : ℝ), 0 ≤ u → ∀ q ∈ {0, 1}, ∀ (v : Fin 1 → Unit → ℝ), 0 ≤ signedValueDrive u q v) ∧ (∀ q ∈ {0, 1}, ∀ (v : Fin 1 → Unit → ℝ), MonotoneOn (fun (u : ℝ) => signedValueDrive u q v) (Set.Ici 0)) ∧ (∀ (u : ℝ), 0 ≤ u → ∀ (v : Fin 1 → Unit → ℝ), signedValueDrive u 0 v < signedValueDrive u 1 v) ∧ (∀ (u : ℝ), 0 ≤ u → ∀ q ∈ {0, 1}, ∀ (v w : Fin 1 → Unit → ℝ), (∀ (b : Fin 1) (t : Unit), |v b t| ≤ |w b t|) → signedValueDrive u q v ≤ signedValueDrive u q w) ∧ (∀ (u : ℝ), 0 ≤ u → ∀ q ∈ {0, 1}, ∀ (v : Fin 1 → Unit → ℝ) (b : Fin 1) (t : Unit), ∃ (K : ℝ), ∀ (r : ℝ), |signedValueDrive u q (Function.update v b (Function.update (v b) t r))| ≤ K) ∧ ∀ (v : Fin 1 → Unit → ℝ), signedValueDrive 0 0 v = 0

                                          03.19 §2: the drive (u+q)(1+min(|v|,1)) meets every drive condition of the admission: Lipschitz on bounded parts of its domain, nonnegative, nondecreasing in input, raised by attention, nondecreasing in value magnitude, bounded along each value coordinate, and zero at zero input without attention.