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.PEL.BaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Functor |
| 3 | |
| 4 | /-! # Classifying -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL |
| 11 | |
| 12 | /-! The PEL moduli functor on all test schemes, with its geometric |
| 13 | restriction maps and coherence proved from actual PEL isomorphisms. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 18 | [NumberField.IsCMField E] [Field K] |
| 19 | {s N : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 20 | {T U V : Over (Spec (.of K))} |
| 21 | |
| 22 | def Objects.PELIso.pullbackId (A : Objects.PELObject P iota N T) : Objects.PELIso (A.pullback (𝟙 T)) A where |
| 23 | polarized := HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackId A.polarized |
| 24 | action a := by |
| 25 | change (Over.pullback (𝟙 T.left)).map (A.action.map a) ≫ A.polarized.abelian.pullbackIdIso.hom = |
| 26 | A.polarized.abelian.pullbackIdIso.hom ≫ A.action.map a |
| 27 | rw [HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackIdIso_hom] |
| 28 | exact Over.pullbackId.hom.naturality (A.action.map a) |
| 29 | |
| 30 | def Objects.PELIso.pullbackComp (A : Objects.PELObject P iota N T) (f : U ⟶ T) (h : V ⟶ U) : |
| 31 | Objects.PELIso (A.pullback (h ≫ f)) ((A.pullback f).pullback h) where |
| 32 | polarized := (HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A.polarized f.left h.left).symm |
| 33 | action a := LieBaseChange.action_pullbackComp A.polarized.abelian A.action f.left h.left a |
| 34 | |
| 35 | def Objects.PELObject.classOf (A : Objects.PELObject P iota N T) : Objects.PELClasses P iota N T := Quotient.mk _ A |
| 36 | |
| 37 | theorem Objects.PELObject.classOf_eq_iff (A B : Objects.PELObject P iota N T) : |
| 38 | A.classOf = B.classOf ↔ Nonempty (Objects.PELIso A B) := Quotient.eq |
| 39 | |
| 40 | def Objects.PELClasses.pullback (f : T ⟶ U) : Objects.PELClasses P iota N U → Objects.PELClasses P iota N T := |
| 41 | Quotient.map (fun A => A.pullback f) (fun _ _ ⟨e⟩ => ⟨e.pullback f⟩) |
| 42 | |
| 43 | @[simp] |
| 44 | theorem Objects.PELClasses.pullback_classOf (f : T ⟶ U) (A : Objects.PELObject P iota N U) : |
| 45 | Objects.PELClasses.pullback f A.classOf = (A.pullback f).classOf := rfl |
| 46 | |
| 47 | @[simp] |
| 48 | theorem Objects.PELClasses.pullback_id (q : Objects.PELClasses P iota N T) : Objects.PELClasses.pullback (𝟙 T) q = q := by |
| 49 | induction q using Quotient.inductionOn with |
| 50 | | h A => exact Quotient.sound ⟨Objects.PELIso.pullbackId A⟩ |
| 51 | |
| 52 | theorem Objects.PELClasses.pullback_comp (f : U ⟶ T) (h : V ⟶ U) (q : Objects.PELClasses P iota N T) : |
| 53 | Objects.PELClasses.pullback (h ≫ f) q = Objects.PELClasses.pullback h (Objects.PELClasses.pullback f q) := by |
| 54 | induction q using Quotient.inductionOn with |
| 55 | | h A => exact Quotient.sound ⟨Objects.PELIso.pullbackComp A f h⟩ |
| 56 | |
| 57 | def Classifying.pelModuliFunctor (P : Datum.RankThreePELDatum E s) (iota : E →+* K) (N : ℕ) : |
| 58 | (Over (Spec (.of K)))ᵒᵖ ⥤ Type 1 where |
| 59 | obj T := Objects.PELClasses P iota N T.unop |
| 60 | map f := TypeCat.ofHom (Objects.PELClasses.pullback f.unop) |
| 61 | map_id _ := by |
| 62 | ext q |
| 63 | exact Objects.PELClasses.pullback_id q |
| 64 | map_comp f h := by |
| 65 | ext q |
| 66 | exact Objects.PELClasses.pullback_comp f.unop h.unop q |
| 67 | |
| 68 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL |
| 69 | |
| 70 | namespace AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 71 | |
| 72 | /-! Relate the statement's explicit PEL pullback comparison to the |
| 73 | constructed geometric moduli functor. These are the same isomorphism |
| 74 | conditions on the actual families and their normalized Poincare bundles. -/ |
| 75 | |
| 76 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 77 | open _root_.CategoryTheory.MonoidalCategory |
| 78 | |
| 79 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 80 | [NumberField.IsCMField E] [Field K] |
| 81 | {s N : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 82 | {T U : Over (Spec (.of K))} |
| 83 | |
| 84 | def Models.PELPullbackIso.toPELIso {A : PEL.Objects.PELObject P iota N U} {B : PEL.Objects.PELObject P iota N T} |
| 85 | {f : T ⟶ U} (e : Models.PELPullbackIso A B f) : PEL.Objects.PELIso B (A.pullback f) where |
| 86 | polarized := { |
| 87 | abelian := e.abelian |
| 88 | dual := e.dual |
| 89 | abelianGroup := e.abelianGroup |
| 90 | dualGroup := e.dualGroup |
| 91 | polarization := e.polarization |
| 92 | poincare := |
| 93 | (HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp (e.dual.hom ⊗ₘ e.abelian.hom).left |
| 94 | (A.polarized.dual.poincarePullbackOverMap f.left).left |
| 95 | (HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare)).symm.trans |
| 96 | ((congrArg (fun q => HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 97 | ((e.dual.hom ⊗ₘ e.abelian.hom).left ≫ q) |
| 98 | (HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare)) |
| 99 | (HilbertConstruction.Pullback.Comparisons.poincareBaseChangeMap_eq_pullbackOverMap A.polarized.dual f.left).symm).trans e.poincare) |
| 100 | level := e.level } |
| 101 | action := e.action |
| 102 | |
| 103 | def Models.PELPullbackIso.ofPELIso {A : PEL.Objects.PELObject P iota N U} {B : PEL.Objects.PELObject P iota N T} |
| 104 | {f : T ⟶ U} (e : PEL.Objects.PELIso B (A.pullback f)) : Models.PELPullbackIso A B f where |
| 105 | abelian := e.polarized.abelian |
| 106 | dual := e.polarized.dual |
| 107 | abelianGroup := e.polarized.abelianGroup |
| 108 | dualGroup := e.polarized.dualGroup |
| 109 | polarization := e.polarized.polarization |
| 110 | poincare := |
| 111 | (congrArg (fun q => HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 112 | ((e.polarized.dual.hom ⊗ₘ e.polarized.abelian.hom).left ≫ q) |
| 113 | (HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare)) |
| 114 | (HilbertConstruction.Pullback.Comparisons.poincareBaseChangeMap_eq_pullbackOverMap A.polarized.dual f.left)).trans |
| 115 | ((HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp |
| 116 | (e.polarized.dual.hom ⊗ₘ e.polarized.abelian.hom).left |
| 117 | (A.polarized.dual.poincarePullbackOverMap f.left).left |
| 118 | (HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare)).trans e.polarized.poincare) |
| 119 | level := e.polarized.level |
| 120 | action := e.action |
| 121 | |
| 122 | theorem Models.PELPullbackIso.nonempty_iff_classOf {A : PEL.Objects.PELObject P iota N U} |
| 123 | {B : PEL.Objects.PELObject P iota N T} (f : T ⟶ U) : |
| 124 | Nonempty (Models.PELPullbackIso A B f) ↔ B.classOf = (A.pullback f).classOf := by |
| 125 | rw [PEL.Objects.PELObject.classOf_eq_iff] |
| 126 | exact ⟨fun ⟨e⟩ => ⟨e.toPELIso⟩, fun ⟨e⟩ => ⟨Models.PELPullbackIso.ofPELIso e⟩⟩ |
| 127 | |
| 128 | variable (M : Models.FinePELModel P iota N) |
| 129 | |
| 130 | /-- The classifying transformation of the actual universal candidate. -/ |
| 131 | def Models.FinePELModel.classifying : uliftYoneda.{1}.obj M.space ⟶ PEL.Classifying.pelModuliFunctor P iota N := |
| 132 | uliftYonedaEquiv.symm M.universal.classOf |
| 133 | |
| 134 | theorem Models.FinePELModel.classifying_apply (T : Over (Spec (.of K))) (f : T ⟶ M.space) : |
| 135 | M.classifying.app (.op T) (ULift.up f) = (M.universal.pullback f).classOf := rfl |
| 136 | |
| 137 | /-- The exact pullback comparison used in ReferenceFamily is equivalent to the |
| 138 | classifying transformation taking the prescribed value. -/ |
| 139 | theorem Models.FinePELModel.classifying_eq_iff (T : Over (Spec (.of K))) (B : PEL.Objects.PELObject P iota N T) |
| 140 | (f : T ⟶ M.space) : |
| 141 | M.classifying.app (.op T) (ULift.up f) = B.classOf ↔ Nonempty (Models.PELPullbackIso M.universal B f) := |
| 142 | eq_comm.trans (Models.PELPullbackIso.nonempty_iff_classOf (A := M.universal) (B := B) f).symm |
| 143 | |
| 144 | end AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 145 | |
| 146 | end |
| 147 | |
| 148 | end OAI |