Map #
This file formalizes the construction and well-definedness results in Theorem 1 of the Elligator
paper. For a field input t ≠ ±1, the auxiliary quantities u, v, X, and Y determine a
point (x, y) on the complete Edwards curve. The exceptional inputs t = ±1 are incorporated by
ϕ, which sends both to (0, 1).
Main results #
u_defined,Y_defined,x_defined,y_defined: the denominators in the paper's formulas are nonzero, so the displayed expressions are defined.map_fulfills_helper_equation: the auxiliary coordinates satisfyY² = X⁵ + (r² - 2)X³ + X.variable_mul_ne_zero: the nonvanishing assertionu * v * X * Y * x * (y + 1) ≠ 0from Theorem 1.map_fulfills_curve_equation: the resulting(x, y)satisfies the Edwards curve equation.ϕ: Definition 2's total map from field elements to points on the Edwards curve.
References #
See [bernstein2013a], Section 3.2, Theorem 1 and Definition 2.
The auxiliary coordinates X and Y satisfy the hyperelliptic equation used in Theorem 1:
Y² = X⁵ + (r² - 2)X³ + X.
The quantities constructed for a nonexceptional input are all nonzero as asserted in
Theorem 1: u * v * X * Y * x * (y + 1) ≠ 0.
The coordinates produced from a nonexceptional input satisfy the Edwards curve equation
x² + y² = 1 + d * x² * y². This is the final conclusion of Theorem 1.
The total Elligator map ϕ : F → E(F) from Definition 2 of the paper.
For t ≠ ±1, it returns the coordinates x(t) and y(t) constructed in Theorem 1. The two
exceptional inputs t = ±1 are both mapped to the neutral point (0, 1). The codomain subtype
records that the result satisfies the Edwards curve equation.