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