def
MindFormal.Logic.Reasoning.inWindow
{Ω : 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)
(lo hi : ℕ → ℝ)
(label : ℕ → Fin N)
(ω : Ω)
(k : ℕ)
:
A time-bin predicate on the original support record. It introduces no record object and changes neither the native search nor its clock.
Equations
- MindFormal.Logic.Reasoning.inWindow E H lo hi label ω k = ∃ t ∈ Set.Icc (lo k) (hi k), E.supportRecord H false k ω = (t, Sum.inl (label k))
Instances For
theorem
MindFormal.Logic.Reasoning.pending_record_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 Λ}
(K : ℕ)
(lo hi : ℕ → ℝ)
(label : ℕ → Fin N)
(R : ℕ → Ω → LearningReference refData H)
(stream : Set Ω)
(allowance loading : CoordinateIndex (Fin N) n T Λ → ℝ)
(mismatch : ℕ → Ω → ℝ → ℝ)
(failure e0 L delta clearance : ℝ)
(ha : ∀ (c : CoordinateIndex (Fin N) n T Λ), 0 < allowance c)
(hm : MeasurableSet stream)
(hmass : 1 - failure ≤ E.ground.μ.real stream)
(hstart : ∀ k ≤ K, ∀ ω ∈ stream, ‖↑(E.start.state ω) - ↑(R k ω).start‖ ≤ e0)
(he0 : 0 ≤ e0)
(hL : 0 ≤ L)
(hd : 0 ≤ delta)
(hint : ∀ k ≤ K, ∀ ω ∈ stream, IntervalIntegrable (mismatch k ω) MeasureTheory.volume 0 ↑H)
(hb :
∀ k ≤ K,
∀ ω ∈ stream,
∀ (t : ↑(HorizonTime ↑H)),
(∀ j < k, inWindow E H lo hi label ω j) → pendingAt E H k ω ↑t → ∫ (s : ℝ) in 0..↑t, mismatch k ω s ≤ delta)
(drift :
∀ k ≤ K,
∀ ω ∈ stream,
(∀ j < k, inWindow E H lo hi label ω j) →
∀ (t : ↑(HorizonTime ↑H)),
pendingAt E H k ω ↑t →
∀ (s : MindState (Fin N) n T Λ),
PhysicalMindState s →
‖s - (R k ω).path t‖ ≤ clearance →
‖assembledDrift E.mind.drift ((E.supportHistory ω).input ↑t) ((E.supportHistory ω).pulse ↑t) s - learningForcing refData ⋯ (R k ω).input (R k ω).mode (R k ω).path ↑t‖ ≤ L * ‖s - (R k ω).path t‖ + mismatch k ω ↑t)
(amplitude :
∀ k ≤ K,
∀ ω ∈ stream,
(∀ j < k, inWindow E H lo hi label ω j) →
∀ (t : ↑(HorizonTime ↑H)),
pendingAt E H k ω ↑t →
∀ (s : MindState (Fin N) n T Λ),
PhysicalMindState s →
‖s - (R k ω).path t‖ ≤ clearance →
∀ (c : CoordinateIndex (Fin N) n T Λ),
∑ j : J,
E.mind.amplitude (s, (E.supportHistory ω).input ↑t, (E.supportHistory ω).pulse ↑t) c j ^ 2 ≤ loading c ^ 2)
(hroom : 2 * (e0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H) < clearance)
(modulus : Fin N → ℝ)
(hmod : ∀ (j : Fin N), 0 ≤ modulus j)
(reads :
∀ k ≤ K,
∀ ω ∈ stream,
∀ (t : ↑(HorizonTime ↑H)) (s : MindState (Fin N) n T Λ) (hs : PhysicalMindState s),
‖s - (R k ω).path t‖ ≤ clearance →
∀ (j : Fin N),
|(E.mind.reads.guards false) ⟨s, hs⟩ j - (E.mind.reads.guards false) ⟨(R k ω).path t, ⋯⟩ j| ≤ modulus j * ‖s - (R k ω).path t‖)
(times : ∀ k ≤ K, 0 ≤ lo k ∧ lo k ≤ hi k ∧ hi k ≤ ↑H)
(releases : ∀ k ≤ K, Transactions.windowRelease hi (E.mind.pause false) k ≤ lo k)
(before :
∀ k ≤ K,
∀ ω ∈ stream,
∀ t ∈ Set.Ico (Transactions.windowRelease lo (E.mind.pause false) k) (lo k),
∀ (j : Fin N),
(E.mind.reads.guards false) ((R k ω).realPath t) j + modulus j * (2 * (e0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H)) < 0)
(ready :
∀ k ≤ K,
∀ ω ∈ stream,
modulus (label k) * (2 * (e0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H)) ≤ (E.mind.reads.guards false) ((R k ω).realPath (hi k)) (label k))
(wrong :
∀ k ≤ K,
∀ ω ∈ stream,
∀ t ∈ Set.Icc (Transactions.windowRelease lo (E.mind.pause false) k) (hi k),
∀ (j : Fin N),
j ≠ label k →
(E.mind.reads.guards false) ((R k ω).realPath t) j + modulus j * (2 * (e0 + ‖allowance‖ + delta) * Real.exp (2 * L * ↑H)) < 0)
:
GI1.4--6's complete pending-prefix certificate with one uniform full-calendar bill. Each comparison retains prior returns and covers its carried past. Coefficient tests are conditional only on the already completed prefix and the next act still pending. First-failure selection in the proof uses the same uniform innovation event; it supplies no future agreement.