def b8
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/limbs.bend as Limbsimport 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)
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/bounds:mod256_lt
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/bytes:byte_lt1
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/negate:comp1_v
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/negate:hi_byte_lt