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.Divisors.LineBundles.Finite.PrimeAvoidance |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.DVRMaximalSquare |
| 3 | import Mathlib.RingTheory.Localization.AtPrime.Basic |
| 4 | |
| 5 | /-! # Uniformizer Prime Avoidance -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.UniformizerPrimeAvoidance.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: an actual localized uniformizer can avoid finitely many other primes -/ |
| 12 | |
| 13 | open IsLocalRing |
| 14 | |
| 15 | variable {R : Type*} [CommRing R] (p : Ideal R) [p.IsPrime] |
| 16 | (A : Type*) [CommRing A] [Algebra R A] [IsLocalization.AtPrime A p] |
| 17 | [IsDomain A] [IsDiscreteValuationRing A] |
| 18 | |
| 19 | theorem prime_not_le_local_maximal_square : |
| 20 | ¬ p ≤ (maximalIdeal A ^ 2).comap (algebraMap R A) := by |
| 21 | intro hp |
| 22 | have hm : maximalIdeal A ≤ maximalIdeal A ^ 2 := by |
| 23 | have hh : p.map (algebraMap R A) ≤ maximalIdeal A ^ 2 := |
| 24 | Ideal.map_le_iff_le_comap.mpr hp |
| 25 | rwa [IsLocalization.AtPrime.map_eq_maximalIdeal p A] at hh |
| 26 | obtain ⟨π, hπ⟩ := IsDiscreteValuationRing.exists_irreducible A |
| 27 | exact DVRMaximalSquare.BundleCycles.dvr_irreducible_not_mem_maximal_square hπ |
| 28 | (hm ((IsLocalRing.mem_maximalIdeal π).mpr hπ.not_isUnit)) |
| 29 | |
| 30 | theorem exists_uniformizer_avoiding_primes {ι : Type*} [Finite ι] |
| 31 | (P : ι → Ideal R) (hP : ∀ i, (P i).IsPrime) (hne : ∀ i, ¬ p ≤ P i) : |
| 32 | ∃ a : R, Irreducible (algebraMap R A a) ∧ ∀ i, a ∉ P i := by |
| 33 | obtain ⟨a, hap, ha2, haP⟩ := LineBundles.Finite.PrimeAvoidance.BundleCycles.finitePrimeAvoidance p |
| 34 | ((maximalIdeal A ^ 2).comap (algebraMap R A)) P hP |
| 35 | (prime_not_le_local_maximal_square p A) hne |
| 36 | refine ⟨a, (DVRMaximalSquare.BundleCycles.dvr_irreducible_iff_maximal_not_square _).mpr ⟨?_, ha2⟩, haP⟩ |
| 37 | exact (IsLocalization.AtPrime.to_map_mem_maximal_iff A p a).mpr hap |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Divisors.LineBundles.UniformizerPrimeAvoidance.BundleCycles |