def h.fin_eq

bend-kit-collections@0.1.4.1 · PROOF.bend:1770

import bend-kit-collections@0.1.4.1/PROOF.bend as PROOF
import Base
import bend-mathlib@0.7.4.0/bool.bend as MBool

1770def h.fin_eq(t: Cmp, -x: Bool, -y: Bool, e: {Cmp.is_eq(Word.cmp.fin(x, y, t)) == True{} : Bool})
1771  -> {Cmp.is_eq(t) == True{} : Bool}:
1772  match t:
1773    case LT{}:
1774      Empty.absurd({Cmp.is_eq(LT{}) == True{} : Bool}, MBool.false_ne_true()(e))
1775    case EQ{}:
1776      {==}
1777    case GT{}:
1778      Empty.absurd({Cmp.is_eq(GT{}) == True{} : Bool}, MBool.false_ne_true()(e))

Uses (6)

Used by (1)