MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.Proofs

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

theorem MindFormal.result_03_1_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 𝒩) {Out : Type u_5} [MeasurableSpace Out] (value : Out) :
observationDistribution { read := fun (x : Ω) => value, measurable_read := ⋯ } experiment.data.μ = MeasureTheory.Measure.dirac value

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

theorem MindFormal.result_03_7_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 𝒩) {a b h k : ℝ} (hh : 0 < h) (ha : h < a) (hk : 0 < k) (hb : k < b) :
passageTime experiment.data.data.activity.ν a 0 h ≤ passageTime experiment.data.data.activity.ν b 0 k ↔ h / a ≤ k / b

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

theorem MindFormal.result_03_12_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 𝒩) {N✝ : ℕ} (target : Fin N✝ → ℝ) (read : ℝ → ℝ) {ω H : ℝ} (ha : ∀ (j : Fin N✝), 0 ≤ target j) (hc : Continuous read) (hm : MonotoneOn read (Set.Ici 0)) (hne : {x : ℝ | 0 ≤ x ∧ ω ≤ read x}.Nonempty) (hn : 0 < scoreRequirement read ω) (i : Fin N✝) (hi : scoreRequirement read ω < target i) (hmax : ∀ (j : Fin N✝), target j ≤ target i) (hp : ∀ (j : Fin N✝), target j = target i → i ≤ j) (hH : passageTime experiment.data.data.activity.ν (target i) 0 (scoreRequirement read ω) ≤ H) (search : NativeSearch (fun (t : ℝ) (j : Fin N✝) => read (referenceActivity experiment.data.data.activity.ν (target j) 0 t) - ω) (fun (t : ℝ) (j : Fin N✝) => read (referenceActivity experiment.data.data.activity.ν (target j) 0 t)) 0 H) :
search.event = some (passageTime experiment.data.data.activity.ν (target i) 0 (scoreRequirement read ω), i)

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

theorem MindFormal.result_03_14_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 𝒩) (a c t : ℝ) (d : ℕ) :
HasDerivAt (depthEnvelope a c experiment.data.data.activity.ν (d + 1)) (experiment.data.data.activity.ν * c * depthEnvelope a c experiment.data.data.activity.ν d t) t

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

theorem MindFormal.result_03_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 𝒩) {N✝ : ℕ} (target start need U : Fin N✝ → ℝ) (hs : ∀ (j : Fin N✝), start j < need j) :
(∃ (i : Fin N✝), (∃ (t : ℝ), FirstAt (fun (j : Fin N✝) => referenceActivity experiment.data.data.activity.ν (target j) (start j)) need t i) ∧ ∀ (j : Fin N✝), U j ≤ U i) ↔ ∃ (i : Fin N✝), ReachableWinner target start need i ∧ ∀ (j : Fin N✝), U j ≤ U i

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

theorem MindFormal.result_03_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} (C : NoiseFrozen Ω N n T Λ J 𝒩) (i : Fin N) (aStar γ h : ℝ) (hread : LiveActivityRead C.run h) (hout : C.run.data.reads.outputs i = true) (herr : C.run.control.error < min (h * γ / (2 * aStar - γ)) ((aStar - h) / 2)) (heldTargetCalibration : h + min (h * γ / (2 * aStar - γ)) ((aStar - h) / 2) ≤ (ContinuousMap.IccExtend ⋯ C.run.reference.path) (↑C.run.horizon) (Sum.inr (Sum.inl i)) ∧ ∀ (j : Fin N), j ≠ i → C.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (ContinuousMap.IccExtend ⋯ C.run.reference.path) t (Sum.inr (Sum.inl j)) ≤ h - min (h * γ / (2 * aStar - γ)) ((aStar - h) / 2)) :

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

theorem MindFormal.result_03_14_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 𝒩) (head : Fin N) {h μ : ℝ} (hread : LiveActivityRead C.run h) (hout : C.run.data.reads.outputs head = true) (herr : C.run.control.error < μ) (D3winner : h + μ ≤ (ContinuousMap.IccExtend ⋯ C.run.reference.path) (↑C.run.horizon) (Sum.inr (Sum.inl head))) (D3rivals : ∀ (j : Fin N), j ≠ head → C.run.data.reads.outputs j = true → ∀ t ∈ Set.Icc 0 ↑C.run.horizon, (ContinuousMap.IccExtend ⋯ C.run.reference.path) t (Sum.inr (Sum.inl j)) ≤ h - μ) :
1 - C.run.control.failure ≤ C.run.data.μ.real (C.run.act 0 head 0 ↑C.run.horizon)

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

theorem MindFormal.result_03_19_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 𝒩) (winner : Fin N) {μ : ℝ} (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 - μ) :
C.run.good ⊆ C.run.act 0 winner 0 ↑C.run.horizon ∧ 1 - C.run.control.failure ≤ C.run.data.μ.real (C.run.act 0 winner 0 ↑C.run.horizon)

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

theorem MindFormal.result_03_19_live_value_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 * ∑ b : Fin n, |w b|) * C.run.control.error < C.run.referenceUtility w τ winner t - C.run.referenceUtility 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.utility w τ j z t < C.run.utility w τ winner z t}

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

theorem MindFormal.result_03_2_live_killed_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 𝒩) {S : Type u_5} [MeasurableSpace S] (times : ℕ → NNReal) (history : ℕ → Ω → S) (hhistory : ∀ (k : ℕ), Measurable (history k)) (killed : ProbabilityTheory.Kernel S S) (k : ℕ) (killedKernelIdentification : ∀ (k : ℕ), C.run.survivingLaw times history (k + 1) = (C.run.survivingLaw times history k).bind fun (s : S) => killed s) :
C.run.survivingLaw times history k = (fun (ν : MeasureTheory.Measure S) => ν.bind fun (s : S) => killed s)^[k] (C.run.survivingLaw times history 0) ∧ C.run.data.μ (C.run.safe (times k)) = ((fun (ν : MeasureTheory.Measure S) => ν.bind fun (s : S) => killed s)^[k] (C.run.survivingLaw times history 0)) Set.univ

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

theorem MindFormal.result_03_7_live_probability_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_03_7_live_probability.

theorem MindFormal.result_03_7_live_recent_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 𝒩) {z : Ω} (hz : z ∈ C.run.qualifies ↑C.run.horizon) :
∃ (k : ℕ) (t : ℝ) (i : Fin N), C.run.record k z = (t, Sum.inl i) ∧ ↑C.run.horizon - C.run.data.pause false < t ∧ t ≤ ↑C.run.horizon

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

theorem MindFormal.result_03_15_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} (CI CN : NoiseFrozen Ω N n T Λ J 𝒩) {m : ℕ} (SI : LiveSheetCertificate CI.run m) (SN : LiveSheetCertificate CN.run m) (sameMeasure : CN.run.data.μ = CI.run.data.μ) :

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

theorem MindFormal.result_03_15_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} (CI CN : NoiseFrozen Ω N n T Λ J 𝒩) {m : ℕ} (SI : LiveSheetCertificate CI.run m) (SN : LiveSheetCertificate CN.run m) (sameMeasure : CN.run.data.μ = CI.run.data.μ) (sourceGap : 0 < SI.lower - SN.upper) (slowIntegrable : MeasureTheory.Integrable SI.score CI.run.data.μ) (fastL2 : MeasureTheory.MemLp SN.score 2 CI.run.data.μ) {M : ℝ} (hM : 0 ≤ M) (secondMoment : ∫ (z : Ω), SN.score z ^ 2 ∂CI.run.data.μ ≤ M ^ 2) (tailMargin : M * √(CI.run.control.failure + CN.run.control.failure) < (1 - (CI.run.control.failure + CN.run.control.failure)) * (SI.lower - SN.upper)) :
∫ (z : Ω), SN.score z ∂CN.run.data.μ < ∫ (z : Ω), SI.score z ∂CI.run.data.μ

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

theorem MindFormal.result_03_18_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} (CL CH : NoiseFrozen Ω N n T Λ J 𝒩) (kL kH : ℕ) (A B : Fin N) (hne : B ≠ A) (lowGroup : LiveConfidenceGroup CL.run kL B) (highGroup : LiveConfidenceGroup CH.run kH A) :
1 - lowGroup.failure ≤ lowGroup.law.real {z : Ω | lowGroup.time z ∈ Set.Icc lowGroup.lower lowGroup.upper ∧ Option.map Prod.snd ((CL.run.data.toPhysicalNoiseData.globalData z).event false kL) = some B} ∧ 1 - highGroup.failure ≤ highGroup.law.real {z : Ω | highGroup.time z ∈ Set.Icc highGroup.lower highGroup.upper ∧ Option.map Prod.snd ((CH.run.data.toPhysicalNoiseData.globalData z).event false kH) = some A} ∧ 1 - lowGroup.failure - highGroup.failure ≤ lowGroup.law.real {z : Ω | ∃ (j : Fin N), j ≠ A ∧ Option.map Prod.snd ((CL.run.data.toPhysicalNoiseData.globalData z).event false kL) = some j} - highGroup.law.real {z : Ω | ∃ (j : Fin N), j ≠ A ∧ Option.map Prod.snd ((CH.run.data.toPhysicalNoiseData.globalData z).event false kH) = some j}

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

theorem MindFormal.result_03_18_live_time_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} (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) :
1 - (lowGroup.failure + highGroup.failure) ≤ (lowGroup.law.prod highGroup.law).real {z : Ω × Ω | lowGroup.lower - highGroup.upper ≤ lowGroup.time z.1 - highGroup.time z.2}

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

theorem MindFormal.result_03_18_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} (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)) :
∫ (z : Ω), highGroup.time z ∂highGroup.law < ∫ (z : Ω), lowGroup.time z ∂lowGroup.law

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

theorem MindFormal.result_03_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 𝒩) {Out : Type u_5} [MeasurableSpace Out] (value : Out) :
observationDistribution { read := fun (x : Ω) => value, measurable_read := ⋯ } E.data.μ = MeasureTheory.Measure.dirac value

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

theorem MindFormal.result_03_10_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 𝒩) (t : NNReal) (z : Ω) (i : Fin N) (hi : constructedAction E.data.toPhysicalNoiseData t z = some i) :
have S := E.data.toPhysicalNoiseData; have P := (S.globalData z).realPath ↑t; have O := fun (j : Fin N) => S.reads.output ((physicalReadState j) P); 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

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