NLAlib.Ops.IsCmp.test_lt
Library · theorem
lt on two readable cells.
NLAlib.Ops.IsCmp.test_lt {K Op Tst : Type} [Ops.Has Ops.CmpTst Tst] {dec : K → ℝ}
{I : Ops.Interp Op Tst K} (h : Ops.IsCmp dec I) {d : List ℕ} {x y : ℕ × ℕ} {m : Ops.Mem K}
{a b : K} (hx : m.store.get x.1 x.2 = some a) (hy : m.store.get y.1 y.2 = some b) :
I.test (Ops.Has.inj Ops.CmpTst.lt) d [x, y] m = some (decide (dec a < dec b))Import NLAlib.Ops.Catalog.Compare.