MindFormal v1.0.0One Mind

MindFormal.Example.A705SupportChoices.FivePhase

19.16.9: the relaxation carrying of a value, the continuous induction keeping every value in its box through a phase, and the soundness of a checked phase.

theorem MindFormal.A705SupportChoices.relaxInf_cast (al ah g : ℚ) :
↑(if 0 ≤ g then g / al else g / ah) = relaxInf ↑al ↑ah ↑g
theorem MindFormal.A705SupportChoices.relaxInf_neg_cast (al ah g : ℚ) :
↑(if 0 ≤ g then g / ah else g / al) = -relaxInf (↑al) (↑ah) (-↑g)
theorem MindFormal.A705SupportChoices.value_relax {G : CountableContinuationRepair.SharpPath 3 2 Unit Unit} {H : ℝ} {S S' : FiveBands.Bands} {P : FiveBands.Phase} (hg : Good G H) (hc : FiveBands.Phase.Check S P S') (hbH : ↑P.b ≤ H) (hu : ∀ s ∈ Set.Ico ↑P.a ↑P.b, ∀ (i : Fin 3), G.input s i = ↑(P.u i)) (hS : BandsAt G S ↑P.a) (i : Fin 3) (hpos : 0 < FiveBands.Phase.RL S P i - FiveBands.Phase.CDH S P i) (hal : 0 < FiveBands.Phase.al S P i) (halh : FiveBands.Phase.al S P i ≤ FiveBands.Phase.ah S P i) {σ : ℝ} (hσ : σ ∈ Set.Icc ↑P.a ↑P.b) (hQ : ∀ s ∈ Set.Ico (↑P.a) σ, ∀ (j : Fin 3), ↑(P.VL j) < vV G j s ∧ vV G j s < ↑(P.VH j)) :
vT G i σ ≤ relaxBar (↑P.a) (↑(FiveBands.Phase.al S P i)) (↑(FiveBands.Phase.ah S P i)) (↑(FiveBands.Phase.gh S P i)) (↑(S.wh i)) σ ∧ -vT G i σ ≤ relaxBar (↑P.a) (↑(FiveBands.Phase.al S P i)) (↑(FiveBands.Phase.ah S P i)) (-↑(FiveBands.Phase.gl S P i)) (-↑(S.wl i)) σ

The relaxation carrying of the relaxing content's value up to a time σ of the phase.

theorem MindFormal.A705SupportChoices.small_lin {c d t : ℝ} (ht0 : 0 ≤ t) (htd : t ≤ d) :
min 0 (c * d) ≤ c * t ∧ c * t ≤ max 0 (c * d)
theorem MindFormal.A705SupportChoices.value_step {G : CountableContinuationRepair.SharpPath 3 2 Unit Unit} {H : ℝ} {S S' : FiveBands.Bands} {P : FiveBands.Phase} (hg : Good G H) (hc : FiveBands.Phase.Check S P S') (hbH : ↑P.b ≤ H) (hu : ∀ s ∈ Set.Ico ↑P.a ↑P.b, ∀ (i : Fin 3), G.input s i = ↑(P.u i)) (hS : BandsAt G S ↑P.a) {σ : ℝ} (hσ : σ ∈ Set.Icc ↑P.a ↑P.b) (hQ : ∀ s ∈ Set.Ico (↑P.a) σ, ∀ (j : Fin 3), ↑(P.VL j) < vV G j s ∧ vV G j s < ↑(P.VH j)) (i : Fin 3) :
↑(P.Vl i) < vT G i σ ∧ vT G i σ < ↑(P.Vh i)

The strict value box at a time σ of the phase, from the boxes before it.

theorem MindFormal.A705SupportChoices.phase_value_box {G : CountableContinuationRepair.SharpPath 3 2 Unit Unit} {H : ℝ} {S S' : FiveBands.Bands} {P : FiveBands.Phase} (hg : Good G H) (hc : FiveBands.Phase.Check S P S') (hbH : ↑P.b ≤ H) (hu : ∀ s ∈ Set.Ico ↑P.a ↑P.b, ∀ (i : Fin 3), G.input s i = ↑(P.u i)) (hS : BandsAt G S ↑P.a) (t : ℝ) :
t ∈ Set.Icc ↑P.a ↑P.b → ∀ (j : Fin 3), ↑(P.VL j) < vV G j t ∧ vV G j t < ↑(P.VH j)

The continuous induction: every compared value stays in its box through the phase.

theorem MindFormal.A705SupportChoices.phase_value_end {G : CountableContinuationRepair.SharpPath 3 2 Unit Unit} {H : ℝ} {S S' : FiveBands.Bands} {P : FiveBands.Phase} (hg : Good G H) (hc : FiveBands.Phase.Check S P S') (hbH : ↑P.b ≤ H) (hu : ∀ s ∈ Set.Ico ↑P.a ↑P.b, ∀ (i : Fin 3), G.input s i = ↑(P.u i)) (hS : BandsAt G S ↑P.a) (i : Fin 3) :
↑(FiveBands.Phase.nwl S P i) ≤ vT G i ↑P.b ∧ vT G i ↑P.b ≤ ↑(FiveBands.Phase.nwh S P i)

The end bands of the compared values.

theorem MindFormal.A705SupportChoices.phase_sound {G : CountableContinuationRepair.SharpPath 3 2 Unit Unit} {H : ℝ} {S S' : FiveBands.Bands} {P : FiveBands.Phase} (hg : Good G H) (hc : FiveBands.Phase.Check S P S') (hbH : ↑P.b ≤ H) (hu : ∀ s ∈ Set.Ico ↑P.a ↑P.b, ∀ (i : Fin 3), G.input s i = ↑(P.u i)) (hS : BandsAt G S ↑P.a) :
BandsAt G S' ↑P.b ∧ (∀ t ∈ Set.Icc ↑P.a ↑P.b, ∀ (i : Fin 3), ↑(FiveBands.Phase.X0 S P i) ≤ xA G i t ∧ xA G i t ≤ ↑(FiveBands.Phase.XH S P i)) ∧ (∀ t ∈ Set.Icc ↑P.a ↑P.b, ∀ (i : Fin 3), ↑(P.VL i) < vV G i t ∧ vV G i t < ↑(P.VH i)) ∧ ∀ t ∈ Set.Icc ↑P.a ↑P.b, ∀ (i : Fin 3), Real.exp (-10 * (t - ↑P.a)) * ↑(S.ml i) + (1 - Real.exp (-10 * (t - ↑P.a))) * ↑(P.Tl i) ≤ G.targetConv i t ∧ G.targetConv i t ≤ Real.exp (-10 * (t - ↑P.a)) * ↑(S.mh i) + (1 - Real.exp (-10 * (t - ↑P.a))) * ↑(P.Th i)

SOUNDNESS OF A CHECKED PHASE. On a good path with the phase's input received, bands at its entry give: the computed bands at its end; through the phase, each activity in its box, each trace in its box, each compared value strictly in its box; and the convolution between its exponential mixtures at every time.