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.Presentations.EndomorphismBridge |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Arithmetic.PointedLifts |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ParameterDescent |
| 4 | import OAI.ArithmeticGeometry.Descent.CMVariety.CountableGroupMaps |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.BaseChangeComparisons |
| 6 | |
| 7 | /-! # Endomorphism Parameter Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.EndomorphismParameterDescent |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! Countability and algebraicity of the actual Presentations endomorphism |
| 16 | parameters for a fixed arithmetic abelian model. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | theorem groupEndRing_countable_of_complex_comparison {g : ℕ} |
| 22 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g Foundations.Scheme.ProjectiveSpace.complexBase) (V : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 23 | (e : V.toOver ≅ A.scheme) [IsMonHom e.hom] : Countable (IntegralModel.Finite.Actions.GroupEndRing A) := by |
| 24 | let : Countable {f : V.toOver ⟶ V.toOver // IsMonHom f} := |
| 25 | ArithmeticGeometry.Descent.CMVariety.CountableGroupMaps.Abelian.IntrinsicPeriods.algebraic_group_maps_countable V V |
| 26 | let encode (f : IntegralModel.Finite.Actions.GroupEndRing A) : {f : V.toOver ⟶ V.toOver // IsMonHom f} := |
| 27 | ⟨e.hom ≫ f.hom A ≫ e.inv, inferInstance⟩ |
| 28 | apply Function.Injective.countable (f := encode) |
| 29 | intro f h heq |
| 30 | apply IntegralModel.Finite.Actions.GroupEndRing.ext |
| 31 | apply (cancel_epi e.hom).mp |
| 32 | apply (cancel_mono e.inv).mp |
| 33 | exact ((Category.assoc e.hom (f.hom A) e.inv).trans |
| 34 | (congrArg Subtype.val heq)).trans (Category.assoc e.hom (h.hom A) e.inv).symm |
| 35 | |
| 36 | variable {K : Type} [Field K] [NumberField K] (κ : K →+* ℂ) |
| 37 | {g n : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 38 | {B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (A.scheme ⨯ A.scheme)} |
| 39 | {P : Fin n → Polynomial ℚ} |
| 40 | {L : HilbertScheme.Presentations.Loci.Core.HilbertHomLoci A.scheme A.scheme B n P} |
| 41 | {R : HilbertScheme.Presentations.Endomorphisms.Core.FiniteEndomorphismEquations A.scheme n} |
| 42 | (M : HilbertScheme.Presentations.Loci.Core.EndomorphismEquationLoci A.scheme B n P L R) |
| 43 | |
| 44 | omit [NumberField K] in |
| 45 | theorem e34_endomorphism_parameters_countable |
| 46 | [Countable (IntegralModel.Finite.Actions.GroupEndRing (A.pullback (Spec.map (CommRingCat.ofHom κ))))] : |
| 47 | Countable (IntegralModel.CountableParameters.ParameterPoints ((Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj M.endScheme)) := by |
| 48 | let T : Over (Spec (.of K)) := Over.mk (Spec.map (CommRingCat.ofHom κ)) |
| 49 | have : Countable (IntegralModel.Finite.Actions.GroupEndRing (A.pullback T.hom)) := |
| 50 | inferInstanceAs (Countable (IntegralModel.Finite.Actions.GroupEndRing (A.pullback (Spec.map (CommRingCat.ofHom κ))))) |
| 51 | have : Countable ((HilbertScheme.Presentations.Endomorphisms.Core.endomorphismSubfunctor A.scheme).toFunctor.obj (.op T)) := |
| 52 | (IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies.e34EndomorphismEquiv A T).symm.injective.countable |
| 53 | have : Countable ((HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme n).obj (.op T)) := |
| 54 | inferInstanceAs (Countable (Fin n → (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismSubfunctor A.scheme).toFunctor.obj (.op T))) |
| 55 | have : Countable (M.endLocus.toFunctor.obj (.op T)) := |
| 56 | inferInstanceAs (Countable {x : (HilbertScheme.Presentations.Endomorphisms.Core.endomorphismTuples A.scheme n).obj (.op T) // |
| 57 | x ∈ M.endLocus.obj (.op T)}) |
| 58 | have : Countable (T ⟶ M.endScheme) := |
| 59 | ((M.endEquivalence.app (.op T)).toEquiv.injective).countable |
| 60 | exact (IntegralModel.Arithmetic.PointedLifts.fiberParameterPointsEquiv (Spec.map (CommRingCat.ofHom κ)) M.endScheme).injective.countable |
| 61 | |
| 62 | theorem e34_endomorphism_parameter_descends |
| 63 | (V : ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety) |
| 64 | (e : V.toOver ≅ (A.pullback (Spec.map (CommRingCat.ofHom κ))).scheme) [IsMonHom e.hom] |
| 65 | (p : Over.mk (Spec.map (CommRingCat.ofHom κ)) ⟶ M.endScheme) : |
| 66 | ∃ (F : IntegralModel.Base.ArithmeticBaseExtension K κ) (pF : Over.mk F.fieldExtension ⟶ M.endScheme), |
| 67 | F.denominator = 1 ∧ F.complexFieldMap ≫ pF = p := by |
| 68 | let : Countable (IntegralModel.Finite.Actions.GroupEndRing (A.pullback (Spec.map (CommRingCat.ofHom κ)))) := |
| 69 | groupEndRing_countable_of_complex_comparison _ V e |
| 70 | let : Countable (IntegralModel.CountableParameters.ParameterPoints ((Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj M.endScheme)) := |
| 71 | e34_endomorphism_parameters_countable κ A M |
| 72 | let : LocallyOfFiniteType L.homScheme.hom := L.hom_finiteType |
| 73 | let : IsClosedImmersion M.forgetGroup.left := M.group_closed |
| 74 | have : LocallyOfFiniteType M.endScheme.hom := by |
| 75 | rw [← M.forgetGroup.w] |
| 76 | infer_instance |
| 77 | let ep := IntegralModel.Arithmetic.PointedLifts.fiberParameterPointsEquiv (Spec.map (CommRingCat.ofHom κ)) M.endScheme |
| 78 | obtain ⟨F, pF, hF, hpF, heq⟩ := IntegralModel.Arithmetic.Parameters.parameter_finite_extension_of_countable_fiber κ M.endScheme |
| 79 | (ep.symm p) 1 one_ne_zero |
| 80 | refine ⟨F, Over.homMk pF hpF, hF, ?_⟩ |
| 81 | apply Over.OverMorphism.ext |
| 82 | exact heq.trans (congrArg Over.Hom.left (ep.apply_symm_apply p)) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | /-! The ring-valued restriction functor uses the same canonical scheme |
| 87 | comparison as the arithmetic diagram construction. -/ |
| 88 | |
| 89 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 90 | |
| 91 | open OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.EndomorphismBridge.EndomorphismFamilies |
| 92 | |
| 93 | theorem endomorphism_restrictionIso_eq_iterated {S : Scheme} {g : ℕ} |
| 94 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) {T U : Over S} (b : T ⟶ U) : |
| 95 | (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrictionIso A b).hom = |
| 96 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.scheme U.hom b.left T.hom b.w).hom := by |
| 97 | apply Over.OverMorphism.ext |
| 98 | apply pullback.hom_ext |
| 99 | · exact (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrictionIso_hom_fst A b).trans |
| 100 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso_fst A.scheme U.hom b.left T.hom b.w).symm |
| 101 | · exact (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrictionIso A b).hom.w.trans |
| 102 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.scheme U.hom b.left T.hom b.w).hom.w.symm |
| 103 | |
| 104 | theorem endomorphism_restrict_compatibility {S : Scheme} {g : ℕ} |
| 105 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) {T U : Over S} (b : T ⟶ U) |
| 106 | (r : IntegralModel.Finite.Actions.GroupEndRing (A.pullback U.hom)) (s : IntegralModel.Finite.Actions.GroupEndRing (A.pullback T.hom)) |
| 107 | (h : IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrict A b r = s) : |
| 108 | (Over.pullback b.left).map (r.hom _) ≫ |
| 109 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.scheme U.hom b.left T.hom b.w).hom = |
| 110 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.iteratedIso A.scheme U.hom b.left T.hom b.w).hom ≫ s.hom _ := by |
| 111 | have hh := congrArg (fun q : IntegralModel.Finite.Actions.GroupEndRing (A.pullback T.hom) => q.hom _) h |
| 112 | change (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrictionIso A b).inv ≫ (Over.pullback b.left).map (r.hom _) ≫ |
| 113 | (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrictionIso A b).hom = s.hom _ at hh |
| 114 | have hc := congrArg (fun q => (IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrictionIso A b).hom ≫ q) hh |
| 115 | rw [Iso.hom_inv_id_assoc] at hc |
| 116 | rw [endomorphism_restrictionIso_eq_iterated] at hc |
| 117 | exact hc |
| 118 | |
| 119 | theorem arithmetic_endomorphism_restrict_compatibility |
| 120 | {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} {g : ℕ} |
| 121 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) (F : IntegralModel.Base.ArithmeticBaseExtension K κ) |
| 122 | (r : IntegralModel.Finite.Actions.GroupEndRing (A.pullback F.fieldExtension)) |
| 123 | (s : IntegralModel.Finite.Actions.GroupEndRing (A.pullback (Spec.map (CommRingCat.ofHom κ)))) |
| 124 | (h : IntegralModel.EndomorphismFamiliesId.EndomorphismFamilies.restrict A F.complexFieldMap r = s) : |
| 125 | (Over.pullback (Spec.map (CommRingCat.ofHom F.embedding))).map (r.hom _) ≫ |
| 126 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso F A.scheme).hom = |
| 127 | (IntegralModel.Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso F A.scheme).hom ≫ s.hom _ := |
| 128 | endomorphism_restrict_compatibility A F.complexFieldMap r s h |
| 129 | |
| 130 | end |
| 131 | |
| 132 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.EndomorphismParameterDescent |