def fieldinverse(val): return int(gmpy.invert(val, modulus))
def fieldinverse(val): return int(gmpy.invert(val, snarkjsp))
def fieldinverse(val): return int(gmpy.invert(val, vc_p))