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.SpreadingOut.Fg |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.SchematicClosure |
| 3 | import OAI.ArithmeticGeometry.Models.Foundations |
| 4 | import OAI.ArithmeticGeometry.Models.ModelFiniteness |
| 5 | |
| 6 | /-! # Closed Immersion -/ |
| 7 | |
| 8 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.ClosedImmersion.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Closed subschemes of generic fibers extend by schematic closure in any |
| 13 | finite-presentation coefficient model. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.NumberField |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem coefficient_generic_preimmersion |
| 21 | (K : Type u) [Field K] [NumberField K] (s : Finset K) : |
| 22 | IsPreimmersion (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K s) := |
| 23 | IsPreimmersion.of_isLocalization (nonZeroDivisors (CoefficientSystem.Constructions.Foundations.coefficientRing (𝓞 K) K s)) |
| 24 | |
| 25 | /-- Schematic closure extends a closed immersion without changing the |
| 26 | ambient coefficient model. -/ |
| 27 | theorem closed_immersion_has_model |
| 28 | {K : Type u} [Field K] [NumberField K] |
| 29 | {W X : Over (Spec (CommRingCat.of K))} |
| 30 | (i : W ⟶ X) [IsClosedImmersion i.left] (M : Foundations.Constructions.CoefficientModel K X) : |
| 31 | ∃ (Y : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K M.coefficients)) |
| 32 | (j : Y ⟶ M.model) (p : W.left ⟶ Y.left), |
| 33 | Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom ∧ IsClosedImmersion j.left ∧ |
| 34 | IsPullback p W.hom Y.hom (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K M.coefficients) ∧ |
| 35 | p ≫ j.left = i.left ≫ M.specialization := by |
| 36 | have := coefficient_generic_preimmersion K M.coefficients |
| 37 | have : IsPreimmersion M.specialization := |
| 38 | MorphismProperty.of_isPullback M.cartesian.flip inferInstance |
| 39 | have : QuasiCompact M.specialization := |
| 40 | MorphismProperty.of_isPullback M.cartesian.flip inferInstance |
| 41 | let f := i.left ≫ M.specialization |
| 42 | let Y : Over (CoefficientSystem.Constructions.Foundations.coefficientBase (𝓞 K) K M.coefficients) := |
| 43 | Over.mk (f.imageι ≫ M.model.hom) |
| 44 | let j : Y ⟶ M.model := Over.homMk f.imageι rfl |
| 45 | have hcart : IsPullback f.toImage W.hom Y.hom |
| 46 | (CoefficientSystem.Constructions.Foundations.genericBaseMap (𝓞 K) K M.coefficients) := by |
| 47 | have h := (SchematicClosure.Construction.schematicClosure_isPullback i.left M.specialization).flip.paste_vert |
| 48 | M.cartesian |
| 49 | rw [i.w] at h |
| 50 | exact h |
| 51 | have hfp : Scheme.Constructions.Foundations.FinitePresentationMorphism Y.hom := by |
| 52 | have := ModelFiniteness.Constructions.Foundations.coefficientBase_locallyNoetherian K M.coefficients |
| 53 | have : LocallyOfFinitePresentation M.model.hom := M.finitePresentation.1 |
| 54 | have : QuasiCompact M.model.hom := M.finitePresentation.2.1 |
| 55 | have : QuasiSeparated M.model.hom := M.finitePresentation.2.2 |
| 56 | change Scheme.Constructions.Foundations.FinitePresentationMorphism (f.imageι ≫ M.model.hom) |
| 57 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 58 | exact ⟨Y, j, f.toImage, hfp, |
| 59 | inferInstanceAs (IsClosedImmersion f.imageι), hcart, f.toImage_imageι⟩ |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.ArithmeticGeometry.Models.SpreadingOut.ClosedImmersion.Construction |