MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch07.A595Carried.CT1CalendarApprox

theorem MindFormal.A595Carried.CT1.ControlledBank.priced {N : ℕ} {P : CoholdingExample.Parameters} {H : NNReal} {x : ℝ → Fin N → ℝ} (B : ControlledBank P H (CoholdingExample.start N) x fun (x : ℝ) => 0) (hH : 0 < H) {L : NNReal} (hx : ∀ (i : Fin N), LipschitzWith L fun (t : ℝ) => x t i) (hx₀ : x 0 = 0) (hxB : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), x t i ∈ Set.Icc 0 1) {Ω : Type u_1} [MeasurableSpace Ω] {e δ : ℝ} (he : 0 < e) (G : EquationGround Ω (CoholdingExample.Sources N)) (hG : CompletedEquationGround G) (hδ : 0 < δ) (hδ₁ : δ < 1) :
∃ (b : ℝ), 0 < b ∧ 0 < ConceptPreparation.calendarPrice H P x (fun (s : ℝ) => fullBank (B.state s)) 0 e b ∧ ConceptPreparation.calendarPrice H P x (fun (s : ℝ) => fullBank (B.state s)) 0 e b ≤ G.μ.real (CoholdingCertificate.nativeCorridor (CoholdingExample.setting H N P he G hG 0 ⋯) (ConceptPreparation.calendarPath H P x (fun (s : ℝ) => fullBank (B.state s)) ⋯ ⋯) δ)

The native CT1 price of this integrated bank. Controls act only on activity; every original relation/value source is charged, both native guards are derived, and the path starts at the plain zero state.

noncomputable def MindFormal.A595Carried.CT1.doseBankBound (N : ℕ) (D : ℝ) :
Equations
Instances For
    theorem MindFormal.A595Carried.CT1.finite_calendar_approx {N : ℕ} (bs : List (TrainingBlock N)) (hbs : bs ≠ []) {ε : ℝ} (hε : 0 < ε) :
    ∃ (P : CoholdingExample.Parameters), P.ν = 1 ∧ P.rate = 1 ∧ ∃ (H : NNReal), 0 < H ∧ ↑H = totalDose bs / ↑P.m ∧ ∃ (B : ControlledBank P H (CoholdingExample.start N) (planActivity (↑P.m) bs) fun (x : ℝ) => 0), (∀ b ∈ bs, ↑P.m ≤ b.dose) ∧ (∀ t ∈ Set.Icc 0 ↑H, ‖fullBank (B.state t)‖ ≤ doseBankBound N (totalDose bs)) ∧ ∀ (i j : Fin N), |mindRelation (B.state ↑H) i j - idealBank bs i j| < ε

    Any finite full-writer product is approximated by one acquired continuous calendar. The gain is positive, all installed ramps are paid, and the error is derived rather than supplied as an entering bank.