def le_lt_trans
import bend-collections-laws-math@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 (90)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:fits_lek
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:low_lt
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64mul:mul_lt_sq
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64norm:sub_val
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel:half_below
- …