MindFormal v1.0.0One Mind

MindFormal.Tools.A695GamesRoles.PrefixPrice

theorem MindFormal.A695GamesRoles.RetainedCalendar.trainingMask_one {rate : ℝ} (hr : 0 < rate) {count j : ℕ} (hj : j < count) {t : ℝ} (ht : t ∈ trainingReceipt rate j) :
trainingMask rate count t = 1
theorem MindFormal.A695GamesRoles.RetainedCalendar.trainingMask_zero {rate : ℝ} {count : ℕ} {t : ℝ} (ht : ∀ j < count, t ∉ trainingReceipt rate j) :
trainingMask rate count t = 0
theorem MindFormal.A695GamesRoles.RetainedCalendar.prefix_price {rate t : ℝ} (hr : 0 < rate) (count : ℕ) (hc : count ≤ 3) (ht : t ∈ Set.Icc (freeTime rate count) (freeTime rate count + 5)) {kappa : ℝ → ℝ} {q : ℝ} (hq : q ∈ Set.Icc 0 1) (hi : IntervalIntegrable kappa MeasureTheory.volume 0 t) (hb : ∀ s ∈ Set.Icc 0 t, kappa s ∈ Set.Icc 0 28) (htrain : ∀ j < count, ∀ s ∈ trainingReceipt rate j, kappa s = q) :
∫ (s : ℝ) in 0..t, |kappa s - q| ≤ 1000

The long training intervals carry the actual matched receipt. Only the short calendar complement is charged, before the next free or own-action exposure. No receipt after the query cut enters this bound.

theorem MindFormal.A695GamesRoles.RetainedCalendar.prefix_price_until {rate t : ℝ} (hr : 0 < rate) (count : ℕ) (hc : count ≤ 3) (_ht0 : 0 ≤ t) (ht : t ≤ freeTime rate count + 5) {kappa : ℝ → ℝ} {q : ℝ} (hq : q ∈ Set.Icc 0 1) (hi : ∀ (a b : ℝ), IntervalIntegrable kappa MeasureTheory.volume a b) (hb : ∀ s ∈ Set.Icc 0 (max t (freeTime rate count)), kappa s ∈ Set.Icc 0 28) (htrain : ∀ j < count, ∀ s ∈ trainingReceipt rate j, kappa s = q) :
∫ (s : ℝ) in 0..t, |kappa s - q| ≤ 1000

The same price also controls earlier cuts. The enclosing completed training calendar is legitimate because its commitments are already fixed; monotonicity only enlarges the nonnegative discrepancy integral.