NLA-lib Explorer

NLAlib.Ops.Examples.exists_isRecipMul

Library · theorem

Witness: the contracts of the lower level, in every mode, with a reciprocal defined away from zero, and hence the contracts of div in both modes, can be met for every u ≥ 0.

NLAlib.Ops.Examples.exists_isRecipMul {u : ℝ} (hu : 0 ≤ u) :
  ∃ K dec recipF mulF I,
    Ops.Examples.RecipModel u dec recipF mulF ∧
      (∀ (b : K), dec b ≠ 0 → (recipF b).isSome = true) ∧
        (∀ (md : Ops.Mode), Ops.Examples.IsRecipMul md recipF mulF I) ∧
          (I.link Ops.Examples.divTable).Satisfies Ops.Mode.liberal Ops.Examples.DOp.div
              (Ops.Examples.divSpec dec (2 * u + u ^ 2)) ∧
            (I.link Ops.Examples.divTable).Satisfies Ops.Mode.total Ops.Examples.DOp.div
              (Ops.Examples.divSpec dec (2 * u + u ^ 2))

Full source on GitHub

Import NLAlib.Ops.Examples.Liberal.