MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch20.OmissionTests.Weakening

04.18 (D1)–(D3): the omitted receiver's full writer on the original StateExperiment's own noise. Neither writer nor the other row inputs are deleted.

theorem MindFormal.OmissionTests.omission_loss_lower {β m p x y mlo plo a : ℝ} (hβ : β ∈ Set.Icc 0 1) (hm : 0 ≤ mlo) (hp : 0 ≤ plo) (ha : 0 ≤ a) (hml : mlo ≤ m) (hpl : plo ≤ p) (hxl : a ≤ x) (hy : 0 ≤ y) :
mlo * (1 - β) * plo * a ≤ writerLoss β m p x y

D1's loss bound from gain, presence and cue-activity lower bounds. The receiver's binding loss is nonnegative and is retained.

theorem MindFormal.OmissionTests.omission_forcing_upper {β m p e other y mhi phi z adverse : ℝ} (hβ : β ∈ Set.Icc 0 1) (hm : 0 ≤ m) (hp : 0 ≤ p) (hml : m ≤ mhi) (hpl : p ≤ phi) (he : e = 0) (ho : -adverse ≤ other) (hy : y ≤ z) (hz : 0 ≤ z) (ha : 0 ≤ adverse) :
writerForcing β m p e other y ≤ mhi * phi * ((1 - β) * adverse + β * z)

D1's full forcing bound for an unreturned answer. other includes every column except the selected cue, and may have either sign.

theorem MindFormal.OmissionTests.omission_weakening {Ω : 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) (ω : Ω) (r c : Fin N) {h a f b : ℝ} (hh : 0 ≤ h) (ha : 0 < a) (hf : 0 ≤ f) (hstart : 0 ≤ mindRelation ((E.supportHistory ω).state 0) r c) (hloss : ∀ s ∈ Set.Icc 0 h, a ≤ actualLoss (E.supportHistory ω) r c s) (hforce : ∀ s ∈ Set.Icc 0 h, actualForcing (E.supportHistory ω) r c s ≤ f) (hnoise : ∀ s ∈ Set.Icc 0 h, |(E.supportHistory ω).driver s.toNNReal (Sum.inl (r, c))| ≤ b) :
mindRelation ((E.supportHistory ω).state h) r c ≤ mindRelation ((E.supportHistory ω).state 0) r c * Real.exp (-a * h) + f / a * (1 - Real.exp (-a * h)) + 2 * b

D2 on the actual own-noise run, from the complete coefficient enclosures. Integrability and the variation identity are derived from the run.

theorem MindFormal.OmissionTests.omission_relation_movement {Ω : 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) (ω : Ω) (r c : Fin N) {s t B b : ℝ} (hs : 0 ≤ s) (hst : s ≤ t) (hbound : ∀ u ∈ Set.Icc s t, |assembledDrift (E.supportHistory ω).data ((E.supportHistory ω).input u) ((E.supportHistory ω).pulse u) ((E.supportHistory ω).state u) (Sum.inl (r, c))| ≤ B) (hnoise : |(E.supportHistory ω).driver t.toNNReal (Sum.inl (r, c)) - (E.supportHistory ω).driver s.toNNReal (Sum.inl (r, c))| ≤ b) :
|mindRelation ((E.supportHistory ω).state t) r c - mindRelation ((E.supportHistory ω).state s) r c| ≤ (t - s) * B + b

D3's carried write budget for any relation, including the unused alternative. The complete II drift and the innovation increment are charged.

theorem MindFormal.OmissionTests.omission_relation_integrated_movement {Ω : 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) (ω : Ω) (r c : Fin N) {s t b : ℝ} (B : ℝ → ℝ) (hs : 0 ≤ s) (hst : s ≤ t) (hB : IntervalIntegrable B MeasureTheory.volume s t) (hbound : ∀ u ∈ Set.Icc s t, |assembledDrift (E.supportHistory ω).data ((E.supportHistory ω).input u) ((E.supportHistory ω).pulse u) ((E.supportHistory ω).state u) (Sum.inl (r, c))| ≤ B u) (hnoise : |(E.supportHistory ω).driver t.toNNReal (Sum.inl (r, c)) - (E.supportHistory ω).driver s.toNNReal (Sum.inl (r, c))| ≤ b) :
|(E.supportHistory ω).W t r c - (E.supportHistory ω).W s r c| ≤ (∫ (u : ℝ) in s..t, B u) + b

D3's finite write bill is an integral, so a fast transition is charged for its duration. This bound retains the complete II drift and the actual innovation increment, including the unused alternative's movement.

theorem MindFormal.OmissionTests.omission_integral_prefix {B : ℝ → ℝ} {s t U : ℝ} (hst : s ≤ t) (htU : t ≤ U) (hB : IntervalIntegrable B MeasureTheory.volume s U) (hpos : ∀ u ∈ Set.Icc s U, 0 ≤ B u) :
∫ (u : ℝ) in s..t, B u ≤ ∫ (u : ℝ) in s..U, B u

A nonnegative finite coefficient bill on a shorter prefix does not exceed its full-horizon bill. Both integrability obligations are explicit.

theorem MindFormal.OmissionTests.omission_duration_cutoff {w0 a f b B wtest h : ℝ} (ha : 0 < a) (hden : 0 < wtest - f / a - 2 * b - B) (hstrict : wtest - f / a - 2 * b - B < w0 - f / a) (hh : Real.log ((w0 - f / a) / (wtest - f / a - 2 * b - B)) / a < h) :
w0 * Real.exp (-a * h) + f / a * (1 - Real.exp (-a * h)) + 2 * b + B < wtest

The printed extra-duration cutoff, with its positive denominator. The numerator is positive as a consequence, not an omitted log-domain premise.

theorem MindFormal.OmissionTests.omission_cutoff_positive {w0 a f b B wtest : ℝ} (ha : 0 < a) (hden : 0 < wtest - f / a - 2 * b - B) (hstrict : wtest - f / a - 2 * b - B < w0 - f / a) :
0 < Real.log ((w0 - f / a) / (wtest - f / a - 2 * b - B)) / a

The cutoff is genuinely positive when its denominator is below its numerator. It cannot silently authorize a negative examination duration.

theorem MindFormal.OmissionTests.omission_retained_separation {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (S C : StateExperiment Ω N n T Λ J) (ω : Ω) (r c : Fin N) {h ts tc a f bs bc Ds Dc : ℝ} (hh : 0 ≤ h) (hts : 0 ≤ ts) (htc : h ≤ tc) (ha : 0 < a) (hf : 0 ≤ f) (hsame : mindRelation ((S.supportHistory ω).state 0) r c = mindRelation ((C.supportHistory ω).state 0) r c) (hstart : 0 ≤ mindRelation ((C.supportHistory ω).state 0) r c) (hloss : ∀ u ∈ Set.Icc 0 h, a ≤ actualLoss (C.supportHistory ω) r c u) (hforce : ∀ u ∈ Set.Icc 0 h, actualForcing (C.supportHistory ω) r c u ≤ f) (hnoise : ∀ u ∈ Set.Icc 0 h, |(C.supportHistory ω).driver u.toNNReal (Sum.inl (r, c))| ≤ bc) (hstop : ∀ u ∈ Set.Icc 0 ts, |assembledDrift (S.supportHistory ω).data ((S.supportHistory ω).input u) ((S.supportHistory ω).pulse u) ((S.supportHistory ω).state u) (Sum.inl (r, c))| ≤ Ds) (hcont : ∀ u ∈ Set.Icc h tc, |assembledDrift (C.supportHistory ω).data ((C.supportHistory ω).input u) ((C.supportHistory ω).pulse u) ((C.supportHistory ω).state u) (Sum.inl (r, c))| ≤ Dc) (hstopNoise : |(S.supportHistory ω).driver ts.toNNReal (Sum.inl (r, c)) - (S.supportHistory ω).driver 0 (Sum.inl (r, c))| ≤ bs) (hcontNoise : |(C.supportHistory ω).driver tc.toNNReal (Sum.inl (r, c)) - (C.supportHistory ω).driver h.toNNReal (Sum.inl (r, c))| ≤ bc) :
mindRelation ((C.supportHistory ω).state 0) r c - (ts * Ds + bs) ≤ mindRelation ((S.supportHistory ω).state ts) r c ∧ mindRelation ((C.supportHistory ω).state tc) r c ≤ mindRelation ((C.supportHistory ω).state 0) r c * Real.exp (-a * h) + f / a * (1 - Real.exp (-a * h)) + 2 * bc + ((tc - h) * Dc + bc)

D3 for two protocols with the same pretrial relation. Stop and continuation use their own complete writers through their respective rests.

theorem MindFormal.OmissionTests.omission_weakening_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) (H : NNReal) (hH : H ≤ E.horizon) {refData : MindDriftData (Fin N) n T Λ} (R : Ω → LearningReference refData 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 refData ⋯ (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) (r c : Fin N) {h tread a f w0 wtest B : ℝ} (ha : 0 < a) (hf : 0 ≤ f) (hw0 : 0 ≤ w0) (hinit : ∀ ω ∈ stream, mindRelation (↑(E.start.state ω)) r c = w0) (hread : h ≤ tread) (hreadH : tread ≤ ↑H) (htest : wtest < w0) (hden : 0 < wtest - f / a - 2 * allowance (Sum.inl (r, c)) - ((tread - h) * B + 2 * allowance (Sum.inl (r, c)))) (hdenlt : wtest - f / a - 2 * allowance (Sum.inl (r, c)) - ((tread - h) * B + 2 * allowance (Sum.inl (r, c))) < w0 - f / a) (hcut : Real.log ((w0 - f / a) / (wtest - f / a - 2 * allowance (Sum.inl (r, c)) - ((tread - h) * B + 2 * allowance (Sum.inl (r, c))))) / a < h) (hcoeff : ∀ ω ∈ 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 p := E.mind.presence (mindTrace s c); have e := E.mind.drive ((E.supportHistory ω).input (↑t) r) ((E.supportHistory ω).pulse (↑t) r) (mindValue s r); e = 0 ∧ a ≤ writerLoss E.mind.β gain p (mindActivity s c) (mindActivity s r) ∧ writerForcing E.mind.β gain p e (∑ j ∈ Finset.univ.erase c, mindRelation s r j * mindActivity s j) (mindActivity s r) ≤ f) (hrest : ∀ ω ∈ stream, ∀ (t : ↑(HorizonTime ↑H)), h ≤ ↑t → ↑t ≤ tread → ∀ (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 (r, c))| ≤ B) :
∃ (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, (∀ u ∈ Set.Icc 0 h, (E.supportHistory ω).e u r = 0) ∧ (E.supportHistory ω).W h r c ≤ w0 * Real.exp (-a * h) + f / a * (1 - Real.exp (-a * h)) + 2 * allowance (Sum.inl (r, c)) ∧ (E.supportHistory ω).W tread r c < wtest ∧ (E.supportHistory ω).W tread r c < (E.supportHistory ω).W 0 r c ∧ ∀ t ≤ H, ∀ (j : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t j| < allowance j

04.18 (D1)–(D3), with the boundary's strict cutoff, on a closed full-state event for the original state-dependent experiment. The hypotheses are uniform coefficient/read enclosures around a verified full reference; the unknown actual path, written separation and noise event are conclusions.