def shift_zero
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/width.bend as Widthimport Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
163def shift_zero(+k: Nat) -> {C.shift(k, 0n) == 0n : Nat}:
164 match k:
165 case 0n:
166 {==}
167 case 1n+ +p:
168 Equal.cong(Nat, Nat, t => Nat.double(t), C.shift(p, 0n), 0n, shift_zero(p))
Uses (4)
Used by (27)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/width:low_fit
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64add:add_exact
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:val0
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:u32_0
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64dm:x96_0
- …