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.DiagonalSupport |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PointSupportLocalization |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.DiagonalModule |
| 4 | |
| 5 | /-! # Diagonal Vanishing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.DiagonalVanishing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native local Tor Euler vanishing reduced to the actual support |
| 12 | dimension of the localized external tensor product. The diagonal |
| 13 | comparison, isolated localization, and regular-sequence quotient are |
| 14 | all discharged here. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DiagonalTensor OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DiagonalTensorNaturality OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DiagonalTor |
| 25 | |
| 26 | variable (K R : Type u) [Field K] [CommRing R] [Algebra K R] [IsLocalRing R] |
| 27 | |
| 28 | abbrev localRing := Localization.AtPrime (DiagonalSupport.point K R).asIdeal |
| 29 | |
| 30 | theorem ideal_proper : (KaehlerDifferential.ideal K R).map (algebraMap (DiagonalTensor.Ring K R) (localRing K R)) ≠ ⊤ := by |
| 31 | have hI : KaehlerDifferential.ideal K R ≤ (DiagonalSupport.point K R).asIdeal := by |
| 32 | intro t ht |
| 33 | change DiagonalTensor.multiplication K R t ∈ IsLocalRing.maximalIdeal R |
| 34 | change DiagonalTensor.multiplication K R t = 0 at ht |
| 35 | rw [ht] |
| 36 | exact (IsLocalRing.maximalIdeal R).zero_mem |
| 37 | have hm : (KaehlerDifferential.ideal K R).map (algebraMap (DiagonalTensor.Ring K R) (localRing K R)) ≤ |
| 38 | IsLocalRing.maximalIdeal (localRing K R) := by |
| 39 | rw [← Localization.AtPrime.map_eq_maximalIdeal] |
| 40 | exact Ideal.map_mono hI |
| 41 | exact ne_top_of_le_ne_top (IsLocalRing.maximalIdeal.isMaximal (localRing K R)).ne_top hm |
| 42 | |
| 43 | theorem euler_zero [IsNoetherianRing R] [IsNoetherianRing (DiagonalTensor.Ring K R)] (d : ℕ) |
| 44 | [Algebra (MvPolynomial (Fin d) K) R] [IsScalarTower K (MvPolynomial (Fin d) K) R] |
| 45 | [Algebra.FormallyUnramified (MvPolynomial (Fin d) K) R] [Module.Flat (MvPolynomial (Fin d) K) R] |
| 46 | (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Finite R N] |
| 47 | (hi : Module.support R M ∩ Module.support R N ⊆ {IsLocalRing.closedPoint R}) |
| 48 | (hdim : ∀ p ∈ Module.support (localRing K R) |
| 49 | ((ProjectionFormula.Flat.Extension.baseChange (DiagonalTensor.Ring K R) (localRing K R)).obj (DiagonalTor.external K R M N)), |
| 50 | ringKrullDim (localRing K R ⧸ p.asIdeal) < d) : |
| 51 | Tor.Euler.euler R M N d = 0 := by |
| 52 | let := DiagonalSupport.maximal K R |
| 53 | let := DiagonalSupport.finite_external K R M N |
| 54 | let := DiagonalSupport.finite_diagonal K R |
| 55 | let : Module.Finite (localRing K R) |
| 56 | ((ProjectionFormula.Flat.Extension.baseChange (DiagonalTensor.Ring K R) (localRing K R)).obj (DiagonalTor.external K R M N)) := |
| 57 | inferInstanceAs (Module.Finite (localRing K R) (localRing K R ⊗[DiagonalTensor.Ring K R] DiagonalTor.external K R M N)) |
| 58 | have hiso := DiagonalSupport.isolated K R M N hi |
| 59 | have he := PointSupportLocalization.euler (DiagonalTensor.Ring K R) (DiagonalSupport.point K R) |
| 60 | (DiagonalTor.external K R M N) (DiagonalTensorNaturality.diagonal K R) hiso d |
| 61 | have hz := Etale.DiagonalModule.euler_zero K R d (localRing K R) (ideal_proper K R) |
| 62 | ((ProjectionFormula.Flat.Extension.baseChange (DiagonalTensor.Ring K R) (localRing K R)).obj (DiagonalTor.external K R M N)) hdim |
| 63 | (PointSupportLocalization.isolated (DiagonalTensor.Ring K R) (DiagonalSupport.point K R) |
| 64 | (DiagonalTor.external K R M N) (DiagonalTensorNaturality.diagonal K R) hiso) |
| 65 | exact (he.trans (DiagonalTor.euler K R M N d)).symm.trans hz |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.DiagonalVanishing |