Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.Resolution.Blowups.LocalCoordinatePrime |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.HypersurfaceDimension |
| 3 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.Derivation |
| 4 | import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.CoefficientStep |
| 5 | import Mathlib.RingTheory.Spectrum.Prime.Topology |
| 6 | |
| 7 | /-! # Coordinate Local Parameter -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CoordinateLocalParameter.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A coordinate through a closed point on a smooth curve is a local parameter. -/ |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem etale_curve_coordinate_local_maximalIdeal |
| 18 | {σ k R : Type u} [Field k] [IsAlgClosed k] [CommRing R] [Finite σ] [DecidableEq σ] |
| 19 | [Algebra (MvPolynomial σ k) R] [Algebra.Etale (MvPolynomial σ k) R] |
| 20 | (hd : ringKrullDim R ≤ 1) (i : σ) (q : Ideal R) [q.IsMaximal] |
| 21 | (hi : algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) ∈ q) : |
| 22 | Ideal.span {algebraMap R (Localization.AtPrime q) |
| 23 | (algebraMap (MvPolynomial σ k) R (MvPolynomial.X i))} = |
| 24 | IsLocalRing.maximalIdeal (Localization.AtPrime q) := by |
| 25 | let A := Localization.AtPrime q |
| 26 | let z := algebraMap (MvPolynomial σ k) R (MvPolynomial.X i) |
| 27 | let z' := algebraMap R A z |
| 28 | let : IsDomain A := Blowups.Etale.LocalDomain.Construction.etale_closed_localRing_isDomain (σ := σ) (K := k) q |
| 29 | let : Ring.KrullDimLE 1 A := Ring.krullDimLE_iff.mpr |
| 30 | ((HypersurfaceDimension.Construction.localization_ringKrullDim_le (B := A) q.primeCompl).trans hd) |
| 31 | let D := Blowups.Etale.LocalOrder.Construction.etalePolynomialCoordinateDerivation (K := k) (S := R) i |
| 32 | have hD : D z = 1 := by |
| 33 | exact (Blowups.Etale.CoefficientStep.Construction.etalePolynomialCoordinateDerivation_X (K := k) (S := R) i i).trans (ite_eq_left rfl) |
| 34 | have hD' : Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation (S := A) D z' = 1 := by |
| 35 | rw [Blowups.Etale.Derivation.Construction.extendEtaleRingDerivation_algebraMap, hD, map_one] |
| 36 | have hz' : z' ≠ 0 := by |
| 37 | intro h |
| 38 | rw [h, map_zero] at hD' |
| 39 | exact zero_ne_one hD' |
| 40 | let P := Ideal.span {z'} |
| 41 | let : P.IsPrime := LocalCoordinatePrime.Construction.etale_boundary_coordinate_atPrime_isPrime (K := k) i q hi |
| 42 | rcases IsLocalRing.Ring.KrullDimLE.eq_bot_or_eq_top (⟨P, inferInstance⟩ : PrimeSpectrum A) with h | h |
| 43 | · have hP : P = ⊥ := congrArg PrimeSpectrum.asIdeal h |
| 44 | have hz : z' ∈ P := Ideal.mem_span_singleton_self z' |
| 45 | rw [hP] at hz |
| 46 | exact False.elim (hz' ((Submodule.mem_bot A).mp hz)) |
| 47 | · exact congrArg PrimeSpectrum.asIdeal h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.Resolution.Blowups.Curve.CoordinateLocalParameter.Construction |