MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch20.OmissionTests.Protocols

04.18's two later-test procedures. All hypotheses below are primitive data or uniform coefficient/reference enclosures. The own-noise event, retained links, complete targets and native answer are derived together.

noncomputable def MindFormal.OmissionTests.omissionContinuedUpper (w0 a f h drift noise : ℝ) :

D2 plus the entire post-examination write and innovation bill.

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

    One procedure, stop or continue, with the original native clock. The retained winning link is obtained from its complete writer. The losing link is bounded by D2 and its subsequent writes in the continuation, and by its full write budget in the stop procedure. No later strength or winner is an assumption.