def le_add_right
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
317def le_add_right(+a: Nat, +b: Nat) -> {Nat.is_le(a, Nat.add(a, b)) == True{} : Bool}:
318 match a:
319 case 0n:
320 zero_le(b)
321 case 1n+p:
322 le_add_right(p, b)
Uses (5)
Used by (109)
- bend-collections-laws-math@1.0.0.0/proofs/lib/nat:lt_add_r2
- bend-collections-laws-math@1.0.0.0/proofs/lib/arith:mul_le
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/roots:le_mul_pos
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64rtools:le_sub
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64rtools:round_jam
- …