Finite continuous activity calendars constructed from primitive phase data. Phases are listed in reverse chronological order; each new phase smoothly replaces the preceding path, without restarting D4 or II.
Equations
Instances For
noncomputable def
MindFormal.ConceptPreparation.phaseBlend
{N : ℕ}
(p : CalendarPhase N)
(x : ℝ → Fin N → ℝ)
(t : ℝ)
(i : Fin N)
:
Equations
- MindFormal.ConceptPreparation.phaseBlend p x t i = (1 - MindFormal.ConceptPreparation.phaseRamp p t) * x t i + MindFormal.ConceptPreparation.phaseRamp p t * p.level i
Instances For
theorem
MindFormal.ConceptPreparation.phaseBlend_lipschitz
{N : ℕ}
(p : CalendarPhase N)
(x : ℝ → Fin N → ℝ)
{X : ℝ}
{L : NNReal}
(hx : ∀ (i : Fin N), LipschitzWith L fun (t : ℝ) => x t i)
(hxB : ∀ (t : ℝ) (i : Fin N), x t i ∈ Set.Icc 0 X)
(ha : ∀ (i : Fin N), p.level i ∈ Set.Icc 0 X)
(i : Fin N)
:
A global Lipschitz bill derived from the actual convex ramp, including the preceding path's variation during the transition.
Equations
- MindFormal.ConceptPreparation.rampCalendar [] = fun (x : ℝ) (x_1 : Fin N) => 0
- MindFormal.ConceptPreparation.rampCalendar (p :: ps) = MindFormal.ConceptPreparation.phaseBlend p (MindFormal.ConceptPreparation.rampCalendar ps)
Instances For
Equations
Instances For
theorem
MindFormal.ConceptPreparation.rampCalendar_lipschitz
{N : ℕ}
{X : ℝ}
(hX : 0 ≤ X)
(ps : List (CalendarPhase N))
(hlevels : ∀ p ∈ ps, ∀ (i : Fin N), p.level i ∈ Set.Icc 0 X)
(i : Fin N)
:
LipschitzWith (rampCalendarL X ps) fun (t : ℝ) => rampCalendar ps t i
theorem
MindFormal.ConceptPreparation.rampCalendar_before
{N : ℕ}
(ps : List (CalendarPhase N))
{t : ℝ}
(hp : ∀ p ∈ ps, 0 < p.duration ∧ t ≤ p.start)
:
theorem
MindFormal.ConceptPreparation.rampCalendar_zero
{N : ℕ}
(ps : List (CalendarPhase N))
(hp : ∀ p ∈ ps, 0 < p.duration ∧ 0 ≤ p.start)
:
theorem
MindFormal.ConceptPreparation.rampCalendar_latest
{N : ℕ}
(p : CalendarPhase N)
(ps : List (CalendarPhase N))
(hd : 0 < p.duration)
{t : ℝ}
(ht : p.start + p.duration ≤ t)
:
theorem
MindFormal.ConceptPreparation.rampCalendar_gap
{N : ℕ}
(p q : CalendarPhase N)
(ps : List (CalendarPhase N))
(hp : 0 < p.duration)
(hq : 0 < q.duration)
{t : ℝ}
(ht : q.start + q.duration ≤ t ∧ t ≤ p.start)
:
A gap following an earlier completed ramp retains the earlier activity. The later ramp begins from that carried value.
theorem
MindFormal.ConceptPreparation.native_finite_ramp_calendar
{N : ℕ}
{Ω : Type u_1}
[MeasurableSpace Ω]
(H : NNReal)
(hH : 0 < H)
(P : CoholdingExample.Parameters)
{e X δ : ℝ}
(he : 0 < e)
(G : EquationGround Ω (CoholdingExample.Sources N))
(hG : CompletedEquationGround G)
(U : Fin N → ℝ)
(hU : ∀ (i : Fin N), 0 ≤ U i)
(ps : List (CalendarPhase N))
(hX : 0 ≤ X)
(hlevels : ∀ p ∈ ps, ∀ (i : Fin N), p.level i ∈ Set.Icc 0 X)
(hp : ∀ p ∈ ps, 0 < p.duration ∧ 0 ≤ p.start)
(hδ : 0 < δ)
(hXδ : X + δ < 2)
:
∃ (W : ℝ → RelationBank N) (hW : Continuous W),
W 0 = 0 ∧ (∀ t ∈ Set.Icc 0 ↑H,
W t = ∫ (s : ℝ) in 0..t, calendarRelation P (rampCalendar ps) (calendarTrace P (rampCalendar ps)) (fun (x : ℝ) => U) s (W s)) ∧ ∃ (b : ℝ),
0 < b ∧ 0 < calendarPrice H P (rampCalendar ps) W U e b ∧ calendarPrice H P (rampCalendar ps) W U e b ≤ G.μ.real
(CoholdingCertificate.nativeCorridor (CoholdingExample.setting H N P he G hG U hU)
(calendarPath H P (rampCalendar ps) W ⋯ hW) δ)
Every finite primitive ramp/gap calendar in the fixed constant-input corner receives a positive original-ground C6 price. The complete bank, trace and quiet native clocks are constructed, rather than input fields.