MindFormal v1.0.0One Mind

MindFormal.Run.A595Carried.ReleaseLattice

theorem MindFormal.A595Carried.native_release_lattice {N : ℕ} {g f : ℝ → Fin N → ℝ} {H θ d : ℝ} (S : NativeSchedule g f H θ) (k : ℕ) (hd : S.release k = d) (i : Fin N) (qualifies : ∀ t ∈ Set.Icc d H, 0 ≤ g t i) (dominates : ∀ t ∈ Set.Icc d H, ∀ (j : Fin N), j ≠ i → 0 ≤ g t j → f t j < f t i) (m : ℕ) :
d + ↑m * θ ≤ H → (S.search (k + m)).event = some (d + ↑m * θ, i)

Support at every release of the ACTUAL schedule yields the complete future timed record. Earlier records enter through the actual release d of slot k. All returns must be included when verifying the support inequalities.

theorem MindFormal.A595Carried.release_lattice_count {θ d H : ℝ} (hθ : 0 < θ) (hdH : d ≤ H) :
{m : ℕ | d + ↑m * θ ≤ H} = Set.Iio (1 + ⌊(H - d) / θ⌋₊)

The exact number of releases through the inclusive deadline. This counts a release at H and gives zero when the actual release is later.