def le_add_left
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
331def le_add_left(+a: Nat, +b: Nat, +c: Nat, e: {Nat.is_le(a, b) == True{} : Bool}) -> {Nat.is_le(Nat.add(c, a), Nat.add(c, b)) == True{} : Bool}:
332 match c:
333 case 0n:
334 e
335 case 1n+r:
336 le_add_left(a, b, r, e)
Uses (4)
Used by (48)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:le_add_r
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/sqrtn:le_add2
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/natfuel:dbl_le_mul
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64mexp:eg
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64sqc:jfg
- …