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.Polynomial.DimensionBound |
| 2 | import Mathlib.RingTheory.Unramified.Finite |
| 3 | import Mathlib.RingTheory.Flat.Localization |
| 4 | |
| 5 | /-! # Dimension Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.DimensionBound |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Flat essentially finite-type unramified extensions preserve the global |
| 12 | projective-dimension bound: every target module is a retract of its scalar |
| 13 | extension from the source. This includes localizations and étale charts. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | open scoped TensorProduct |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Polynomial.DimensionBound |
| 21 | |
| 22 | theorem extension_bound (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 23 | [Module.Flat R S] [Algebra.FormallyUnramified R S] [Algebra.EssFiniteType R S] |
| 24 | (d : ℕ) (h : Polynomial.DimensionBound.GlobalBound R d) : Polynomial.DimensionBound.GlobalBound S d := by |
| 25 | intro M |
| 26 | let : Module R M := Module.compHom M (algebraMap R S) |
| 27 | let : IsScalarTower R S M := IsScalarTower.of_algebraMap_smul (by intros; rfl) |
| 28 | let : HasProjectiveDimensionLE (ModuleCat.of R M) d := h (ModuleCat.of R M) |
| 29 | let : HasProjectiveDimensionLE (ModuleCat.of S (S ⊗[R] M)) d := |
| 30 | Projective.DimensionFunctor.preserves_bound (ProjectionFormula.Flat.Extension.baseChange R S) |
| 31 | (ModuleCat.of R M) d |
| 32 | let e : Retract M (ModuleCat.of S (S ⊗[R] M)) := |
| 33 | { i := ModuleCat.ofHom (Algebra.FormallyUnramified.sec R S M) |
| 34 | r := ModuleCat.ofHom (TensorProduct.AlgebraTensorModule.lift |
| 35 | ((Algebra.lsmul S S M).toLinearMap.flip.restrictScalars R).flip) |
| 36 | retract := ModuleCat.hom_ext (Algebra.FormallyUnramified.comp_sec R S M) } |
| 37 | exact e.hasProjectiveDimensionLT (d + 1) |
| 38 | |
| 39 | theorem localization_bound (R : Type u) [CommRing R] (T : Submonoid R) |
| 40 | (d : ℕ) (h : Polynomial.DimensionBound.GlobalBound R d) : Polynomial.DimensionBound.GlobalBound (Localization T) d := |
| 41 | extension_bound R (Localization T) d h |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.DimensionBound |