def inv_step
import bend-collections-laws-math@1.0.0.0/src/math/generic.bend as Genericimport Base
import bend-collections-laws-math@1.0.0.0/src/math/num.bend as N
564def inv_step(~T: Data, ~op: N.Op<T> -> T, ~test: N.Test<T> -> Bool, +m: T, +q: T, +s0: T, +s1: T) -> T:
565 inv_sub(~T, ~op, ~test, m, s0, op(N.MulMod{op(N.Rem{q, m}), s1, m}))
Uses (4)
Used by (5)
- bend-collections-laws-math@1.0.0.0/src/math/generic:inv_go
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:invsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:stepv
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:invsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:stepv