MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.Proofs

The general forms of chapter 2's statements, each for any case of noise meeting the interface; Chapters/Ch02 applies each at constant noise. Nothing here is tagged.

theorem MindFormal.result_02_15_reference_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 𝒩) (l : Λ) (γ amplitude duration gap : ℝ) :
∫ (s : ℝ) in 0..duration, γ * amplitude ^ 2 * (1 - Real.exp (-experiment.data.data.rate l * duration)) * Real.exp (-experiment.data.data.rate l * (gap + s)) = γ * amplitude ^ 2 / experiment.data.data.rate l * (1 - Real.exp (-experiment.data.data.rate l * duration)) ^ 2 * Real.exp (-experiment.data.data.rate l * gap)

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

theorem MindFormal.result_02_16_reference_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 𝒩) (b : Fin n) (Q : ℝ) {companion feedback weight : ℝ} (hc : 0 < companion) (hf : 0 < feedback) (hw : 0 < weight) :
weight * Real.exp (-experiment.data.data.η b * Q * feedback) - weight * Real.exp (-experiment.data.data.η b * (Q + companion ^ 2) * feedback) = weight * Real.exp (-experiment.data.data.η b * Q * feedback) * (1 - Real.exp (-experiment.data.data.η b * companion ^ 2 * feedback)) ∧ weight * Real.exp (-experiment.data.data.η b * (Q + companion ^ 2) * feedback) < weight * Real.exp (-experiment.data.data.η b * Q * feedback)

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

theorem MindFormal.result_02_17_reference_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 𝒩) (firstReady secondReady onset : ℝ) :
max (firstReady + experiment.data.pause false) (onset + secondReady) - onset = max secondReady (firstReady + experiment.data.pause false - onset)

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

theorem MindFormal.result_02_18_reference_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 𝒩) {target prepared need : ℝ} (hp : 0 < prepared) (hs : prepared < need) (hn : need < target) :
passageTime experiment.data.data.activity.ν target 0 need - passageTime experiment.data.data.activity.ν target prepared need = Real.log (target / (target - prepared)) / experiment.data.data.activity.ν ∧ 0 < passageTime experiment.data.data.activity.ν target 0 need - passageTime experiment.data.data.activity.ν target prepared need

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

theorem MindFormal.result_02_19_reference_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 𝒩) {small large start need : ℝ} (hs : start < need) (hn : need < small) (ht : small < large) :
passageTime experiment.data.data.activity.ν large start need < passageTime experiment.data.data.activity.ν small start need

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

theorem MindFormal.result_02_20_reference_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 𝒩) (target start : ℝ) :
ReferenceEquation experiment.data.data.activity.ν target (referenceActivity experiment.data.data.activity.ν target start)

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

theorem MindFormal.result_02_15_live_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} (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 ε LF UF LB 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 - ε)) (recallScoreCalibrationF : (z : Ω) → z ∈ EF → LiveWindowCalibration CF.run kF forward LF UF) (recallScoreCalibrationB : (z : Ω) → z ∈ EB → LiveWindowCalibration CB.run kB forward LB 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_live.

theorem MindFormal.result_02_16_live_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 B : NoiseFrozen Ω N n T Λ J 𝒩) (i : Fin N) (definedTrials : Set Ω) (hdefined : definedTrials = {z : Ω | 0 < C.run.count i z + B.run.count i z}) (hd : MeasurableSet definedTrials) (hpos : 0 < C.run.data.μ.real definedTrials) (npress baseline : ℕ) (hb : 0 < baseline) (hi : MeasureTheory.Integrable (C.run.pressRatio B.run i) C.run.data.μ[|definedTrials]) (nativePressFloorIdentification : ∀ z ∈ C.run.good, C.run.count i z = npress ∧ B.run.count i z = baseline) :
have r := ↑npress / (↑npress + ↑baseline); r - C.run.control.failure ≤ ∫ (z : Ω), C.run.pressRatio B.run i z ∂C.run.data.μ[|definedTrials] ∧ ∫ (z : Ω), C.run.pressRatio B.run i z ∂C.run.data.μ[|definedTrials] ≤ r + C.run.control.failure

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

theorem MindFormal.result_02_16_live_order_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} (compound single : NoisePressCase) (sourceRatioMargin : single.run.C.control.failure / (1 - single.run.C.control.failure) + compound.run.C.control.failure / (1 - compound.run.C.control.failure) < compound.run.ratio - single.run.ratio) :
single.run.mean < compound.run.mean

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

theorem MindFormal.result_02_17_live_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 𝒩) (i j : Fin N) (s r₁minus r₁plus r₂minus r₂plus : ℝ) (first : LiveWindowMargins C.run i r₁minus r₁plus) (hfirst : first.phase = 0) (postTargetScoreCalibration : LiveWindowMargins C.run j (s + r₂minus) (max (s + r₂plus) (r₁plus + C.run.data.pause false))) (hphase : postTargetScoreCalibration.phase ≤ r₁minus + C.run.data.pause false) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | (C.run.record 1 z).2 = Sum.inl j ∧ (C.run.record 1 z).1 - s ∈ Set.Icc (max r₂minus (r₁minus + C.run.data.pause false - s)) (max r₂plus (r₁plus + C.run.data.pause false - s))}

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

theorem MindFormal.result_02_18_live_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 𝒩) (k : ℕ) (correct sensory : Fin N) {L 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) (orientationScoreCalibration : LiveWindowCalibration C.run k correct L U) :
1 - C.run.control.failure ≤ C.run.data.μ.real {z : Ω | z ∈ C.run.act k correct L 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_live.

theorem MindFormal.result_02_19_live_finite_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 𝒩) (k : ℕ) (i : Fin N) (F : LiveFanWindow C.run k i) :
C.run.good ⊆ C.run.act k i F.lower F.upper ∧ 1 - C.run.control.failure ≤ C.run.data.μ.real (C.run.act k i F.lower F.upper)

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

theorem MindFormal.result_02_19_live_mean_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 𝒩) (k : ℕ) (i : Fin N) (F : LiveFanWindow C.run k i) (correctTrials : Set Ω) (hc : MeasurableSet correctTrials) (hp : 0 < C.run.data.μ.real correctTrials) (scoredCorrectWindow : C.run.act k i F.lower F.upper ⊆ correctTrials) (tailL2 : MeasureTheory.MemLp (C.run.latency k) 2 C.run.data.μ[|correctTrials]) {M : ℝ} (hM : 0 ≤ M) (conditionalSecondMoment : ∫ (z : Ω), C.run.latency k z ^ 2 ∂C.run.data.μ[|correctTrials] ≤ M ^ 2) :
F.lower * (1 - C.run.control.failure) ≤ ∫ (z : Ω), C.run.latency k z ∂C.run.data.μ[|correctTrials] ∧ ∫ (z : Ω), C.run.latency k z ∂C.run.data.μ[|correctTrials] ≤ F.upper + M * √C.run.control.failure

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

theorem MindFormal.result_02_19_live_finite_order_general {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (CH CL : NoiseFrozen Ω N n T Λ J 𝒩) (kH kL : ℕ) (iH iL : Fin N) (FH : LiveFanWindow CH.run kH iH) (FL : LiveFanWindow CL.run kL iL) :
1 - (CH.run.control.failure + CL.run.control.failure) ≤ (CH.run.data.μ.prod CL.run.data.μ).real {z : Ω × Ω | FH.lower - FL.upper ≤ CH.run.latency kH z.1 - CL.run.latency kL z.2}

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

theorem MindFormal.result_02_1_live_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} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (i : Fin N) :

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

theorem MindFormal.result_02_9_live_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} (E : NoiseExperiment Ω N n T Λ J 𝒩) (z : Ω) (t : ℝ) (a : T) :
have G := E.data.toPhysicalNoiseData.globalData z; have d := E.data.toPhysicalNoiseData.data; (Matrix.rank fun (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, a))))) ≤ 1

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

theorem MindFormal.result_02_12_live_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} (E : NoiseExperiment Ω N n T Λ J 𝒩) :

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

theorem MindFormal.result_02_20_live_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 𝒩) :

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

theorem MindFormal.result_02_9_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 𝒩) (z : Ω) (t : ℝ) (i h : Fin N) (b : Fin n) (a : T) :
have G := experiment.data.toPhysicalNoiseData.globalData z; G.p t h * mindValue (assembledDrift G.data (G.input t) (G.pulse t) (G.state t)) i b a - G.p t i * mindValue (assembledDrift G.data (G.input t) (G.pulse t) (G.state t)) h b a = 0

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

theorem MindFormal.result_02_12_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 𝒩) (z : Ω) (H : NNReal) (c : Bool) :

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