theorem
MindFormal.A640SharedReports.completed_lesson_dose
{I : Type u_1}
[Fintype I]
{H omega duration : ℝ}
(mu : ℝ → ℝ)
(left right : I → ℝ)
(hH : 0 ≤ H)
(hm : IntervalIntegrable mu MeasureTheory.volume 0 H)
(hm0 : ∀ s ∈ Set.Icc 0 H, 0 ≤ mu s)
(ho : 0 ≤ omega)
(bounds : ∀ (i : I), 0 ≤ left i ∧ left i ≤ right i ∧ right i ≤ H)
(disjoint : Pairwise fun (i j : I) => Disjoint (Set.Ioc (left i) (right i)) (Set.Ioc (left j) (right j)))
(length : ∀ (i : I), duration ≤ right i - left i)
(floor : ∀ (i : I), ∀ s ∈ Set.Icc (left i) (right i), omega ≤ mu s)
:
Completed disjoint physical lesson intervals are contained in the candidate horizon. Retention losses are charged separately through this whole horizon; lessons need not be contiguous.
theorem
MindFormal.A640SharedReports.completed_lesson_threshold
{H dose omega duration : ℝ}
(mu : ℝ → ℝ)
(ho : 0 < omega)
(hd : 0 < duration)
(left right : Fin ⌈dose / (omega * duration)⌉₊ → ℝ)
(hH : 0 ≤ H)
(hm : IntervalIntegrable mu MeasureTheory.volume 0 H)
(hm0 : ∀ s ∈ Set.Icc 0 H, 0 ≤ mu s)
(bounds : ∀ (i : Fin ⌈dose / (omega * duration)⌉₊), 0 ≤ left i ∧ left i ≤ right i ∧ right i ≤ H)
(disjoint :
Pairwise fun (i j : Fin ⌈dose / (omega * duration)⌉₊) =>
Disjoint (Set.Ioc (left i) (right i)) (Set.Ioc (left j) (right j)))
(length : ∀ (i : Fin ⌈dose / (omega * duration)⌉₊), duration ≤ right i - left i)
(floor : ∀ (i : Fin ⌈dose / (omega * duration)⌉₊), ∀ s ∈ Set.Icc (left i) (right i), omega ≤ mu s)
:
The ceiling choice provides the required dose from actual completed lessons, including zero or negative required doses.