MindFormal v1.0.0One Mind

MindFormal.Example.Coholding.CH1.QuadraticJet

First-order arithmetic with a certified quadratic error. The positive part and absolute value use their global Lipschitz property, so an actual trajectory need not be assumed to stay on a prescribed smooth branch.

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          theorem MindFormal.CoholdingCH1.QuadraticJet.magnitude (f : RExpr (Fin 2)) (hf : (RExpr.bound box f).ok = true) (ρ : Fin 2 → ℝ) (hρ : RExpr.InBox box ρ) :
          |RExpr.eval ρ f| ≤ ↑(mag f)
          theorem MindFormal.CoholdingCH1.QuadraticJet.product_error {ε E F G A B C D K J a b d g : ℝ} (he : 0 ≤ ε) (heE : ε ≤ E) (hE : 0 ≤ E) (hK : 0 ≤ K) (_hJ : 0 ≤ J) (hf : |F - A - ε * B| ≤ K * ε ^ 2) (hg : |G - C - ε * D| ≤ J * ε ^ 2) (ha : |A| ≤ a) (hb : |B| ≤ b) (hd : |D| ≤ d) (hgg : |G| ≤ g) :
          |F * G - A * C - ε * (A * D + B * C)| ≤ (K * g + (a + E * b) * J + b * d) * ε ^ 2
          theorem MindFormal.CoholdingCH1.QuadraticJet.inverse_error {ε E F A B K a b m n : ℝ} (he : 0 ≤ ε) (heE : ε ≤ E) (hE : 0 ≤ E) (hK : 0 ≤ K) (hf : |F - A - ε * B| ≤ K * ε ^ 2) (ha : |A| ≤ a) (hb : |B| ≤ b) (hm : 0 < m) (hn : 0 < n) (hAm : m ≤ A) (hFn : n ≤ F) :
          |F⁻¹ - A⁻¹ - ε * (-B * (A⁻¹ * A⁻¹))| ≤ (b * b + (a + E * b) * K) / (m * m * n) * ε ^ 2
          theorem MindFormal.CoholdingCH1.QuadraticJet.sound (f : RExpr (Fin 2)) (hf : (compute f).ok = true) (ρ : Fin 2 → ℝ) (hρ : RExpr.InBox box ρ) :
          Valid f (compute f) ρ

          Every successful finite computation supplies its complete error bound. No differentiability at a positive-part or absolute-value corner is required.