def modinv_agrees

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/u64int.bend:644

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int.bend as U64int
import 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
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU

644def modinv_agrees(+a: WU.U64, +m: WU.U64) -> SG.ModInverse.agrees(~WU.U64, ~I.u64_op, ~I.u64_is, ~SG.u64_val, ~SG.u64_of, a, m):
645  inv_top(64n, {==}, a, m, I.u64_is(NM.IsZero{m}), {==}, v(m), {==})

Uses (9)

Used by (0)

No other definition uses this definition.