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.GenericFamilyCover |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Fixed.SourceMorphismSpecialization |
| 3 | |
| 4 | /-! # Cover Coequalizer -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.CoverCoequalizer |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The actual generic cover/base equation extends to one coefficient |
| 13 | enlargement, with the original arithmetic schemes kept as fixed sources. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | namespace Coefficients |
| 20 | |
| 21 | theorem coefficient_cover_commutes_after_enlargement |
| 22 | {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 23 | (X W : Over (Spec (.of R))) |
| 24 | (hX : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism X.hom) (hW : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism W.hom) |
| 25 | {Y : Over (Spec (.of K))} (M : Models.Coefficients.CoefficientModel R K Y) |
| 26 | (a : Y ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj X) |
| 27 | (q : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj W ⟶ Y) |
| 28 | (v : W ⟶ X) (hv : q ≫ a = (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map v) |
| 29 | (a₀ : M.model ⟶ (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).obj X) |
| 30 | (q₀ : (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).obj W ⟶ M.model) |
| 31 | (ha : M.specialization ≫ a₀.left = a.left ≫ (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K M.coefficients X hX).specialization) |
| 32 | (hq : (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K M.coefficients W hW).specialization ≫ q₀.left = q.left ≫ M.specialization) : |
| 33 | ∃ (t : Finset K) (hst : M.coefficients ⊆ t), |
| 34 | (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W).inv ≫ |
| 35 | (Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst)).map (q₀ ≫ a₀) ≫ |
| 36 | (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst X).hom = |
| 37 | (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t)).map v := by |
| 38 | let s := M.coefficients |
| 39 | let G := Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K))) |
| 40 | let P := Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K s) |
| 41 | let MW := Fixed.CoefficientModels.Coefficients.fixedSourceModel R K s W hW |
| 42 | let MX := Fixed.CoefficientModels.Coefficients.fixedSourceModel R K s X hX |
| 43 | have hv' : q.left ≫ a.left = (G.map v).left := congrArg Over.Hom.left hv |
| 44 | have heq : MW.specialization ≫ (q₀ ≫ a₀).left = MW.specialization ≫ (P.map v).left := by |
| 45 | change MW.specialization ≫ (q₀.left ≫ a₀.left) = _ |
| 46 | calc |
| 47 | _ = (q.left ≫ M.specialization) ≫ a₀.left := |
| 48 | (Category.assoc _ _ _).symm.trans (congrArg (fun k => k ≫ a₀.left) hq) |
| 49 | _ = (q.left ≫ a.left) ≫ MX.specialization := |
| 50 | (Category.assoc _ _ _).trans |
| 51 | ((congrArg (fun k => q.left ≫ k) ha).trans (Category.assoc _ _ _).symm) |
| 52 | _ = (G.map v).left ≫ MX.specialization := congrArg (fun k => k ≫ MX.specialization) hv' |
| 53 | _ = _ := (Fixed.SourceMorphismSpecialization.Coefficients.fixedSourceModel_specialization_map s W X hW hX v).symm |
| 54 | obtain ⟨t, hst, ht⟩ := Morphisms.Coefficients.equation_between_models_descends (s := M.coefficients) (X := G.obj W) MW.model MX.model |
| 55 | MW.finitePresentation MX.finitePresentation MW.specialization MW.cartesian (q₀ ≫ a₀) (P.map v) heq |
| 56 | have ht' := FiniteEquations.Coefficients.baseChange_map_eq_of_fst_eq hst MW.model MX.model (q₀ ≫ a₀) (P.map v) ht |
| 57 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 58 | let e := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K s) (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 59 | (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t) (Fixed.CoefficientModels.Coefficients.coefficient_parameterBaseMap R K hst) |
| 60 | have hn : F.map (P.map v) ≫ (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst X).hom = |
| 61 | (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W).hom ≫ (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t)).map v := |
| 62 | e.hom.naturality v |
| 63 | refine ⟨t, hst, ?_⟩ |
| 64 | change _ ≫ F.map (q₀ ≫ a₀) ≫ _ = _ |
| 65 | rw [ht', hn, Iso.inv_hom_id_assoc] |
| 66 | |
| 67 | end Coefficients |
| 68 | |
| 69 | end |
| 70 | |
| 71 | /-! An actual generic coequalizer equation for a fixed arithmetic relation |
| 72 | extends over a finite coefficient enlargement. -/ |
| 73 | |
| 74 | set_option backward.isDefEq.respectTransparency false |
| 75 | set_option backward.isDefEq.respectTransparency.types false |
| 76 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 77 | |
| 78 | namespace Coefficients |
| 79 | |
| 80 | theorem coefficient_cover_coequalizes_after_enlargement |
| 81 | {R K : Type} [CommRing R] [Field K] [Algebra R K] |
| 82 | (Z W : Over (Spec (.of R))) |
| 83 | (hZ : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism Z.hom) (hW : ArithmeticGeometry.Models.Scheme.Constructions.Foundations.FinitePresentationMorphism W.hom) |
| 84 | {Y : Over (Spec (.of K))} (M : Models.Coefficients.CoefficientModel R K Y) |
| 85 | (q : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj W ⟶ Y) |
| 86 | (v w : Z ⟶ W) |
| 87 | (hv : (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map v ≫ q = |
| 88 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).map w ≫ q) |
| 89 | (q₀ : (Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K M.coefficients)).obj W ⟶ M.model) |
| 90 | (hq : (Fixed.CoefficientModels.Coefficients.fixedSourceModel R K M.coefficients W hW).specialization ≫ q₀.left = |
| 91 | q.left ≫ M.specialization) : |
| 92 | ∃ (t : Finset K) (hst : M.coefficients ⊆ t), |
| 93 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 94 | let P := Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t) |
| 95 | let q₁ := (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W).inv ≫ F.map q₀ |
| 96 | P.map v ≫ q₁ = P.map w ≫ q₁ := by |
| 97 | let s := M.coefficients |
| 98 | let G := Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K))) |
| 99 | let P := Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K s) |
| 100 | let MZ := Fixed.CoefficientModels.Coefficients.fixedSourceModel R K s Z hZ |
| 101 | let MW := Fixed.CoefficientModels.Coefficients.fixedSourceModel R K s W hW |
| 102 | have htrans (r : Z ⟶ W) : |
| 103 | MZ.specialization ≫ (P.map r ≫ q₀).left = |
| 104 | (G.map r ≫ q).left ≫ M.specialization := by |
| 105 | change MZ.specialization ≫ ((P.map r).left ≫ q₀.left) = |
| 106 | ((G.map r).left ≫ q.left) ≫ M.specialization |
| 107 | calc |
| 108 | _ = ((G.map r).left ≫ MW.specialization) ≫ q₀.left := |
| 109 | (Category.assoc _ _ _).symm.trans |
| 110 | (congrArg (fun k => k ≫ q₀.left) |
| 111 | (Fixed.SourceMorphismSpecialization.Coefficients.fixedSourceModel_specialization_map s Z W hZ hW r)) |
| 112 | _ = _ := (Category.assoc _ _ _).trans |
| 113 | ((congrArg (fun k => (G.map r).left ≫ k) hq).trans (Category.assoc _ _ _).symm) |
| 114 | have heq : MZ.specialization ≫ (P.map v ≫ q₀).left = |
| 115 | MZ.specialization ≫ (P.map w ≫ q₀).left := |
| 116 | (htrans v).trans ((congrArg (fun k => k.left ≫ M.specialization) hv).trans (htrans w).symm) |
| 117 | obtain ⟨t, hst, ht⟩ := Morphisms.Coefficients.equation_between_models_descends |
| 118 | (s := M.coefficients) (X := G.obj Z) MZ.model M.model |
| 119 | MZ.finitePresentation M.finitePresentation MZ.specialization MZ.cartesian |
| 120 | (P.map v ≫ q₀) (P.map w ≫ q₀) heq |
| 121 | have ht' := FiniteEquations.Coefficients.baseChange_map_eq_of_fst_eq hst MZ.model M.model |
| 122 | (P.map v ≫ q₀) (P.map w ≫ q₀) ht |
| 123 | let F := Over.pullback (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) |
| 124 | let P' := Over.pullback (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t) |
| 125 | let e := Group.BaseChangeComparisons.GroupBaseChange.iteratedNatIso (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K s) |
| 126 | (ArithmeticGeometry.Models.CoefficientSystem.Constructions.Foundations.coefficientBaseMap R K hst) (Fixed.CoefficientModels.Coefficients.parameterBaseMap R K t) |
| 127 | (Fixed.CoefficientModels.Coefficients.coefficient_parameterBaseMap R K hst) |
| 128 | have hn (r : Z ⟶ W) : |
| 129 | P'.map r ≫ (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W).inv = |
| 130 | (Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst Z).inv ≫ F.map (P.map r) := |
| 131 | e.inv.naturality r |
| 132 | refine ⟨t, hst, ?_⟩ |
| 133 | change P'.map v ≫ ((Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W).inv ≫ F.map q₀) = |
| 134 | P'.map w ≫ ((Fixed.SourceEnlargement.Coefficients.fixedSourceEnlargementIso hst W).inv ≫ F.map q₀) |
| 135 | rw [← Category.assoc, hn v, Category.assoc, ← F.map_comp, |
| 136 | ← Category.assoc, hn w, Category.assoc, ← F.map_comp, ht'] |
| 137 | |
| 138 | end Coefficients |
| 139 | |
| 140 | end |
| 141 | |
| 142 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Coefficient.CoverCoequalizer |