def le_succ
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat.bend as Natimport Base
72def le_succ(+n: Nat) -> {Nat.is_le(n, 1n+n) == True{} : Bool}:
73 match n:
74 case 0n:
75 {==}
76 case 1n+p:
77 le_succ(p)
Uses (3)
Used by (11)
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:double_self_le
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/arith:sub_le2
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64mul:mul_lt_sq
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/aead:not_short
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32half:hlf_le
- …