The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V28. Algebraic geometry

Mathlib.AlgebraicGeometry.EllipticCurve.Reduction

70 declarations. Mathlib docs · Source

Reduction of Weierstrass curves over local fields

This file defines reduction of Weierstrass curves over local fields, or more generally, fraction fields of discrete valuation rings.

Main definitions

  • IsIntegral: a predicate expressing that a given Weierstrass equation has integral coefficients.
  • IsMinimal: a predicate expressing that a given Weierstrass equation has minimal valuation of discriminant among all isomorphic integral Weierstrass equations.
  • reduction: the reduction of a Weierstrass curve given by a minimal Weierstrass equation, which is a Weierstrass curve over the residue field.
  • IsGoodReduction: a predicate expressing that a given minimal Weierstrass equation has valuation of its discriminant equal to zero.

Main statements

  • exists_isIntegral: any Weierstrass curve is isomorphic to one given by an integral Weierstrass equation.
  • exists_isMinimal: any Weierstrass curve is isomorphic to one given by a minimal Weierstrass equation.

References

  • [J Silverman, The Arithmetic of Elliptic Curves][silverman2009]

Tags

elliptic curve, weierstrass equation, minimal weierstrass equation, reduction

theorem WeierstrassCurve.valuation_Δ_aux.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W W_1 : WeierstrassCurve K),
  W = W_1 → WeierstrassCurve.valuation_Δ_aux R W = WeierstrassCurve.valuation_Δ_aux R W_1

theorem WeierstrassCurve.HasGoodReduction.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W W_1 : WeierstrassCurve K),
  W = W_1 → WeierstrassCurve.HasGoodReduction R W = WeierstrassCurve.HasGoodReduction R W_1

theorem WeierstrassCurve.IsMinimal.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W W_1 : WeierstrassCurve K),
  W = W_1 → WeierstrassCurve.IsMinimal R W = WeierstrassCurve.IsMinimal R W_1

theorem WeierstrassCurve.integralModel.congr_simp E1 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K]
  (W W_1 : WeierstrassCurve K) (e_W : W = W_1) [hW : WeierstrassCurve.IsIntegral R W],
  WeierstrassCurve.integralModel R W = WeierstrassCurve.integralModel R W_1

class WeierstrassCurve.IsIntegral E3 #

(R : Type u_1) → [inst : CommRing R] → {K : Type u_2} → [inst_1 : Field K] → [Algebra R K] → WeierstrassCurve K → Prop

A Weierstrass equation over the fraction field K is integral if it has coefficients in the ring R.

theorem WeierstrassCurve.isIntegral_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K),
  WeierstrassCurve.IsIntegral R W ↔ ∃ W_int, W = W_int.baseChange K

ctor WeierstrassCurve.IsIntegral.mk E0 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] {W : WeierstrassCurve K},
  (∃ W_int, W = W_int.baseChange K) → WeierstrassCurve.IsIntegral R W

theorem WeierstrassCurve.IsIntegral.integral E1 #

∀ {R : Type u_1} {inst : CommRing R} {K : Type u_2} {inst_1 : Field K} {inst_2 : Algebra R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.IsIntegral R W], ∃ W_int, W = W_int.baseChange K

def WeierstrassCurve.integralModel E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    {K : Type u_2} →
      [inst_1 : Field K] →
        [inst_2 : Algebra R K] → (W : WeierstrassCurve K) → [hW : WeierstrassCurve.IsIntegral R W] → WeierstrassCurve R

An integral model of an integral Weierstrass curve.

theorem WeierstrassCurve.baseChange_integralModel_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (WeierstrassCurve.integralModel R W).baseChange K = W

theorem WeierstrassCurve.isIntegral_of_exists_lift E1 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] {W : WeierstrassCurve K},
  (∃ r₁, (algebraMap R K) r₁ = W.a₁) →
    (∃ r₂, (algebraMap R K) r₂ = W.a₂) →
      (∃ r₃, (algebraMap R K) r₃ = W.a₃) →
        (∃ r₄, (algebraMap R K) r₄ = W.a₄) → (∃ r₆, (algebraMap R K) r₆ = W.a₆) → WeierstrassCurve.IsIntegral R W

theorem WeierstrassCurve.Δ_integral_of_isIntegral E1 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [WeierstrassCurve.IsIntegral R W], ∃ r, (algebraMap R K) r = W.Δ

theorem WeierstrassCurve.integralModel_a₁_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).a₁ = W.a₁

theorem WeierstrassCurve.integralModel_a₂_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).a₂ = W.a₂

theorem WeierstrassCurve.integralModel_a₃_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).a₃ = W.a₃

theorem WeierstrassCurve.integralModel_a₄_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).a₄ = W.a₄

theorem WeierstrassCurve.integralModel_a₆_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).a₆ = W.a₆

theorem WeierstrassCurve.integralModel_b₂_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).b₂ = W.b₂

theorem WeierstrassCurve.integralModel_b₄_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).b₄ = W.b₄

theorem WeierstrassCurve.integralModel_b₆_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).b₆ = W.b₆

theorem WeierstrassCurve.integralModel_b₈_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).b₈ = W.b₈

theorem WeierstrassCurve.integralModel_c₄_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).c₄ = W.c₄

theorem WeierstrassCurve.integralModel_c₆_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).c₆ = W.c₆

theorem WeierstrassCurve.integralModel_Δ_eq E0 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W], (algebraMap R K) (WeierstrassCurve.integralModel R W).Δ = W.Δ

theorem WeierstrassCurve.exists_isIntegral E3 #

∀ (R : Type u_1) [inst : CommRing R] {K : Type u_2} [inst_1 : Field K] [inst_2 : Algebra R K] [inst_3 : IsDomain R]
  [ValuationRing R] [IsFractionRing R K] (W : WeierstrassCurve K), ∃ C, WeierstrassCurve.IsIntegral R (C • W)

theorem WeierstrassCurve.r_integral_of_u_integral E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [IsDiscreteValuationRing R] {K : Type u_2} [inst_3 : Field K]
  [inst_4 : Algebra R K] [IsFractionRing R K] {W W' : WeierstrassCurve K} [WeierstrassCurve.IsIntegral R W]
  [WeierstrassCurve.IsIntegral R W'] {CK : WeierstrassCurve.VariableChange K},
  CK • W = W' → ∀ {u : Rˣ}, (algebraMap R K) ↑u = ↑CK.u → ∃ r, (algebraMap R K) r = CK.r

theorem WeierstrassCurve.s_integral_of_u_integral E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [IsDiscreteValuationRing R] {K : Type u_2} [inst_3 : Field K]
  [inst_4 : Algebra R K] [IsFractionRing R K] {W W' : WeierstrassCurve K} [WeierstrassCurve.IsIntegral R W]
  [WeierstrassCurve.IsIntegral R W'] {CK : WeierstrassCurve.VariableChange K},
  CK • W = W' → ∀ {u : Rˣ}, (algebraMap R K) ↑u = ↑CK.u → ∃ s, (algebraMap R K) s = CK.s

theorem WeierstrassCurve.t_integral_of_u_integral E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [IsDiscreteValuationRing R] {K : Type u_2} [inst_3 : Field K]
  [inst_4 : Algebra R K] [IsFractionRing R K] {W W' : WeierstrassCurve K} [WeierstrassCurve.IsIntegral R W]
  [WeierstrassCurve.IsIntegral R W'] {CK : WeierstrassCurve.VariableChange K},
  CK • W = W' → ∀ {u : Rˣ}, (algebraMap R K) ↑u = ↑CK.u → ∃ t, (algebraMap R K) t = CK.t

theorem WeierstrassCurve.variableChange_integral_of_u_integral E1 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [IsDiscreteValuationRing R] {K : Type u_2} [inst_3 : Field K]
  [inst_4 : Algebra R K] [IsFractionRing R K] {W W' : WeierstrassCurve K} [WeierstrassCurve.IsIntegral R W]
  [WeierstrassCurve.IsIntegral R W'] {CK : WeierstrassCurve.VariableChange K},
  CK • W = W' → ∀ {u : Rˣ}, (algebraMap R K) ↑u = ↑CK.u → ∃ CR, CR.baseChange K = CK

A variable change over the fraction field between integral Weierstrass equations descends to the base ring if its u coefficient descends to a unit of the base ring.

def WeierstrassCurve.valuation_Δ_aux E0 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} →
          [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → { v // v ≤ 1 }

The valuation of the discriminant of a Weierstrass curve W, which is at most 1 if W is integral. Zero otherwise.

theorem WeierstrassCurve.valuation_Δ_aux_eq_of_isIntegral E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K)
  [hW : WeierstrassCurve.IsIntegral R W],
  ↑(WeierstrassCurve.valuation_Δ_aux R W) =
    (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ

class WeierstrassCurve.IsMinimal E3 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} → [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → Prop

A Weierstrass equation over the fraction field K is minimal if the (multiplicative) valuation of its discriminant is maximal among all isomorphic integral Weierstrass equations. We still use 'minimal' for the naming, so as to standardize the naming with Silverman's book.

theorem WeierstrassCurve.isMinimal_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K),
  WeierstrassCurve.IsMinimal R W ↔
    MaximalFor (fun C ↦ WeierstrassCurve.IsIntegral R (C • W)) (fun C ↦ WeierstrassCurve.valuation_Δ_aux R (C • W)) 1

ctor WeierstrassCurve.IsMinimal.mk E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  MaximalFor (fun C ↦ WeierstrassCurve.IsIntegral R (C • W)) (fun C ↦ WeierstrassCurve.valuation_Δ_aux R (C • W)) 1 →
    WeierstrassCurve.IsMinimal R W

theorem WeierstrassCurve.IsMinimal.val_Δ_maximal E0 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.IsMinimal R W],
  MaximalFor (fun C ↦ WeierstrassCurve.IsIntegral R (C • W)) (fun C ↦ WeierstrassCurve.valuation_Δ_aux R (C • W)) 1

instance WeierstrassCurve.instIsIntegralOfIsMinimal E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [WeierstrassCurve.IsMinimal R W], WeierstrassCurve.IsIntegral R W

theorem WeierstrassCurve.exists_isMinimal E3 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K),
  ∃ C, WeierstrassCurve.IsMinimal R (C • W)

def WeierstrassCurve.minimal E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} →
          [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → WeierstrassCurve K

A minimal Weierstrass equation for a given Weierstrass curve over K.

instance WeierstrassCurve.instIsMinimalMinimal E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.IsMinimal R (WeierstrassCurve.minimal R W)

def WeierstrassCurve.reduction E3 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [inst_2 : IsDiscreteValuationRing R] →
        {K : Type u_2} →
          [inst_3 : Field K] →
            [inst_4 : Algebra R K] →
              [inst_5 : IsFractionRing R K] →
                (W : WeierstrassCurve K) →
                  [WeierstrassCurve.IsMinimal R W] → WeierstrassCurve (IsLocalRing.ResidueField R)

The reduction of a Weierstrass curve over K given by a minimal Weierstrass equation, which is a Weierstrass curve over the residue field of R.

class WeierstrassCurve.HasGoodReduction E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} → [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → Prop

A minimal Weierstrass equation has good reduction if and only if the valuation of its discriminant is 1.

theorem WeierstrassCurve.hasGoodReduction_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K),
  WeierstrassCurve.HasGoodReduction R W ↔
    WeierstrassCurve.IsMinimal R W ∧
      (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ = 1

ctor WeierstrassCurve.HasGoodReduction.mk E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [toIsMinimal : WeierstrassCurve.IsMinimal R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ = 1 →
    WeierstrassCurve.HasGoodReduction R W

instance WeierstrassCurve.HasGoodReduction.toIsMinimal E0 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasGoodReduction R W], WeierstrassCurve.IsMinimal R W

theorem WeierstrassCurve.HasGoodReduction.goodReduction E1 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasGoodReduction R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ = 1

theorem WeierstrassCurve.hasGoodReduction_iff_isElliptic_reduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [hW : WeierstrassCurve.IsMinimal R W],
  WeierstrassCurve.HasGoodReduction R W ↔ (WeierstrassCurve.reduction R W).IsElliptic

class WeierstrassCurve.HasMultiplicativeReduction E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} → [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → Prop

A minimal Weierstrass equation has multiplicative reduction if and only if the valuation of its discriminant is less than 1 and the valuation of c₄ equals 1.

theorem WeierstrassCurve.hasMultiplicativeReduction_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K),
  WeierstrassCurve.HasMultiplicativeReduction R W ↔
    WeierstrassCurve.IsMinimal R W ∧
      (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ < 1 ∧
        (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.c₄ = 1

ctor WeierstrassCurve.HasMultiplicativeReduction.mk E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [toIsMinimal : WeierstrassCurve.IsMinimal R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ < 1 →
    (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.c₄ = 1 →
      WeierstrassCurve.HasMultiplicativeReduction R W

instance WeierstrassCurve.HasMultiplicativeReduction.toIsMinimal E0 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasMultiplicativeReduction R W], WeierstrassCurve.IsMinimal R W

theorem WeierstrassCurve.HasMultiplicativeReduction.badReduction E1 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasMultiplicativeReduction R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ < 1

theorem WeierstrassCurve.HasMultiplicativeReduction.multiplicativeReduction E1 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasMultiplicativeReduction R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.c₄ = 1

class WeierstrassCurve.HasAdditiveReduction E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} → [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → Prop

A minimal Weierstrass equation has additive reduction if and only if the valuation of its discriminant is less than 1 and the valuation of c₄ is less than 1.

theorem WeierstrassCurve.hasAdditiveReduction_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K),
  WeierstrassCurve.HasAdditiveReduction R W ↔
    WeierstrassCurve.IsMinimal R W ∧
      (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ < 1 ∧
        (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.c₄ < 1

ctor WeierstrassCurve.HasAdditiveReduction.mk E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [toIsMinimal : WeierstrassCurve.IsMinimal R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ < 1 →
    (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.c₄ < 1 →
      WeierstrassCurve.HasAdditiveReduction R W

instance WeierstrassCurve.HasAdditiveReduction.toIsMinimal E0 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasAdditiveReduction R W], WeierstrassCurve.IsMinimal R W

theorem WeierstrassCurve.HasAdditiveReduction.badReduction E1 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasAdditiveReduction R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.Δ < 1

theorem WeierstrassCurve.HasAdditiveReduction.additiveReduction E1 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasAdditiveReduction R W],
  (IsDedekindDomain.HeightOneSpectrum.valuation K (IsDiscreteValuationRing.maximalIdeal R)) W.c₄ < 1

class WeierstrassCurve.HasSplitMultiplicativeReduction E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    [inst_1 : IsDomain R] →
      [IsDiscreteValuationRing R] →
        {K : Type u_2} → [inst_3 : Field K] → [inst_4 : Algebra R K] → [IsFractionRing R K] → WeierstrassCurve K → Prop

A minimal Weierstrass equation has split multiplicative reduction if and only if the polynomial c₄ T ^ 2 + a₁ c₄ T - (54 b₆ - 3 b₂ b₄ + a₂ c₄) splits in the residue field.

To see how this expression arises, note that the node (x₀, y₀) has second order Taylor expansion (Y - y₀)^2 + a_1(X - x₀)(Y - y₀) - (3x₀ + a_2)(X - x₀)^2 where x₀ = (18 b₆ - b₂ b₄) / c₄.

theorem WeierstrassCurve.hasSplitMultiplicativeReduction_iff E0 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] (W : WeierstrassCurve K),
  WeierstrassCurve.HasSplitMultiplicativeReduction R W ↔
    ∃ (toHasMultiplicativeReduction : WeierstrassCurve.HasMultiplicativeReduction R W),
      (Polynomial.map (algebraMap R (IsLocalRing.ResidueField R))
          (Polynomial.C (WeierstrassCurve.integralModel R W).c₄ * Polynomial.X ^ 2 +
              Polynomial.C ((WeierstrassCurve.integralModel R W).a₁ * (WeierstrassCurve.integralModel R W).c₄) *
                Polynomial.X -
            Polynomial.C
              (54 * (WeierstrassCurve.integralModel R W).b₆ -
                  3 * (WeierstrassCurve.integralModel R W).b₂ * (WeierstrassCurve.integralModel R W).b₄ +
                (WeierstrassCurve.integralModel R W).a₂ * (WeierstrassCurve.integralModel R W).c₄))).Splits

ctor WeierstrassCurve.HasSplitMultiplicativeReduction.mk E0 #

∀ {R : Type u_1} [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [toHasMultiplicativeReduction : WeierstrassCurve.HasMultiplicativeReduction R W],
  (Polynomial.map (algebraMap R (IsLocalRing.ResidueField R))
        (Polynomial.C (WeierstrassCurve.integralModel R W).c₄ * Polynomial.X ^ 2 +
            Polynomial.C ((WeierstrassCurve.integralModel R W).a₁ * (WeierstrassCurve.integralModel R W).c₄) *
              Polynomial.X -
          Polynomial.C
            (54 * (WeierstrassCurve.integralModel R W).b₆ -
                3 * (WeierstrassCurve.integralModel R W).b₂ * (WeierstrassCurve.integralModel R W).b₄ +
              (WeierstrassCurve.integralModel R W).a₂ * (WeierstrassCurve.integralModel R W).c₄))).Splits →
    WeierstrassCurve.HasSplitMultiplicativeReduction R W

instance WeierstrassCurve.HasSplitMultiplicativeReduction.toHasMultiplicativeReduction E0 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasSplitMultiplicativeReduction R W], WeierstrassCurve.HasMultiplicativeReduction R W

theorem WeierstrassCurve.HasSplitMultiplicativeReduction.splitMultiplicativeReduction E1 #

∀ {R : Type u_1} {inst : CommRing R} {inst_1 : IsDomain R} {inst_2 : IsDiscreteValuationRing R} {K : Type u_2}
  {inst_3 : Field K} {inst_4 : Algebra R K} {inst_5 : IsFractionRing R K} {W : WeierstrassCurve K}
  [self : WeierstrassCurve.HasSplitMultiplicativeReduction R W],
  (Polynomial.map (algebraMap R (IsLocalRing.ResidueField R))
      (Polynomial.C (WeierstrassCurve.integralModel R W).c₄ * Polynomial.X ^ 2 +
          Polynomial.C ((WeierstrassCurve.integralModel R W).a₁ * (WeierstrassCurve.integralModel R W).c₄) *
            Polynomial.X -
        Polynomial.C
          (54 * (WeierstrassCurve.integralModel R W).b₆ -
              3 * (WeierstrassCurve.integralModel R W).b₂ * (WeierstrassCurve.integralModel R W).b₄ +
            (WeierstrassCurve.integralModel R W).a₂ * (WeierstrassCurve.integralModel R W).c₄))).Splits

theorem WeierstrassCurve.hasGoodReduction_or_hasMultiplicativeReduction_or_hasAdditiveReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K}
  [WeierstrassCurve.IsMinimal R W],
  WeierstrassCurve.HasGoodReduction R W ∨
    WeierstrassCurve.HasMultiplicativeReduction R W ∨ WeierstrassCurve.HasAdditiveReduction R W

theorem WeierstrassCurve.HasGoodReduction.not_hasMultiplicativeReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.HasGoodReduction R W → ¬WeierstrassCurve.HasMultiplicativeReduction R W

theorem WeierstrassCurve.HasGoodReduction.not_hasAdditiveReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.HasGoodReduction R W → ¬WeierstrassCurve.HasAdditiveReduction R W

theorem WeierstrassCurve.HasMultiplicativeReduction.not_hasGoodReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.HasMultiplicativeReduction R W → ¬WeierstrassCurve.HasGoodReduction R W

theorem WeierstrassCurve.HasAdditiveReduction.not_hasGoodReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.HasAdditiveReduction R W → ¬WeierstrassCurve.HasGoodReduction R W

theorem WeierstrassCurve.HasMultiplicativeReduction.not_hasAdditiveReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.HasMultiplicativeReduction R W → ¬WeierstrassCurve.HasAdditiveReduction R W

theorem WeierstrassCurve.HasAdditiveReduction.not_hasMultiplicativeReduction E1 #

∀ (R : Type u_1) [inst : CommRing R] [inst_1 : IsDomain R] [inst_2 : IsDiscreteValuationRing R] {K : Type u_2}
  [inst_3 : Field K] [inst_4 : Algebra R K] [inst_5 : IsFractionRing R K] {W : WeierstrassCurve K},
  WeierstrassCurve.HasAdditiveReduction R W → ¬WeierstrassCurve.HasMultiplicativeReduction R W