def ModInverse.zero_modulus
import bend-collections-laws-math@1.0.0.0/spec/math/natural.bend as Naturalimport Base
import bend-collections-laws-math@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>}