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.UniversalFrames |
| 2 | |
| 3 | /-! # Group Scheme -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.GroupScheme.LevelCover |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Injectivity of the universal frame on all tests, proved from its |
| 12 | defining nonvanishing relations, without a splitting or full level. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 18 | |
| 19 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 20 | |
| 21 | theorem frameTorsionHom_injective [NeZero N] (T : Over S) [Nonempty T.left] |
| 22 | (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : Function.Injective (Labels.LevelCover.frameTorsionHom A T f) := by |
| 23 | apply (MonoidHom.ker_eq_bot_iff _).mp |
| 24 | apply le_antisymm ?_ bot_le |
| 25 | intro c hc |
| 26 | change c = 1 |
| 27 | by_contra hne |
| 28 | have hrel := congrArg Subtype.val hc |
| 29 | rw [Labels.LevelCover.frameTorsionHom_val] at hrel |
| 30 | exact Level.Cover.LevelCover.frame_relations_nonzero A N T f c.toAdd |
| 31 | (fun h => hne (Multiplicative.toAdd.injective h)) hrel |
| 32 | |
| 33 | theorem torsionSectionExtension_injective |
| 34 | (h : Labels.LevelCover.Coefficients g N →* A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest S)) |
| 35 | (hind : ∀ (U : Over S), Nonempty U.left → ∀ c : Labels.LevelCover.Coefficients g N, |
| 36 | A.torsionPullback N (ConstantSectionsOn.ConstantSections.toBase U) (h c) = 1 → c = 1) (T : Over S) : |
| 37 | Function.Injective ((UniversalFrames.LevelCover.torsionSectionExtension A h).app (.op T)) := by |
| 38 | let h' : Labels.LevelCover.Coefficients g N →* (ConstantSectionsOn.ConstantSections.baseTest S ⟶ A.torsionScheme N) := |
| 39 | ((A.torsionSchemeYonedaIso N).inv.app (.op (ConstantSectionsOn.ConstantSections.baseTest S))).hom.comp h |
| 40 | have hinj : Function.Injective (ConstantSectionsOn.ConstantSections.extendHom h' T) := by |
| 41 | apply ConstantSectionsOn.ConstantSections.extendHom_injective |
| 42 | intro U hU c hc |
| 43 | apply hind U hU c |
| 44 | have hn := ConcreteCategory.congr_hom |
| 45 | ((A.torsionSchemeYonedaIso N).hom.naturality (ConstantSectionsOn.ConstantSections.toBase U).op) (h' c) |
| 46 | change (A.torsionSchemeYonedaIso N).hom.app (.op U) (ConstantSectionsOn.ConstantSections.toBase U ≫ h' c) = |
| 47 | A.torsionPullback N (ConstantSectionsOn.ConstantSections.toBase U) |
| 48 | ((A.torsionSchemeYonedaIso N).hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (h' c)) at hn |
| 49 | have he : (A.torsionSchemeYonedaIso N).hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (h' c) = h c := |
| 50 | ((A.torsionSchemeYonedaIso N).app (.op (ConstantSectionsOn.ConstantSections.baseTest S))).groupIsoToMulEquiv.apply_symm_apply _ |
| 51 | exact (congrArg (A.torsionPullback N (ConstantSectionsOn.ConstantSections.toBase U)) he).symm.trans |
| 52 | (hn.symm.trans ((congrArg ((A.torsionSchemeYonedaIso N).hom.app (.op U)) hc).trans |
| 53 | (map_one _))) |
| 54 | exact (((A.torsionSchemeYonedaIso N).app (.op T)).groupIsoToMulEquiv.injective).comp hinj |
| 55 | |
| 56 | def testToFrameBase (T : Over S) (U : Over T.left) : (Over.map T.hom).obj U ⟶ T := |
| 57 | (Over.map T.hom).map (ConstantSectionsOn.ConstantSections.toBase U) ≫ Labels.LevelCover.identityTestTo T |
| 58 | |
| 59 | theorem frameAtBaseHom_natural [NeZero N] (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) |
| 60 | (U : Over T.left) (c : Labels.LevelCover.Coefficients g N) : |
| 61 | A.torsionBaseChangeEquiv T.hom U N |
| 62 | ((A.pullback T.hom).torsionPullback N (ConstantSectionsOn.ConstantSections.toBase U) (UniversalFrames.LevelCover.frameAtBaseHom A T f c)) = |
| 63 | Labels.LevelCover.frameTorsionHom A ((Over.map T.hom).obj U) (testToFrameBase T U ≫ f) c := by |
| 64 | have hn := ConcreteCategory.congr_hom |
| 65 | ((A.torsionBaseChangeIso T.hom N).hom.naturality (ConstantSectionsOn.ConstantSections.toBase U).op) |
| 66 | (UniversalFrames.LevelCover.frameAtBaseHom A T f c) |
| 67 | change A.torsionBaseChangeEquiv T.hom U N |
| 68 | ((A.pullback T.hom).torsionPullback N (ConstantSectionsOn.ConstantSections.toBase U) (UniversalFrames.LevelCover.frameAtBaseHom A T f c)) = |
| 69 | A.torsionPullback N ((Over.map T.hom).map (ConstantSectionsOn.ConstantSections.toBase U)) |
| 70 | (A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N (UniversalFrames.LevelCover.frameAtBaseHom A T f c)) at hn |
| 71 | have hb : A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N (UniversalFrames.LevelCover.frameAtBaseHom A T f c) = |
| 72 | A.torsionPullback N (Labels.LevelCover.identityTestTo T) (Labels.LevelCover.frameTorsionHom A T f c) := |
| 73 | (A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N).apply_symm_apply _ |
| 74 | refine hn.trans ((congrArg (A.torsionPullback N ((Over.map T.hom).map (ConstantSectionsOn.ConstantSections.toBase U))) hb).trans ?_) |
| 75 | have hc : A.torsionPullback N ((Over.map T.hom).map (ConstantSectionsOn.ConstantSections.toBase U)) |
| 76 | (A.torsionPullback N (Labels.LevelCover.identityTestTo T) (Labels.LevelCover.frameTorsionHom A T f c)) = |
| 77 | A.torsionPullback N (testToFrameBase T U) (Labels.LevelCover.frameTorsionHom A T f c) := by |
| 78 | apply Subtype.ext |
| 79 | exact (Category.assoc ((Over.map T.hom).map (ConstantSectionsOn.ConstantSections.toBase U)) (Labels.LevelCover.identityTestTo T) |
| 80 | (Labels.LevelCover.frameTorsionHom A T f c).val).symm |
| 81 | exact hc.trans (Labels.LevelCover.frameTorsionHom_natural A (testToFrameBase T U) f c) |
| 82 | |
| 83 | /-- Every component of the universal frame homomorphism is injective, |
| 84 | including components evaluated on disconnected or nonreduced tests. -/ |
| 85 | theorem frameLevelMap_injective [NeZero N] (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) |
| 86 | (U : Over T.left) : Function.Injective ((UniversalFrames.LevelCover.frameLevelMap A T f).app (.op U)) := by |
| 87 | apply torsionSectionExtension_injective |
| 88 | intro V hV c hc |
| 89 | let : Nonempty ((Over.map T.hom).obj V).left := hV |
| 90 | apply frameTorsionHom_injective A ((Over.map T.hom).obj V) (testToFrameBase T V ≫ f) |
| 91 | have hn := frameAtBaseHom_natural A T f V c |
| 92 | exact hn.symm.trans ((congrArg (A.torsionBaseChangeEquiv T.hom V N) hc).trans |
| 93 | ((map_one _).trans (map_one (Labels.LevelCover.frameTorsionHom A _ _)).symm)) |
| 94 | |
| 95 | end |
| 96 | |
| 97 | /-! The frame construction yields an actual monomorphism of group |
| 98 | schemes, before any full-level isomorphism is available. -/ |
| 99 | |
| 100 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 101 | open scoped _root_.CategoryTheory.MonObj |
| 102 | |
| 103 | theorem yonedaGroupPreimage_points {B : Scheme.{0}} {X Y : Over B} |
| 104 | [GrpObj X] [GrpObj Y] (α : yonedaGrpObj X ⟶ yonedaGrpObj Y) |
| 105 | (U : Over B) (x : U ⟶ X) : |
| 106 | α.app (.op U) x = x ≫ |
| 107 | (yonedaGrpFullyFaithful.preimage (X := Grp.mk X) (Y := Grp.mk Y) α).hom.hom := by |
| 108 | have h := yonedaGrpFullyFaithful.map_preimage (X := Grp.mk X) (Y := Grp.mk Y) α |
| 109 | exact (ConcreteCategory.congr_hom (NatTrans.congr_app h (.op U)) x).symm |
| 110 | |
| 111 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 112 | |
| 113 | def frameYonedaMap (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 114 | yonedaGrpObj (HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left) ⟶ |
| 115 | yonedaGrpObj ((A.pullback T.hom).torsionScheme N) := |
| 116 | (HilbertConstruction.Geometric.GeometricLevel.constantFullLevelYonedaIso g N T.left).hom ≫ UniversalFrames.LevelCover.frameLevelMap A T f ≫ |
| 117 | ((A.pullback T.hom).torsionSchemeYonedaIso N).inv |
| 118 | |
| 119 | def frameGroupSchemeMap (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 120 | Grp.mk (HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left) ⟶ |
| 121 | Grp.mk ((A.pullback T.hom).torsionScheme N) := |
| 122 | yonedaGrpFullyFaithful.preimage (frameYonedaMap A T f) |
| 123 | |
| 124 | def frameSchemeMap (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 125 | HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left ⟶ (A.pullback T.hom).torsionScheme N := |
| 126 | (frameGroupSchemeMap A T f).hom.hom |
| 127 | |
| 128 | instance frameSchemeMap_isMonHom (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 129 | IsMonHom (frameSchemeMap A T f) := (frameGroupSchemeMap A T f).hom.isMonHom_hom |
| 130 | |
| 131 | theorem frameSchemeMap_points (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) |
| 132 | (U : Over T.left) (x : U ⟶ HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left) : |
| 133 | (frameYonedaMap A T f).app (.op U) x = x ≫ frameSchemeMap A T f := |
| 134 | yonedaGroupPreimage_points (frameYonedaMap A T f) U x |
| 135 | |
| 136 | theorem frameYonedaMap_injective [NeZero N] (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) |
| 137 | (U : Over T.left) : Function.Injective ((frameYonedaMap A T f).app (.op U)) := |
| 138 | ((((A.pullback T.hom).torsionSchemeYonedaIso N).app (.op U)).groupIsoToMulEquiv.symm.injective).comp |
| 139 | ((frameLevelMap_injective A T f U).comp |
| 140 | (((HilbertConstruction.Geometric.GeometricLevel.constantFullLevelYonedaIso g N T.left).app (.op U)).groupIsoToMulEquiv.injective)) |
| 141 | |
| 142 | theorem frameSchemeMap_mono [NeZero N] (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 143 | Mono (frameSchemeMap A T f) := by |
| 144 | constructor |
| 145 | intro U x y h |
| 146 | apply frameYonedaMap_injective A T f U |
| 147 | exact (frameSchemeMap_points A T f U x).trans |
| 148 | (h.trans (frameSchemeMap_points A T f U y).symm) |
| 149 | |
| 150 | /-- The actual universal group-scheme map is an isomorphism wherever a |
| 151 | full level is known, by comparison of the constructed natural maps. -/ |
| 152 | theorem frameGroupSchemeMap_eq_split [NeZero N] (α : A.FullLevel N) |
| 153 | (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 154 | frameGroupSchemeMap A T f = |
| 155 | ((Labels.LevelCover.fullLevelFromFrame A α T f).groupSchemeIso).hom := by |
| 156 | change yonedaGrpFullyFaithful.preimage |
| 157 | (X := Grp.mk (HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left)) |
| 158 | (Y := Grp.mk ((A.pullback T.hom).torsionScheme N)) (frameYonedaMap A T f) = |
| 159 | yonedaGrpFullyFaithful.preimage |
| 160 | (X := Grp.mk (HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left)) |
| 161 | (Y := Grp.mk ((A.pullback T.hom).torsionScheme N)) |
| 162 | (HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.yonedaLevelEquiv (Labels.LevelCover.fullLevelFromFrame A α T f)).hom |
| 163 | apply congrArg (fun h : yonedaGrpObj (HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left) ⟶ |
| 164 | yonedaGrpObj ((A.pullback T.hom).torsionScheme N) => |
| 165 | yonedaGrpFullyFaithful.preimage |
| 166 | (X := Grp.mk (HilbertConstruction.Level.Scheme.constantFullLevelScheme g N T.left)) |
| 167 | (Y := Grp.mk ((A.pullback T.hom).torsionScheme N)) h) |
| 168 | change (HilbertConstruction.Geometric.GeometricLevel.constantFullLevelYonedaIso g N T.left).hom ≫ UniversalFrames.LevelCover.frameLevelMap A T f ≫ |
| 169 | ((A.pullback T.hom).torsionSchemeYonedaIso N).inv = _ |
| 170 | rw [UniversalFrames.LevelCover.frameLevelMap_eq_split A α T f] |
| 171 | rfl |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.GroupScheme.LevelCover |