Inverted Map #
This file collects the three conclusions of Theorem 3 in the Elligator paper. It describes the
preimage and image of ϕ, and verifies the paper's explicit inverse formula on that image.
Main results #
ϕ_of_t_eq_ϕ_of_neg_t_iff_ϕ_preimages: the preimage ofϕ tconsists exactly oftand-t; in particular,ϕ t = ϕ (-t)and there are no other preimages.props_iff_mem_ϕOverF: membership in the imageϕ(F)is equivalent to the three algebraic point conditions stated in part 2 of Theorem 3.X2_defined,z_defined,t2_defined: the denominators required by the inverse construction are nonzero onϕ(F).ϕ_of_t2_eq_x_y: applyingϕto the reconstructed parametert2recovers the original point.
References #
See [bernstein2013a] Section 3.3, Theorem 3.
The preimage of ϕ t consists exactly of the two field elements t and -t.
This is part 1 of Theorem 3. The left side records ϕ t = ϕ (-t); the right side says that no
field element distinct from both t and -t maps to ϕ t.
Characterization of the image of ϕ by the three conditions in part 2 of Theorem 3.
For P = ϕ t, membership in ϕ(F) is equivalent to ϕOverFProps s P: y + 1 ≠ 0,
(1 + ηr)² - 1 is a square, and the exceptional case ηr = -2 has the specified x-coordinate.
Note: Original statement does not read like an iff. Only the proof explanation makes this more concrete.
The explicit inverse formula in part 3 of Theorem 3 recovers a point in ϕ(F).
Starting with P = ϕ t, the definitions X2, z, u2, and t2 reproduce the paper's
quantities X2, z, u2, and t2; evaluating ϕ (t2 s P q) returns the coordinates of P.
The denominator 2 * (y + 1) in the inverse construction is nonzero on ϕ(F).
This supplies the definedness of η, and hence of X2, in part 3 of Theorem 3.
The denominator 1 + u2 in the reconstructed parameter t2 is nonzero on ϕ(F).