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.AbelianScheme.TateComparison.PELModuli |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.BaseChange |
| 3 | |
| 4 | /-! # PEL Adapter -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.PELAdapter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The pure polarized problem embeds in the implemented family category |
| 11 | by the canonical integer action. This permits use of proved field descent |
| 12 | without imposing any additional endomorphism structure on a pure family. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PELModuli |
| 18 | |
| 19 | variable {S : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 20 | |
| 21 | def endSchemeAddMap (A : Over S) [GrpObj A] [IsCommMonObj A] : |
| 22 | AbelianScheme.TateComparison.End.IntegralEnd A →+ Additive (A ⟶ A) where |
| 23 | toFun f := Additive.ofMul (AbelianScheme.TateComparison.End.endSchemeMap A f) |
| 24 | map_zero' := rfl |
| 25 | map_add' _ _ := rfl |
| 26 | |
| 27 | theorem endSchemeMap_intCast (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℤ) : |
| 28 | AbelianScheme.TateComparison.End.endSchemeMap A (n : AbelianScheme.TateComparison.End.IntegralEnd A) = (𝟙 A) ^ n := by |
| 29 | have h : endSchemeAddMap A (n : AbelianScheme.TateComparison.End.IntegralEnd A) = n • endSchemeAddMap A 1 := by |
| 30 | simpa only [zsmul_one] using (endSchemeAddMap A).map_zsmul n (1 : AbelianScheme.TateComparison.End.IntegralEnd A) |
| 31 | exact congrArg Additive.toMul h |
| 32 | |
| 33 | def pureAsPEL (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) : |
| 34 | AbelianScheme.TateComparison.PEL.PELFamilyData ℤ g N S := |
| 35 | AbelianScheme.TateComparison.PEL.PELFamilyData.ofPolarized A (Int.castRingHom (AbelianScheme.TateComparison.End.IntegralEnd A.abelian.scheme)) |
| 36 | |
| 37 | def pureIsoAsPEL {A B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S} |
| 38 | (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso A B) : AbelianScheme.TateComparison.PELModuli.PELFamilyIso (pureAsPEL A) (pureAsPEL B) where |
| 39 | abelian := e.abelian |
| 40 | dual := e.dual |
| 41 | abelianGroup := e.abelianGroup |
| 42 | dualGroup := e.dualGroup |
| 43 | polarization := e.polarization |
| 44 | poincare := e.poincare |
| 45 | equivariant n := by |
| 46 | change AbelianScheme.TateComparison.End.endSchemeMap A.abelian.scheme (n : AbelianScheme.TateComparison.End.IntegralEnd A.abelian.scheme) ≫ e.abelian.hom = |
| 47 | e.abelian.hom ≫ AbelianScheme.TateComparison.End.endSchemeMap B.abelian.scheme (n : AbelianScheme.TateComparison.End.IntegralEnd B.abelian.scheme) |
| 48 | rw [endSchemeMap_intCast, endSchemeMap_intCast, GrpObj.zpow_comp, |
| 49 | GrpObj.comp_zpow, Category.id_comp, Category.comp_id] |
| 50 | marking := e.level |
| 51 | |
| 52 | def pureIsoOfPEL {A B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S} |
| 53 | (e : AbelianScheme.TateComparison.PELModuli.PELFamilyIso (pureAsPEL A) (pureAsPEL B)) : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso A B where |
| 54 | abelian := e.abelian |
| 55 | dual := e.dual |
| 56 | abelianGroup := e.abelianGroup |
| 57 | dualGroup := e.dualGroup |
| 58 | polarization := e.polarization |
| 59 | poincare := e.poincare |
| 60 | level := e.marking |
| 61 | |
| 62 | def pureIsoAsPELWithActions {A B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S} |
| 63 | (a : ℤ →+* AbelianScheme.TateComparison.End.IntegralEnd A.abelian.scheme) (b : ℤ →+* AbelianScheme.TateComparison.End.IntegralEnd B.abelian.scheme) |
| 64 | (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso A B) : |
| 65 | AbelianScheme.TateComparison.PELModuli.PELFamilyIso (AbelianScheme.TateComparison.PEL.PELFamilyData.ofPolarized A a) (AbelianScheme.TateComparison.PEL.PELFamilyData.ofPolarized B b) where |
| 66 | abelian := e.abelian |
| 67 | dual := e.dual |
| 68 | abelianGroup := e.abelianGroup |
| 69 | dualGroup := e.dualGroup |
| 70 | polarization := e.polarization |
| 71 | poincare := e.poincare |
| 72 | equivariant n := by |
| 73 | have ha : a n = (n : AbelianScheme.TateComparison.End.IntegralEnd A.abelian.scheme) := map_intCast a n |
| 74 | have hb : b n = (n : AbelianScheme.TateComparison.End.IntegralEnd B.abelian.scheme) := map_intCast b n |
| 75 | change AbelianScheme.TateComparison.End.endSchemeMap A.abelian.scheme (a n) ≫ e.abelian.hom = |
| 76 | e.abelian.hom ≫ AbelianScheme.TateComparison.End.endSchemeMap B.abelian.scheme (b n) |
| 77 | rw [ha, hb, endSchemeMap_intCast, endSchemeMap_intCast, GrpObj.zpow_comp, |
| 78 | GrpObj.comp_zpow, Category.id_comp, Category.comp_id] |
| 79 | marking := e.level |
| 80 | |
| 81 | def pureIsoOfPELWithActions {A B : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S} |
| 82 | {a : ℤ →+* AbelianScheme.TateComparison.End.IntegralEnd A.abelian.scheme} {b : ℤ →+* AbelianScheme.TateComparison.End.IntegralEnd B.abelian.scheme} |
| 83 | (e : AbelianScheme.TateComparison.PELModuli.PELFamilyIso (AbelianScheme.TateComparison.PEL.PELFamilyData.ofPolarized A a) (AbelianScheme.TateComparison.PEL.PELFamilyData.ofPolarized B b)) : |
| 84 | HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso A B where |
| 85 | abelian := e.abelian |
| 86 | dual := e.dual |
| 87 | abelianGroup := e.abelianGroup |
| 88 | dualGroup := e.dualGroup |
| 89 | polarization := e.polarization |
| 90 | poincare := e.poincare |
| 91 | level := e.marking |
| 92 | |
| 93 | def purePullbackIsoAsPEL (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 94 | {T : Scheme.{0}} (b : T ⟶ S) |
| 95 | (e : HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback b) (A.pullback b)) : |
| 96 | AbelianScheme.TateComparison.PELModuli.PELFamilyIso ((pureAsPEL A).pullback b) ((pureAsPEL A).pullback b) := |
| 97 | pureIsoAsPELWithActions _ _ e |
| 98 | |
| 99 | def purePullbackIsoOfPEL (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 100 | {T : Scheme.{0}} (b : T ⟶ S) |
| 101 | (e : AbelianScheme.TateComparison.PELModuli.PELFamilyIso ((pureAsPEL A).pullback b) ((pureAsPEL A).pullback b)) : |
| 102 | HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback b) (A.pullback b) := |
| 103 | pureIsoOfPELWithActions e |
| 104 | |
| 105 | theorem pureAsPEL_pullback (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 106 | {T : Scheme.{0}} (b : T ⟶ S) : |
| 107 | (pureAsPEL A).pullback b = pureAsPEL (A.pullback b) := by |
| 108 | have h : (AbelianScheme.TateComparison.BaseChange.endBaseChange A.abelian.scheme b).comp |
| 109 | (Int.castRingHom (AbelianScheme.TateComparison.End.IntegralEnd A.abelian.scheme)) = |
| 110 | Int.castRingHom (AbelianScheme.TateComparison.End.IntegralEnd (A.abelian.pullback b).scheme) := |
| 111 | Subsingleton.elim _ _ |
| 112 | exact congrArg (fun action => AbelianScheme.TateComparison.PEL.PELFamilyData.ofPolarized (A.pullback b) action) h |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Pure.PELAdapter |