MindFormal v1.0.0One Mind

MindFormal.Tools.A630EncounterLaws.Spacing

theorem MindFormal.A630EncounterLaws.spaced_window_count (S : Set ℕ) (time : ℕ → ℝ) {entry H pause : ℝ} (hp : 0 < pause) (window : ∀ n ∈ S, entry ≤ time n ∧ time n ≤ entry + H) (spacing : ∀ n ∈ S, ∀ m ∈ S, n < m → time n + pause ≤ time m) :
S.ncard ≤ 1 + ⌊H / pause⌋₊

Packing an endpoint-inclusive window pays one initially eligible event. The proof bins elapsed times by the positive native pause.

theorem MindFormal.A630EncounterLaws.serial_elapsed {d : ℕ} (hd : 0 < d) (time : Fin d → ℝ) {pause : ℝ} (step : ∀ (k : ℕ) (hk : k + 1 < d), time ⟨k, ⋯⟩ + pause ≤ time ⟨k + 1, hk⟩) :
↑(d - 1) * pause ≤ time ⟨d - 1, ⋯⟩ - time ⟨0, hd⟩

Serial implemented events have an elapsed-time price, including the one-event zero bound. The schedule can skip other intervening events.