def lt_of_le_lt

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/ineq.bend:73

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/ineq.bend as Ineq
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat.bend as N

73# x < b and b <= c: x < c, and friends with rewriting
74def lt_of_le_lt(+a: Nat, +b: Nat, +c: Nat, +h1: {Nat.is_le(a, b) == True{} : Bool}, +h2: {Nat.is_lt(b, c) == True{} : Bool}) -> {Nat.is_lt(a, c) == True{} : Bool}:
75  N.le_lt_trans(a, b, c, h1, h2)

Uses (5)

Used by (0)

No other definition uses this definition.