def lt_eq

bend-collections-laws-crypto@1.0.0.0 · proofs/math/u64/u64div.bend:122

import bend-collections-laws-crypto@1.0.0.0/proofs/math/u64/u64div.bend as U64div
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/logic.bend as L

122# a value equation rewritten into a bound
123def lt_eq(+a: Nat, +b: Nat, +k: Nat, +e: {a == b : Nat}, +h: {Nat.is_lt(a, k) == True{} : Bool}) -> {Nat.is_lt(b, k) == True{} : Bool}:
124  L.subst(Nat, z => {Nat.is_lt(z, k) == True{} : Bool}, a, b, e, h)

Uses (4)

Used by (3)