def sub_zero
import bend-collections-laws-math@1.0.0.0/proofs/lib/nat.bend as Natimport Base
283def sub_zero(+n: Nat) -> {Nat.sub(n, 0n) == n : Nat}:
284 match n:
285 case 0n:
286 {==}
287 case 1n+p:
288 {==}
Uses (2)
Used by (34)
- bend-collections-laws-math@1.0.0.0/proofs/lib/u32half:sub_le
- bend-collections-laws-math@1.0.0.0/proofs/lib/nat:sub_lt
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/fact:sub_lt_succ
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/arith:mul_sub
- bend-collections-laws-math@1.0.0.0/proofs/math/number/prime:is_prime_value
- …