def add_zero
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32alg.bend as U32algimport Base
294def add_zero(+b: U32) -> {U32.add(b, 0) == b : U32}:
295 Equal.trans(U32, U32.add(b, 0), U32.add(0, b), b, U32.add_comm(b, 0), zero_add(b))
Uses (5)
Used by (4)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:select0
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fold:add0_zero
- bend-collections-laws-crypto@1.0.0.0/proofs/math/random/chacha8/rounds:finish_correct
- bend-collections-laws-crypto@1.0.0.0/proofs/math/u64/u64:add_carry