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.LieRankPullbackComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! |
| 13 | Pullback of the actual integral PEL objects. The Rosati equation is |
| 14 | transported through the Poincare bundle; the Lie condition is transported |
| 15 | through the canonical isomorphism of geometric fibers. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | [NumberField.IsCMField E] {g N : ℕ} {δ : Fin g → ℕ} {S T : Scheme} |
| 24 | |
| 25 | abbrev Has.PolarizedActionData.pullback (A : Has.PolarizedActionData E g δ N S) |
| 26 | (f : T ⟶ S) : Has.PolarizedActionData E g δ N T where |
| 27 | polarized := A.polarized.pullback f |
| 28 | action := A.action.pullback f |
| 29 | |
| 30 | omit [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] in |
| 31 | theorem BaseChange.poincareClass_pullback (A : Has.PolarizedActionData E g δ N S) (f : T ⟶ S) : |
| 32 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (A.pullback f).polarized.dual.poincare = |
| 33 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (AbelianModuli.HilbertConstruction.PolarizationData.poincareBaseChangeMap A.polarized.dual f) |
| 34 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare) := by |
| 35 | rw [AbelianModuli.HilbertConstruction.Pullback.Comparisons.poincareBaseChangeMap_eq_pullbackOverMap] |
| 36 | rfl |
| 37 | |
| 38 | omit [Algebra ℚ E] in |
| 39 | theorem BaseChange.rosati_pullback (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 40 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 41 | (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation A ρ) (f : T ⟶ S) : |
| 42 | AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation (A.pullback f) (ρ.pullback f) := by |
| 43 | dsimp only [AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation, AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel.pullback, |
| 44 | AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData.pullback, AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullback] |
| 45 | intro a |
| 46 | obtain ⟨d, hd, hpoincare, hadjoint⟩ := hρ a |
| 47 | let : IsMonHom d := hd |
| 48 | let : GrpObj ((Over.pullback f).obj A.dual.abelian.scheme) := |
| 49 | Functor.grpObjObj (F := Over.pullback f) |
| 50 | let : GrpObj ((Over.pullback f).obj A.abelian.scheme) := |
| 51 | Functor.grpObjObj (F := Over.pullback f) |
| 52 | refine ⟨(Over.pullback f).map d, |
| 53 | inferInstanceAs (IsMonHom ((Over.pullback f).map d)), ?_, ?_⟩ |
| 54 | · let A' := (Over.pullback f).obj A.abelian.scheme |
| 55 | let D' := (Over.pullback f).obj A.dual.abelian.scheme |
| 56 | let q : (D' ⊗ A').left ⟶ (A.dual.abelian.scheme ⊗ A.abelian.scheme).left := |
| 57 | (A.dual.poincarePullbackOverMap f).left |
| 58 | let L := AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf A.dual.poincare |
| 59 | let u : (D' ⊗ A').left ⟶ (D' ⊗ A').left := |
| 60 | ((Over.pullback f).map d ⊗ₘ 𝟙 A').left |
| 61 | let v : (D' ⊗ A').left ⟶ (D' ⊗ A').left := |
| 62 | (𝟙 D' ⊗ₘ (Over.pullback f).map (ρ.map a)).left |
| 63 | have hleft : u ≫ q = q ≫ (d ⊗ₘ 𝟙 A.abelian.scheme).left := by |
| 64 | have hh : ((Over.pullback f).map d ⊗ₘ |
| 65 | (Over.pullback f).map (𝟙 A.abelian.scheme)).left ≫ q = |
| 66 | q ≫ (d ⊗ₘ 𝟙 A.abelian.scheme).left := |
| 67 | AbelianModuli.HilbertConstruction.Moduli.BaseChange.poincarePullbackOverMap_naturality A.dual A.dual d |
| 68 | (𝟙 A.abelian.scheme) f |
| 69 | rw [(Over.pullback f).map_id] at hh |
| 70 | exact hh |
| 71 | have hright : v ≫ q = q ≫ (𝟙 A.dual.abelian.scheme ⊗ₘ ρ.map a).left := by |
| 72 | have hh : ((Over.pullback f).map (𝟙 A.dual.abelian.scheme) ⊗ₘ |
| 73 | (Over.pullback f).map (ρ.map a)).left ≫ q = |
| 74 | q ≫ (𝟙 A.dual.abelian.scheme ⊗ₘ ρ.map a).left := |
| 75 | AbelianModuli.HilbertConstruction.Moduli.BaseChange.poincarePullbackOverMap_naturality A.dual A.dual |
| 76 | (𝟙 A.dual.abelian.scheme) (ρ.map a) f |
| 77 | rw [(Over.pullback f).map_id] at hh |
| 78 | exact hh |
| 79 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 80 | u |
| 81 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass q L) = |
| 82 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 83 | v |
| 84 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass q L) |
| 85 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, |
| 86 | hleft, hright, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, |
| 87 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, hpoincare] |
| 88 | · exact ((Over.pullback f).map_comp _ _).symm.trans |
| 89 | ((congrArg (fun m ↦ (Over.pullback f).map m) hadjoint).trans |
| 90 | ((Over.pullback f).map_comp _ _)) |
| 91 | |
| 92 | variable {s : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 93 | {R : Type} [CommRing R] {iotaO : NumberField.RingOfIntegers E →+* R} |
| 94 | {X Y : Over (Spec (.of R))} |
| 95 | |
| 96 | omit [NumberField E] [NumberField.IsCMField E] in |
| 97 | theorem BaseChange.integralLieRanks_pullback |
| 98 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * s) X.left) |
| 99 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 100 | (hρ : Has.HasIntegralLieRanks P R iotaO X A ρ) (f : Y ⟶ X) : |
| 101 | Has.HasIntegralLieRanks P R iotaO Y (A.pullback f.left) (ρ.pullback f.left) := by |
| 102 | intro F hF hclosed j p hp τ |
| 103 | have hcomp : (p ≫ f.left) ≫ X.hom = Spec.map (CommRingCat.ofHom j) := by |
| 104 | rw [Category.assoc, f.w, hp] |
| 105 | exact LieRankPullbackComposition.hasLieRank_of_iso (ρ.pullback (p ≫ f.left)) |
| 106 | ((ρ.pullback f.left).pullback p) _ (A.pullbackCompIso f.left p) |
| 107 | (LieRankPullbackComposition.action_pullbackComp ρ f.left p) _ (hρ F j (p ≫ f.left) hcomp τ) |
| 108 | |
| 109 | /-- Every geometric PEL condition is preserved, so this is an actual |
| 110 | object of the same moduli problem on the new test scheme. -/ |
| 111 | def Has.IntegralPELObject.pullback (A : Has.IntegralPELObject P R iotaO N X) |
| 112 | (f : Y ⟶ X) : Has.IntegralPELObject P R iotaO N Y where |
| 113 | data := A.data.pullback f.left |
| 114 | rosati := BaseChange.rosati_pullback A.data.polarized A.data.action A.rosati f.left |
| 115 | lieRanks := BaseChange.integralLieRanks_pullback A.data.polarized.abelian A.data.action A.lieRanks f |
| 116 | |
| 117 | variable {K : Type} [Field K] [NumberField K] {iota : E →+* K} |
| 118 | {Z : Over (Spec (.of K))} |
| 119 | |
| 120 | omit [NumberField E] [NumberField.IsCMField E] [NumberField K] in |
| 121 | /-- Over the characteristic-zero base, the integral signature condition |
| 122 | is exactly the ReferenceFamily condition, on the same geometric fibers. -/ |
| 123 | theorem BaseChange.integralLieRanks_iff_prescribed |
| 124 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme (3 * s) Z.left) |
| 125 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) : |
| 126 | Has.HasIntegralLieRanks P K (iota.comp (algebraMap (NumberField.RingOfIntegers E) E)) Z A ρ ↔ |
| 127 | AbelianModuli.ReferenceFamily.PEL.Objects.HasPrescribedLieRanks P iota Z A ρ := by |
| 128 | rfl |
| 129 | |
| 130 | def Has.IntegralPELObject.toCharacteristicZero |
| 131 | (A : Has.IntegralPELObject P K |
| 132 | (iota.comp (algebraMap (NumberField.RingOfIntegers E) E)) N Z) : |
| 133 | AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N Z where |
| 134 | polarized := A.data.polarized |
| 135 | action := A.data.action |
| 136 | rosati := A.rosati |
| 137 | lieRanks := BaseChange.integralLieRanks_iff_prescribed _ _ |>.mp A.lieRanks |
| 138 | |
| 139 | def BaseChange.integralPELOfCharacteristicZero (A : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N Z) : |
| 140 | Has.IntegralPELObject P K |
| 141 | (iota.comp (algebraMap (NumberField.RingOfIntegers E) E)) N Z where |
| 142 | data := Has.characteristicZeroPELData P A |
| 143 | rosati := A.rosati |
| 144 | lieRanks := BaseChange.integralLieRanks_iff_prescribed _ _ |>.mpr A.lieRanks |
| 145 | |
| 146 | def BaseChange.characteristicZeroPELEquiv : |
| 147 | Has.IntegralPELObject P K (iota.comp (algebraMap (NumberField.RingOfIntegers E) E)) N Z ≃ |
| 148 | AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N Z where |
| 149 | toFun := Has.IntegralPELObject.toCharacteristicZero |
| 150 | invFun := BaseChange.integralPELOfCharacteristicZero |
| 151 | left_inv _ := rfl |
| 152 | right_inv _ := rfl |
| 153 | |
| 154 | end |
| 155 | |
| 156 | /-! Change of the coefficient ring for the integral PEL problem, and its |
| 157 | actual characteristic-zero generic fiber. -/ |
| 158 | |
| 159 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 160 | |
| 161 | variable {E : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 162 | [NumberField.IsCMField E] {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 163 | {R R' : Type} [CommRing R] [CommRing R'] |
| 164 | {iotaO : NumberField.RingOfIntegers E →+* R} {X : Over (Spec (.of R))} |
| 165 | |
| 166 | /-- The PEL problem changes base using the same integral action. The Lie |
| 167 | characters are composed with the coefficient-ring homomorphism. -/ |
| 168 | def Has.IntegralPELObject.baseChange (A : Has.IntegralPELObject P R iotaO N X) |
| 169 | (φ : R →+* R') : |
| 170 | Has.IntegralPELObject P R' (φ.comp iotaO) N |
| 171 | ((Over.pullback (Spec.map (CommRingCat.ofHom φ))).obj X) where |
| 172 | data := A.data.pullback (pullback.fst X.hom (Spec.map (CommRingCat.ofHom φ))) |
| 173 | rosati := BaseChange.rosati_pullback A.data.polarized A.data.action A.rosati _ |
| 174 | lieRanks := by |
| 175 | intro F hF hclosed j p hp τ |
| 176 | let g := Spec.map (CommRingCat.ofHom φ) |
| 177 | let q := pullback.fst X.hom g |
| 178 | change p ≫ pullback.snd X.hom g = Spec.map (CommRingCat.ofHom j) at hp |
| 179 | have hpoint : (p ≫ q) ≫ X.hom = Spec.map (CommRingCat.ofHom (j.comp φ)) := by |
| 180 | rw [Category.assoc, pullback.condition, ← Category.assoc, hp, ← Spec.map_comp] |
| 181 | rfl |
| 182 | exact LieRankPullbackComposition.hasLieRank_of_iso (A.data.action.pullback (p ≫ q)) |
| 183 | ((A.data.action.pullback q).pullback p) _ |
| 184 | (A.data.polarized.abelian.pullbackCompIso q p) |
| 185 | (LieRankPullbackComposition.action_pullbackComp A.data.action q p) _ |
| 186 | (A.lieRanks F (j.comp φ) (p ≫ q) hpoint τ) |
| 187 | |
| 188 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 189 | (B : Base.ArithmeticBaseExtension K κ) (iota : E →+* K) |
| 190 | |
| 191 | omit [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] in |
| 192 | theorem BaseChange.integralEmbedding_generic : |
| 193 | B.toField.comp (B.integralEmbedding iota) = |
| 194 | ((algebraMap K B.extension.carrier).comp iota).comp |
| 195 | (algebraMap (NumberField.RingOfIntegers E) E) := by |
| 196 | ext a |
| 197 | exact B.integralEmbedding_toField iota a |
| 198 | |
| 199 | /-- An integral PEL family has an actual ReferenceFamily PEL object as its generic |
| 200 | fiber, with the required scalar action obtained from the integral embedding. -/ |
| 201 | def Has.IntegralPELObject.genericFiber {Y : Over B.base} |
| 202 | (A : Has.IntegralPELObject P B.R (B.integralEmbedding iota) N Y) : |
| 203 | AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P ((algebraMap K B.extension.carrier).comp iota) N |
| 204 | ((Over.pullback B.generic).obj Y) where |
| 205 | polarized := (A.baseChange B.toField).data.polarized |
| 206 | action := (A.baseChange B.toField).data.action |
| 207 | rosati := (A.baseChange B.toField).rosati |
| 208 | lieRanks := by |
| 209 | apply (BaseChange.integralLieRanks_iff_prescribed _ _).mp |
| 210 | rw [← BaseChange.integralEmbedding_generic B iota] |
| 211 | exact (A.baseChange B.toField).lieRanks |
| 212 | |
| 213 | theorem Has.IntegralPELObject.genericFiber_data {Y : Over B.base} |
| 214 | (A : Has.IntegralPELObject P B.R (B.integralEmbedding iota) N Y) : |
| 215 | Has.characteristicZeroPELData P (A.genericFiber B iota) = |
| 216 | A.data.pullback (pullback.fst Y.hom B.generic) := rfl |
| 217 | |
| 218 | end |
| 219 | |
| 220 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL |