def sub_self
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
290def sub_self(+n: Nat) -> {Nat.sub(n, n) == 0n : Nat}:
291 match n:
292 case 0n:
293 {==}
294 case 1n+p:
295 sub_self(p)
Uses (2)
Used by (14)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64fmod:rn_spec_far
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64nrp:rq
- bend-collections-laws-math@1.0.0.0/proofs/math/number/fixprime:here
- bend-collections-laws-math@1.0.0.0/proofs/math/random/float:round_q
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/bgcdnat:mod2_double
- …