NLA-lib Explorer

NLAlib.Ops.Examples.exists_isMixed

Library · theorem

Witness: the contracts of two tags and of an exact cast can be met together, with two different unit roundoffs: the low precision by the machine that inflates by 1 + ul, the high precision by exact arithmetic.

NLAlib.Ops.Examples.exists_isMixed {ul uh : ℝ} (hl : 0 ≤ ul) (hh : 0 ≤ uh) :
  ∃ Ml Mh I,
    Ops.StdModel ul id Ml ∧
      Ops.StdModel uh id Mh ∧
        Ops.CastModel 0 id id ∧
          Ops.IsScalarAt Ops.Examples.LoTag Ml I ∧
            Ops.IsScalarAt Ops.Examples.HiTag Mh I ∧
              Ops.IsCast Ops.Examples.LoTag Ops.Examples.HiTag id I

Full source on GitHub

Import NLAlib.Ops.Examples.Mixed.