MindFormal v1.0.0One Mind

MindFormal.Example.AstraCarried.CalendarBudget

theorem MindFormal.AstraCarried.calendarDefect_linear {N : ℕ} (P : Parameters) (X K dx dr : ℝ) :
calendarDefect P X K dx dr = ↑P.m * (1 / 10 * X * K + 9 / 10 * X + 9 / 10 * K) * dx + ↑P.m * (1 / 10 * ↑N * K * X + 9 / 10 * X) * dr
theorem MindFormal.AstraCarried.calendarDefect_mono {N : ℕ} (P : Parameters) {X K dx dr dx' dr' : ℝ} (hX : 0 ≤ X) (hK : 0 ≤ K) (hx : dx ≤ dx') (hr : dr ≤ dr') :
calendarDefect P X K dx dr ≤ calendarDefect P X K dx' dr'
theorem MindFormal.AstraCarried.l1Difference_integrable {N : ℕ} {H : ℝ} {x a : ℝ → Fin N → ℝ} (hx : ∀ (i : Fin N), IntervalIntegrable (fun (t : ℝ) => x t i) MeasureTheory.volume 0 H) (ha : ∀ (i : Fin N), IntervalIntegrable (fun (t : ℝ) => a t i) MeasureTheory.volume 0 H) :
theorem MindFormal.AstraCarried.l1Difference_integral {N : ℕ} {H D : ℝ} {x a : ℝ → Fin N → ℝ} (hx : ∀ (i : Fin N), IntervalIntegrable (fun (t : ℝ) => x t i) MeasureTheory.volume 0 H) (ha : ∀ (i : Fin N), IntervalIntegrable (fun (t : ℝ) => a t i) MeasureTheory.volume 0 H) (hb : ∀ (i : Fin N), ∫ (t : ℝ) in 0..H, |x t i - a t i| ≤ D) :
∫ (t : ℝ) in 0..H, l1Difference (x t) (a t) ≤ ↑N * D
theorem MindFormal.AstraCarried.smooth_calendar_defect_budget {N : ℕ} {K₀ : Type u_1} [Fintype K₀] (P : Parameters) {κ H X K : ℝ} (hκ : 0 < κ) (hH : 0 ≤ H) (hX : 0 ≤ X) (hK : 0 ≤ K) (cut : K₀ → ℝ) (jump : K₀ → Fin N → ℝ) (hc : ∀ (k : K₀), 0 ≤ cut k) :
have x := smoothCalendar κ cut jump; have r := calendarTrace P x; have a := Page.stepSignal cut jump; have V := Page.jumpVariation cut jump H; IntervalIntegrable (fun (t : ℝ) => calendarDefect P X K (l1Difference (x t) (a t)) (l1Difference (r t) (a t))) MeasureTheory.volume 0 H ∧ ∀ t ∈ Set.Icc 0 H, ∫ (s : ℝ) in 0..t, calendarDefect P X K (l1Difference (x s) (a s)) (l1Difference (r s) (a s)) ≤ calendarDefect P X K (↑N * (V / κ)) (↑N * (V / κ + V / ↑P.rate))

The complete source error bill, with all switching and D4 tails included. Its dependence on the positive learning gain is explicit.