Documentation

TauCeti.AlgebraicGeometry.EllipticCurve.Affine.Point.Derivation

Derivations and the sum of two points #

For two nonzero points P, Q of a Weierstrass curve W⁄K with P + Q ≠ 0, and a derivation D on K over R, the derivation of the x-coordinate of P + Q is expressed through the derivations of the x-coordinates of P and Q: this is Affine/Formula/Derivation.lean's identity for the coordinates of the addition law, read on the points through Point.xCoord and Point.yCoord.

Main statements #

The derivation of the x-coordinate of a sum of points. For nonzero points P, Q of W⁄K with P + Q ≠ 0, at both of which W_Y = 2Y + a₁X + a₃ does not vanish when their x-coordinates differ, D x(P + Q) = W_Y(P + Q) • (W_Y(P)⁻¹ • D x(P) + W_Y(Q)⁻¹ • D x(Q)).

The differential dx / W_Y is additive on points: for nonzero points P, Q of W⁄K with P + Q ≠ 0, if W_Y does not vanish at P + Q, nor at P and Q when their x-coordinates differ, then W_Y(P + Q)⁻¹ • D x(P + Q) = W_Y(P)⁻¹ • D x(P) + W_Y(Q)⁻¹ • D x(Q).