def le_lt_trans
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat.bend as Natimport Base
157def le_lt_trans(+a: Nat, +b: Nat, +c: Nat, ab: {Nat.is_le(a, b) == True{} : Bool}, bc: {Nat.is_lt(b, c) == True{} : Bool}) -> {Nat.is_lt(a, c) == True{} : Bool}:
158 succ_le_lt(a, c, le_trans(1n+a, 1n+b, c, ab, lt_succ_le_succ(b, c, bc)))
Uses (7)
Used by (77)
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/width:low_lt
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:lt32_small
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/poly:addl_v
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/poly:scal_v
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/ed25519/scalar:mo_c
- …