def vb
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32div.bend as U32divimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/word.bend as WD
64def vb(+one: Nat, +h1: {one == 1n : Nat}, +x: U32) -> {Nat.is_lt(v(x), WD.sc(32n, one)) == True{} : Bool}:
65 match x:
66 case U32{+w}:
67 %Equal.sym(Nat, v(U32{w}), WD.uw(32n, w), vw(w)) : {Nat.is_lt(_, WD.sc(32n, one)) == True{} : Bool}
68 WD.wb(32n, one, h1, w)
Uses (10)
Used by (10)
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/u32:val_lt
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/curve25519/fieldops:mul1
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32div:fin_true
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/u32laws:ops_mul_one
- bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/w64div:quot_core
- …