def lift_x
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/schnorr.bend as Schnorrimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/field.bend as F
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1/point.bend as P
76# lift_x: the point with x-coordinate x and even y, if any
77def lift_x(+x: List<&2, Nat>) -> Maybe<&2, P.Point>:
78 lift_if(x, F.lt_p(x))