Release brackets calculated from the preceding reference window and the native pause. The zero slot has the native initial release.
Equations
- MindFormal.Transactions.windowRelease edge pause 0 = 0
- MindFormal.Transactions.windowRelease edge pause k.succ = edge k + pause
Instances For
theorem
MindFormal.Transactions.reference_native_prefix
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
(G : PhysicalGlobalData N n T Λ)
(H : NNReal)
(y : ℝ → PhysicalState N n T Λ)
(c : Bool)
(K : ℕ)
{error clearance : ℝ}
(guardMod scoreMod : Fin N → ℝ)
(_he : 0 ≤ error)
(hgc : ∀ (j : Fin N), 0 ≤ guardMod j)
(hsc : ∀ (j : Fin N), 0 ≤ scoreMod j)
(hclose : error < clearance)
(tube : ∀ t ∈ Set.Icc 0 ↑H, ‖↑(G.realPath t) - ↑(y t)‖ ≤ error)
(guardLip :
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - ↑(y t)‖ ≤ clearance →
∀ (j : Fin N), |(G.reads.guards c) x j - (G.reads.guards c) (y t) j| ≤ guardMod j * ‖↑x - ↑(y t)‖)
(scoreLip :
∀ t ∈ Set.Icc 0 ↑H,
∀ (x : PhysicalState N n T Λ),
‖↑x - ↑(y t)‖ ≤ clearance →
∀ (j : Fin N), |(G.reads.scores c) x j - (G.reads.scores c) (y t) j| ≤ scoreMod j * ‖↑x - ↑(y t)‖)
(lo hi : ℕ → ℝ)
(winner : ℕ → Fin N)
(htimes : ∀ k ≤ K, 0 ≤ lo k ∧ lo k ≤ hi k ∧ hi k ≤ ↑H)
(hreleases : ∀ k ≤ K, windowRelease hi (G.pause c) k ≤ hi k)
(before :
∀ k ≤ K,
∀ t ∈ Set.Ico (windowRelease lo (G.pause c) k) (lo k),
∀ (j : Fin N), (G.reads.guards c) (y t) j + guardMod j * error < 0)
(qualifies : ∀ k ≤ K, guardMod (winner k) * error ≤ (G.reads.guards c) (y (hi k)) (winner k))
(dominates :
∀ k ≤ K,
∀ t ∈ Set.Icc (lo k) (hi k),
∀ (j : Fin N),
j ≠ winner k →
guardMod (winner k) * error ≤ (G.reads.guards c) (y t) (winner k) ∧ (G.reads.scores c) (y t) j + scoreMod j * error < (G.reads.scores c) (y t) (winner k) - scoreMod (winner k) * error)
(k : ℕ)
:
Local read moduli and reference margins determine an entire finite native prefix. Releases are derived recursively from actual preceding marks. This pathwise lemma is used below only after the full own-noise tube is proved.