def mont32_ok
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as W64import Base
691def mont32_ok(+m: U32) -> Bool:
692 Bool.and(U32.is_eq(U32.and(m, 1), 1), U32.is_eq(U32.mul(m, minv32(m)), 4294967295))
Uses (7)
Used by (7)
- bend-collections-laws-math@1.0.0.0/src/math/instances:u32_is
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:pm_mont
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:pm_pick
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:pm_top
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32mont:mok_inv
- …