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.ModuliObjects |
| 2 | import OAI.ArithmeticGeometry.Descent.CMVariety.AbelianFiber |
| 3 | import Mathlib.CategoryTheory.Subfunctor.Basic |
| 4 | |
| 5 | /-! # Standard Moduli -/ |
| 6 | |
| 7 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | A concrete arithmetic moduli interface for CMAbelianVariety. |
| 13 | |
| 14 | The moduli problem is the presheaf of actual polarized full-level abelian |
| 15 | schemes with a finite tuple of algebraic endomorphisms. An arithmetic |
| 16 | subfunctor specifies relations or a PEL locus. A moduli space represents |
| 17 | that presheaf; its universal family is then constructed by Yoneda, rather |
| 18 | than included as an unrelated family. This definition does not establish |
| 19 | existence of a representing scheme. |
| 20 | |
| 21 | Complex fiber presentations record the project's chosen projective |
| 22 | presentation of the actual abelian fiber. They provide no arithmetic |
| 23 | model or CM algebraicity assumption. |
| 24 | -/ |
| 25 | |
| 26 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 27 | |
| 28 | /-- An arithmetic scheme representing the specified concrete enhanced |
| 29 | abelian moduli problem. The representation is part of what it means to |
| 30 | be that moduli space, not an assumption about the fields of its CM points. -/ |
| 31 | structure ArithmeticAbelianModuli where |
| 32 | dimension : ℕ |
| 33 | polarizationType : Fin dimension → ℕ |
| 34 | polarizationType_pos : ∀ i, 0 < polarizationType i |
| 35 | polarizationType_chain : ∀ i j, i ≤ j → polarizationType i ∣ polarizationType j |
| 36 | level : ℕ |
| 37 | deepLevel : 3 ≤ level |
| 38 | endomorphismCount : ℕ |
| 39 | baseField : Subfield ℂ |
| 40 | numberField : NumberField baseField |
| 41 | parameter : Over (Spec (CommRingCat.of baseField)) |
| 42 | locallyFiniteType : LocallyOfFiniteType parameter.hom |
| 43 | locus : Subfunctor (ModuliObjects.Abelian.enhancedAbelianModuliOver dimension polarizationType level |
| 44 | endomorphismCount (Spec (CommRingCat.of baseField))) |
| 45 | represents : locus.toFunctor.RepresentableBy parameter |
| 46 | |
| 47 | attribute [instance] ArithmeticAbelianModuli.numberField |
| 48 | ArithmeticAbelianModuli.locallyFiniteType |
| 49 | |
| 50 | namespace ArithmeticAbelianModuli |
| 51 | |
| 52 | abbrev space (M : ArithmeticAbelianModuli) : Scheme := M.parameter.left |
| 53 | |
| 54 | /-- The universal moduli class is the class corresponding to the identity |
| 55 | of the representing scheme. -/ |
| 56 | def universalClass (M : ArithmeticAbelianModuli) : |
| 57 | ModuliObjects.Abelian.EnhancedAbelianClasses M.dimension M.polarizationType M.level |
| 58 | M.endomorphismCount M.space := |
| 59 | (M.represents.homEquiv (𝟙 M.parameter)).val |
| 60 | |
| 61 | /-- Choose an actual family representing the universal class. -/ |
| 62 | def universal (M : ArithmeticAbelianModuli) : |
| 63 | ModuliObjects.Abelian.EnhancedAbelianData M.dimension M.polarizationType M.level |
| 64 | M.endomorphismCount M.space := |
| 65 | Quotient.out M.universalClass |
| 66 | |
| 67 | theorem universal_classOf (M : ArithmeticAbelianModuli) : |
| 68 | M.universal.classOf = M.universalClass := Quotient.out_eq _ |
| 69 | |
| 70 | /-- The constructed universal family classifies a morphism by its actual |
| 71 | pullback, as required by the moduli problem. -/ |
| 72 | theorem universal_pullback_class (M : ArithmeticAbelianModuli) |
| 73 | {T : Over (Spec (CommRingCat.of M.baseField))} (p : T ⟶ M.parameter) : |
| 74 | (M.universal.pullback p.left).classOf = (M.represents.homEquiv p).val := by |
| 75 | change ModuliObjects.Abelian.EnhancedAbelianClasses.pullback p.left M.universal.classOf = _ |
| 76 | rw [M.universal_classOf] |
| 77 | exact (congrArg Subtype.val (M.represents.homEquiv_eq p)).symm |
| 78 | |
| 79 | /-- The universal family recovers the unique classifying map of every |
| 80 | object in the arithmetic moduli locus. -/ |
| 81 | theorem existsUnique_classifying_map (M : ArithmeticAbelianModuli) |
| 82 | (T : Over (Spec (CommRingCat.of M.baseField))) |
| 83 | (A : ModuliObjects.Abelian.EnhancedAbelianData M.dimension M.polarizationType M.level |
| 84 | M.endomorphismCount T.left) |
| 85 | (hA : A.classOf ∈ M.locus.obj (.op T)) : |
| 86 | ∃! p : T ⟶ M.parameter, Nonempty (ModuliObjects.Abelian.EnhancedAbelianIso (M.universal.pullback p.left) A) := by |
| 87 | let a : M.locus.toFunctor.obj (.op T) := ⟨A.classOf, hA⟩ |
| 88 | let p := M.represents.homEquiv.symm a |
| 89 | have hp : M.represents.homEquiv p = a := M.represents.homEquiv.apply_symm_apply a |
| 90 | refine ⟨p, ?_, ?_⟩ |
| 91 | · apply (ModuliObjects.Abelian.EnhancedAbelianData.classOf_eq_iff _ _).mp |
| 92 | rw [M.universal_pullback_class, hp] |
| 93 | · intro q hq |
| 94 | apply M.represents.homEquiv.injective |
| 95 | apply Subtype.ext |
| 96 | rw [← M.universal_pullback_class, hp] |
| 97 | exact (ModuliObjects.Abelian.EnhancedAbelianData.classOf_eq_iff _ _).mpr hq |
| 98 | |
| 99 | /-- The underlying rational structure map of the arithmetic moduli scheme. -/ |
| 100 | def rationalStructureMap (M : ArithmeticAbelianModuli) : |
| 101 | M.space ⟶ Spec (CommRingCat.of ℚ) := |
| 102 | M.parameter.hom ≫ Spec.map (CommRingCat.ofHom (algebraMap ℚ M.baseField)) |
| 103 | |
| 104 | instance rationalStructureMap_locallyFiniteType (M : ArithmeticAbelianModuli) : |
| 105 | LocallyOfFiniteType M.rationalStructureMap := by |
| 106 | have : IsFinite (Spec.map (CommRingCat.ofHom (algebraMap ℚ M.baseField))) := |
| 107 | (IsFinite.SpecMap_iff _).mpr (RingHom.finite_algebraMap.mpr inferInstance) |
| 108 | dsimp only [ArithmeticAbelianModuli.rationalStructureMap] |
| 109 | infer_instance |
| 110 | |
| 111 | end ArithmeticAbelianModuli |
| 112 | |
| 113 | /-- A geometric projective presentation of an actual complex abelian |
| 114 | fiber, together with its group-preserving identification. -/ |
| 115 | structure ComplexAbelianPresentation {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) where |
| 116 | variety : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety |
| 117 | comparison : A.scheme ≅ variety.toOver |
| 118 | comparison_group : IsMonHom comparison.hom |
| 119 | |
| 120 | attribute [instance] ComplexAbelianPresentation.comparison_group |
| 121 | |
| 122 | /-- The standard arithmetic moduli interface, with geometric presentations |
| 123 | needed to use the repository's `CM.AbelianVariety` type. -/ |
| 124 | structure StandardAbelianModuli extends ArithmeticAbelianModuli where |
| 125 | complexFiber : ∀ p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ toArithmeticAbelianModuli.space, |
| 126 | ComplexAbelianPresentation (toArithmeticAbelianModuli.universal.polarized.abelian.pullback p) |
| 127 | |
| 128 | namespace StandardAbelianModuli |
| 129 | |
| 130 | abbrev space (M : StandardAbelianModuli) : Scheme := M.toArithmeticAbelianModuli.space |
| 131 | |
| 132 | def abelianAt (M : StandardAbelianModuli) (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ M.space) : AlgebraicGeometry.ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety := |
| 133 | (M.complexFiber p).variety |
| 134 | |
| 135 | /-- The exact field-of-definition conclusion for a moduli point in CMAbelianVariety. -/ |
| 136 | def IsAlgebraicPoint (M : StandardAbelianModuli) (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ M.space) : Prop := |
| 137 | ∃ (K : Subfield ℂ), NumberField K ∧ |
| 138 | ∃ pK : Spec (CommRingCat.of K) ⟶ M.space, |
| 139 | Spec.map (CommRingCat.ofHom K.subtype) ≫ pK = p |
| 140 | |
| 141 | /-- Arithmetic descent of the classified point produces a genuine model |
| 142 | of its abelian variety, with exactly the conclusion required by CMAbelianVariety. -/ |
| 143 | theorem abelianAt_descends_of_point_descends |
| 144 | (M : StandardAbelianModuli) (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ M.space) |
| 145 | (hp : ∃ (K : Subfield ℂ), NumberField K ∧ |
| 146 | ∃ pK : Spec (CommRingCat.of K) ⟶ M.space, |
| 147 | Spec.map (CommRingCat.ofHom K.subtype) ≫ pK = p) : |
| 148 | AbelianFiber.HasNumberFieldModel (M.abelianAt p) := by |
| 149 | let c := M.complexFiber p |
| 150 | have : IsMonHom c.comparison.hom := c.comparison_group |
| 151 | exact AbelianFiber.abelian_fiber_descends_of_parameter_descends |
| 152 | M.toArithmeticAbelianModuli.universal.polarized.abelian p c.variety c.comparison hp |
| 153 | |
| 154 | /-- Isolated points of this concrete arithmetic moduli space have |
| 155 | number-field models, including the underlying abelian group. -/ |
| 156 | theorem abelianAt_descends_of_isolated |
| 157 | (M : StandardAbelianModuli) (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ M.space) |
| 158 | (hp : IsOpen {p (IsLocalRing.closedPoint ℂ)}) : |
| 159 | AbelianFiber.HasNumberFieldModel (M.abelianAt p) := |
| 160 | M.abelianAt_descends_of_point_descends p |
| 161 | (AlgebraicPoints.Abelian.complex_point_descends_of_isolated M.toArithmeticAbelianModuli.rationalStructureMap p hp) |
| 162 | |
| 163 | end StandardAbelianModuli |
| 164 | |
| 165 | end |
| 166 | |
| 167 | end OAI.ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian |