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.CycleClass.Thom.LocalizedModuleLength |
| 2 | import Mathlib.Algebra.Module.LocalizedModule.Submodule |
| 3 | import Mathlib.RingTheory.Localization.AtPrime.Basic |
| 4 | import Mathlib.RingTheory.SimpleModule.Basic |
| 5 | |
| 6 | /-! # Localized Prime Length -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedPrimeLength.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The localization of an actual prime quotient at its own prime |
| 13 | is the residue module and therefore has length one. -/ |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedModuleLength.Constructions |
| 16 | |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] (p : PrimeSpectrum R) |
| 19 | |
| 20 | theorem localizedIdeal_eq_map (I : Ideal R) : |
| 21 | I.localized' (Localization.AtPrime p.asIdeal) p.asIdeal.primeCompl |
| 22 | (Algebra.linearMap R (Localization.AtPrime p.asIdeal)) = |
| 23 | I.map (algebraMap R (Localization.AtPrime p.asIdeal)) := by |
| 24 | rw [Submodule.localized'_eq_span, Ideal.map, Ideal.span, Algebra.coe_linearMap] |
| 25 | |
| 26 | def quotientEquiv (I : Ideal R) : |
| 27 | LocalizedModule p.asIdeal.primeCompl (R ⧸ I) ≃ₗ[Localization.AtPrime p.asIdeal] |
| 28 | (Localization.AtPrime p.asIdeal) ⧸ I.map (algebraMap R (Localization.AtPrime p.asIdeal)) := |
| 29 | ((IsLocalizedModule.linearEquiv p.asIdeal.primeCompl |
| 30 | (LocalizedModule.mkLinearMap p.asIdeal.primeCompl (R ⧸ I)) |
| 31 | (I.toLocalizedQuotient' (Localization.AtPrime p.asIdeal) p.asIdeal.primeCompl |
| 32 | (Algebra.linearMap R (Localization.AtPrime p.asIdeal)))).extendScalarsOfIsLocalization |
| 33 | p.asIdeal.primeCompl (Localization.AtPrime p.asIdeal)).trans |
| 34 | (Submodule.quotEquivOfEq _ _ (localizedIdeal_eq_map R p I)) |
| 35 | |
| 36 | theorem localLength_self : LocalizedModuleLength.Constructions.localLength R (R ⧸ p.asIdeal) p = 1 := by |
| 37 | rw [LocalizedModuleLength.Constructions.localLength, (quotientEquiv R p p.asIdeal).length_eq, |
| 38 | Localization.AtPrime.map_eq_maximalIdeal] |
| 39 | let : IsSimpleModule (Localization.AtPrime p.asIdeal) |
| 40 | ((Localization.AtPrime p.asIdeal) ⧸ IsLocalRing.maximalIdeal (Localization.AtPrime p.asIdeal)) := |
| 41 | isSimpleModule_iff_quot_maximal.mpr ⟨_, inferInstance, ⟨LinearEquiv.refl _ _⟩⟩ |
| 42 | exact Module.length_eq_one _ _ |
| 43 | |
| 44 | theorem localLength_prime_of_not_le (q : PrimeSpectrum R) (h : ¬ q.asIdeal ≤ p.asIdeal) : |
| 45 | LocalizedModuleLength.Constructions.localLength R (R ⧸ q.asIdeal) p = 0 := by |
| 46 | apply LocalizedModuleLength.Constructions.localLength_eq_zero |
| 47 | rw [Module.mem_support_iff_of_finite, Ideal.annihilator_quotient] |
| 48 | exact h |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.CycleClass.Thom.LocalizedPrimeLength.Constructions |