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.UniversalPrimeFiltration |
| 2 | |
| 3 | /-! # Localized Fixed Filtration -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedFixedFiltration |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Only the fixed filtration primes passing through a chosen |
| 10 | local point contribute to its native Tor Euler pairing. The other |
| 11 | quotient modules are zero after the actual flat localization. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped TensorProduct Classical |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem prime_euler_zero (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 21 | (p q : PrimeSpectrum R) [IsLocalization p.asIdeal.primeCompl S] |
| 22 | (hq : ¬ q.asIdeal ≤ p.asIdeal) (N : ModuleCat.{u} S) (d : ℕ) : |
| 23 | Tor.Euler.euler S ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ q.asIdeal))) N d = 0 := by |
| 24 | have htop : q.asIdeal.map (algebraMap R S) = ⊤ := by |
| 25 | apply IsLocalization.map_eq_top_of_not_subset p.asIdeal.primeCompl S |
| 26 | intro h |
| 27 | exact hq (fun a ha => not_not.mp (h ha)) |
| 28 | have hlen : Module.length S (S ⊗[R] (R ⧸ q.asIdeal)) = 0 := by |
| 29 | rw [← (Ideal.qoutMapEquivTensorQout (R := R) (I := q.asIdeal) S).length_eq, htop] |
| 30 | exact Module.length_eq_zero |
| 31 | let : Subsingleton ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ q.asIdeal))) := |
| 32 | Module.length_eq_zero_iff.mp hlen |
| 33 | exact PrimeFiltrationEuler.euler_zero_left S _ N d |
| 34 | |
| 35 | theorem exists_data (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 36 | (M : ModuleCat.{u} R) [Module.Finite R M] : |
| 37 | ∃ (k : ℕ) (q : Fin k → PrimeSpectrum R), |
| 38 | (∀ i, Module.support R (R ⧸ (q i).asIdeal) ⊆ Module.support R M) ∧ |
| 39 | (∀ p : PrimeSpectrum R, |
| 40 | (∀ v ∈ Module.support R M, v.asIdeal ≤ p.asIdeal → v = p) → |
| 41 | FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) M = |
| 42 | (Finset.univ.filter (fun i => q i = p)).card) ∧ |
| 43 | ∀ (p : PrimeSpectrum R) (S : Type u) [CommRing S] [IsNoetherianRing S] [Algebra R S] |
| 44 | [IsLocalization p.asIdeal.primeCompl S] |
| 45 | (N : ModuleCat.{u} S) [Module.Finite S N] (d : ℕ) [HasProjectiveDimensionLE N d] |
| 46 | (p₀ : PrimeSpectrum S), |
| 47 | Module.support S ((ProjectionFormula.Flat.Extension.baseChange R S).obj M) ∩ Module.support S N ⊆ {p₀} → |
| 48 | Tor.Euler.euler S ((ProjectionFormula.Flat.Extension.baseChange R S).obj M) N d = |
| 49 | ∑ i ∈ Finset.univ.filter (fun i => (q i).asIdeal ≤ p.asIdeal), Tor.Euler.euler S |
| 50 | ((ProjectionFormula.Flat.Extension.baseChange R S).obj (.of R (R ⧸ (q i).asIdeal))) N d := by |
| 51 | obtain ⟨k, q, hsupp, hcount, he⟩ := UniversalPrimeFiltration.exists_data R M |
| 52 | refine ⟨k, q, hsupp, hcount, ?_⟩ |
| 53 | intro p S _ _ _ _ N _ d _ p₀ hisolated |
| 54 | let : Module.Flat R S := IsLocalization.flat S p.asIdeal.primeCompl |
| 55 | rw [he S N d p₀ hisolated] |
| 56 | symm |
| 57 | apply Finset.sum_subset (Finset.filter_subset _ _) |
| 58 | intro i hi hnot |
| 59 | have hq : ¬ (q i).asIdeal ≤ p.asIdeal := fun h => hnot (Finset.mem_filter.mpr ⟨hi, h⟩) |
| 60 | exact prime_euler_zero R S p (q i) hq N d |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedFixedFiltration |