NLA-lib Explorer

NLAlib.Ops.cmpRel_rel

Library · theorem

NLAlib.Ops.cmpRel_rel {K : Type} (dec : K → ℝ) (readFlag : K → Bool) (c : Ops.CmpTst) (x✝ : List ℕ)
  (xs : List (List K)) (x✝¹ : List K) (ys : List (List K)) :
  (Ops.cmpRel dec readFlag c).rel x✝ xs x✝¹ ys =
    match ys with
    | [[flag]] => readFlag flag = Ops.CmpTst.fn dec c xs
    | x => False

Full source on GitHub

Import NLAlib.Ops.Catalog.Compare.