def u.antisym

bend-osdev-u32@0.1.0.0 · PROOF_order.bend:389

import bend-osdev-u32@0.1.0.0/PROOF_order.bend as PROOFOrder
import Base

389# a <= b and b <= a: a == b
390def u.antisym(+a: U32, +b: U32, +h1: {ule(a, b) == True{} : Bool}, +h2: {ule(b, a) == True{} : Bool}) -> {a == b : U32}:
391  u.eq(a, b, cm.eq_of_le(U32.cmp(a, b), h1, u.le_not_lt(b, a, h2)))

Uses (7)

Used by (1)