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.CMPoints.Fine |
| 2 | |
| 3 | /-! # Submoduli -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.Submoduli |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A monomorphic subspace of the fine PEL model represents its actual |
| 10 | enhanced moduli image. This applies to the reduced generic model in IntegralModel, |
| 11 | whose finiteness properties come from the integral model. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | def representableRangeOfInjective |
| 18 | {C : Type u} [Category.{v} C] {F : Cᵒᵖ ⥤ Type (max v w)} {X : C} |
| 19 | (α : uliftYoneda.{w}.obj X ⟶ F) (hα : ∀ T, Function.Injective (α.app T)) : |
| 20 | (Subfunctor.range α).toFunctor.RepresentableBy X := by |
| 21 | let β := Subfunctor.toRange α |
| 22 | let hβ : IsIso β := (NatTrans.isIso_iff_isIso_app β).mpr (fun T => |
| 23 | (CategoryTheory.isIso_iff_bijective (β.app T)).mpr (by |
| 24 | constructor |
| 25 | · intro x y h |
| 26 | exact hα T (congrArg Subtype.val h) |
| 27 | · rintro ⟨y, x, hx⟩ |
| 28 | exact ⟨x, Subtype.ext hx⟩)) |
| 29 | exact (Functor.representableByUliftFunctorEquiv.symm |
| 30 | (Functor.RepresentableBy.yoneda X)).ofIso (@asIso _ _ _ _ β hβ) |
| 31 | |
| 32 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 33 | [NumberField.IsCMField E] [Field K] |
| 34 | {s N r : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 35 | (b : Module.Basis (Fin r) ℤ (NumberField.RingOfIntegers E)) |
| 36 | (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (hM : M.IsFine) |
| 37 | {X : Over (Spec (.of K))} (f : X ⟶ M.space) |
| 38 | |
| 39 | def pelSubspaceClassifier : |
| 40 | uliftYoneda.{1}.obj X ⟶ ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.enhancedAbelianModuliOver (3 * s) P.polarizationType N r (Spec (.of K)) := |
| 41 | uliftYoneda.map f ≫ |
| 42 | ((Functor.RepresentableBy.equivUliftYonedaIso (AbelianModuli.ReferenceFamily.PEL.Classifying.pelModuliFunctor P iota N) M.space) |
| 43 | (Enhancement.pelRepresentable M hM)).hom ≫ Enhancement.pelEnhancementTransformation b |
| 44 | |
| 45 | theorem pelSubspaceClassifier_injective [Mono f] (T : (Over (Spec (.of K)))ᵒᵖ) : |
| 46 | Function.Injective ((pelSubspaceClassifier b M hM f).app T) := by |
| 47 | intro x y h |
| 48 | apply ULift.ext |
| 49 | change Enhancement.pelEnhancementClasses b ((M.universal.pullback (x.down ≫ f)).classOf) = |
| 50 | Enhancement.pelEnhancementClasses b ((M.universal.pullback (y.down ≫ f)).classOf) at h |
| 51 | exact (cancel_mono f).mp ((Enhancement.pelClassifying_bijective M hM T.unop).1 |
| 52 | (Enhancement.pelEnhancementClasses_injective b h)) |
| 53 | |
| 54 | def pelSubspaceLocus : |
| 55 | Subfunctor (ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.enhancedAbelianModuliOver (3 * s) P.polarizationType N r (Spec (.of K))) := |
| 56 | Subfunctor.range (pelSubspaceClassifier b M hM f) |
| 57 | |
| 58 | def pelSubspaceRepresentable [Mono f] : |
| 59 | (pelSubspaceLocus b M hM f).toFunctor.RepresentableBy X := |
| 60 | representableRangeOfInjective _ (pelSubspaceClassifier_injective b M hM f) |
| 61 | |
| 62 | def pelArithmeticSubmoduli |
| 63 | (K0 : Subfield ℂ) [NumberField K0] {iota0 : E →+* K0} |
| 64 | (M0 : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota0 N) (hP : P.IsAdmissible) (hN : 3 ≤ N) |
| 65 | (hM0 : M0.IsFine) {X0 : Over (Spec (.of K0))} (f0 : X0 ⟶ M0.space) [Mono f0] |
| 66 | (hfinite : LocallyOfFiniteType X0.hom) : ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian.ArithmeticAbelianModuli where |
| 67 | dimension := 3 * s |
| 68 | polarizationType := P.polarizationType |
| 69 | polarizationType_pos := by |
| 70 | obtain ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, hpos, _⟩ := hP |
| 71 | exact hpos |
| 72 | polarizationType_chain := by |
| 73 | obtain ⟨_, _, _, _, _, _, _, _, _, _, _, _, _, _, hchain, _⟩ := hP |
| 74 | exact hchain |
| 75 | level := N |
| 76 | deepLevel := hN |
| 77 | endomorphismCount := r |
| 78 | baseField := K0 |
| 79 | numberField := inferInstance |
| 80 | parameter := X0 |
| 81 | locallyFiniteType := hfinite |
| 82 | locus := pelSubspaceLocus b M0 hM0 f0 |
| 83 | represents := pelSubspaceRepresentable b M0 hM0 f0 |
| 84 | |
| 85 | theorem pelArithmeticSubmoduli_universalClass |
| 86 | (K0 : Subfield ℂ) [NumberField K0] {iota0 : E →+* K0} |
| 87 | (M0 : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota0 N) (hP : P.IsAdmissible) (hN : 3 ≤ N) |
| 88 | (hM0 : M0.IsFine) {X0 : Over (Spec (.of K0))} (f0 : X0 ⟶ M0.space) [Mono f0] |
| 89 | (hfinite : LocallyOfFiniteType X0.hom) : |
| 90 | (pelArithmeticSubmoduli b K0 M0 hP hN hM0 f0 hfinite).universalClass = |
| 91 | (Enhancement.pelEnhancement b (M0.universal.pullback f0)).classOf := by |
| 92 | change Enhancement.pelEnhancementClasses b ((M0.universal.pullback ((𝟙 X0) ≫ f0)).classOf) = _ |
| 93 | rw [Category.id_comp] |
| 94 | rfl |
| 95 | |
| 96 | theorem pelArithmeticSubmoduli_universalIso |
| 97 | (K0 : Subfield ℂ) [NumberField K0] {iota0 : E →+* K0} |
| 98 | (M0 : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota0 N) (hP : P.IsAdmissible) (hN : 3 ≤ N) |
| 99 | (hM0 : M0.IsFine) {X0 : Over (Spec (.of K0))} (f0 : X0 ⟶ M0.space) [Mono f0] |
| 100 | (hfinite : LocallyOfFiniteType X0.hom) : |
| 101 | Nonempty (ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianIso |
| 102 | (pelArithmeticSubmoduli b K0 M0 hP hN hM0 f0 hfinite).universal |
| 103 | (Enhancement.pelEnhancement b (M0.universal.pullback f0))) := by |
| 104 | apply (ArithmeticGeometry.Descent.CMVariety.ModuliObjects.Abelian.EnhancedAbelianData.classOf_eq_iff _ _).mp |
| 105 | exact (ArithmeticGeometry.Descent.CMVariety.StandardModuli.Abelian.ArithmeticAbelianModuli.universal_classOf _).trans |
| 106 | (pelArithmeticSubmoduli_universalClass b K0 M0 hP hN hM0 f0 hfinite) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.Submoduli |