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.AbelianModuli.ReferenceFamily.HeckePairClassSurjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.HeckeFixedSourceClassification |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.FinePELPointClassification |
| 4 | |
| 5 | /-! # Hecke Etale -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 12 | open _root_.CategoryTheory |
| 13 | open _root_.AlgebraicGeometry |
| 14 | section |
| 15 | |
| 16 | /-! The actual finite etale kernel parameter represents typed paired |
| 17 | PEL quotients on all test schemes. Fineness fixes the source map and |
| 18 | full-level rigidity fixes the original kernel inside that source. -/ |
| 19 | |
| 20 | open scoped BigOperators |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] [CharZero K] |
| 27 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 28 | (Z : Models.FinePELModel P iota N) (hZ : Z.IsFine) |
| 29 | [IsLocallyNoetherian Z.space.left] [LocallyOfFiniteType Z.space.hom] |
| 30 | (hN : 3 ≤ N) {hn : 0 < n} |
| 31 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) |
| 32 | (M : Type) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 33 | (R : NoetherianPairedHeckeSource.PairedHeckeSource Z.universal n hn M) |
| 34 | |
| 35 | include hZ hN hdegree |
| 36 | |
| 37 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.classifying_injective (X : Over (Spec (.of K))) : |
| 38 | Function.Injective (fun f : X ⟶ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter => |
| 39 | TypedPairedPEL.TypedPairedPELClasses.pullback M f R.classOf) := by |
| 40 | intro c d h |
| 41 | obtain ⟨e⟩ : Nonempty (Paired.PELFunctor.PairedPELQuotientIso (R.quotient.pullback c) (R.quotient.pullback d)) := |
| 42 | Quotient.exact (congrArg Subtype.val h) |
| 43 | let p := AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource Z.space R.parameter |
| 44 | have hs : d ≫ p = c ≫ p := by |
| 45 | apply (Z.familyClassifying_bijective hZ X).injective |
| 46 | apply (PEL.Objects.PELObject.classOf_eq_iff _ _).mpr |
| 47 | exact ⟨((PEL.Objects.PELIso.pullbackComp Z.universal p d).trans e.source.symm).trans |
| 48 | (PEL.Objects.PELIso.pullbackComp Z.universal p c).symm⟩ |
| 49 | let Q : Over Z.space.left := Over.mk (c ≫ p).left |
| 50 | let k : Q ⟶ R.parameter := Over.homMk c.left rfl |
| 51 | let l : Q ⟶ R.parameter := Over.homMk d.left (congrArg Over.Hom.left hs) |
| 52 | let e' : Paired.PELFunctor.PairedPELQuotientIso (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap k)) |
| 53 | (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap l)) := { |
| 54 | source := { polarized := e.source.polarized, action := e.source.action } |
| 55 | target := { polarized := e.target.polarized, action := e.target.action } |
| 56 | forward_square := e.forward_square } |
| 57 | let a := (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap k)).precomposeIso |
| 58 | (PEL.ParameterPullbackComparison.pelParameterPullbackIso Z.universal k).symm |
| 59 | let b := (R.quotient.pullback (PEL.ParameterPullbackComparison.parameterTotalMap l)).precomposeIso |
| 60 | (PEL.ParameterPullbackComparison.pelParameterPullbackIso Z.universal l).symm |
| 61 | have hkl : R.classAtParameter k = R.classAtParameter l := |
| 62 | Subtype.ext (Quotient.sound ⟨(a.trans e').trans b.symm⟩) |
| 63 | have heq := R.classAtParameter_injective hN hdegree hkl |
| 64 | have hh : c.left = d.left := congrArg (fun u : Q ⟶ R.parameter => u.left) heq |
| 65 | exact Over.OverMorphism.ext hh |
| 66 | |
| 67 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.classifying_bijective (X : Over (Spec (.of K))) : |
| 68 | Function.Bijective (fun f : X ⟶ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter => |
| 69 | TypedPairedPEL.TypedPairedPELClasses.pullback M f R.classOf) := |
| 70 | ⟨R.classifying_injective Z hZ hN hdegree M X, |
| 71 | R.classifying_surjective Z hZ hdegree M X⟩ |
| 72 | |
| 73 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.classifying_isIso : IsIso (R.classifying Z M) := by |
| 74 | apply (NatTrans.isIso_iff_isIso_app (R.classifying Z M)).mpr |
| 75 | intro X |
| 76 | apply (ConcreteCategory.isIso_iff_bijective ((R.classifying Z M).app X)).mpr |
| 77 | have h := R.classifying_bijective Z hZ hN hdegree M X.unop |
| 78 | constructor |
| 79 | · intro a b hab |
| 80 | apply ULift.ext |
| 81 | exact h.injective hab |
| 82 | · intro q |
| 83 | obtain ⟨f, hf⟩ := h.surjective q |
| 84 | exact ⟨ULift.up f, hf⟩ |
| 85 | |
| 86 | def NoetherianPairedHeckeSource.PairedHeckeSource.moduliIso : |
| 87 | uliftYoneda.{1}.obj (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter) ≅ |
| 88 | TypedPairedPEL.typedPairedPELModuliFunctor P iota N n M := by |
| 89 | let : IsIso (R.classifying Z M) := R.classifying_isIso Z hZ hN hdegree M |
| 90 | exact asIso (R.classifying Z M) |
| 91 | |
| 92 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.moduliIso_hom : |
| 93 | (R.moduliIso Z hZ hN hdegree M).hom = R.classifying Z M := rfl |
| 94 | |
| 95 | end |
| 96 | |
| 97 | section |
| 98 | |
| 99 | /-! The proved representation of typed paired PEL quotients turns |
| 100 | their literal swap into an actual involution of the finite etale |
| 101 | parameter scheme. No involution or target-map comparison is assumed. -/ |
| 102 | |
| 103 | open scoped BigOperators |
| 104 | |
| 105 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 106 | [NumberField.IsCMField E] [Field K] [NumberField K] [CharZero K] |
| 107 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 108 | (M : Type) [AddCommGroup M] |
| 109 | |
| 110 | def HeckeEtale.typedPairedPELSwapIso (hn : 0 < n) |
| 111 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) : |
| 112 | TypedPairedPEL.typedPairedPELModuliFunctor P iota N n M ≅ TypedPairedPEL.typedPairedPELModuliFunctor P iota N n M where |
| 113 | hom := TypedPairedPEL.typedPairedPELSwap M hn hdegree |
| 114 | inv := TypedPairedPEL.typedPairedPELSwap M hn hdegree |
| 115 | hom_inv_id := TypedPairedPEL.typedPairedPELSwap_involutive M hn hdegree |
| 116 | inv_hom_id := TypedPairedPEL.typedPairedPELSwap_involutive M hn hdegree |
| 117 | |
| 118 | variable (Z : Models.FinePELModel P iota N) (hZ : Z.IsFine) |
| 119 | [IsLocallyNoetherian Z.space.left] [LocallyOfFiniteType Z.space.hom] |
| 120 | (hN : 3 ≤ N) {hn : 0 < n} |
| 121 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) |
| 122 | [Module (ZMod n) M] [Finite M] |
| 123 | (R : NoetherianPairedHeckeSource.PairedHeckeSource Z.universal n hn M) |
| 124 | |
| 125 | def NoetherianPairedHeckeSource.PairedHeckeSource.swapIso : |
| 126 | AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter ≅ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter := |
| 127 | (uliftYoneda.{1}).preimageIso |
| 128 | (R.moduliIso Z hZ hN hdegree M ≪≫ HeckeEtale.typedPairedPELSwapIso M hn hdegree ≪≫ |
| 129 | (R.moduliIso Z hZ hN hdegree M).symm) |
| 130 | |
| 131 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.swapIso_map_hom : |
| 132 | uliftYoneda.{1}.map (R.swapIso M Z hZ hN hdegree).hom = |
| 133 | (R.moduliIso Z hZ hN hdegree M).hom ≫ TypedPairedPEL.typedPairedPELSwap M hn hdegree ≫ |
| 134 | (R.moduliIso Z hZ hN hdegree M).inv := by |
| 135 | change uliftYoneda.{1}.map (uliftYoneda.{1}.preimage _) = _ |
| 136 | simp only [Functor.map_preimage, Iso.trans_hom, Iso.symm_hom, |
| 137 | HeckeEtale.typedPairedPELSwapIso] |
| 138 | |
| 139 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.swapIso_inv_eq_hom : |
| 140 | (R.swapIso M Z hZ hN hdegree).inv = (R.swapIso M Z hZ hN hdegree).hom := by |
| 141 | apply uliftYoneda.{1}.map_injective |
| 142 | change uliftYoneda.{1}.map (uliftYoneda.{1}.preimage _) = |
| 143 | uliftYoneda.{1}.map (uliftYoneda.{1}.preimage _) |
| 144 | simp only [Functor.map_preimage, Iso.trans_inv, Iso.trans_hom, |
| 145 | Iso.symm_hom, Iso.symm_inv, HeckeEtale.typedPairedPELSwapIso, Category.assoc] |
| 146 | |
| 147 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.swapIso_involutive : |
| 148 | (R.swapIso M Z hZ hN hdegree).hom ≫ (R.swapIso M Z hZ hN hdegree).hom = 𝟙 _ := by |
| 149 | simpa only [R.swapIso_inv_eq_hom M Z hZ hN hdegree] using |
| 150 | (R.swapIso M Z hZ hN hdegree).hom_inv_id |
| 151 | |
| 152 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.swapIso_classifying : |
| 153 | uliftYoneda.{1}.map (R.swapIso M Z hZ hN hdegree).hom ≫ R.classifying Z M = |
| 154 | R.classifying Z M ≫ TypedPairedPEL.typedPairedPELSwap M hn hdegree := by |
| 155 | let j := R.moduliIso Z hZ hN hdegree M |
| 156 | change uliftYoneda.{1}.map (R.swapIso M Z hZ hN hdegree).hom ≫ j.hom = |
| 157 | j.hom ≫ TypedPairedPEL.typedPairedPELSwap M hn hdegree |
| 158 | rw [R.swapIso_map_hom M Z hZ hN hdegree] |
| 159 | dsimp only [j] |
| 160 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 161 | |
| 162 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.swapIso_pairClass : |
| 163 | TypedPairedPEL.TypedPairedPELClasses.pullback M (R.swapIso M Z hZ hN hdegree).hom R.classOf = |
| 164 | TypedPairedPEL.TypedPairedPELClasses.swap M hn hdegree R.classOf := by |
| 165 | let Q := AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter |
| 166 | have h := congrArg (fun a => a.app (.op Q) (ULift.up (𝟙 Q))) |
| 167 | (R.swapIso_classifying M Z hZ hN hdegree) |
| 168 | change TypedPairedPEL.TypedPairedPELClasses.pullback M (𝟙 Q ≫ (R.swapIso M Z hZ hN hdegree).hom) R.classOf = |
| 169 | TypedPairedPEL.TypedPairedPELClasses.swap M hn hdegree (TypedPairedPEL.TypedPairedPELClasses.pullback M (𝟙 Q) R.classOf) at h |
| 170 | rw [Category.id_comp, TypedPairedPEL.TypedPairedPELClasses.pullback_id] at h |
| 171 | exact h |
| 172 | |
| 173 | end |
| 174 | |
| 175 | /-! The actual target moduli morphism is the source projection |
| 176 | composed with the constructed paired-quotient involution. Hence both |
| 177 | projections of the original correspondence are finite etale. -/ |
| 178 | |
| 179 | open scoped BigOperators |
| 180 | |
| 181 | set_option backward.isDefEq.respectTransparency false |
| 182 | set_option backward.isDefEq.respectTransparency.types false |
| 183 | |
| 184 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 185 | [NumberField.IsCMField E] [Field K] [NumberField K] [CharZero K] |
| 186 | {s N n : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 187 | (Z : Models.FinePELModel P iota N) (hZ : Z.IsFine) |
| 188 | [IsLocallyNoetherian Z.space.left] [LocallyOfFiniteType Z.space.hom] |
| 189 | (hN : 3 ≤ N) {hn : 0 < n} |
| 190 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) |
| 191 | (M : Type) [AddCommGroup M] [Module (ZMod n) M] [Finite M] |
| 192 | (R : NoetherianPairedHeckeSource.PairedHeckeSource Z.universal n hn M) |
| 193 | |
| 194 | def NoetherianPairedHeckeSource.PairedHeckeSource.targetProjection : AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter ⟶ Z.space := |
| 195 | AbelianScheme.IsogenyQuotient.FinePELTarget.Construction.finePELClassifyingMap Z hZ R.target |
| 196 | |
| 197 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.swapIso_source : |
| 198 | (R.swapIso M Z hZ hN hdegree).hom ≫ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource Z.space R.parameter = |
| 199 | R.targetProjection Z hZ := by |
| 200 | let Q := AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter |
| 201 | let p := AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource Z.space R.parameter |
| 202 | let σ := (R.swapIso M Z hZ hN hdegree).hom |
| 203 | have h := congrArg (fun q => Paired.PELFunctor.PairedPELClasses.source q.val) |
| 204 | (R.swapIso_pairClass M Z hZ hN hdegree) |
| 205 | change ((Z.universal.pullback p).pullback σ).classOf = R.target.classOf at h |
| 206 | apply (Z.familyClassifying_bijective hZ Q).injective |
| 207 | calc |
| 208 | (Z.universal.pullback (σ ≫ p)).classOf = ((Z.universal.pullback p).pullback σ).classOf := |
| 209 | (PEL.Objects.PELObject.classOf_eq_iff _ _).mpr ⟨PEL.Objects.PELIso.pullbackComp Z.universal p σ⟩ |
| 210 | _ = R.target.classOf := h |
| 211 | _ = (Z.universal.pullback (R.targetProjection Z hZ)).classOf := |
| 212 | (PEL.Objects.PELObject.classOf_eq_iff _ _).mpr ⟨(AbelianScheme.IsogenyQuotient.FinePELTarget.Construction.finePELClassifyingIso Z hZ R.target).toPELIso⟩ |
| 213 | |
| 214 | include hN hdegree in |
| 215 | theorem NoetherianPairedHeckeSource.PairedHeckeSource.targetProjection_finite_etale : |
| 216 | IsFinite (R.targetProjection Z hZ).left ∧ Etale (R.targetProjection Z hZ).left := by |
| 217 | let : IsFinite R.parameter.hom := R.finite |
| 218 | let : Etale R.parameter.hom := R.etale |
| 219 | let : IsIso (R.swapIso M Z hZ hN hdegree).hom.left := |
| 220 | (Over.forget (Spec (.of K))).map_isIso (R.swapIso M Z hZ hN hdegree).hom |
| 221 | rw [← R.swapIso_source Z hZ hN hdegree M] |
| 222 | change IsFinite ((R.swapIso M Z hZ hN hdegree).hom.left ≫ R.parameter.hom) ∧ |
| 223 | Etale ((R.swapIso M Z hZ hN hdegree).hom.left ≫ R.parameter.hom) |
| 224 | exact ⟨inferInstance, inferInstance⟩ |
| 225 | |
| 226 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 227 | |
| 228 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.HeckeEtale |
| 229 | |
| 230 | /-! Construct the actual paired Hecke correspondence from the given |
| 231 | fine PEL model. Both projections are finite etale, the fixed kernel |
| 232 | type is retained, and the source-target involution is proved from the |
| 233 | all-test moduli representation. -/ |
| 234 | |
| 235 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 236 | open scoped BigOperators |
| 237 | |
| 238 | theorem exists_finite_etale_paired_hecke_correspondence |
| 239 | {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 240 | [NumberField.IsCMField E] [Field K] [NumberField K] [CharZero K] |
| 241 | {s N : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 242 | (Z : Models.FinePELModel P iota N) (hZ : Z.IsFine) |
| 243 | [IsLocallyNoetherian Z.space.left] [LocallyOfFiniteType Z.space.hom] |
| 244 | (hN : 3 ≤ N) (n : ℕ) (hn : 0 < n) (hcop : Nat.Coprime n N) |
| 245 | (hmod : Nat.ModEq N n 1) |
| 246 | (hdegree : Nat.Coprime n ((∏ i, P.polarizationType i) ^ 2)) |
| 247 | (M : Type) [AddCommGroup M] [Module (ZMod n) M] [Finite M] : |
| 248 | ∃ R : NoetherianPairedHeckeSource.PairedHeckeSource Z.universal n hn M, |
| 249 | IsFinite (R.targetProjection Z hZ).left ∧ Etale (R.targetProjection Z hZ).left ∧ |
| 250 | Nonempty (uliftYoneda.{1}.obj (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter) ≅ |
| 251 | TypedPairedPEL.typedPairedPELModuliFunctor P iota N n M) ∧ |
| 252 | ∃ σ : AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter ≅ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter Z.space R.parameter, |
| 253 | σ.hom ≫ σ.hom = 𝟙 _ ∧ |
| 254 | σ.hom ≫ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource Z.space R.parameter = R.targetProjection Z hZ := by |
| 255 | obtain ⟨R⟩ := NoetherianPairedHeckeSource.exists_noetherian_paired_hecke_source Z.universal n hn hcop hmod hdegree M |
| 256 | have ht := R.targetProjection_finite_etale Z hZ hN hdegree M |
| 257 | exact ⟨R, ht.1, ht.2, ⟨R.moduliIso Z hZ hN hdegree M⟩, |
| 258 | R.swapIso M Z hZ hN hdegree, R.swapIso_involutive M Z hZ hN hdegree, |
| 259 | R.swapIso_source Z hZ hN hdegree M⟩ |
| 260 | |
| 261 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.HeckeEtale |
| 262 | |
| 263 | end |
| 264 | |
| 265 | end OAI |