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