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.OpenImmersionStages |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.Isomorphisms |
| 3 | import OAI.ArithmeticGeometry.Models.GluingFiniteness |
| 4 | |
| 5 | /-! # Glued Models -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GluedModels.Coefficients |
| 8 | |
| 9 | /-! Generalization of the proved GluedModels construction to a general |
| 10 | coefficient ring, for arithmetic parameter spaces of complex schemes. |
| 11 | |
| 12 | Constructing a model of a union from models of its two open pieces. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open scoped _root_.NumberField |
| 16 | |
| 17 | open OAI.ArithmeticGeometry.Models.GluingFiniteness.Constructions.Foundations |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem open_gluing_has_model |
| 22 | {R₀ K : Type u} [CommRing R₀] [Field K] [Algebra R₀ K] [IsNoetherianRing R₀] |
| 23 | {W X Y P : Over (Spec (CommRingCat.of K))} |
| 24 | (f : W ⟶ X) (g : W ⟶ Y) (i : X ⟶ P) (j : Y ⟶ P) |
| 25 | [IsOpenImmersion f.left] [IsOpenImmersion g.left] [CompactSpace W.left] |
| 26 | (hP : IsPushout f.left g.left i.left j.left) |
| 27 | (MX : Models.Coefficients.CoefficientModel R₀ K X) (MY : Models.Coefficients.CoefficientModel R₀ K Y) : |
| 28 | Nonempty (Models.Coefficients.CoefficientModel R₀ K P) := by |
| 29 | classical |
| 30 | obtain ⟨sX, ⟨L⟩⟩ := OpenImmersionStages.Coefficients.open_immersion_has_stage f MX |
| 31 | obtain ⟨sY, ⟨R⟩⟩ := OpenImmersionStages.Coefficients.open_immersion_has_stage g MY |
| 32 | let s := sX ∪ sY |
| 33 | let L₁ := L.enlarge (show sX ⊆ s from Finset.subset_union_left) |
| 34 | let R₁ := R.enlarge (show sY ⊆ s from Finset.subset_union_right) |
| 35 | obtain ⟨t, hst, e, he⟩ := Isomorphisms.Coefficients.isomorphism_between_models_descends |
| 36 | L₁.source R₁.source L₁.sourceFP R₁.sourceFP L₁.pSource R₁.pSource |
| 37 | L₁.sourceCartesian R₁.sourceCartesian (Iso.refl W) |
| 38 | let L₂ := L₁.enlarge hst |
| 39 | let R₂ := R₁.enlarge hst |
| 40 | let e₂ : L₂.source ≅ R₂.source := e |
| 41 | have he' : L₂.pSource ≫ e₂.hom.left = R₂.pSource := by |
| 42 | exact he.trans (Category.id_comp _) |
| 43 | let f₀ : L₂.source ⟶ L₂.target := L₂.inclusion |
| 44 | let g₀ : L₂.source ⟶ R₂.target := e₂.hom ≫ R₂.inclusion |
| 45 | let : IsOpenImmersion f₀.left := L₂.openInclusion |
| 46 | let : IsOpenImmersion R₂.inclusion.left := R₂.openInclusion |
| 47 | let : IsOpenImmersion e₂.hom.left := by |
| 48 | change IsOpenImmersion ((Over.forget _).mapIso e₂).hom |
| 49 | infer_instance |
| 50 | let : IsOpenImmersion g₀.left := by |
| 51 | change IsOpenImmersion (e₂.hom.left ≫ R₂.inclusion.left) |
| 52 | infer_instance |
| 53 | have hg : g.left ≫ R₂.pTarget = L₂.pSource ≫ g₀.left := by |
| 54 | change g.left ≫ R₂.pTarget = L₂.pSource ≫ (e₂.hom.left ≫ R₂.inclusion.left) |
| 55 | erw [← Category.assoc, he'] |
| 56 | exact R₂.compatibility.symm |
| 57 | let P₀ := ArithmeticGeometry.Models.GluingBaseChange.Constructions.Foundations.openGluedOver f₀ g₀ |
| 58 | let b := ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.genericBaseMap R₀ K t |
| 59 | have hG := ArithmeticGeometry.Models.GluingBaseChange.Constructions.Foundations.openGluedBaseChange_isPushout b f g f₀ g₀ |
| 60 | L₂.pSource L₂.pTarget R₂.pTarget |
| 61 | L₂.sourceCartesian L₂.targetCartesian R₂.targetCartesian L₂.compatibility.symm hg |
| 62 | let eP : ((Over.pullback b).obj P₀).left ≅ P.left := |
| 63 | hG.isoIsPushout X.left Y.left hP |
| 64 | have heP : eP.hom ≫ P.hom = ((Over.pullback b).obj P₀).hom := by |
| 65 | apply hG.hom_ext |
| 66 | · rw [← Category.assoc, IsPushout.inl_isoIsPushout_hom] |
| 67 | exact i.w.trans (ArithmeticGeometry.Models.GluingBaseChange.Constructions.Foundations.baseChangeChart_snd b (ArithmeticGeometry.Models.GluingBaseChange.Constructions.Foundations.openGluedInl f₀ g₀) L₂.pTarget |
| 68 | L₂.targetCartesian.w).symm |
| 69 | · rw [← Category.assoc, IsPushout.inr_isoIsPushout_hom] |
| 70 | exact j.w.trans (ArithmeticGeometry.Models.GluingBaseChange.Constructions.Foundations.baseChangeChart_snd b (ArithmeticGeometry.Models.GluingBaseChange.Constructions.Foundations.openGluedInr f₀ g₀) R₂.pTarget |
| 71 | R₂.targetCartesian.w).symm |
| 72 | let : IsLocallyNoetherian (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBase R₀ K t) := Finiteness.Coefficients.coefficientBase_locallyNoetherian R₀ K t |
| 73 | exact ⟨{ |
| 74 | coefficients := t |
| 75 | model := P₀ |
| 76 | finitePresentation := ArithmeticGeometry.Models.GluingFiniteness.Constructions.Foundations.openGluedOver_finitePresentation f₀ g₀ L₂.targetFP R₂.targetFP |
| 77 | genericIso := Over.isoMk eP heP }⟩ |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.GluedModels.Coefficients |