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.FiltrationBaseLength |
| 2 | |
| 3 | /-! # Localized Tor Euler -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedTorEuler |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Localized native module lengths give exactly the native Tor |
| 10 | Euler characteristic after flat localization. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | |
| 21 | theorem length_zero (M : ModuleCat.{u} R) (p : PrimeSpectrum R) |
| 22 | (hp : p ∉ Module.support R M) : |
| 23 | FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) M = 0 := by |
| 24 | let : Subsingleton (LocalizedModule p.asIdeal.primeCompl M) := Module.notMem_support_iff.mp hp |
| 25 | let : Subsingleton (Localization.AtPrime p.asIdeal ⊗[R] M) := |
| 26 | (LocalizedModule.equivTensorProduct p.asIdeal.primeCompl M).symm.injective.subsingleton |
| 27 | exact Module.length_eq_zero |
| 28 | |
| 29 | theorem euler (M N : ModuleCat.{u} R) (p : PrimeSpectrum R) (d : ℕ) : |
| 30 | ProjectionFormula.Tor.Euler.euler (Localization.AtPrime p.asIdeal) |
| 31 | ((Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj M) |
| 32 | ((Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj N) d = |
| 33 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 34 | ((FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) |
| 35 | (((Tor (ModuleCat R) i).obj M).obj N)).toNat : ℚ) := by |
| 36 | apply Finset.sum_congr rfl |
| 37 | intro i _ |
| 38 | exact congrArg (fun a : ℕ∞ => (-1 : ℚ) ^ i * (a.toNat : ℚ)) |
| 39 | (Flat.Extension.torBaseChangeIso R (Localization.AtPrime p.asIdeal) M N i).toLinearEquiv.length_eq |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedTorEuler |