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.Finite.GroupIso |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.UniversalLevel |
| 3 | |
| 4 | /-! # Monomorphisms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.Monomorphisms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite group monomorphisms become isomorphisms whenever source and |
| 11 | target have the same finite constant group presentation. This criterion |
| 12 | does not require the morphism to preserve a chosen presentation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | namespace FiniteGroupIso |
| 18 | |
| 19 | theorem isIso_of_conjugate {C : Type*} [Category C] {X Y P : C} |
| 20 | (eX : X ≅ P) (eY : Y ≅ P) (m : X ⟶ Y) |
| 21 | (h : IsIso (eX.inv ≫ m ≫ eY.hom)) : IsIso m := by |
| 22 | let : IsIso (eX.inv ≫ m ≫ eY.hom) := h |
| 23 | let : IsIso (m ≫ eY.hom) := IsIso.of_isIso_comp_left eX.inv (m ≫ eY.hom) |
| 24 | exact IsIso.of_isIso_comp_right m eY.hom |
| 25 | |
| 26 | theorem isIso_of_postcomp {C : Type*} [Category C] {X Y Z : C} |
| 27 | (m : X ⟶ Y) (e : Y ≅ Z) (h : IsIso (m ≫ e.hom)) : IsIso m := by |
| 28 | let : IsIso (m ≫ e.hom) := h |
| 29 | exact IsIso.of_isIso_comp_right m e.hom |
| 30 | |
| 31 | variable {S : Scheme.{0}} {G : Type} [Group G] [Finite G] |
| 32 | |
| 33 | theorem isIso_of_mono_constant_presentations {X Y : Over S} [GrpObj X] [GrpObj Y] |
| 34 | (m : Grp.mk X ⟶ Grp.mk Y) (hm : Mono m.hom.hom) |
| 35 | (eX : yonedaGrpObj X ≅ HilbertConstruction.Constant.GroupMaps.constantGroupFunctor S G) |
| 36 | (eY : yonedaGrpObj Y ≅ HilbertConstruction.Constant.GroupMaps.constantGroupFunctor S G) : IsIso m := by |
| 37 | let : Mono m.hom.hom := hm |
| 38 | let α := eX.inv ≫ yonedaGrp.map m ≫ eY.hom |
| 39 | have hinj (T : Over S) : Function.Injective (α.app (.op T)) := by |
| 40 | intro x y h |
| 41 | have h' : (eX.inv.app (.op T) x) ≫ m.hom.hom = |
| 42 | (eX.inv.app (.op T) y) ≫ m.hom.hom := |
| 43 | ((eY.app (.op T)).groupIsoToMulEquiv.injective h) |
| 44 | exact ((eX.app (.op T)).groupIsoToMulEquiv.symm.injective |
| 45 | ((cancel_mono m.hom.hom).mp h')) |
| 46 | let : IsIso (yonedaGrp.map m) := |
| 47 | isIso_of_conjugate eX eY (yonedaGrp.map m) (GroupIso.FiniteGroupIso.isIso_of_injective_card_eq α hinj rfl) |
| 48 | exact isIso_of_reflects_iso m yonedaGrp |
| 49 | |
| 50 | end FiniteGroupIso |
| 51 | |
| 52 | namespace LevelCover |
| 53 | |
| 54 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 55 | |
| 56 | theorem frameLevelMap_isIso_of_relative_split [NeZero N] (T : Over S) |
| 57 | (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) (β : (A.pullback T.hom).FullLevel N) : |
| 58 | IsIso (UniversalFrames.LevelCover.frameLevelMap A T f) := by |
| 59 | let α := UniversalFrames.LevelCover.frameLevelMap A T f ≫ β.inv |
| 60 | have hinj (U : Over T.left) : Function.Injective (α.app (.op U)) := |
| 61 | ((β.app (.op U)).groupIsoToMulEquiv.symm.injective).comp |
| 62 | (Frame.GroupScheme.LevelCover.frameLevelMap_injective A T f U) |
| 63 | exact FiniteGroupIso.isIso_of_postcomp (UniversalFrames.LevelCover.frameLevelMap A T f) β.symm |
| 64 | (GroupIso.FiniteGroupIso.isIso_of_injective_card_eq α hinj rfl) |
| 65 | |
| 66 | variable {K : Type} [Field K] [CharZero K] (p : S ⟶ Spec (.of K)) |
| 67 | |
| 68 | def fullFrameInclusion [NeZero N] : Frame.Locus.LevelCover.fullFrameScheme A p (N := N) ⟶ Level.Cover.LevelCover.frameScheme A N := |
| 69 | Over.homMk (Frame.Locus.LevelCover.fullFrameOpen A p).ι rfl |
| 70 | |
| 71 | /-- The original coefficient map at the full-frame inclusion is |
| 72 | invertible, independently of the constructed presentation used to prove |
| 73 | existence of a level there. -/ |
| 74 | theorem fullFrameLevelMap_isIso [NeZero N] : |
| 75 | IsIso (UniversalFrames.LevelCover.frameLevelMap A (Frame.Locus.LevelCover.fullFrameScheme A p) (fullFrameInclusion A p (N := N))) := |
| 76 | frameLevelMap_isIso_of_relative_split A _ _ (UniversalLevel.LevelCover.universalFullLevel A p) |
| 77 | |
| 78 | /-- The canonical universal level is the original coefficient map. -/ |
| 79 | def canonicalFullFrameLevel [NeZero N] : |
| 80 | (A.pullback (Frame.Locus.LevelCover.fullFrameScheme A p (N := N)).hom).FullLevel N := by |
| 81 | let : IsIso (UniversalFrames.LevelCover.frameLevelMap A (Frame.Locus.LevelCover.fullFrameScheme A p) (fullFrameInclusion A p (N := N))) := |
| 82 | fullFrameLevelMap_isIso A p |
| 83 | exact asIso (UniversalFrames.LevelCover.frameLevelMap A _ (fullFrameInclusion A p)) |
| 84 | |
| 85 | theorem canonicalFullFrameLevel_classifying [NeZero N] : |
| 86 | IndependentFrames.LevelCover.frameOfRelativeLevel A (Frame.Locus.LevelCover.fullFrameScheme A p) (canonicalFullFrameLevel A p (N := N)) = |
| 87 | fullFrameInclusion A p := |
| 88 | (IndependentFrames.LevelCover.relativeFramePointsEquiv A _).left_inv _ |
| 89 | |
| 90 | end LevelCover |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Finite.Monomorphisms |