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.Descent.CMVariety.AffineCoefficientObjects |
| 2 | |
| 3 | /-! # Coefficient Object Base Change -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Enlarge an object's finite coefficient ring while retaining its exact |
| 10 | complex fiber and all finite-presentation properties. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 15 | |
| 16 | def CoefficientObjectBaseChange.Abelian.objectCoefficientMap {s t : Finset B} (h : s ⊆ t) : |
| 17 | Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B t)) ⟶ |
| 18 | Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s)) := |
| 19 | Spec.map (CommRingCat.ofHom |
| 20 | (Subalgebra.inclusion (Algebra.adjoin_mono (Finset.coe_subset.mpr h))).toRingHom) |
| 21 | |
| 22 | def CoefficientObjectBaseChange.Abelian.objectCoefficientPoint (s : Finset B) : Spec (CommRingCat.of B) ⟶ |
| 23 | Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s)) := |
| 24 | Spec.map (CommRingCat.ofHom (algebraMap (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s) B)) |
| 25 | |
| 26 | theorem CoefficientObjectBaseChange.Abelian.objectCoefficientPoint_map {s t : Finset B} (h : s ⊆ t) : |
| 27 | CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B t ≫ CoefficientObjectBaseChange.Abelian.objectCoefficientMap R B h = CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B s := by |
| 28 | dsimp only [CoefficientObjectBaseChange.Abelian.objectCoefficientPoint, CoefficientObjectBaseChange.Abelian.objectCoefficientMap] |
| 29 | rw [← Spec.map_comp] |
| 30 | congr 1 |
| 31 | |
| 32 | def CoefficientObjectBaseChange.Abelian.overPullbackPointCongr {S T : Scheme} {f g : T ⟶ S} (h : f = g) (M : Over S) : |
| 33 | (Over.pullback f).obj M ≅ (Over.pullback g).obj M := by |
| 34 | subst g |
| 35 | exact Iso.refl _ |
| 36 | |
| 37 | def CoefficientObjectBaseChange.Abelian.iteratedObjectPullbackIso {S T V : Scheme} |
| 38 | (f : T ⟶ S) (q : V ⟶ T) (p : V ⟶ S) (h : q ≫ f = p) (M : Over S) : |
| 39 | (Over.pullback q).obj ((Over.pullback f).obj M) ≅ (Over.pullback p).obj M := |
| 40 | (Over.pullbackComp q f).symm.app M ≪≫ CoefficientObjectBaseChange.Abelian.overPullbackPointCongr h M |
| 41 | |
| 42 | variable {R B} |
| 43 | |
| 44 | def AffineCoefficientObjects.Abelian.CoefficientSchemeModel.specialization {X : Over (Spec (CommRingCat.of B))} |
| 45 | (M : AffineCoefficientObjects.Abelian.CoefficientSchemeModel R B X) : X.left ⟶ M.model.left := |
| 46 | M.comparison.inv.left ≫ pullback.fst M.model.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B M.coefficients) |
| 47 | |
| 48 | theorem AffineCoefficientObjects.Abelian.CoefficientSchemeModel.cartesian {X : Over (Spec (CommRingCat.of B))} |
| 49 | (M : AffineCoefficientObjects.Abelian.CoefficientSchemeModel R B X) : |
| 50 | IsPullback M.specialization X.hom M.model.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B M.coefficients) := by |
| 51 | refine IsPullback.of_iso_pullback ⟨?_⟩ |
| 52 | ((Over.forget (Spec (CommRingCat.of B))).mapIso M.comparison.symm) rfl ?_ |
| 53 | · dsimp only [AffineCoefficientObjects.Abelian.CoefficientSchemeModel.specialization] |
| 54 | exact (Category.assoc _ _ _).trans |
| 55 | ((congrArg (fun f => M.comparison.inv.left ≫ f) |
| 56 | (pullback.condition (f := M.model.hom) (g := CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B M.coefficients))).trans |
| 57 | ((Category.assoc _ _ _).symm.trans |
| 58 | (congrArg (fun f => f ≫ CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B M.coefficients) M.comparison.inv.w))) |
| 59 | · exact M.comparison.inv.w |
| 60 | |
| 61 | def AffineCoefficientObjects.Abelian.CoefficientSchemeModel.ofCartesian {X : Over (Spec (CommRingCat.of B))} |
| 62 | (s : Finset B) (Y : Over (Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s)))) |
| 63 | (hFP : LocallyOfFinitePresentation Y.hom) (hQC : QuasiCompact Y.hom) (hQS : QuasiSeparated Y.hom) |
| 64 | (f : X.left ⟶ Y.left) (h : IsPullback f X.hom Y.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B s)) : |
| 65 | AffineCoefficientObjects.Abelian.CoefficientSchemeModel R B X where |
| 66 | coefficients := s |
| 67 | model := Y |
| 68 | finitePresentation := hFP |
| 69 | quasiCompact := hQC |
| 70 | quasiSeparated := hQS |
| 71 | comparison := Over.isoMk h.isoPullback.symm h.isoPullback_inv_snd |
| 72 | |
| 73 | theorem AffineCoefficientObjects.Abelian.CoefficientSchemeModel.ofCartesian_specialization {X : Over (Spec (CommRingCat.of B))} |
| 74 | (s : Finset B) (Y : Over (Spec (CommRingCat.of (FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra R B s)))) |
| 75 | (hFP : LocallyOfFinitePresentation Y.hom) (hQC : QuasiCompact Y.hom) (hQS : QuasiSeparated Y.hom) |
| 76 | (f : X.left ⟶ Y.left) (h : IsPullback f X.hom Y.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B s)) : |
| 77 | (AffineCoefficientObjects.Abelian.CoefficientSchemeModel.ofCartesian s Y hFP hQC hQS f h).specialization = f := h.isoPullback_hom_fst |
| 78 | |
| 79 | def AffineCoefficientObjects.Abelian.CoefficientSchemeModel.enlarge {X : Over (Spec (CommRingCat.of B))} |
| 80 | (M : AffineCoefficientObjects.Abelian.CoefficientSchemeModel R B X) (t : Finset B) (h : M.coefficients ⊆ t) : |
| 81 | AffineCoefficientObjects.Abelian.CoefficientSchemeModel R B X where |
| 82 | coefficients := t |
| 83 | model := (Over.pullback (CoefficientObjectBaseChange.Abelian.objectCoefficientMap R B h)).obj M.model |
| 84 | finitePresentation := inferInstanceAs |
| 85 | (LocallyOfFinitePresentation (pullback.snd M.model.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientMap R B h))) |
| 86 | quasiCompact := inferInstanceAs |
| 87 | (QuasiCompact (pullback.snd M.model.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientMap R B h))) |
| 88 | quasiSeparated := inferInstanceAs |
| 89 | (QuasiSeparated (pullback.snd M.model.hom (CoefficientObjectBaseChange.Abelian.objectCoefficientMap R B h))) |
| 90 | comparison := CoefficientObjectBaseChange.Abelian.iteratedObjectPullbackIso (CoefficientObjectBaseChange.Abelian.objectCoefficientMap R B h) |
| 91 | (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B t) (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint R B M.coefficients) |
| 92 | (CoefficientObjectBaseChange.Abelian.objectCoefficientPoint_map R B h) M.model ≪≫ M.comparison |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.ArithmeticGeometry.Descent.CMVariety |