theorem
MindFormal.AstraCarried.smooth_bank_from_step
{N : ℕ}
{J : Type u_1}
[Fintype J]
(P : Parameters)
(hrate : P.rate = 1)
(m : ℚ)
(hm : 0 < m)
{T X K : ℝ}
(hT : 0 ≤ T)
(hX : 0 ≤ X)
(hK : 0 ≤ K)
(cut : J → ℝ)
(jump : J → Fin N → ℝ)
(hc : ∀ (j : J), 0 ≤ cut j)
(haB : ∀ t ∈ Set.Icc 0 T, ∀ (i : Fin N), Page.stepSignal cut jump t i ∈ Set.Icc 0 X)
(Z : ℝ → RelationBank N)
(hZ : Continuous Z)
(hZ0 : Z 0 = 0)
(hZB : ∀ t ∈ Set.Icc 0 T, ‖Z t‖ ≤ K)
(hZI :
IntervalIntegrable
(fun (t : ℝ) =>
calendarRelation (P.withGain 1 ⋯) (Page.stepSignal cut jump) (Page.stepSignal cut jump) (fun (x : ℝ) => 0) t
(Z t))
MeasureTheory.volume 0 T)
(hZe :
∀ t ∈ Set.Icc 0 T,
Z t = ∫ (s : ℝ) in 0..t, calendarRelation (P.withGain 1 ⋯) (Page.stepSignal cut jump) (Page.stepSignal cut jump) (fun (x : ℝ) => 0) s
(Z s))
:
have Q := P.withGain m hm;
have x := smoothCalendar 1 (fun (j : J) => cut j / ↑m) jump;
have V := Page.jumpVariation cut jump T;
∃ (W : ℝ → RelationBank N),
Continuous W ∧ W 0 = 0 ∧ (∀ t ∈ Set.Icc 0 (T / ↑m),
W t = ∫ (s : ℝ) in 0..t, calendarRelation Q x (calendarTrace Q x) (fun (x : ℝ) => 0) s (W s)) ∧ ‖W (T / ↑m) - Z T‖ ≤ ↑m * (calendarDefect (P.withGain 1 ⋯) X K (↑N * V) (↑N * (V + V)) * Real.exp (calendarRelationL N (P.withGain 1 ⋯) X X * T))
Fixed trace/ramp rates suffice. A unit-dose step bank is constructed
by measurable_bank_exists; this theorem constructs the continuous full-II
bank from zero and charges every ramp and trace tail. Its endpoint error
is linear in the chosen positive gain, with a gain-independent constant.