def sub_zero
import bend-collections-laws-crypto@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 (22)
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:sub_lt
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/argon2/fill:sub1_lt
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/list:update_append_right
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:pred_double
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/nat:sub_succ_left
- …