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.PELModuli.IntegralModel.Coefficient.Models |
| 2 | import OAI.ArithmeticGeometry.Models.Descent |
| 3 | import OAI.ArithmeticGeometry.Models.FoundationsPullback |
| 4 | |
| 5 | /-! # Open Models -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient |
| 8 | |
| 9 | /-! Generalization of the proved OpenModels construction to a general |
| 10 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 11 | |
| 12 | Models of quasi-compact open subsets of a modeled scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] |
| 20 | variable {X : Over (Spec (CommRingCat.of K))} (M : Models.Coefficients.CoefficientModel R₀ K X) |
| 21 | |
| 22 | /-- Identify the generic fiber with the limit of expansions of its model. -/ |
| 23 | noncomputable def Models.Coefficients.CoefficientModel.expansionGenericIso : |
| 24 | X.left ≅ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model).pt := |
| 25 | M.cartesian.flip.isoPullback |
| 26 | |
| 27 | noncomputable def Models.Coefficients.CoefficientModel.expansionStageStructure (i : Over (op M.coefficients)) : |
| 28 | (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionDiagram R₀ K M.coefficients M.model).obj i ⟶ |
| 29 | ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K i.left.unop := |
| 30 | pullback.fst (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R₀ K (leOfHom i.hom.unop)) M.model.hom |
| 31 | |
| 32 | noncomputable def Models.Coefficients.CoefficientModel.expansionStageMap (i : Over (op M.coefficients)) : |
| 33 | X.left ⟶ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionDiagram R₀ K M.coefficients M.model).obj i := |
| 34 | M.expansionGenericIso.hom ≫ |
| 35 | (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model).π.app i |
| 36 | |
| 37 | theorem Models.Coefficients.CoefficientModel.expansionStageCartesian (i : Over (op M.coefficients)) : |
| 38 | IsPullback (M.expansionStageMap i) X.hom (M.expansionStageStructure i) |
| 39 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K i.left.unop) := by |
| 40 | let D := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientSchemeDiagram R₀ K |
| 41 | let c := (Over.conePost D (op M.coefficients)).obj (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientSchemeCone R₀ K) |
| 42 | have h : IsPullback (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model |>.π.app i) |
| 43 | (pullback.fst (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K M.coefficients) M.model.hom) |
| 44 | (M.expansionStageStructure i) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K i.left.unop) := |
| 45 | ArithmeticGeometry.Models.FoundationsPullback.Constructions.pullback_over_map_isPullback M.model.hom (c.π.app i) |
| 46 | apply h.of_iso' M.expansionGenericIso (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 47 | · exact (Category.comp_id _).symm |
| 48 | · exact M.cartesian.flip.isoPullback_hom_fst.trans (Category.comp_id X.hom).symm |
| 49 | · exact (Category.id_comp _).trans (Category.comp_id _).symm |
| 50 | · exact (Category.id_comp _).trans (Category.comp_id _).symm |
| 51 | |
| 52 | theorem Models.Coefficients.CoefficientModel.expansionStageFinitePresentation (i : Over (op M.coefficients)) : |
| 53 | ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (M.expansionStageStructure i) := by |
| 54 | let : LocallyOfFinitePresentation M.model.hom := M.finitePresentation.1 |
| 55 | let : QuasiCompact M.model.hom := M.finitePresentation.2.1 |
| 56 | let : QuasiSeparated M.model.hom := M.finitePresentation.2.2 |
| 57 | change ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (pullback.fst _ M.model.hom) |
| 58 | exact ⟨inferInstance, inferInstance, inferInstance⟩ |
| 59 | |
| 60 | /-- Each expansion stage is again a concrete coefficient model. -/ |
| 61 | noncomputable def Models.Coefficients.CoefficientModel.atExpansion (i : Over (op M.coefficients)) : |
| 62 | Models.Coefficients.CoefficientModel R₀ K X := |
| 63 | Models.Coefficients.CoefficientModel.ofCartesian i.left.unop (Over.mk (M.expansionStageStructure i)) |
| 64 | (M.expansionStageFinitePresentation i) (M.expansionStageMap i) (M.expansionStageCartesian i) |
| 65 | |
| 66 | @[simp] |
| 67 | theorem Models.Coefficients.CoefficientModel.atExpansion_specialization (i : Over (op M.coefficients)) : |
| 68 | (M.atExpansion i).specialization = M.expansionStageMap i := |
| 69 | Models.Coefficients.CoefficientModel.ofCartesian_specialization .. |
| 70 | |
| 71 | include M in |
| 72 | /-- Every quasi-compact open subset of a modeled scheme has a coefficient model. -/ |
| 73 | theorem Models.Coefficients.CoefficientModel.open_subset_has_model |
| 74 | (U : X.left.Opens) (hU : IsCompact (U : Set X.left)) : |
| 75 | Nonempty (Models.Coefficients.CoefficientModel R₀ K (Over.mk (U.ι ≫ X.hom))) := by |
| 76 | let e := M.expansionGenericIso |
| 77 | have hU' : IsCompact (e.inv ⁻¹ᵁ U : Set (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model).pt) := |
| 78 | e.inv.isCompact_preimage hU |
| 79 | obtain ⟨i, V, hV, hi⟩ := ArithmeticGeometry.Models.Descent.Constructions.Foundations.compact_open_descends R₀ K M.coefficients M.model |
| 80 | (e.inv ⁻¹ᵁ U) hU' |
| 81 | have hpre : M.expansionStageMap i ⁻¹ᵁ V = U := by |
| 82 | change (e.hom ≫ (ArithmeticGeometry.Models.Descent.Constructions.Foundations.expansionCone R₀ K M.coefficients M.model).π.app i) ⁻¹ᵁ V = U |
| 83 | rw [Scheme.Hom.comp_preimage, hi, ← Scheme.Hom.comp_preimage, e.hom_inv_id] |
| 84 | rfl |
| 85 | let M' := M.atExpansion i |
| 86 | let V' : M'.model.left.Opens := V |
| 87 | have hpre' : M'.specialization ⁻¹ᵁ V' = U := by |
| 88 | change (M.atExpansion i).specialization ⁻¹ᵁ V = U |
| 89 | rw [Models.Coefficients.CoefficientModel.atExpansion_specialization] |
| 90 | exact hpre |
| 91 | let : CompactSpace V'.toScheme := isCompact_iff_compactSpace.mp hV |
| 92 | let : LocallyOfFinitePresentation M'.model.hom := M'.finitePresentation.1 |
| 93 | let : QuasiSeparated M'.model.hom := M'.finitePresentation.2.2 |
| 94 | let : QuasiSeparatedSpace M'.model.left := quasiSeparatedSpace_of_quasiSeparated M'.model.hom |
| 95 | let : QuasiSeparatedSpace V'.toScheme := quasiSeparatedSpace_of_quasiSeparated V'.ι |
| 96 | have hfp : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism (V'.ι ≫ M'.model.hom) := |
| 97 | ⟨inferInstance, inferInstance, inferInstance⟩ |
| 98 | let f := M'.specialization.resLE V' U hpre'.ge |
| 99 | have hc : IsPullback f U.ι V'.ι M'.specialization := |
| 100 | IsOpenImmersion.isPullback _ _ _ _ |
| 101 | (Scheme.Hom.resLE_comp_ι M'.specialization hpre'.ge).symm (by simpa using hpre') |
| 102 | exact ⟨Models.Coefficients.CoefficientModel.ofCartesian M'.coefficients (Over.mk (V'.ι ≫ M'.model.hom)) |
| 103 | hfp f (hc.paste_vert M'.cartesian)⟩ |
| 104 | |
| 105 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient |