def ModInverse.zero_modulus

bend-collections-laws-crypto@1.0.0.0 · spec/math/natural.bend:269

import bend-collections-laws-crypto@1.0.0.0/spec/math/natural.bend as Natural
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/natural.bend as M

269def ModInverse.zero_modulus(+a: Nat) -> Type:
270  {M.mod_inverse(a, 0n) == Fail{M.ZeroDivision{}} : Result<&2, &2, M.MathError, Nat>}

Uses (4)

Used by (1)