def ops_rem
import bend-collections-laws-crypto@1.0.0.0/proofs/math/typed/u32laws.bend as U32lawsimport Base
import bend-collections-laws-crypto@1.0.0.0/spec/math/instances.bend as SI
import bend-collections-laws-crypto@1.0.0.0/spec/math/generic.bend as SG
import bend-collections-laws-crypto@1.0.0.0/src/math/instances.bend as I
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/u32div.bend as UD
146def ops_rem(+a: U32, +b: U32, +h: {Nat.is_eq(SG.u32_val(b), 0n) == False{} : Bool}) -> SI.Ops.rem(~U32, ~I.u32_op, ~SG.u32_val, a, b, h):
147 UD.mod_nat(a, b, nz(b, h))
Uses (8)
Used by (0)
No other definition uses this definition.