MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.CorridorTransfer

11.10 (SW1, SW16), 11.12 (SB9), 11.13 (SI4), 11.14 (SF19): the continuing-learning reference transferred to the actual mind on the corridor event when the actual native focus history and world input need not match the reference's. The corridor control charges their integrated mismatch (its Δu and Δq); an instantaneous read compares the actual mode and input with the reference's at that time, and the comparison term vanishes where they agree.

theorem MindFormal.globalPulse_binary {N n : ℕ} {T : Type u_2} {Λ : Type u_3} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) (j : Fin N) :
G.pulse t j ∈ {0, 1}

02.12: the actual global focus pulse is binary.

theorem MindFormal.mismatched_read_distance {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (F : (Fin N → ℝ) → (Fin N → ℝ) → MindState (Fin N) n T Λ → ℝ) {L : ℝ} (hL : 0 ≤ L) (sensitivity : ∀ (u q : Fin N → ℝ) (x y : MindState (Fin N) n T Λ), 0 ≤ u → ‖u‖ ≤ C.control.U → (∀ (j : Fin N), q j ∈ {0, 1}) → ‖x‖ ≤ C.control.B + C.control.C → ‖y‖ ≤ C.control.B + C.control.C → |F u q x - F u q y| ≤ L * ‖x - y‖) {z : Ω} (hz : z ∈ C.good) (t : ℝ) (ht : t ∈ Set.Icc 0 ↑C.horizon) :
have G := C.data.toPhysicalNoiseData.globalData z; have R := C.reference z; have xr := (ContinuousMap.IccExtend ⋯ R.path) t; |F (G.input t) (G.pulse t) (G.state t) - F (R.input t) (R.mode t) xr| ≤ L * C.control.error + |F (G.input t) (G.pulse t) (G.state t) - F (R.input t) (G.pulse t) (G.state t)| + |F (R.input t) (G.pulse t) xr - F (R.input t) (R.mode t) xr|

11.10 (SW16), 11.12 (SB9): on the corridor event, any read F of input, mode and state with state sensitivity L at every bounded nonnegative input and binary mode differs from its reference value by at most L·E plus the input difference at the actual state and the mode difference at the reference state; both differences vanish where the actual input and mode are the reference's.

theorem MindFormal.finset_sup'_dist {ι : Type u_5} (F : Finset ι) (hF : F.Nonempty) (f g : ι → ℝ) {δ : ℝ} (h : ∀ c ∈ F, |f c - g c| ≤ δ) :
|F.sup' hF f - F.sup' hF g| ≤ δ

11.10 (SW16): two finite families of values within δ of each other member by member have maxima within δ.

theorem MindFormal.result_11_10_clause_7_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) (u : Fin N → ℝ) {L need : ℝ} (hL : 0 ≤ L) (world : ∀ (z : Ω), ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (C.run.data.toPhysicalNoiseData.globalData z).input t = u) (referenceWorld : ∀ (z : Ω), ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (C.run.reference z).input t = u) (sensitivity : ∀ (q : Fin N → ℝ) (x y : MindState (Fin N) n T Λ), (∀ (j : Fin N), q j ∈ {0, 1}) → ‖x‖ ≤ C.run.control.B + C.run.control.C → ‖y‖ ≤ C.run.control.B + C.run.control.C → |normalizedTarget C.run.data.toPhysicalNoiseData.data.activity.σ C.run.data.toPhysicalNoiseData.data.activity.g (assembledInputs C.run.data.toPhysicalNoiseData.data u q x) i - normalizedTarget C.run.data.toPhysicalNoiseData.data.activity.σ C.run.data.toPhysicalNoiseData.data.activity.g (assembledInputs C.run.data.toPhysicalNoiseData.data u q y) i| ≤ L * ‖x - y‖) :
have d := C.run.data.toPhysicalNoiseData.data; have Tq := fun (q : Fin N → ℝ) (x : MindState (Fin N) n T Λ) => normalizedTarget d.activity.σ d.activity.g (assembledInputs d u q x) i; have xr := fun (z : Ω) (t : ℝ) => (ContinuousMap.IccExtend ⋯ (C.run.reference z).path) t; have Dq := fun (z : Ω) (t : ℝ) => |Tq ((C.run.data.toPhysicalNoiseData.globalData z).pulse t) (xr z t) - (C.run.reference z).target i t|; 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∀ (k : ℕ) (c : Fin N), (C.run.focus z).release k ∈ Set.Icc 0 ↑C.run.horizon → LearningFocusMargin C.run ⋯ z c ((C.run.focus z).release k) → ((C.run.focus z).search k).event = some ((C.run.focus z).release k, c)) ∧ ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (∀ (j : CoordinateIndex (Fin N) n T Λ), |C.run.coordinate z j t - C.run.refCoordinate z j t| ≤ C.run.control.error) ∧ |actualTarget C.run.data.toPhysicalNoiseData i z t - Tq ((C.run.data.toPhysicalNoiseData.globalData z).pulse t) (xr z t)| ≤ L * C.run.control.error ∧ ((C.run.data.toPhysicalNoiseData.globalData z).pulse t = (C.run.reference z).mode t → Dq z t = 0) ∧ |actualTarget C.run.data.toPhysicalNoiseData i z t - (C.run.reference z).target i t| ≤ L * C.run.control.error + Dq z t ∧ (need + L * C.run.control.error + Dq z t < (C.run.reference z).target i t → need < actualTarget C.run.data.toPhysicalNoiseData i z t) ∧ ((C.run.reference z).target i t < need - L * C.run.control.error - Dq z t → actualTarget C.run.data.toPhysicalNoiseData i z t < need) ∧ (∀ (F : Finset (Fin N)) (hF : F.Nonempty), |(F.sup' hF fun (c : Fin N) => Tq (attendedMode c) ((C.run.data.toPhysicalNoiseData.globalData z).state t)) - F.sup' hF fun (c : Fin N) => Tq (attendedMode c) (xr z t)| ≤ L * C.run.control.error) ∧ (need + C.run.control.error ≤ C.run.refCoordinate z (Sum.inr (Sum.inl i)) t → need ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) t) ∧ (C.run.refCoordinate z (Sum.inr (Sum.inl i)) t < need - C.run.control.error → C.run.coordinate z (Sum.inr (Sum.inl i)) t < need)}

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

theorem MindFormal.result_11_12_clause_6_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) {L need : ℝ} (hL : 0 ≤ L) (hn : 0 < need) (sensitivity : ∀ (u q : Fin N → ℝ) (x y : MindState (Fin N) n T Λ), 0 ≤ u → ‖u‖ ≤ C.run.control.U → (∀ (j : Fin N), q j ∈ {0, 1}) → ‖x‖ ≤ C.run.control.B + C.run.control.C → ‖y‖ ≤ C.run.control.B + C.run.control.C → |(1 - (C.run.data.toPhysicalNoiseData.data.activity.g + need)) * assembledInputs C.run.data.toPhysicalNoiseData.data u q x i - (C.run.data.toPhysicalNoiseData.data.activity.g + need) * (C.run.data.toPhysicalNoiseData.data.activity.σ + ∑ j ∈ Finset.univ.erase i, assembledInputs C.run.data.toPhysicalNoiseData.data u q x j) - ((1 - (C.run.data.toPhysicalNoiseData.data.activity.g + need)) * assembledInputs C.run.data.toPhysicalNoiseData.data u q y i - (C.run.data.toPhysicalNoiseData.data.activity.g + need) * (C.run.data.toPhysicalNoiseData.data.activity.σ + ∑ j ∈ Finset.univ.erase i, assembledInputs C.run.data.toPhysicalNoiseData.data u q y j))| ≤ L * ‖x - y‖) :
have d := C.run.data.toPhysicalNoiseData.data; have ϑ := d.activity.g + need; have Rv := fun (u q : Fin N → ℝ) (x : MindState (Fin N) n T Λ) => (1 - ϑ) * assembledInputs d u q x i - ϑ * (d.activity.σ + ∑ j ∈ Finset.univ.erase i, assembledInputs d u q x j); have xr := fun (z : Ω) (t : ℝ) => (ContinuousMap.IccExtend ⋯ (C.run.reference z).path) t; have refReserve := fun (z : Ω) (t : ℝ) => (1 - ϑ) * (C.run.reference z).useful i t - ϑ * (C.run.reference z).rest i t; have G := fun (z : Ω) => C.run.data.toPhysicalNoiseData.globalData z; have Dw := fun (z : Ω) (t : ℝ) => |Rv ((G z).input t) ((G z).pulse t) ((G z).state t) - Rv ((C.run.reference z).input t) ((G z).pulse t) ((G z).state t)|; have Dq := fun (z : Ω) (t : ℝ) => |Rv ((C.run.reference z).input t) ((G z).pulse t) (xr z t) - refReserve z t|; 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∀ (k : ℕ) (c : Fin N), (C.run.focus z).release k ∈ Set.Icc 0 ↑C.run.horizon → LearningFocusMargin C.run ⋯ z c ((C.run.focus z).release k) → ((C.run.focus z).search k).event = some ((C.run.focus z).release k, c)) ∧ ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (∀ (j : CoordinateIndex (Fin N) n T Λ), |C.run.coordinate z j t - C.run.refCoordinate z j t| ≤ C.run.control.error) ∧ ((G z).input t = (C.run.reference z).input t → Dw z t = 0) ∧ ((G z).pulse t = (C.run.reference z).mode t → Dq z t = 0) ∧ |Rv ((G z).input t) ((G z).pulse t) ((G z).state t) - refReserve z t| ≤ L * C.run.control.error + Dw z t + Dq z t ∧ (L * C.run.control.error + Dw z t + Dq z t < refReserve z t → need < actualTarget C.run.data.toPhysicalNoiseData i z t) ∧ (refReserve z t < -(L * C.run.control.error + Dw z t + Dq z t) → actualTarget C.run.data.toPhysicalNoiseData i z t ≤ need) ∧ (need + C.run.control.error ≤ C.run.refCoordinate z (Sum.inr (Sum.inl i)) t → need ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) t)}

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

def MindFormal.LearningSearchAccess {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) (z : Ω) (i : Fin N) (k : ℕ) (t : ℝ) :

11.10 (SW1), 11.13 (SI4): native cue access within a search, on the reference with the corridor's errors. In the actual run's search k, opened at its release, the cue has the native margins by time t (aware and qualifying with the computed errors: its own awareness and score race), and at every time of that search from its release up to t at which a rival could qualify within the errors, the cue already has those margins and outranks the rival by twice the score error. The cue may first qualify at any time of the search, not only at its release.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.learningRun_focus_window {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (hY : LocallyLipschitz ⇑C.data.reads.attention) (z : Ω) (hz : z ∈ C.good) (k : ℕ) (i : Fin N) {t : ℝ} (ht0 : 0 ≤ t) (htH : t ≤ ↑C.horizon) (hrt : (C.focus z).release k ≤ t) (ha : LearningSearchAccess C hY z i k t) :
    ∃ s ∈ Set.Icc ((C.focus z).release k) t, ((C.focus z).search k).event = some (s, i)

    11.10 (SW1), 11.13 (SI4): on the corridor event, native access within search k by a time t in the horizon, no earlier than the search's release, makes the actual search select the cue at some time from its release to t: its first qualification may come later than the release (its own awareness and score race), and no rival can win before or at it.

    theorem MindFormal.result_11_13_clause_3_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i cue : Fin N) {taccess Tlow α εx : ℝ} (hacc : 0 ≤ taccess) (hα : 0 < α) (hT : α + εx < Tlow) (hreach : taccess + Real.log (Tlow / (Tlow - (α + εx))) / C.run.data.toPhysicalNoiseData.data.activity.ν ≤ ↑C.run.horizon) (clearance : C.run.control.error ≤ εx) (access : ∀ z ∈ C.run.good, ∃ (k : ℕ), ∃ t ∈ Set.Icc 0 taccess, (C.run.focus z).release k ≤ t ∧ LearningSearchAccess C.run ⋯ z cue k t) (support : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc taccess (taccess + Real.log (Tlow / (Tlow - (α + εx))) / C.run.data.toPhysicalNoiseData.data.activity.ν), Tlow ≤ (C.run.reference z).target i s) :
    have Hreach := taccess + Real.log (Tlow / (Tlow - (α + εx))) / C.run.data.toPhysicalNoiseData.data.activity.ν; 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∃ (k : ℕ), ∃ s ∈ Set.Icc ((C.run.focus z).release k) taccess, ((C.run.focus z).search k).event = some (s, cue)) ∧ ∃ s ∈ Set.Icc taccess Hreach, α ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) s}

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

    theorem MindFormal.result_11_10_clause_8_access_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i cue : Fin N) {taccess need ε : ℝ} (hacc : 0 ≤ taccess) (hn : 0 < need) (hε : 0 < ε) (hreach : taccess + Real.log ((need + 2 * ε) / ε) / C.run.data.toPhysicalNoiseData.data.activity.ν ≤ ↑C.run.horizon) (clearance : C.run.control.error ≤ ε) (access : ∀ z ∈ C.run.good, ∃ (k : ℕ), ∃ t ∈ Set.Icc 0 taccess, (C.run.focus z).release k ≤ t ∧ LearningSearchAccess C.run ⋯ z cue k t) (support : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc taccess (taccess + Real.log ((need + 2 * ε) / ε) / C.run.data.toPhysicalNoiseData.data.activity.ν), need + 2 * ε ≤ (C.run.reference z).target i s) :
    have Haware := taccess + Real.log ((need + 2 * ε) / ε) / C.run.data.toPhysicalNoiseData.data.activity.ν; 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∃ (k : ℕ), ∃ s ∈ Set.Icc ((C.run.focus z).release k) taccess, ((C.run.focus z).search k).event = some (s, cue)) ∧ ∃ s ∈ Set.Icc taccess Haware, need ≤ C.run.coordinate z (Sum.inr (Sum.inl i)) s}

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

    theorem MindFormal.scaled_family_reach {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : ℝ → AdmittedLearning Ω N n T Λ J) {H : NNReal} (G : CoordinateIndex (Fin N) n T Λ → J → ℝ) (b : J → ℝ) (hb : ∀ (j : J), 0 < b j) (i cue : Fin N) {taccess Tlow α εx : ℝ} (hacc : 0 ≤ taccess) (hα : 0 < α) (hT : α + εx < Tlow) (horizon : ∀ (χ : ℝ), 0 < χ → (C χ).horizon = H) (matrix : ∀ (χ : ℝ), 0 < χ → (C χ).experiment.constant.matrix = fun (d : CoordinateIndex (Fin N) n T Λ) (j : J) => χ * G d j) (levels : ∀ (χ : ℝ), 0 < χ → (C χ).control.levels = fun (j : J) => b j / χ) (worldFailure : Filter.Tendsto (fun (χ : ℝ) => (C χ).control.εu) (nhdsWithin 0 (Set.Ioi 0)) (nhds 0)) (hreach : ∀ (χ : ℝ), 0 < χ → taccess + Real.log (Tlow / (Tlow - (α + εx))) / (C χ).run.data.toPhysicalNoiseData.data.activity.ν ≤ ↑(C χ).run.horizon) (clearance : ∀ (χ : ℝ), 0 < χ → (C χ).run.control.error ≤ εx) (access : ∀ (χ : ℝ), 0 < χ → ∀ z ∈ (C χ).run.good, ∃ (k : ℕ), ∃ t ∈ Set.Icc 0 taccess, ((C χ).run.focus z).release k ≤ t ∧ LearningSearchAccess (C χ).run ⋯ z cue k t) (support : ∀ (χ : ℝ), 0 < χ → ∀ z ∈ (C χ).run.good, ∀ s ∈ Set.Ioc taccess (taccess + Real.log (Tlow / (Tlow - (α + εx))) / (C χ).run.data.toPhysicalNoiseData.data.activity.ν), Tlow ≤ ((C χ).run.reference z).target i s) :
    have P := fun (χ : ℝ) => (C χ).run.data.μ.real {z : Ω | (∃ (k : ℕ), ∃ s ∈ Set.Icc (((C χ).run.focus z).release k) taccess, (((C χ).run.focus z).search k).event = some (s, cue)) ∧ ∃ s ∈ Set.Icc taccess (taccess + Real.log (Tlow / (Tlow - (α + εx))) / (C χ).run.data.toPhysicalNoiseData.data.activity.ν), α ≤ (C χ).run.coordinate z (Sum.inr (Sum.inl i)) s}; (∀ (χ : ℝ), 0 < χ → ∀ (d : CoordinateIndex (Fin N) n T Λ), ∑ j : J, |(C χ).experiment.constant.matrix d j| * (C χ).control.levels j = ∑ j : J, |G d j| * b j) ∧ (∀ (χ : ℝ), 0 < χ → 1 - min 1 ((C χ).control.εu + sourceExcursionFailure H fun (j : J) => b j / χ) ≤ P χ) ∧ Filter.Tendsto P (nhdsWithin 0 (Set.Ioi 0)) (nhds 1)

    11.13 (SI2)-(SI4), noise shrinking, constant noise: the scaled family's within-reach probability, its explicit bill and its limit. Its constant-case statement is result_11_13_clause_3_family.

    theorem MindFormal.result_11_14_clause_12_actual_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : NoiseLearning Ω N n T Λ J 𝒩) (i : Fin N) {t0 t Tup needOld : ℝ} (h0 : 0 ≤ t0) (ht : t0 ≤ t) (hH : t ≤ ↑C.run.horizon) (hTup : 0 < Tup) (sf19 : ∀ z ∈ C.run.good, ∀ s ∈ Set.Ioc t0 t, (1 - (C.run.data.toPhysicalNoiseData.data.activity.g + Tup)) * (C.run.reference z).useful i s ≤ (C.run.data.toPhysicalNoiseData.data.activity.g + Tup) * (C.run.reference z).rest i s) :
    have ν := C.run.data.toPhysicalNoiseData.data.activity.ν; 1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (∀ s ∈ Set.Ioc t0 t, (C.run.reference z).target i s ≤ Tup) ∧ C.run.refCoordinate z (Sum.inr (Sum.inl i)) t ≤ Tup + (C.run.refCoordinate z (Sum.inr (Sum.inl i)) t0 - Tup) * Real.exp (-ν * (t - t0)) ∧ C.run.coordinate z (Sum.inr (Sum.inl i)) t ≤ Tup + (C.run.refCoordinate z (Sum.inr (Sum.inl i)) t0 - Tup) * Real.exp (-ν * (t - t0)) + C.run.control.error ∧ (Tup + (C.run.refCoordinate z (Sum.inr (Sum.inl i)) t0 - Tup) * Real.exp (-ν * (t - t0)) + C.run.control.error < needOld → C.run.coordinate z (Sum.inr (Sum.inl i)) t < needOld)}

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