def lt_le_trans
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
154def lt_le_trans(+a: Nat, +b: Nat, +c: Nat, ab: {Nat.is_lt(a, b) == True{} : Bool}, bc: {Nat.is_le(b, c) == True{} : Bool}) -> {Nat.is_lt(a, c) == True{} : Bool}:
155 succ_le_lt(a, c, le_trans(1n+a, b, c, lt_succ_le_succ(a, b, ab), bc))
Uses (7)
Used by (92)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:fits_mono
- bend-collections-laws-math@1.0.0.0/proofs/lib/nat:lt_trans
- 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/f64round:bl_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:lt_hi
- …