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.ConstantSectionsOn |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Frame.Labels |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Geometric.GeometricLevel |
| 4 | |
| 5 | /-! # Universal Frames -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.UniversalFrames.LevelCover |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The universal frame homomorphism is constructed from its actual |
| 12 | torsion sections, with no chosen full level. The split construction is |
| 13 | proved to recover this same morphism. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ConstantSectionsOn.ConstantSections |
| 19 | |
| 20 | variable {S : Scheme.{0}} {g N : ℕ} (A : HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 21 | |
| 22 | def torsionSectionExtension |
| 23 | (h : Frame.Labels.LevelCover.Coefficients g N →* A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest S)) : |
| 24 | HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S ⟶ A.torsionFunctor N := |
| 25 | ConstantSectionsOn.ConstantSections.extendNatTrans (((A.torsionSchemeYonedaIso N).inv.app (.op (ConstantSectionsOn.ConstantSections.baseTest S))).hom.comp h) ≫ |
| 26 | (A.torsionSchemeYonedaIso N).hom |
| 27 | |
| 28 | theorem torsionSectionExtension_const |
| 29 | (h : Frame.Labels.LevelCover.Coefficients g N →* A.torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest S)) (c : Frame.Labels.LevelCover.Coefficients g N) : |
| 30 | (torsionSectionExtension A h).app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c) = h c := by |
| 31 | let h' : Frame.Labels.LevelCover.Coefficients g N →* (ConstantSectionsOn.ConstantSections.baseTest S ⟶ A.torsionScheme N) := |
| 32 | ((A.torsionSchemeYonedaIso N).inv.app (.op (ConstantSectionsOn.ConstantSections.baseTest S))).hom.comp h |
| 33 | have he := ConstantSectionsOn.ConstantSections.extend_const (⇑h') (ConstantSectionsOn.ConstantSections.baseTest S) c |
| 34 | have hb : ConstantSectionsOn.ConstantSections.toBase (ConstantSectionsOn.ConstantSections.baseTest S) = 𝟙 (ConstantSectionsOn.ConstantSections.baseTest S) := Over.OverMorphism.ext rfl |
| 35 | rw [hb, Category.id_comp] at he |
| 36 | change (A.torsionSchemeYonedaIso N).hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) |
| 37 | (ConstantSectionsOn.ConstantSections.extend h' (ConstantSectionsOn.ConstantSections.baseTest S) (LocallyConstant.const S c)) = h c |
| 38 | exact (congrArg ((A.torsionSchemeYonedaIso N).hom.app (.op (ConstantSectionsOn.ConstantSections.baseTest S))) he).trans |
| 39 | (((A.torsionSchemeYonedaIso N).app (.op (ConstantSectionsOn.ConstantSections.baseTest S))).groupIsoToMulEquiv.apply_symm_apply _) |
| 40 | |
| 41 | theorem torsionNatTrans_ext_on_constants |
| 42 | {α β : HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N S ⟶ A.torsionFunctor N} |
| 43 | (h : ∀ c : Frame.Labels.LevelCover.Coefficients g N, |
| 44 | α.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c) = |
| 45 | β.app (.op (ConstantSectionsOn.ConstantSections.baseTest S)) (LocallyConstant.const S c)) : α = β := by |
| 46 | apply (cancel_mono (A.torsionSchemeYonedaIso N).inv).mp |
| 47 | apply ConstantSectionsOn.ConstantSections.natTrans_ext_on_constants |
| 48 | intro c |
| 49 | exact congrArg ((A.torsionSchemeYonedaIso N).inv.app (.op (ConstantSectionsOn.ConstantSections.baseTest S))) (h c) |
| 50 | |
| 51 | /-- The frame sections in the actual base-changed torsion kernel. -/ |
| 52 | def frameAtBaseHom (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 53 | Frame.Labels.LevelCover.Coefficients g N →* (A.pullback T.hom).torsionPoints N (ConstantSectionsOn.ConstantSections.baseTest T.left) := |
| 54 | (A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N).symm.toMonoidHom.comp |
| 55 | ((A.torsionPullback N (Frame.Labels.LevelCover.identityTestTo T)).comp (Frame.Labels.LevelCover.frameTorsionHom A T f)) |
| 56 | |
| 57 | /-- Universal frame map, defined before any local trivialization is chosen. -/ |
| 58 | def frameLevelMap (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 59 | HilbertConstruction.Abelian.Schemes.AbelianScheme.constantLevelFunctor g N T.left ⟶ (A.pullback T.hom).torsionFunctor N := |
| 60 | torsionSectionExtension (A.pullback T.hom) (frameAtBaseHom A T f) |
| 61 | |
| 62 | theorem frameLevelMap_coefficients (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) |
| 63 | (c : Frame.Labels.LevelCover.Coefficients g N) : |
| 64 | A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N |
| 65 | ((frameLevelMap A T f).app (.op (ConstantSectionsOn.ConstantSections.baseTest T.left)) (LocallyConstant.const T.left c)) = |
| 66 | A.torsionPullback N (Frame.Labels.LevelCover.identityTestTo T) (Frame.Labels.LevelCover.frameTorsionHom A T f c) := by |
| 67 | have h := torsionSectionExtension_const (A.pullback T.hom) (frameAtBaseHom A T f) c |
| 68 | exact (congrArg (A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N) h).trans |
| 69 | ((A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N).apply_symm_apply _) |
| 70 | |
| 71 | /-- On a split base the direct universal map is exactly the previously |
| 72 | constructed full-level isomorphism, by its values on coefficient vectors. -/ |
| 73 | theorem frameLevelMap_eq_split [NeZero N] (α : A.FullLevel N) |
| 74 | (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : |
| 75 | frameLevelMap A T f = (Frame.Labels.LevelCover.fullLevelFromFrame A α T f).hom := by |
| 76 | apply torsionNatTrans_ext_on_constants |
| 77 | intro c |
| 78 | apply (A.torsionBaseChangeEquiv T.hom (ConstantSectionsOn.ConstantSections.baseTest T.left) N).injective |
| 79 | exact (frameLevelMap_coefficients A T f c).trans |
| 80 | (Frame.Labels.LevelCover.fullLevelFromFrame_coefficients A α T f c).symm |
| 81 | |
| 82 | theorem frameLevelMap_isIso_of_split [NeZero N] (α : A.FullLevel N) |
| 83 | (T : Over S) (f : T ⟶ Level.Cover.LevelCover.frameScheme A N) : IsIso (frameLevelMap A T f) := by |
| 84 | rw [frameLevelMap_eq_split A α T f] |
| 85 | exact (Frame.Labels.LevelCover.fullLevelFromFrame A α T f).isIso_hom |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.UniversalFrames.LevelCover |