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.Parameter.WeightedEuler |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.LocalizedTorEuler |
| 3 | |
| 4 | /-! # Tor Orders -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TorOrders |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Each family Tor module contributes its actual localized lengths |
| 11 | times the parameter orders, with finite support away from the closed |
| 12 | point. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory IsLocalRing |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R : Type u) [CommRing R] [IsDomain R] [IsNoetherianRing R] [IsLocalRing R] |
| 19 | (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Finite R N] (r : R) |
| 20 | (hisolated : (Module.support R M ∩ Module.support R N) ∩ |
| 21 | Module.support R (R ⧸ Ideal.span {r}) ⊆ {closedPoint R}) |
| 22 | |
| 23 | include hisolated |
| 24 | |
| 25 | theorem exists_sum (hr : r ≠ 0) (hrm : r ∈ maximalIdeal R) (i : ℕ) : |
| 26 | ∃ T : Finset (PrimeSpectrum R), |
| 27 | (∀ p ∈ T, p ∈ Module.support R M ∩ Module.support R N ∧ |
| 28 | p ≠ closedPoint R ∧ r ∉ p.asIdeal) ∧ |
| 29 | (∀ p, p ≠ closedPoint R → p ∉ T → |
| 30 | FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) |
| 31 | (((Tor (ModuleCat R) i).obj M).obj N) = 0) ∧ |
| 32 | ProjectionFormula.Tor.Euler.euler R (((Tor (ModuleCat R) i).obj M).obj N) |
| 33 | (.of R (R ⧸ Ideal.span {r})) 1 = |
| 34 | ∑ p ∈ T, ((FiltrationBaseLength.length R (Localization.AtPrime p.asIdeal) |
| 35 | (((Tor (ModuleCat R) i).obj M).obj N)).toNat : ℚ) * |
| 36 | ((Ring.ord (R ⧸ p.asIdeal) (Ideal.Quotient.mk p.asIdeal r)).toNat : ℚ) := by |
| 37 | let L := ((Tor (ModuleCat R) i).obj M).obj N |
| 38 | let : Module.Finite R L := ProjectionFormula.Finite.Tor.finite R M N i |
| 39 | have hsupp := ProjectionFormula.Tor.Support.support_subset R M N i |
| 40 | have hiso : Module.support R L ∩ Module.support R (R ⧸ Ideal.span {r}) ⊆ {closedPoint R} := |
| 41 | fun _ hp => hisolated ⟨hsupp hp.1, hp.2⟩ |
| 42 | obtain ⟨T, hT, hout, he⟩ := WeightedEuler.exists_sum R L r hiso hr hrm |
| 43 | refine ⟨T, fun p hp => ⟨hsupp (hT p hp).1, (hT p hp).2⟩, ?_, he⟩ |
| 44 | intro p hpn hpT |
| 45 | by_cases hp : p ∈ Module.support R L |
| 46 | · exact hout p hp hpn hpT |
| 47 | · exact LocalizedTorEuler.length_zero R L p hp |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TorOrders |