MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch20.OmissionTests.Paired

D1--D5 on one mind and pretrial state, with both original native first records, all own-noise prices and carried neutral activity.

theorem MindFormal.OmissionTests.omission_paired_event {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (continued : ConstructedWorld E.mind E.ground) (correct wrong cue alternative : Fin N) (H : NNReal) (hH : H ≤ E.horizon) (R : Bool → Ω → LearningReference E.mind.drift H) (stream : Bool → Set Ω) (allowance loading : Bool → CoordinateIndex (Fin N) n T Λ → ℝ) (mismatch : Bool → Ω → ℝ → ℝ) {d0 L delta clearance failure : Bool → ℝ} (hallow : ∀ (b : Bool) (j : CoordinateIndex (Fin N) n T Λ), 0 < allowance b j) (hstream : ∀ (b : Bool), MeasurableSet (stream b)) (hmass : ∀ (b : Bool), 1 - failure b ≤ (omissionExperiment E continued b).ground.μ.real (stream b)) (hstart : ∀ (b : Bool), ∀ ω ∈ stream b, ‖↑((omissionExperiment E continued b).start.state ω) - ↑(R b ω).start‖ ≤ d0 b) (hd0 : ∀ (b : Bool), 0 ≤ d0 b) (hL : ∀ (b : Bool), 0 ≤ L b) (hdelta : ∀ (b : Bool), 0 ≤ delta b) (hmismatch : ∀ (b : Bool), ∀ ω ∈ stream b, IntervalIntegrable (mismatch b ω) MeasureTheory.volume 0 ↑H) (hbudget : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ∫ (z : ℝ) in 0..↑t, mismatch b ω z ≤ delta b) (hdrift : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)) (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → ‖assembledDrift (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s - learningForcing (omissionExperiment E continued b).mind.drift ⋯ (R b ω).input (R b ω).mode (R b ω).path ↑t‖ ≤ L b * ‖s - (R b ω).path t‖ + mismatch b ω ↑t) (hloading : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)) (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → ∀ (j : CoordinateIndex (Fin N) n T Λ), ∑ k : J, (omissionExperiment E continued b).mind.amplitude (s, ((omissionExperiment E continued b).supportHistory ω).input ↑t, ((omissionExperiment E continued b).supportHistory ω).pulse ↑t) j k ^ 2 ≤ loading b j ^ 2) (hclearance : ∀ (b : Bool), 2 * (d0 b + ‖allowance b‖ + delta b) * Real.exp (2 * L b * ↑H) < clearance b) (hne : correct ≠ wrong) {h p U a f w0 v0 : ℝ} (Fcorrect Falt : Bool → ℝ → ℝ) {lowerLink upperLink : Bool → ℝ} (hh : 0 ≤ h) (hhp : h ≤ p) (hpU : p ≤ U) (hUH : U ≤ ↑H) (ha : 0 < a) (hf : 0 ≤ f) (hw0 : 0 ≤ w0) (hFc : ∀ (b : Bool), ∀ t ∈ Set.Icc (if b = true then h else 0) U, 0 ≤ Fcorrect b t) (hFa : ∀ (b : Bool), ∀ t ∈ Set.Icc 0 U, 0 ≤ Falt b t) (hFci : ∀ (b : Bool), IntervalIntegrable (Fcorrect b) MeasureTheory.volume (if b = true then h else 0) U) (hFai : ∀ (b : Bool), IntervalIntegrable (Falt b) MeasureTheory.volume 0 U) (hinit : ∀ (b : Bool), ∀ ω ∈ stream b, mindRelation (↑((omissionExperiment E continued b).start.state ω)) correct cue = w0 ∧ mindRelation (↑((omissionExperiment E continued b).start.state ω)) wrong alternative = v0) (hweakening : ∀ (b : Bool), b = true → ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t ≤ h → ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → have gain := (omissionExperiment E continued b).mind.gain fun (k : T) (j : Fin n) => |assembledResidual (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) s k j|; have pr := (omissionExperiment E continued b).mind.presence (mindTrace s cue); have er := (omissionExperiment E continued b).mind.drive (((omissionExperiment E continued b).supportHistory ω).input (↑t) correct) (((omissionExperiment E continued b).supportHistory ω).pulse (↑t) correct) (mindValue s correct); er = 0 ∧ a ≤ writerLoss (omissionExperiment E continued b).mind.β gain pr (mindActivity s cue) (mindActivity s correct) ∧ writerForcing (omissionExperiment E continued b).mind.β gain pr 0 (∑ j ∈ Finset.univ.erase cue, mindRelation s correct j * mindActivity s j) (mindActivity s correct) ≤ f) (hcorrectWrites : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), (if b = true then h else 0) ≤ ↑t → ↑t ≤ U → ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → |assembledDrift (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s (Sum.inl (correct, cue))| ≤ Fcorrect b ↑t) (haltWrites : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t ≤ U → ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → |assembledDrift (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s (Sum.inl (wrong, alternative))| ≤ Falt b ↑t) (hlo : ∀ (b : Bool), 0 ≤ lowerLink b) (hhi : ∀ (b : Bool), 0 ≤ upperLink b) (hpaidLower : ∀ (b : Bool), lowerLink b ≤ if b = true then (v0 - ∫ (t : ℝ) in 0..U, Falt b t) - 2 * allowance b (Sum.inl (wrong, alternative)) else (w0 - ∫ (t : ℝ) in 0..U, Fcorrect b t) - 2 * allowance b (Sum.inl (correct, cue))) (hpaidUpper : ∀ (b : Bool), (if b = true then omissionContinuedUpper w0 a f h (∫ (t : ℝ) in h..U, Fcorrect b t) (allowance b (Sum.inl (correct, cue))) else (v0 + ∫ (t : ℝ) in 0..U, Falt b t) + 2 * allowance b (Sum.inl (wrong, alternative))) ≤ upperLink b) (hseparation : upperLink true < lowerLink false) {cueLower cueUpper restLower restUpper loadLower loadUpper lower start : Bool → ℝ} (upper startUpper valueBill : Bool → Fin N → ℝ) (hcueLower : ∀ (b : Bool), 0 ≤ cueLower b) (hloadLower : ∀ (b : Bool), 0 < loadLower b) (hreadCoefficients : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t ∈ Set.Icc p U → ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → cueLower b ≤ mindActivity s (if b = true then alternative else cue) ∧ mindActivity s (if b = true then cue else alternative) ≤ cueUpper b ∧ restLower b ≤ otherInput (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s (if b = true then wrong else correct) (if b = true then alternative else cue) ∧ otherInput (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s (if b = true then correct else wrong) (if b = true then cue else alternative) ≤ restUpper b ∧ otherLoad (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s (if b = true then wrong else correct) ≤ loadUpper b ∧ loadLower b ≤ otherLoad (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s (if b = true then correct else wrong)) (hreadLower : ∀ (b : Bool), lower b ≤ max ((omissionExperiment E continued b).mind.transform.ψ (lowerLink b * cueLower b + restLower b) / ((omissionExperiment E continued b).mind.transform.ψ (lowerLink b * cueLower b + restLower b) + loadUpper b) - (omissionExperiment E continued b).mind.activity.g) 0) (hreadUpper : ∀ (b : Bool), max ((omissionExperiment E continued b).mind.transform.ψ (upperLink b * cueUpper b + restUpper b) / ((omissionExperiment E continued b).mind.transform.ψ (upperLink b * cueUpper b + restUpper b) + loadLower b) - (omissionExperiment E continued b).mind.activity.g) 0 ≤ upper b (if b = true then correct else wrong)) (hotherOutputs : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t ∈ Set.Icc p U → ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → ∀ (i : Fin N), (i ≠ if b = true then wrong else correct) → (i ≠ if b = true then correct else wrong) → (omissionExperiment E continued b).mind.reads.outputs i = true → normalizedTarget (omissionExperiment E continued b).mind.activity.σ (omissionExperiment E continued b).mind.activity.g (assembledInputs (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s) i ≤ upper b i) (hvalue : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t ∈ Set.Icc p U → ∀ (s : MindState (Fin N) n T Λ) (hs : PhysicalMindState s), ‖s - (R b ω).path t‖ ≤ clearance b → ∀ (i : Fin N), |(omissionExperiment E continued b).mind.reads.output ((physicalReadState i) ⟨s, hs⟩) - mindActivity s i| ≤ valueBill b i) (hreadStart : ∀ (b : Bool), ∀ ω ∈ stream b, start b + 2 * (d0 b + ‖allowance b‖ + delta b) * Real.exp (2 * L b * ↑H) ≤ mindActivity ((R b ω).path ⟨p, ⋯⟩) (if b = true then wrong else correct) ∧ ∀ (i : Fin N), (i ≠ if b = true then wrong else correct) → (omissionExperiment E continued b).mind.reads.outputs i = true → mindActivity ((R b ω).path ⟨p, ⋯⟩) i + 2 * (d0 b + ‖allowance b‖ + delta b) * Real.exp (2 * L b * ↑H) ≤ startUpper b i) {restBegin restEnd residual : ℝ} (restStart restTarget : Bool → Fin N → ℝ) (hr0 : 0 ≤ restBegin) (hrr : restBegin ≤ restEnd) (hrp : restEnd ≤ p) (hrestStart : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (i : Fin N), mindActivity ((R b ω).path ⟨restBegin, ⋯⟩) i + 2 * (d0 b + ‖allowance b‖ + delta b) * Real.exp (2 * L b * ↑H) ≤ restStart b i) (hquiet : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t ∈ Set.Icc restBegin restEnd → ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - (R b ω).path t‖ ≤ clearance b → ∀ (i : Fin N), normalizedTarget (omissionExperiment E continued b).mind.activity.σ (omissionExperiment E continued b).mind.activity.g (assembledInputs (omissionExperiment E continued b).mind.drift (((omissionExperiment E continued b).supportHistory ω).input ↑t) (((omissionExperiment E continued b).supportHistory ω).pulse ↑t) s) i ≤ restTarget b i) (htail : ∀ (b : Bool) (i : Fin N), referenceActivity (omissionExperiment E continued b).mind.activity.ν (restTarget b i) (restStart b i) (restEnd - restBegin) + 4 * allowance b (Sum.inr (Sum.inl i)) ≤ residual) (hearly : ∀ (b : Bool), ∀ ω ∈ stream b, ∀ (t : ↑(HorizonTime ↑H)), ↑t < p → ∀ (s : MindState (Fin N) n T Λ) (hs : PhysicalMindState s), ‖s - (R b ω).path t‖ ≤ clearance b → ∀ (i : Fin N), (omissionExperiment E continued b).mind.reads.outputs i = true → (omissionExperiment E continued b).mind.reads.output ((physicalReadState i) ⟨s, hs⟩) < (omissionExperiment E continued b).mind.reads.actionBar) (hout : ∀ (b : Bool), (omissionExperiment E continued b).mind.reads.outputs (if b = true then wrong else correct) = true) (hstartBelow : ∀ (b : Bool), start b < (omissionExperiment E continued b).mind.reads.actionBar + valueBill b (if b = true then wrong else correct) + 4 * allowance b (Sum.inr (Sum.inl (if b = true then wrong else correct)))) (hgap : ∀ (b : Bool), (omissionExperiment E continued b).mind.reads.actionBar + valueBill b (if b = true then wrong else correct) + 4 * allowance b (Sum.inr (Sum.inl (if b = true then wrong else correct))) < lower b) (hdeadline : ∀ (b : Bool), passageTime (omissionExperiment E continued b).mind.activity.ν (lower b) (start b) ((omissionExperiment E continued b).mind.reads.actionBar + valueBill b (if b = true then wrong else correct) + 4 * allowance b (Sum.inr (Sum.inl (if b = true then wrong else correct)))) ≤ U - p) (hexclude : ∀ (b : Bool) (i : Fin N), (i ≠ if b = true then wrong else correct) → (omissionExperiment E continued b).mind.reads.outputs i = true → max (startUpper b i) (upper b i) + 4 * allowance b (Sum.inr (Sum.inl i)) + valueBill b i < (omissionExperiment E continued b).mind.reads.actionBar) (hknown : ∀ (ω : Ω) (hist : FiniteActionHistory (Fin N)), ChronologicalHistory hist → ∀ t ∈ Set.Icc 0 ↑H, strictPastInput E.world.world t hist ω correct = 0 ∧ strictPastInput continued.world t hist ω correct = 0 ∧ (h ≤ t → strictPastInput E.world.world t hist ω = strictPastInput continued.world t hist ω) ∧ (t < h → ∀ (i : Fin N), i ≠ cue → strictPastInput E.world.world t hist ω i = strictPastInput continued.world t hist ω i)) {ε : ℝ} (hprice : min 1 (failure false + ∑ j : CoordinateIndex (Fin N) n T Λ with loading false j ≠ 0, 2 * Real.exp (-(allowance false j ^ 2 / (2 * loading false j ^ 2 * ↑H)))) + min 1 (failure true + ∑ j : CoordinateIndex (Fin N) n T Λ with loading true j ≠ 0, 2 * Real.exp (-(allowance true j ^ 2 / (2 * loading true j ^ 2 * ↑H)))) ≤ ε) (hε : ε < 1 / 2) :
∃ (good : Set Ω), MeasurableSet good ∧ 1 - ε ≤ E.ground.μ.real good ∧ (∀ ω ∈ good, (∃ t ∈ Set.Icc p U, (omissionExperiment E continued false).supportRecord H false 0 ω = (t, Sum.inl correct)) ∧ (∃ t ∈ Set.Icc p U, (omissionExperiment E continued true).supportRecord H false 0 ω = (t, Sum.inl wrong)) ∧ (∀ (i : Fin N), |((omissionExperiment E continued false).supportHistory ω).x restEnd i - ((omissionExperiment E continued true).supportHistory ω).x restEnd i| ≤ residual) ∧ (∀ t ∈ Set.Icc p U, lowerLink false ≤ ((omissionExperiment E continued false).supportHistory ω).W t correct cue ∧ ((omissionExperiment E continued false).supportHistory ω).W t wrong alternative ≤ upperLink false ∧ lowerLink true ≤ ((omissionExperiment E continued true).supportHistory ω).W t wrong alternative ∧ ((omissionExperiment E continued true).supportHistory ω).W t correct cue ≤ upperLink true ∧ ((omissionExperiment E continued true).supportHistory ω).W t correct cue < ((omissionExperiment E continued false).supportHistory ω).W t correct cue) ∧ (∀ t ∈ Set.Icc 0 ↑H, ((omissionExperiment E continued false).supportHistory ω).input t correct = 0 ∧ ((omissionExperiment E continued true).supportHistory ω).input t correct = 0) ∧ ∀ (hist : FiniteActionHistory (Fin N)), ChronologicalHistory hist → ∀ t ∈ Set.Icc 0 ↑H, (h ≤ t → strictPastInput E.world.world t hist ω = strictPastInput continued.world t hist ω) ∧ (t < h → ∀ (i : Fin N), i ≠ cue → strictPastInput E.world.world t hist ω i = strictPastInput continued.world t hist ω i)) ∧ 1 - ε ≤ E.ground.μ.real {ω : Ω | ((omissionExperiment E continued false).supportRecord H false 0 ω).2 = Sum.inl correct} ∧ E.ground.μ.real {ω : Ω | ((omissionExperiment E continued true).supportRecord H false 0 ω).2 = Sum.inl correct} ≤ ε ∧ 1 - 2 * ε ≤ E.ground.μ.real {ω : Ω | ((omissionExperiment E continued false).supportRecord H false 0 ω).2 = Sum.inl correct} - E.ground.μ.real {ω : Ω | ((omissionExperiment E continued true).supportRecord H false 0 ω).2 = Sum.inl correct} ∧ 0 < 1 - 2 * ε

The paired omission mechanism and probability comparison. Every coefficient hypothesis ranges over the full physical enclosure. The common event, learned links, carried rest bounds and native first answers are proved. The world law permits only the known question to differ during examination on a common action history and uses one later protocol. Each native history keeps its own returned input; the correct label is never returned.