Index of theproofnetwork/open-problems@860a535/Prove2Me/Definitions/Def_Rank2Sha_TateShafarevich.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

108 lines · 5.4 kBraw
/-From Prove2Me, definition `Rank2Sha_TateShafarevich` (https://prove2.me/definitions/6493586b-fa20-4a7a-9b82-e3c0270c806d). Apache-2.0 per Prove2Me's terms.-/import Prove2Me.Definitions.Def_Rank2Sha_ContCohomologyShaimport Mathlib.AlgebraicGeometry.EllipticCurve.Affine.Pointimport Mathlib.NumberTheory.NumberField.Completion.FinitePlaceimport Mathlib.NumberTheory.NumberField.Completion.InfinitePlace /-Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at     https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-/  /-!# The Tate–-Shafarevich group of an elliptic curve over a number field The non-singular points over an algebraic closure of a field `K` carry a discrete Galoisrepresentation. For a number field, the *Tate–Shafarevich group* is the intersection of the kernelsof restriction to all infinite and finite completions, where finite places are indexed by thenon-zero prime ideals of the ring of integers of `K`. The coefficient module remains the geometricpoints over the separable closure of `K`, with its action restricted to each local Galois group. ## References * [Silverman2009] Joseph H. Silverman, *The Arithmetic of Elliptic Curves*, 2nd ed., Graduate Texts  in Mathematics 106, Springer (2009), [doi](https://doi.org/10.1007/978-0-387-09494-6).  Chapter X, §4, pp. 331–333, especially the definition on p. 332, gives the classical  Tate–-Shafarevich group over a number field, using local geometric points.* [J. S. Milne, Arithmetic Duality Theorems](https://www.jmilne.org/math/Books/ADTnot.pdf)* [J. S. Milne, Elliptic Curves](https://www.jmilne.org/math/Books/EC2.pdf), 2nd ed., Chapter IV,  Remark 1.11, p. 111, explains the use of a separable closure over imperfect fields.-/  @[simp]lemma Field.absoluteGaloisGroup.one_toAlgHom {K : Type*} [Field K] :    (1 : Field.absoluteGaloisGroup K).toAlgHom = AlgHom.id K (AlgebraicClosure K) := rfl @[simp]lemma Field.absoluteGaloisGroup.mul_toAlgHom {K : Type*} [Field K]    (σ τ : Field.absoluteGaloisGroup K) :    (σ * τ).toAlgHom = σ.toAlgHom.comp τ.toAlgHom := rfl @[simp]lemma WeierstrassCurve.Affine.Point.map_id' {R S F : Type*} [CommRing R] [CommRing S]    [Field F] {W' : WeierstrassCurve.Affine R} [DecidableEq F] [Algebra R S] [Algebra R F]    [Algebra S F] [IsScalarTower R S F] (P : (W'.baseChange F).Point) :    WeierstrassCurve.Affine.Point.map (AlgHom.id S F) P = P := by  cases P <;> rfl lemma ContinuousLinearMap.mk_apply {R S M M₂ : Type*} [Semiring R] [Semiring S]    {σ : R →+* S} [TopologicalSpace M] [AddCommMonoid M] [TopologicalSpace M₂]    [AddCommMonoid M₂] [Module R M] [Module S M₂] (toLinearMap : M →ₛₗ[σ] M₂)    (cont : Continuous toLinearMap.toFun) (m : M) :    ContinuousLinearMap.mk toLinearMap cont m = toLinearMap m := rfl namespace WeierstrassCurve.Affine open ContinuousCohomology IsDedekindDomain NumberField variable {K : Type*} [Field K] (W : Affine K) /-- The geometric non-singular points as a topological space. -/local instance : TopologicalSpace (W⁄(AlgebraicClosure K)).Point := ⊥ /-- The geometric non-singular points equipped with the discrete topology. -/local instance : DiscreteTopology (W⁄(AlgebraicClosure K)).Point := ⟨rfl⟩ open scoped Classical in/-- The natural Galois action on geometric non-singular points with their discrete topology. This uses `AlgebraicClosure K` to match `Field.absoluteGaloisGroup`. For number fields, which areperfect, an algebraic closure is also a separable closure. Over an imperfect field, the coefficientmodule for the usual Galois cohomology of an elliptic curve should use `SeparableClosure K` instead. TODO: use `SeparableClosure K` for the coefficient field when the API for absolute Galois groupssupports this directly. The automorphism group of the algebraic closure itself gives the usualabsolute Galois group by restriction to the separable closure. -/noncomputable def galoisRepresentation : TopRep ℤ <| Field.absoluteGaloisGroup K := .of <|  .ofMonoidHom {    toFun σ := { __ := (Affine.Point.map (W' := W) σ.toAlgHom).toIntLinearMap }    map_one' := by ext; simp    map_mul' σ τ := by ext; simp [ContinuousLinearMap.mk_apply _, Point.map_map] } /-- The subgroup of the first continuous Galois cohomology group consisting of classes whoserestrictions vanish at every infinite and finite place. When `W.IsElliptic`, this is the classicalTate--Shafarevich group of `W` over `K`. The construction also applies to the nonsingular locusof a singular Weierstrass curve. -/noncomputable def tateShafarevich [NumberField K] :    AddSubgroup <| continuousCohomology 1 W.galoisRepresentation :=  ContinuousCohomology.tateShafarevich      (fun v : InfinitePlace K ↦ v.Completion) W.galoisRepresentation 1 ⊓    ContinuousCohomology.tateShafarevich      (fun v : HeightOneSpectrum <| 𝓞 K ↦ v.adicCompletion K) W.galoisRepresentation 1 end WeierstrassCurve.Affine

download (.tar)