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.IntersectionTheory.ProjectionFormula.FixedPrimeFiltration |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Flat.FiltrationEuler |
| 3 | |
| 4 | /-! # Universal Prime Filtration -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UniversalPrimeFiltration |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The affine filtration and its finite prime set are chosen once. |
| 11 | Every flat Noetherian base change, including native stalk localization, |
| 12 | uses the same factors and the same minimal-prime multiplicities. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory |
| 17 | open scoped Classical |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem exists_data (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 22 | (M : ModuleCat.{u} R) [Module.Finite R M] : |
| 23 | ∃ (k : ℕ) (q : Fin k → PrimeSpectrum R), |
| 24 | (∀ i, Module.support R (R ⧸ (q i).asIdeal) ⊆ Module.support R M) ∧ |
| 25 | (∀ p : PrimeSpectrum R, |
| 26 | (∀ v ∈ Module.support R M, v.asIdeal ≤ p.asIdeal → v = p) → |
| 27 | FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) M = |
| 28 | (Finset.univ.filter (fun i => q i = p)).card) ∧ |
| 29 | ∀ (S : Type u) [CommRing S] [IsNoetherianRing S] [Algebra R S] [Module.Flat R S] |
| 30 | (N : ModuleCat.{u} S) [Module.Finite S N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 31 | (p₀ : PrimeSpectrum S), |
| 32 | Module.support S ((ProjectionFormula.Flat.Extension.baseChange R S).obj M) ∩ Module.support S N ⊆ {p₀} → |
| 33 | Tor.Euler.euler S ((ProjectionFormula.Flat.Extension.baseChange R S).obj M) N d = |
| 34 | ∑ i : Fin k, Tor.Euler.euler S |
| 35 | ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ (q i).asIdeal))) N d := by |
| 36 | obtain ⟨s, h₀, ht⟩ := IsNoetherianRing.exists_relSeries_isQuotientEquivQuotientPrime R M |
| 37 | choose q e using fun i => (s.step i).2 |
| 38 | have hsupp (i : Fin s.length) : Module.support R (R ⧸ (q i).asIdeal) ⊆ Module.support R M := by |
| 39 | rw [← (e i).some.support_eq] |
| 40 | exact (Module.support_subset_of_surjective ((s i.castSucc).submoduleOf (s i.succ)).mkQ |
| 41 | (Submodule.mkQ_surjective _)).trans |
| 42 | (Module.support_subset_of_injective (s i.succ).subtype (Submodule.subtype_injective _)) |
| 43 | refine ⟨s.length, q, hsupp, ?_, ?_⟩ |
| 44 | · intro p hp |
| 45 | exact MinimalPrimeFiltration.filtration_count R M s h₀ ht q (fun i => (e i).some) p |
| 46 | (fun i hi => hp (q i) (hsupp i (MinimalPrimeFiltration.prime_mem_support R (q i))) hi) |
| 47 | · intro S _ _ _ _ N _ d _ p₀ hisolated |
| 48 | rw [ProjectionFormula.Flat.FiltrationEuler.filtration_sum R S M N d p₀ hisolated s h₀ ht] |
| 49 | apply Finset.sum_congr rfl |
| 50 | intro i _ |
| 51 | exact PrimeFiltrationEuler.euler_iso_left S |
| 52 | ((ProjectionFormula.Flat.Extension.baseChange R S).mapIso (e i).some.toModuleIso) N d |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.UniversalPrimeFiltration |