def le_plus
import bend-collections-laws-math@1.0.0.0/proofs/math/random/lemire.bend as Lemireimport Base
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as N
51# s <= t + s
52def le_plus(+t: Nat, +s: Nat) -> {Nat.is_le(s, Nat.add(t, s)) == True{} : Bool}:
53 %N.add_comm(s, t) : {Nat.is_le(s, _) == True{} : Bool}
54 N.le_add_right(s, t)
Uses (6)
Used by (5)
- bend-collections-laws-math@1.0.0.0/proofs/math/random/below:high_lt_c
- bend-collections-laws-math@1.0.0.0/proofs/math/random/lemire:lemire_count
- bend-collections-laws-math@1.0.0.0/proofs/math/random/lemire:term_gt
- bend-collections-laws-math@1.0.0.0/proofs/math/random/lemire:term_lt
- bend-collections-laws-math@1.0.0.0/proofs/math/random/wrappers:wgo