The areas / V28. Algebraic geometry
Mathlib.AlgebraicGeometry.EllipticCurve.Projective.Basic
87 declarations. Mathlib docs · Source
Weierstrass equations and the nonsingular condition in projective coordinates
A point on the unweighted projective plane over a commutative ring R is an equivalence class
[x : y : z] of triples (x, y, z) ≠ (0, 0, 0) of elements in R such that
(x, y, z) ∼ (x', y', z') if there is some unit u in Rˣ with (x, y, z) = (ux', uy', uz').
Let W be a Weierstrass curve over a commutative ring R with coefficients aᵢ. A
projective point is a point on the unweighted projective plane over R satisfying the
homogeneous Weierstrass equation W(X, Y, Z) = 0 in projective coordinates, where
W(X, Y, Z) := Y²Z + a₁XYZ + a₃YZ² - (X³ + a₂X²Z + a₄XZ² + a₆Z³). It is nonsingular if its
partial derivatives W_X(x, y, z), W_Y(x, y, z), and W_Z(x, y, z) do not vanish simultaneously.
This file gives an explicit implementation of equivalence classes of triples up to scaling by units,
and defines polynomials associated to Weierstrass equations and the nonsingular condition in
projective coordinates. The group law on the actual type of nonsingular projective points will be
defined in Mathlib/AlgebraicGeometry/EllipticCurve/Projective/Point.lean, based on the formulae
for group operations in Mathlib/AlgebraicGeometry/EllipticCurve/Projective/Formula.lean.
Main definitions
WeierstrassCurve.Projective.PointClass: the equivalence class of a point representative.WeierstrassCurve.Projective.Nonsingular: the nonsingular condition on a point representative.WeierstrassCurve.Projective.NonsingularLift: the nonsingular condition on a point class.
Main statements
WeierstrassCurve.Projective.polynomial_relation: Euler's homogeneous function theorem.
Implementation notes
All definitions and lemmas for Weierstrass curves in projective coordinates live in the namespace
WeierstrassCurve.Projective to distinguish them from those in other coordinates. This is simply an
abbreviation for WeierstrassCurve that can be converted using WeierstrassCurve.toProjective.
This can be converted into WeierstrassCurve.Affine using WeierstrassCurve.Projective.toAffine.
A point representative is implemented as a term P of type Fin 3 → R, which allows for the vector
notation ![x, y, z]. However, P is not definitionally equivalent to the expanded vector
![P x, P y, P z], so the lemmas fin3_def and fin3_def_ext can be used to convert between the
two forms. The equivalence of two point representatives P and Q is implemented as an equivalence
of orbits of the action of Rˣ, or equivalently that there is some unit u of R such that
P = u • Q. However, u • Q is not definitionally equal to ![u * Q x, u * Q y, u * Q z], so the
lemmas smul_fin3 and smul_fin3_ext can be used to convert between the two forms. Files in
Mathlib/AlgebraicGeometry/EllipticCurve/Projective make extensive use of erw to get around this.
While erw is often an indication of a problem, in this case it is self-contained and should not
cause any issues. It would alternatively be possible to add some automation to assist here.
Whenever possible, all changes to documentation and naming of definitions and theorems should be
mirrored in Mathlib/AlgebraicGeometry/EllipticCurve/Jacobian/Basic.lean.
References
[J Silverman, The Arithmetic of Elliptic Curves][silverman2009]
Tags
elliptic curve, projective, Weierstrass equation, nonsingular
Projective coordinates
Weierstrass equations in projective coordinates
The nonsingular condition in projective coordinates
Maps and base changes
abbrev WeierstrassCurve.Projective E1 #
Type r → Type r
An abbreviation for a Weierstrass curve in projective coordinates.
abbrev WeierstrassCurve.toProjective E1 #
{R : Type r} → WeierstrassCurve R → WeierstrassCurve.Projective R
The conversion from a Weierstrass curve to projective coordinates.
abbrev WeierstrassCurve.Projective.toAffine E1 #
{R : Type r} → WeierstrassCurve.Projective R → WeierstrassCurve.Affine R
The conversion from a Weierstrass curve in projective coordinates to affine coordinates.
theorem WeierstrassCurve.Projective.fin3_def E0 #
∀ {R : Type r} (P : Fin 3 → R), ![P 0, P 1, P 2] = P
theorem WeierstrassCurve.Projective.fin3_def_ext E1 #
∀ {R : Type r} (a b c : R), ![a, b, c] 0 = a ∧ ![a, b, c] 1 = b ∧ ![a, b, c] 2 = c
theorem WeierstrassCurve.Projective.comp_fin3 E1 #
∀ {R : Type r} {S : Type s} (f : R → S) (a b c : R), f ∘ ![a, b, c] = ![f a, f b, f c]
theorem WeierstrassCurve.Projective.smul_fin3 E1 #
∀ {R : Type r} [inst : CommRing R] (P : Fin 3 → R) (u : R), u • P = ![u * P 0, u * P 1, u * P 2]
theorem WeierstrassCurve.Projective.smul_fin3_ext E1 #
∀ {R : Type r} [inst : CommRing R] (P : Fin 3 → R) (u : R),
(u • P) 0 = u * P 0 ∧ (u • P) 1 = u * P 1 ∧ (u • P) 2 = u * P 2
theorem WeierstrassCurve.Projective.comp_smul E1 #
∀ {R : Type r} [inst : CommRing R] {S : Type s} [inst_1 : CommRing S] (f : R →+* S) (P : Fin 3 → R) (u : R),
⇑f ∘ (u • P) = f u • ⇑f ∘ P
def WeierstrassCurve.Projective.instSetoidForallFinOfNatNat E1 #
{R : Type r} → [CommRing R] → Setoid (Fin 3 → R)
The equivalence setoid for a projective point representative on a Weierstrass curve.
abbrev WeierstrassCurve.Projective.PointClass E3 #
(R : Type r) → [CommRing R] → Type r
The equivalence class of a projective point representative on a Weierstrass curve.
theorem WeierstrassCurve.Projective.smul_equiv E1 #
∀ {R : Type r} [inst : CommRing R] (P : Fin 3 → R) {u : R}, IsUnit u → u • P ≈ P
theorem WeierstrassCurve.Projective.smul_eq E0 #
∀ {R : Type r} [inst : CommRing R] (P : Fin 3 → R) {u : R}, IsUnit u → ⟦u • P⟧ = ⟦P⟧
theorem WeierstrassCurve.Projective.smul_equiv_smul E1 #
∀ {R : Type r} [inst : CommRing R] (P Q : Fin 3 → R) {u v : R}, IsUnit u → IsUnit v → (u • P ≈ v • Q ↔ P ≈ Q)
theorem WeierstrassCurve.Projective.equiv_iff_eq_of_Z_eq' E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P 2 = Q 2 → Q 2 ∈ nonZeroDivisors R → (P ≈ Q ↔ P = Q)
theorem WeierstrassCurve.Projective.equiv_iff_eq_of_Z_eq E0 #
∀ {R : Type r} [inst : CommRing R] [NoZeroDivisors R] {P Q : Fin 3 → R}, P 2 = Q 2 → Q 2 ≠ 0 → (P ≈ Q ↔ P = Q)
theorem WeierstrassCurve.Projective.Z_eq_zero_of_equiv E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P ≈ Q → (P 2 = 0 ↔ Q 2 = 0)
theorem WeierstrassCurve.Projective.X_eq_of_equiv E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P ≈ Q → P 0 * Q 2 = Q 0 * P 2
theorem WeierstrassCurve.Projective.Y_eq_of_equiv E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P ≈ Q → P 1 * Q 2 = Q 1 * P 2
theorem WeierstrassCurve.Projective.not_equiv_of_Z_eq_zero_left E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P 2 = 0 → Q 2 ≠ 0 → ¬P ≈ Q
theorem WeierstrassCurve.Projective.not_equiv_of_Z_eq_zero_right E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P 2 ≠ 0 → Q 2 = 0 → ¬P ≈ Q
theorem WeierstrassCurve.Projective.not_equiv_of_X_ne E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P 0 * Q 2 ≠ Q 0 * P 2 → ¬P ≈ Q
theorem WeierstrassCurve.Projective.not_equiv_of_Y_ne E1 #
∀ {R : Type r} [inst : CommRing R] {P Q : Fin 3 → R}, P 1 * Q 2 ≠ Q 1 * P 2 → ¬P ≈ Q
theorem WeierstrassCurve.Projective.equiv_of_X_eq_of_Y_eq E0 #
∀ {F : Type u} [inst : Field F] {P Q : Fin 3 → F},
P 2 ≠ 0 → Q 2 ≠ 0 → P 0 * Q 2 = Q 0 * P 2 → P 1 * Q 2 = Q 1 * P 2 → P ≈ Q
theorem WeierstrassCurve.Projective.equiv_some_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {P : Fin 3 → F}, P 2 ≠ 0 → P ≈ ![P 0 / P 2, P 1 / P 2, 1]
theorem WeierstrassCurve.Projective.X_eq_iff E0 #
∀ {F : Type u} [inst : Field F] {P Q : Fin 3 → F}, P 2 ≠ 0 → Q 2 ≠ 0 → (P 0 * Q 2 = Q 0 * P 2 ↔ P 0 / P 2 = Q 0 / Q 2)
theorem WeierstrassCurve.Projective.Y_eq_iff E0 #
∀ {F : Type u} [inst : Field F] {P Q : Fin 3 → F}, P 2 ≠ 0 → Q 2 ≠ 0 → (P 1 * Q 2 = Q 1 * P 2 ↔ P 1 / P 2 = Q 1 / Q 2)
def WeierstrassCurve.Projective.polynomial E1 #
{R : Type r} → [inst : CommRing R] → WeierstrassCurve.Projective R → MvPolynomial (Fin 3) R
The polynomial W(X, Y, Z) := Y²Z + a₁XYZ + a₃YZ² - (X³ + a₂X²Z + a₄XZ² + a₆Z³) associated to a
Weierstrass curve W over a ring R in projective coordinates.
This is represented as a term of type MvPolynomial (Fin 3) R, where X, Y, and Z
represent X, Y, and Z respectively.
theorem WeierstrassCurve.Projective.eval_polynomial E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
(MvPolynomial.eval P) W'.polynomial =
P 1 ^ 2 * P 2 + W'.a₁ * P 0 * P 1 * P 2 + W'.a₃ * P 1 * P 2 ^ 2 -
(P 0 ^ 3 + W'.a₂ * P 0 ^ 2 * P 2 + W'.a₄ * P 0 * P 2 ^ 2 + W'.a₆ * P 2 ^ 3)
theorem WeierstrassCurve.Projective.eval_polynomial_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
P 2 ≠ 0 →
(MvPolynomial.eval P) W.polynomial / P 2 ^ 3 = Polynomial.evalEval (P 0 / P 2) (P 1 / P 2) W.toAffine.polynomial
def WeierstrassCurve.Projective.Equation E1 #
{R : Type r} → [CommRing R] → WeierstrassCurve.Projective R → (Fin 3 → R) → Prop
The proposition that a projective point representative (x, y, z) lies in a Weierstrass curve
W.
In other words, it satisfies the homogeneous Weierstrass equation W(X, Y, Z) = 0.
theorem WeierstrassCurve.Projective.equation_iff E0 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
W'.Equation P ↔
P 1 ^ 2 * P 2 + W'.a₁ * P 0 * P 1 * P 2 + W'.a₃ * P 1 * P 2 ^ 2 -
(P 0 ^ 3 + W'.a₂ * P 0 ^ 2 * P 2 + W'.a₄ * P 0 * P 2 ^ 2 + W'.a₆ * P 2 ^ 3) =
0
theorem WeierstrassCurve.Projective.equation_smul E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R) {u : R},
IsUnit u → (W'.Equation (u • P) ↔ W'.Equation P)
theorem WeierstrassCurve.Projective.equation_of_equiv E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} {P Q : Fin 3 → R},
P ≈ Q → (W'.Equation P ↔ W'.Equation Q)
theorem WeierstrassCurve.Projective.equation_of_Z_eq_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} {P : Fin 3 → R},
P 2 = 0 → (W'.Equation P ↔ P 0 ^ 3 = 0)
theorem WeierstrassCurve.Projective.equation_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R}, W'.Equation ![0, 1, 0]
theorem WeierstrassCurve.Projective.equation_some E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (a b : R),
W'.Equation ![a, b, 1] ↔ W'.toAffine.Equation a b
theorem WeierstrassCurve.Projective.equation_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
P 2 ≠ 0 → (W.Equation P ↔ W.toAffine.Equation (P 0 / P 2) (P 1 / P 2))
theorem WeierstrassCurve.Projective.X_eq_zero_of_Z_eq_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} [NoZeroDivisors R] {P : Fin 3 → R},
W'.Equation P → P 2 = 0 → P 0 = 0
def WeierstrassCurve.Projective.polynomialX E1 #
{R : Type r} → [inst : CommRing R] → WeierstrassCurve.Projective R → MvPolynomial (Fin 3) R
The partial derivative W_X(X, Y, Z) with respect to X of the polynomial W(X, Y, Z)
associated to a Weierstrass curve W in projective coordinates.
theorem WeierstrassCurve.Projective.polynomialX_eq E0 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R},
W'.polynomialX =
MvPolynomial.C W'.a₁ * MvPolynomial.X 1 * MvPolynomial.X 2 -
(MvPolynomial.C 3 * MvPolynomial.X 0 ^ 2 + MvPolynomial.C (2 * W'.a₂) * MvPolynomial.X 0 * MvPolynomial.X 2 +
MvPolynomial.C W'.a₄ * MvPolynomial.X 2 ^ 2)
theorem WeierstrassCurve.Projective.eval_polynomialX E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
(MvPolynomial.eval P) W'.polynomialX = W'.a₁ * P 1 * P 2 - (3 * P 0 ^ 2 + 2 * W'.a₂ * P 0 * P 2 + W'.a₄ * P 2 ^ 2)
theorem WeierstrassCurve.Projective.eval_polynomialX_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
P 2 ≠ 0 →
(MvPolynomial.eval P) W.polynomialX / P 2 ^ 2 = Polynomial.evalEval (P 0 / P 2) (P 1 / P 2) W.toAffine.polynomialX
def WeierstrassCurve.Projective.polynomialY E1 #
{R : Type r} → [inst : CommRing R] → WeierstrassCurve.Projective R → MvPolynomial (Fin 3) R
The partial derivative W_Y(X, Y, Z) with respect to Y of the polynomial W(X, Y, Z)
associated to a Weierstrass curve W in projective coordinates.
theorem WeierstrassCurve.Projective.polynomialY_eq E0 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R},
W'.polynomialY =
MvPolynomial.C 2 * MvPolynomial.X 1 * MvPolynomial.X 2 +
MvPolynomial.C W'.a₁ * MvPolynomial.X 0 * MvPolynomial.X 2 +
MvPolynomial.C W'.a₃ * MvPolynomial.X 2 ^ 2
theorem WeierstrassCurve.Projective.eval_polynomialY E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
(MvPolynomial.eval P) W'.polynomialY = 2 * P 1 * P 2 + W'.a₁ * P 0 * P 2 + W'.a₃ * P 2 ^ 2
theorem WeierstrassCurve.Projective.eval_polynomialY_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
P 2 ≠ 0 →
(MvPolynomial.eval P) W.polynomialY / P 2 ^ 2 = Polynomial.evalEval (P 0 / P 2) (P 1 / P 2) W.toAffine.polynomialY
def WeierstrassCurve.Projective.polynomialZ E1 #
{R : Type r} → [inst : CommRing R] → WeierstrassCurve.Projective R → MvPolynomial (Fin 3) R
The partial derivative W_Z(X, Y, Z) with respect to Z of the polynomial W(X, Y, Z)
associated to a Weierstrass curve W in projective coordinates.
theorem WeierstrassCurve.Projective.polynomialZ_eq E0 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R},
W'.polynomialZ =
MvPolynomial.X 1 ^ 2 + MvPolynomial.C W'.a₁ * MvPolynomial.X 0 * MvPolynomial.X 1 +
MvPolynomial.C (2 * W'.a₃) * MvPolynomial.X 1 * MvPolynomial.X 2 -
(MvPolynomial.C W'.a₂ * MvPolynomial.X 0 ^ 2 + MvPolynomial.C (2 * W'.a₄) * MvPolynomial.X 0 * MvPolynomial.X 2 +
MvPolynomial.C (3 * W'.a₆) * MvPolynomial.X 2 ^ 2)
theorem WeierstrassCurve.Projective.eval_polynomialZ E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
(MvPolynomial.eval P) W'.polynomialZ =
P 1 ^ 2 + W'.a₁ * P 0 * P 1 + 2 * W'.a₃ * P 1 * P 2 -
(W'.a₂ * P 0 ^ 2 + 2 * W'.a₄ * P 0 * P 2 + 3 * W'.a₆ * P 2 ^ 2)
theorem WeierstrassCurve.Projective.polynomial_relation E3 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
3 * (MvPolynomial.eval P) W'.polynomial =
P 0 * (MvPolynomial.eval P) W'.polynomialX + P 1 * (MvPolynomial.eval P) W'.polynomialY +
P 2 * (MvPolynomial.eval P) W'.polynomialZ
Euler's homogeneous function theorem in projective coordinates.
def WeierstrassCurve.Projective.Nonsingular E3 #
{R : Type r} → [CommRing R] → WeierstrassCurve.Projective R → (Fin 3 → R) → Prop
The proposition that a projective point representative (x, y, z) on a Weierstrass curve W is
nonsingular.
In other words, either W_X(x, y, z) ≠ 0, W_Y(x, y, z) ≠ 0, or W_Z(x, y, z) ≠ 0.
Note that this definition is only mathematically accurate for fields.
theorem WeierstrassCurve.Projective.nonsingular_iff E0 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
W'.Nonsingular P ↔
W'.Equation P ∧
(W'.a₁ * P 1 * P 2 - (3 * P 0 ^ 2 + 2 * W'.a₂ * P 0 * P 2 + W'.a₄ * P 2 ^ 2) ≠ 0 ∨
2 * P 1 * P 2 + W'.a₁ * P 0 * P 2 + W'.a₃ * P 2 ^ 2 ≠ 0 ∨
P 1 ^ 2 + W'.a₁ * P 0 * P 1 + 2 * W'.a₃ * P 1 * P 2 -
(W'.a₂ * P 0 ^ 2 + 2 * W'.a₄ * P 0 * P 2 + 3 * W'.a₆ * P 2 ^ 2) ≠
0)
theorem WeierstrassCurve.Projective.nonsingular_smul E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R) {u : R},
IsUnit u → (W'.Nonsingular (u • P) ↔ W'.Nonsingular P)
theorem WeierstrassCurve.Projective.nonsingular_of_equiv E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} {P Q : Fin 3 → R},
P ≈ Q → (W'.Nonsingular P ↔ W'.Nonsingular Q)
theorem WeierstrassCurve.Projective.nonsingular_of_Z_eq_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} {P : Fin 3 → R},
P 2 = 0 → (W'.Nonsingular P ↔ W'.Equation P ∧ (3 * P 0 ^ 2 ≠ 0 ∨ P 1 ^ 2 + W'.a₁ * P 0 * P 1 - W'.a₂ * P 0 ^ 2 ≠ 0))
theorem WeierstrassCurve.Projective.nonsingular_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} [Nontrivial R], W'.Nonsingular ![0, 1, 0]
theorem WeierstrassCurve.Projective.nonsingular_some E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (a b : R),
W'.Nonsingular ![a, b, 1] ↔ W'.toAffine.Nonsingular a b
theorem WeierstrassCurve.Projective.nonsingular_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
P 2 ≠ 0 → (W.Nonsingular P ↔ W.toAffine.Nonsingular (P 0 / P 2) (P 1 / P 2))
theorem WeierstrassCurve.Projective.nonsingular_iff_of_Z_ne_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
P 2 ≠ 0 →
(W.Nonsingular P ↔
W.Equation P ∧ ((MvPolynomial.eval P) W.polynomialX ≠ 0 ∨ (MvPolynomial.eval P) W.polynomialY ≠ 0))
theorem WeierstrassCurve.Projective.Y_ne_zero_of_Z_eq_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} [NoZeroDivisors R] {P : Fin 3 → R},
W'.Nonsingular P → P 2 = 0 → P 1 ≠ 0
theorem WeierstrassCurve.Projective.isUnit_Y_of_Z_eq_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
W.Nonsingular P → P 2 = 0 → IsUnit (P 1)
theorem WeierstrassCurve.Projective.equiv_of_Z_eq_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P Q : Fin 3 → F},
W.Nonsingular P → W.Nonsingular Q → P 2 = 0 → Q 2 = 0 → P ≈ Q
theorem WeierstrassCurve.Projective.equiv_zero_of_Z_eq_zero E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {P : Fin 3 → F},
W.Nonsingular P → P 2 = 0 → P ≈ ![0, 1, 0]
theorem WeierstrassCurve.Projective.comp_equiv_comp E1 #
∀ {F : Type u} [inst : Field F] {W : WeierstrassCurve.Projective F} {K : Type v} [inst_1 : Field K] (f : F →+* K)
{P Q : Fin 3 → F}, W.Nonsingular P → W.Nonsingular Q → (⇑f ∘ P ≈ ⇑f ∘ Q ↔ P ≈ Q)
def WeierstrassCurve.Projective.NonsingularLift E3 #
{R : Type r} → [inst : CommRing R] → WeierstrassCurve.Projective R → WeierstrassCurve.Projective.PointClass R → Prop
The proposition that a projective point class on a Weierstrass curve W is nonsingular.
If P is a projective point representative on W, then W.NonsingularLift ⟦P⟧ is definitionally
equivalent to W.Nonsingular P.
Note that this definition is only mathematically accurate for fields.
theorem WeierstrassCurve.Projective.nonsingularLift_iff E0 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (P : Fin 3 → R),
W'.NonsingularLift ⟦P⟧ ↔ W'.Nonsingular P
theorem WeierstrassCurve.Projective.nonsingularLift_zero E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} [Nontrivial R], W'.NonsingularLift ⟦![0, 1, 0]⟧
theorem WeierstrassCurve.Projective.nonsingularLift_some E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} (a b : R),
W'.NonsingularLift ⟦![a, b, 1]⟧ ↔ W'.toAffine.Nonsingular a b
abbrev WeierstrassCurve.Projective.map E1 #
{R : Type r} →
[inst : CommRing R] →
WeierstrassCurve.Projective R → {S : Type s} → [inst_1 : CommRing S] → (R →+* S) → WeierstrassCurve.Projective S
The Weierstrass curve in projective coordinates mapped over a ring homomorphism f : R →+* S.
abbrev WeierstrassCurve.Projective.baseChange E1 #
{R : Type r} →
[inst : CommRing R] →
WeierstrassCurve.Projective R → (S : Type s) → [inst_1 : CommRing S] → [Algebra R S] → WeierstrassCurve.Projective S
The Weierstrass curve in projective coordinates base changed to an algebra S over R.
def WeierstrassCurve.Projective.«term_⁄_» E1 #
Lean.TrailingParserDescr
The notation \textf for WeierstrassCurve.Projective.baseChange W S.
theorem WeierstrassCurve.Projective.map_polynomial E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S]
(f : R →+* S), (W'.map f).polynomial = (MvPolynomial.map f) W'.polynomial
theorem WeierstrassCurve.Projective.Equation.map E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} {S : Type s} [inst_1 : CommRing S] (f : R →+* S)
{P : Fin 3 → R}, W'.Equation P → (W'.map f).Equation (⇑f ∘ P)
theorem WeierstrassCurve.Projective.map_equation E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S]
{f : R →+* S}, Function.Injective ⇑f → ∀ (P : Fin 3 → R), (W'.map f).Equation (⇑f ∘ P) ↔ W'.Equation P
theorem WeierstrassCurve.Projective.map_polynomialX E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S]
(f : R →+* S), (W'.map f).polynomialX = (MvPolynomial.map f) W'.polynomialX
theorem WeierstrassCurve.Projective.map_polynomialY E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S]
(f : R →+* S), (W'.map f).polynomialY = (MvPolynomial.map f) W'.polynomialY
theorem WeierstrassCurve.Projective.map_polynomialZ E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S]
(f : R →+* S), (W'.map f).polynomialZ = (MvPolynomial.map f) W'.polynomialZ
theorem WeierstrassCurve.Projective.map_nonsingular E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S]
{f : R →+* S}, Function.Injective ⇑f → ∀ (P : Fin 3 → R), (W'.map f).Nonsingular (⇑f ∘ P) ↔ W'.Nonsingular P
theorem WeierstrassCurve.Projective.map_baseChange E0 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
(f : A →ₐ[S] B), (W'.baseChange A).map ↑f = W'.baseChange B
theorem WeierstrassCurve.Projective.baseChange_polynomial E1 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
(f : A →ₐ[S] B), (W'.baseChange B).polynomial = (MvPolynomial.map ↑f) (W'.baseChange A).polynomial
theorem WeierstrassCurve.Projective.Equation.baseChange E1 #
∀ {R : Type r} [inst : CommRing R] {W' : WeierstrassCurve.Projective R} {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
(f : A →ₐ[S] B) {P : Fin 3 → A}, (W'.baseChange A).Equation P → (W'.baseChange B).Equation (⇑f ∘ P)
theorem WeierstrassCurve.Projective.baseChange_equation E1 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
{f : A →ₐ[S] B},
Function.Injective ⇑f → ∀ (P : Fin 3 → A), (W'.baseChange B).Equation (⇑f ∘ P) ↔ (W'.baseChange A).Equation P
theorem WeierstrassCurve.Projective.baseChange_polynomialX E1 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
(f : A →ₐ[S] B), (W'.baseChange B).polynomialX = (MvPolynomial.map ↑f) (W'.baseChange A).polynomialX
theorem WeierstrassCurve.Projective.baseChange_polynomialY E1 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
(f : A →ₐ[S] B), (W'.baseChange B).polynomialY = (MvPolynomial.map ↑f) (W'.baseChange A).polynomialY
theorem WeierstrassCurve.Projective.baseChange_polynomialZ E1 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
(f : A →ₐ[S] B), (W'.baseChange B).polynomialZ = (MvPolynomial.map ↑f) (W'.baseChange A).polynomialZ
theorem WeierstrassCurve.Projective.baseChange_nonsingular E1 #
∀ {R : Type r} [inst : CommRing R] (W' : WeierstrassCurve.Projective R) {S : Type s} [inst_1 : CommRing S] {A : Type u}
[inst_2 : CommRing A] {B : Type v} [inst_3 : CommRing B] [inst_4 : Algebra R S] [inst_5 : Algebra R A]
[inst_6 : Algebra S A] [IsScalarTower R S A] [inst_8 : Algebra R B] [inst_9 : Algebra S B] [IsScalarTower R S B]
{f : A →ₐ[S] B},
Function.Injective ⇑f → ∀ (P : Fin 3 → A), (W'.baseChange B).Nonsingular (⇑f ∘ P) ↔ (W'.baseChange A).Nonsingular P