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.Etale.DiagonalSequence |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.SurjectiveQuotientBaseChange |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.DiagonalTensorNaturality |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceDimensionVanishing |
| 5 | |
| 6 | /-! # Diagonal Module -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.DiagonalModule |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The base-changed native diagonal module is the quotient by the |
| 13 | coordinate regular sequence. Consequently its native Euler pairing |
| 14 | vanishes below the sequence's support-dimension threshold. -/ |
| 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 |
| 25 | |
| 26 | variable (K A : Type u) [Field K] [CommRing A] [Algebra K A] (n : ℕ) |
| 27 | [Algebra (MvPolynomial (Fin n) K) A] [IsScalarTower K (MvPolynomial (Fin n) K) A] |
| 28 | [Algebra.FormallyUnramified (MvPolynomial (Fin n) K) A] |
| 29 | (L : Type u) [CommRing L] [IsNoetherianRing L] [IsLocalRing L] [Algebra (DiagonalTensor.Ring K A) L] |
| 30 | |
| 31 | attribute [local instance] DiagonalTensor.diagonalAlgebra |
| 32 | |
| 33 | def quotientEquiv (hp : (KaehlerDifferential.ideal K A).map (algebraMap (DiagonalTensor.Ring K A) L) ≠ ⊤) : |
| 34 | (ProjectionFormula.Flat.Extension.baseChange (DiagonalTensor.Ring K A) L).obj (DiagonalTensorNaturality.diagonal K A) ≃ₗ[L] |
| 35 | Regular.SequenceModule.quotient L |
| 36 | (DiagonalSequence.sequence K A n L (algebraMap (DiagonalTensor.Ring K A) L)) := by |
| 37 | let e := SurjectiveQuotientBaseChange.equiv (DiagonalTensor.Ring K A) A L |
| 38 | (fun a => ⟨DiagonalTensorNaturality.first K A a, (mul_one a : DiagonalTensor.multiplication K A (DiagonalTensorNaturality.first K A a) = a)⟩) |
| 39 | have hi := DiagonalSequence.ideal K A n L (algebraMap (DiagonalTensor.Ring K A) L) hp |
| 40 | exact e.trans (Submodule.quotEquivOfEq _ _ hi) |
| 41 | |
| 42 | theorem euler_zero [Module.Flat (MvPolynomial (Fin n) K) A] [Module.Flat (DiagonalTensor.Ring K A) L] |
| 43 | (hp : (KaehlerDifferential.ideal K A).map (algebraMap (DiagonalTensor.Ring K A) L) ≠ ⊤) |
| 44 | (M : ModuleCat.{u} L) [Module.Finite L M] |
| 45 | (hdim : ∀ p ∈ Module.support L M, ringKrullDim (L ⧸ p.asIdeal) < n) |
| 46 | (hiso : Module.support L M ∩ Module.support L |
| 47 | ((ProjectionFormula.Flat.Extension.baseChange (DiagonalTensor.Ring K A) L).obj (DiagonalTensorNaturality.diagonal K A)) ⊆ {IsLocalRing.closedPoint L}) : |
| 48 | Tor.Euler.euler L M ((ProjectionFormula.Flat.Extension.baseChange (DiagonalTensor.Ring K A) L).obj (DiagonalTensorNaturality.diagonal K A)) n = 0 := by |
| 49 | let rs := DiagonalSequence.sequence K A n L (algebraMap (DiagonalTensor.Ring K A) L) |
| 50 | let e := quotientEquiv K A n L hp |
| 51 | have hlen : rs.length = n := DiagonalSequence.length K A n L (algebraMap (DiagonalTensor.Ring K A) L) |
| 52 | have hr := DiagonalSequence.regular K A n L (algebraMap (DiagonalTensor.Ring K A) L) |
| 53 | (RingHom.flat_algebraMap_iff.mpr (inferInstanceAs (Module.Flat (DiagonalTensor.Ring K A) L))) hp |
| 54 | have hi : Module.support L M ∩ Module.support L (Regular.SequenceModule.quotient L rs) ⊆ |
| 55 | {IsLocalRing.closedPoint L} := by rw [← e.support_eq]; exact hiso |
| 56 | have hz := Regular.SequenceDimensionVanishing.euler_zero L rs hr M |
| 57 | (by simpa only [hlen] using hdim) hi |
| 58 | rw [Tor.EulerTransport.iso_right L M e.toModuleIso n] |
| 59 | simpa only [hlen] using hz |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.DiagonalModule |