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.ArithmeticGeometry.Models.CoefficientSystem |
| 2 | import OAI.ArithmeticGeometry.Models.Scheme |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | |
| 5 | /-! # Finiteness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Finiteness.Coefficients |
| 8 | |
| 9 | /-! Generalization of the proved ModelFiniteness construction to a general |
| 10 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 11 | |
| 12 | Finite-presentation properties of models and their morphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | theorem baseChange_finitePresentation {S T : Scheme.{u}} (f : T ⟶ S) |
| 20 | (X : Over S) (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) : |
| 21 | ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism ((Over.pullback f).obj X).hom := by |
| 22 | let : LocallyOfFinitePresentation X.hom := hX.1 |
| 23 | let : QuasiCompact X.hom := hX.2.1 |
| 24 | let : QuasiSeparated X.hom := hX.2.2 |
| 25 | change ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (pullback.snd X.hom f) |
| 26 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 27 | |
| 28 | theorem coefficientBase_locallyNoetherian |
| 29 | (R₀ K : Type u) [CommRing R₀] [Field K] [Algebra R₀ K] [IsNoetherianRing R₀] (s : Finset K) : |
| 30 | IsLocallyNoetherian (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K s) := by |
| 31 | let : Algebra.FiniteType R₀ (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R₀ K s) := |
| 32 | ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing_finiteType R₀ K s |
| 33 | let : IsNoetherianRing (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientRing R₀ K s) := |
| 34 | Algebra.FiniteType.isNoetherianRing R₀ _ |
| 35 | exact isLocallyNoetherian_Spec.mpr inferInstance |
| 36 | |
| 37 | /-- A morphism between finitely presented models over a noetherian base is |
| 38 | itself of finite presentation. -/ |
| 39 | theorem morphism_of_models_finitePresentation |
| 40 | {S : Scheme.{u}} [IsAffine S] [IsLocallyNoetherian S] |
| 41 | (X Y : Over S) (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) |
| 42 | (hY : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom) (f : X ⟶ Y) : |
| 43 | ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism f.left := by |
| 44 | let : LocallyOfFinitePresentation X.hom := hX.1 |
| 45 | let : LocallyOfFinitePresentation Y.hom := hY.1 |
| 46 | let : QuasiCompact X.hom := hX.2.1 |
| 47 | let : QuasiSeparated X.hom := hX.2.2 |
| 48 | let : QuasiSeparated Y.hom := hY.2.2 |
| 49 | let : CompactSpace X.left := QuasiCompact.compactSpace_of_compactSpace X.hom |
| 50 | let : QuasiSeparatedSpace X.left := quasiSeparatedSpace_of_quasiSeparated X.hom |
| 51 | let : QuasiSeparatedSpace Y.left := quasiSeparatedSpace_of_quasiSeparated Y.hom |
| 52 | let : IsLocallyNoetherian Y.left := LocallyOfFiniteType.isLocallyNoetherian Y.hom |
| 53 | let : LocallyOfFiniteType (f.left ≫ Y.hom) := by rw [f.w]; infer_instance |
| 54 | let : LocallyOfFiniteType f.left := locallyOfFiniteType_of_comp f.left Y.hom |
| 55 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Finiteness.Coefficients |