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.HodgeConjecture.DegreeTwo.IdealNeighborhood |
| 2 | import Mathlib.RingTheory.DiscreteValuationRing.Basic |
| 3 | import Mathlib.RingTheory.Localization.AtPrime.Basic |
| 4 | |
| 5 | /-! # Uniformizer Prime Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.UniformizerPrimeSupport.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DegreeTwo: a local uniformizer defines its prime divisor on a neighborhood |
| 13 | |
| 14 | Finite generation descends equality of the two actual ideals in the DVR |
| 15 | to one principal neighborhood. This gives exact support equality there. |
| 16 | -/ |
| 17 | |
| 18 | variable {R : Type*} [CommRing R] [IsNoetherianRing R] |
| 19 | (P : Ideal R) [P.IsPrime] |
| 20 | [IsDomain (Localization.AtPrime P)] [IsDiscreteValuationRing (Localization.AtPrime P)] |
| 21 | |
| 22 | /-- A uniformizer of the actual localization cuts out precisely the |
| 23 | given prime divisor on a principal neighborhood of its generic point. -/ |
| 24 | theorem uniformizer_prime_support_neighborhood (p : R) |
| 25 | (hp : Irreducible (algebraMap R (Localization.AtPrime P) p)) : |
| 26 | ∃ b : R, b ∉ P ∧ ∀ Q : Ideal R, Q.IsPrime → b ∉ Q → (p ∈ Q ↔ P ≤ Q) := by |
| 27 | let A := Localization.AtPrime P |
| 28 | let I := Ideal.span ({p} : Set R) |
| 29 | have hpP : p ∈ P := by |
| 30 | by_contra h |
| 31 | exact hp.not_isUnit (IsLocalization.map_units A (⟨p, h⟩ : P.primeCompl)) |
| 32 | have hI : I.map (algebraMap R A) = IsLocalRing.maximalIdeal A := by |
| 33 | change (Ideal.span {p}).map (algebraMap R A) = _ |
| 34 | rw [Ideal.map_span, Set.image_singleton] |
| 35 | exact ((IsDiscreteValuationRing.irreducible_iff_uniformizer _).mp hp).symm |
| 36 | have hPI : P.map (algebraMap R A) ≤ I.map (algebraMap R A) := by |
| 37 | rw [hI, Localization.AtPrime.map_eq_maximalIdeal] |
| 38 | obtain ⟨b, hb⟩ := IdealNeighborhood.Constructions.exists_common_ideal_denominator P.primeCompl A I P |
| 39 | (IsNoetherian.noetherian P) hPI |
| 40 | refine ⟨b.val, b.property, ?_⟩ |
| 41 | intro Q hQ hbQ |
| 42 | let : Q.IsPrime := hQ |
| 43 | constructor |
| 44 | · intro hpQ r hrP |
| 45 | have hIQ : I ≤ Q := Ideal.span_le.mpr (Set.singleton_subset_iff.mpr hpQ) |
| 46 | exact (hQ.mem_or_mem (hIQ (hb r hrP))).resolve_left hbQ |
| 47 | · intro hPQ |
| 48 | exact hPQ hpP |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.UniformizerPrimeSupport.Constructions |