def redc_p
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as W64import Base
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as W
598def redc_p(+m: W.U64, +tl: W.U64, +th: W.U64, p: W.U64 & W.U64) -> W.U64:
599 (+pl, +ph) = p
600 redc_r(m, add(add(th, ph), W.U64{b32(add_over(tl, pl)), 0}))
Uses (7)
Used by (6)
- bend-collections-laws-math@1.0.0.0/src/math/w64:redc
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64mont:rp_mod
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64mont:rp_cong
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64mont:rp_lt_m
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64mont:rpp_cong
- …