MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch16.A705SharedDescriptions.DirApproach

19.29.38 tools: rational Taylor bounds on e^{-z} for 0 ≤ z ≤ 1, and the four approach lemmas for a scalar Y with Y t − Y a = ∫ f: a drift at least c (L − Y) below L lifts Y along the exponential toward L; a drift at most c (U − Y) below U and nonpositive above it keeps Y under the exponential toward U.

The quartic Taylor bounds of e^{-z}.

Equations
Instances For
    Equations
    Instances For
      theorem MindFormal.A705SharedDescriptions.exp_taylor {z : ℚ} (h0 : 0 ≤ z) (h1 : z ≤ 1) :
      ↑(expLo z) ≤ Real.exp (-↑z) ∧ Real.exp (-↑z) ≤ ↑(expHi z)
      theorem MindFormal.A705SharedDescriptions.exp_decay_integral (c ta a b : ℝ) :
      ∫ (s : ℝ) in a..b, c * Real.exp (-c * (s - ta)) = Real.exp (-c * (a - ta)) - Real.exp (-c * (b - ta))
      theorem MindFormal.A705SharedDescriptions.primitive_continuousOn {ta t1 : ℝ} (Y f : ℝ → ℝ) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hta : ta ≤ t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) :

      A primitive is continuous.

      theorem MindFormal.A705SharedDescriptions.incr_of_primitive {ta t1 : ℝ} (Y f : ℝ → ℝ) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hta : ta ≤ t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (a : ℝ) (ha : a ∈ Set.Icc ta t1) :
      Y t1 - Y a = ∫ (s : ℝ) in a..t1, f s
      theorem MindFormal.A705SharedDescriptions.approach_lower {ta t1 c : ℝ} (Y f : ℝ → ℝ) {L y0 : ℝ} (hc : 0 ≤ c) (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy0 : y0 ≤ Y ta) (hyL : y0 ≤ L) (hf : ∀ s ∈ Set.Icc ta t1, Y s < L → c * (L - Y s) ≤ f s) :
      L - (L - y0) * Real.exp (-c * (t1 - ta)) ≤ Y t1

      Lifted toward L along the exponential at rate at least c.

      theorem MindFormal.A705SharedDescriptions.approach_floor {ta t1 : ℝ} (Y f : ℝ → ℝ) {L : ℝ} (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy : L ≤ Y ta) (hf : ∀ s ∈ Set.Icc ta t1, Y s < L → 0 ≤ f s) :
      L ≤ Y t1

      Never pushed below L once at or above it, when the drift is positive below L.

      theorem MindFormal.A705SharedDescriptions.approach_upper {ta t1 c : ℝ} (Y f : ℝ → ℝ) {U y1 : ℝ} (hc : 0 ≤ c) (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy1 : Y ta ≤ y1) (hyU : y1 ≤ U) (hf : ∀ s ∈ Set.Icc ta t1, (Y s ≤ U → f s ≤ c * (U - Y s)) ∧ (U ≤ Y s → f s ≤ 0)) :
      Y t1 ≤ U - (U - y1) * Real.exp (-c * (t1 - ta))

      Kept under the exponential toward U at rate at most c, when the drift is nonpositive above U.

      theorem MindFormal.A705SharedDescriptions.approach_ceiling {ta t1 : ℝ} (Y f : ℝ → ℝ) {U y1 : ℝ} (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy1 : Y ta ≤ y1) (hUy : U ≤ y1) (hf : ∀ s ∈ Set.Icc ta t1, U ≤ Y s → f s ≤ 0) :
      Y t1 ≤ y1

      Never above its start once at or above U, when the drift is nonpositive above U.

      theorem MindFormal.A705SharedDescriptions.le_at_right_end {ta t1 : ℝ} (hlt : ta < t1) {g h : ℝ → ℝ} (hg : ContinuousOn g (Set.Icc ta t1)) (hh : ContinuousOn h (Set.Icc ta t1)) (H : ∀ t ∈ Set.Ico ta t1, g t ≤ h t) :
      g t1 ≤ h t1

      A continuous inequality on a half-open interval holds at its right end.

      theorem MindFormal.A705SharedDescriptions.approach_lower' {ta t1 c : ℝ} (Y f : ℝ → ℝ) {L y0 : ℝ} (hc : 0 ≤ c) (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy0 : y0 ≤ Y ta) (hyL : y0 ≤ L) (hf : ∀ s ∈ Set.Ico ta t1, Y s < L → c * (L - Y s) ≤ f s) :
      L - (L - y0) * Real.exp (-c * (t1 - ta)) ≤ Y t1

      approach_lower with the drift bound on the half-open interval only.

      theorem MindFormal.A705SharedDescriptions.approach_floor' {ta t1 : ℝ} (Y f : ℝ → ℝ) {L : ℝ} (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy : L ≤ Y ta) (hf : ∀ s ∈ Set.Ico ta t1, Y s < L → 0 ≤ f s) :
      L ≤ Y t1
      theorem MindFormal.A705SharedDescriptions.approach_upper' {ta t1 c : ℝ} (Y f : ℝ → ℝ) {U y1 : ℝ} (hc : 0 ≤ c) (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy1 : Y ta ≤ y1) (hyU : y1 ≤ U) (hf : ∀ s ∈ Set.Ico ta t1, (Y s ≤ U → f s ≤ c * (U - Y s)) ∧ (U ≤ Y s → f s ≤ 0)) :
      Y t1 ≤ U - (U - y1) * Real.exp (-c * (t1 - ta))
      theorem MindFormal.A705SharedDescriptions.approach_ceiling' {ta t1 : ℝ} (Y f : ℝ → ℝ) {U y1 : ℝ} (hta : ta ≤ t1) (hint : IntervalIntegrable f MeasureTheory.volume ta t1) (hY : ∀ t ∈ Set.Icc ta t1, Y t - Y ta = ∫ (s : ℝ) in ta..t, f s) (hy1 : Y ta ≤ y1) (hUy : U ≤ y1) (hf : ∀ s ∈ Set.Ico ta t1, U ≤ Y s → f s ≤ 0) :
      Y t1 ≤ y1