NLAlib.Ops.Examples.div_link_liberal
Library · theorem
The induced interpretation satisfies the liberal contract of div: if the implementation succeeds, the operands were readable, the divisor nonzero, and the result is the quotient up to 2 u + u ^ 2.
NLAlib.Ops.Examples.div_link_liberal {K : Type} {recipF : K → Option K} {mulF : K → K → K}
{I : Ops.Interp Ops.Examples.ROp Empty K}
(hI : Ops.Examples.IsRecipMul Ops.Mode.liberal recipF mulF I) {u : ℝ} {dec : K → ℝ}
(hM : Ops.Examples.RecipModel u dec recipF mulF) (hu : 0 ≤ u) :
(I.link Ops.Examples.divTable).Satisfies Ops.Mode.liberal Ops.Examples.DOp.div
(Ops.Examples.divSpec dec (2 * u + u ^ 2))Import NLAlib.Ops.Examples.Liberal.