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.LieBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.RosatiBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Models |
| 4 | |
| 5 | /-! # Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual base change of PEL families, with the action, Rosati |
| 12 | conjugation, Lie signature, polarization, and prescribed level retained. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 19 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 20 | {s N : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 21 | {T U : Over (Spec (.of K))} |
| 22 | |
| 23 | def PEL.Objects.PELObject.pullback (A : PEL.Objects.PELObject P iota N U) (f : T ⟶ U) : PEL.Objects.PELObject P iota N T where |
| 24 | polarized := A.polarized.pullback f.left |
| 25 | action := A.action.pullback f.left |
| 26 | rosati := ActionData.RosatiConjugation.pullback A.polarized A.action A.rosati f.left |
| 27 | lieRanks := PEL.Objects.HasPrescribedLieRanks.pullback A.polarized.abelian A.action A.lieRanks f |
| 28 | |
| 29 | def PEL.Objects.PELIso.pullback {A B : PEL.Objects.PELObject P iota N U} (e : PEL.Objects.PELIso A B) (f : T ⟶ U) : |
| 30 | PEL.Objects.PELIso (A.pullback f) (B.pullback f) where |
| 31 | polarized := e.polarized.pullback f.left |
| 32 | action a := ((Over.pullback f.left).map_comp (A.action.map a) e.polarized.abelian.hom).symm.trans |
| 33 | ((congrArg (fun q => (Over.pullback f.left).map q) (e.action a)).trans |
| 34 | ((Over.pullback f.left).map_comp e.polarized.abelian.hom (B.action.map a))) |
| 35 | |
| 36 | /-- The constructed pullback has the exact comparison demanded by the |
| 37 | fine PEL moduli property. -/ |
| 38 | def Models.PELPullbackIso.canonical (A : PEL.Objects.PELObject P iota N U) (f : T ⟶ U) : |
| 39 | Models.PELPullbackIso A (A.pullback f) f where |
| 40 | abelian := Iso.refl _ |
| 41 | dual := Iso.refl _ |
| 42 | abelianGroup := inferInstanceAs (IsMonHom (𝟙 (A.polarized.abelian.pullback f.left).scheme)) |
| 43 | dualGroup := inferInstanceAs (IsMonHom (𝟙 (A.polarized.dual.abelian.pullback f.left).scheme)) |
| 44 | polarization := (Category.comp_id _).trans (Category.id_comp _).symm |
| 45 | poincare := by |
| 46 | change HilbertConstruction.Line.Bundles.LineBundle.pullbackClass |
| 47 | ((𝟙 (A.polarized.dual.abelian.pullback f.left).scheme ⊗ₘ |
| 48 | 𝟙 (A.polarized.abelian.pullback f.left).scheme).left ≫ |
| 49 | HilbertConstruction.PolarizationData.poincareBaseChangeMap A.polarized.dual f.left) |
| 50 | (HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare) = _ |
| 51 | rw [tensorHom_id, id_whiskerRight] |
| 52 | change HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (𝟙 _ ≫ HilbertConstruction.PolarizationData.poincareBaseChangeMap A.polarized.dual f.left) |
| 53 | (HilbertConstruction.Line.Bundles.LineBundle.classOf A.polarized.dual.poincare) = _ |
| 54 | rw [Category.id_comp, HilbertConstruction.Pullback.Comparisons.poincareBaseChangeMap_eq_pullbackOverMap] |
| 55 | rfl |
| 56 | level _ _ := Category.comp_id _ |
| 57 | action _ := (Category.comp_id _).trans (Category.id_comp _).symm |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily |