def pred
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
10def pred(n: Nat) -> Nat:
11 match n:
12 case 0n:
13 0n
14 case 1n+p:
15 p
Uses (1)
Used by (5)
- bend-collections-laws-math@1.0.0.0/proofs/lib/nat:succ_inj
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addg:pred_eq
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addf:aeq_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addh:bigA_c
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64addh:bigS_c