def top1w

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/fix64.bend:52

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/fix64.bend as Fix64
import Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
import bend-collections-laws-math@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64mont.bend as MT
import bend-collections-laws-math@1.0.0.0/proofs/lib/word.bend as WD

52def top1w(+one: Nat, +h1: {one == 1n : Nat}, +w: U32, +pw: {w == U32{WD.mask(32n, 32n)} : U32}) -> {1n+SG.u64_val(WU.U64{w, w}) == C.shift(64n, one) : Nat}:
53  MT.ones_v(one, h1, w, pw)

Uses (7)

Used by (2)