The affine Fermat chart and the Hessian addition formula #
pt w t h is the affine Fermat point (w,t) (w^3+t^3=1) seen inside the Weierstrass
model fer. The main results are
add_pt: if the Hessian denominatorD0is nonzero, then(w1,t1) + (w2,t2) = (N_x/D0, N_y/D0), which is the affine Hessian addition formula used for the chart;neg_pt: negation swaps the two affine coordinates;three_torsion_pt_iff: an affine Fermat point is3-torsion iff one of its coordinates vanishes.
The affine Fermat point (w,t) viewed in the Weierstrass model fer.
Equations
- KasamiCyclicAdditive.FermatCubic.pt w t h = WeierstrassCurve.Affine.Point.some (w + t)⁻¹ (w * (w + t)⁻¹) ⋯
Instances For
If two affine Fermat points have the same x-coordinate in the Weierstrass model,
then the Hessian denominator vanishes.
The Hessian sum of two affine Fermat points is again an affine Fermat point, provided the denominator is nonzero.
The affine Hessian addition formula. If the denominator D0 = w1*t1 + w2*t2 is
nonzero, the sum of the two affine Fermat points is the affine Fermat point
(N_x/D0, N_y/D0).
If the Hessian denominator vanishes while the two Hessian numerators differ,
and the two points have distinct w+t, then the sum is a point at infinity: its
x-coordinate is 0.
An affine Fermat point is 3-torsion if and only if one of its two
affine coordinates vanishes. (The remaining three points of E[3] are the points at
infinity.)