The monic model of a Montgomery curve #
A Montgomery curve is the plane cubic B y² = x³ + A x² + x. Its leading coefficient in y
is B rather than 1, so it is not itself a Weierstrass equation; the substitution
x' = B x, y' = B² y turns it into the monic equation
y'² = x'³ + A B x'² + B² x',
the Weierstrass curve TauCeti.Montgomery.model A B with coefficients (0, A B, 0, B², 0).
Its discriminant is 16 B⁶ (A² - 4), so over a field it is elliptic exactly when 2, B and
A² - 4 are nonzero. Points of a Montgomery curve are taken to be the native points
(model A B).toAffine.Point of the monic model, with Mathlib's group law; no second group law
is introduced.
When B ≠ 0 the affine point (0, 0) of the monic model is nonsingular and has order two; this
is the distinguished point of order two TauCeti.Montgomery.twoTorsionPoint, through which every
Montgomery curve has a rational point of order two. Over a domain with B ≠ 0, (x, y) solves
the Montgomery equation exactly when its image (B x, B² y) under the substitution above solves
the equation of the monic model, and likewise for nonsingular points; no square root of B is
needed. Over a field this substitution is therefore a bijection between the two solution sets.
This is the setting of Montgomery's x-only arithmetic, used in Lenstra's elliptic-curve
factorization method: the projective x-coordinate of a native point determines it up to sign,
and doubling and differential addition can be computed on it alone.
Main definitions #
TauCeti.Montgomery.model A B: the Weierstrass curvey² = x³ + A B x² + B² x.TauCeti.Montgomery.twoTorsionPoint: the native point(0, 0)ofmodel A Bover a domain, forB ≠ 0.
Main results #
TauCeti.Montgomery.model_Δ: the discriminant ofmodel A Bis16 B⁶ (A² - 4).TauCeti.Montgomery.isElliptic_model_iff:model A Bis elliptic exactly when2,BandA² - 4are units;TauCeti.Montgomery.isElliptic_model_iff_ne_zerois the field version.TauCeti.Montgomery.map_model: base change ofmodel A Balong a ring homomorphismfismodel (f A) (f B).TauCeti.Montgomery.model_eq_model_iff: two models agree exactly when theirA BandB²coefficients do; over a domain withB ≠ 0,TauCeti.Montgomery.model_eq_model_iff_of_ne_zerosays this happens exactly for(A', B') = (A, B)and(A', B') = (-A, -B).TauCeti.Montgomery.some_eq_twoTorsionPoint_iff: it is the only affine point withx-coordinate0.TauCeti.Montgomery.addOrderOf_twoTorsionPoint: over a field,(0, 0)has order two.TauCeti.Montgomery.add_self_eq_twoTorsionPoint_iff: over a field, an affine point(x, y)satisfiesP + P = (0, 0)exactly whenx² = B².TauCeti.Montgomery.equation_model_iffandTauCeti.Montgomery.nonsingular_model_iff: forB ≠ 0over a domain,(x, y)satisfiesB y² = x³ + A x² + x(and is a nonsingular point of that cubic) exactly when(B x, B² y)satisfies the equation ofmodel A B(and is a nonsingular point of it).
References #
- P. L. Montgomery, Speeding the Pollard and elliptic curve methods of factorization, Math. Comp. 48 (1987), 243–264, §10.3.1, equation (10.3.1.1).
The monic model of the Montgomery curve B y² = x³ + A x² + x: the Weierstrass curve
y² = x³ + A B x² + B² x, reached by x' = B x, y' = B² y. Its coefficients are
(a₁, a₂, a₃, a₄, a₆) = (0, A B, 0, B², 0).
Instances For
The affine point (0, 0) of the monic model is nonsingular exactly when B² ≠ 0: the
partial derivative of the equation in x there is -B².
Over a domain, two monic models with B ≠ 0 are equal exactly when (A', B') is (A, B)
or (-A, -B).
The Montgomery equation and the monic model. For B ≠ 0 over a domain, (x, y)
satisfies B y² = x³ + A x² + x exactly when (B x, B² y) lies on model A B.
Nonsingularity on the Montgomery curve and on the monic model. For B ≠ 0 over a domain,
(x, y) is a nonsingular point of B y² = x³ + A x² + x, that is, it lies on the curve and one
of the partial derivatives 3 x² + 2 A x + 1 and 2 B y is nonzero, exactly when (B x, B² y) is
a nonsingular point of model A B.
The distinguished point of order two T₀ of the monic Montgomery model, the affine point
(0, 0), defined when B ≠ 0.
Instances For
The distinguished point of order two is the affine point (0, 0) of the monic model.
An affine point of the monic model is the distinguished point of order two exactly when its
x-coordinate is 0: the equation forces y² = 0 there.
The distinguished point of order two is not the point at infinity.
The distinguished point of order two is its own negative.
The distinguished point of order two is killed by 2.
The distinguished point (0, 0) has order two in the native group of the monic model.
The halves of the distinguished point of order two. An affine point (x, y) of the monic
model satisfies P + P = (0, 0) exactly when x² = B², that is, when its Montgomery coordinate
x / B is ±1.