def b8

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/limbs.bend:29

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/limbs.bend as Limbs
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/lib/common.bend as C

29# 256 as a shift of one (the checker expands 2^8 in 256 steps, well
30# within its depth)
31def b8(+one: Nat, +h1: {one == 1n : Nat}) -> {C.shift(8n, one) == 256n : Nat}:
32  %Equal.sym(Nat, one, 1n, h1) : {C.shift(8n, _) == 256n : Nat}
33  {==}

Uses (3)

Used by (4)