def modinv_agrees
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int.bend as U32intimport Base
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/num.bend as NM
import bend-collections-laws-math@1.0.0.0/src/math/instances.bend as I
643def modinv_agrees(+a: U32, +m: U32) -> SG.ModInverse.agrees(~U32, ~I.u32_op, ~I.u32_is, ~SG.u32_val, ~SG.u32_of, a, m):
644 inv_top(32n, {==}, a, m, I.u32_is(NM.IsZero{m}), {==}, v(m), {==})
Uses (9)
Used by (0)
No other definition uses this definition.