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.NumberTheory.PadicHodge.GeometricComparison.Frame.OpenSectionCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedGeneral.FramePulledMap |
| 3 | |
| 4 | /-! # Global Section Pullback -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.GlobalSectionPullback.FrameGlobalSectionPullback |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original global frame section maps respect arbitrary geometric pullback |
| 11 | and an actual compatible crystalline frame morphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | private theorem composeSquares {C : Type*} [Category* C] {A B D E F G H : C} |
| 16 | (a : A ⟶ B) (b : B ⟶ D) (c : D ⟶ E) (d : A ⟶ F) (e : F ⟶ D) |
| 17 | (f : F ⟶ G) (g : G ⟶ E) (l : A ⟶ H) (j : H ⟶ G) |
| 18 | (h₁ : a ≫ b = d ≫ e) (h₂ : e ≫ c = f ≫ g) (h₃ : d ≫ f = l ≫ j) : |
| 19 | a ≫ b ≫ c = l ≫ j ≫ g := by |
| 20 | rw [← Category.assoc, h₁, Category.assoc, h₂, ← Category.assoc, h₃, Category.assoc] |
| 21 | |
| 22 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 23 | universe u |
| 24 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | {X Y : Scheme.{u}} {fX : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 26 | [IsSeparated fX] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = fX) (n : ℕ) |
| 27 | {FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fX n} |
| 28 | {FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 29 | (a : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 30 | |
| 31 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 32 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 33 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 34 | local notation "Kn" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fX n FX |
| 35 | local notation "Km" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex fY n FY |
| 36 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedGeneral.FrameGeometricMap.map g hg n a |
| 37 | |
| 38 | def restriction : Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections (p := p) (J := J) (δ := δ) fY n ⟶ |
| 39 | T ⋙ Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections fX n := |
| 40 | IntegralComparison.Sheaf.PresheafSectionRestriction.map G R (IntegralComparison.BoundedCrystalline.Site.topology fX n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 41 | |
| 42 | omit [IsSeparated fX] in |
| 43 | theorem restriction_stage : IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 44 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fY n FY) Km |
| 45 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap fY n FY) ≫ |
| 46 | ((restriction g hg n).mapHomologicalComplex (.up ℕ)).app Km = |
| 47 | IntegralComparison.ConstantSection.ComplexMap.map.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fX n) |
| 48 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fY n FY) _ |
| 49 | (IntegralComparison.BoundedGeneral.FramePulledMap.map g hg n (FY := FY)) ≫ |
| 50 | (IntegralComparison.Sheaf.PresheafSectionComplex.complexIso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fX n) |
| 51 | (((T).mapHomologicalComplex (.up ℕ)).obj Km)).hom := |
| 52 | IntegralComparison.ConstantSection.ComplexRestriction.naturality.{u + 1, u, u + 2} G R (IntegralComparison.BoundedCrystalline.Site.topology fX n) (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 53 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fY n FY) Km |
| 54 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap fY n FY) |
| 55 | |
| 56 | theorem ext_component (i : ℕ) : |
| 57 | ((IntegralComparison.Ext.ZeroPresheafSections.iso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fX n)).app ((T).obj ((Km).X i))).hom ≫ |
| 58 | (Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections fX n).map ((b).f i) = |
| 59 | (IntegralComparison.Ext.ModuleFunctor.functor R (IntegralComparison.BoundedCrystalline.CrystallineCohomology.constantUnit fX n) 0).map ((b).f i) ≫ |
| 60 | ((IntegralComparison.Ext.ZeroPresheafSections.iso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fX n)).app ((Kn).X i)).hom := |
| 61 | ((IntegralComparison.Ext.ZeroPresheafSections.iso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fX n)).hom.naturality ((b).f i)).symm |
| 62 | |
| 63 | theorem sectionMap : IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fY n) |
| 64 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fY n FY) Km |
| 65 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap fY n FY) ≫ |
| 66 | ((restriction g hg n).mapHomologicalComplex (.up ℕ)).app Km ≫ |
| 67 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections fX n).mapHomologicalComplex (.up ℕ)).map b = |
| 68 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 69 | (IntegralComparison.BoundedFrame.SectionChange.frameMap a) ≫ |
| 70 | IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology fX n) |
| 71 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex fX n FX) Kn |
| 72 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap fX n FX) := by |
| 73 | apply HomologicalComplex.Hom.ext |
| 74 | funext i |
| 75 | exact composeSquares _ _ _ _ _ _ _ _ _ |
| 76 | (congrArg (fun q => q.f i) (restriction_stage g hg n (FY := FY))) |
| 77 | (ext_component g hg n a i) (IntegralComparison.BoundedGeneral.FramePulledMap.sections_component g hg n a i) |
| 78 | |
| 79 | theorem natural : (OpenSectionNaturality.FrameOpenSectionNaturality.globalTransformation fY n).app (op FY) ≫ |
| 80 | ((restriction g hg n).mapHomologicalComplex (.up ℕ)).app Km ≫ |
| 81 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections fX n).mapHomologicalComplex (.up ℕ)).map b = |
| 82 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 83 | (IntegralComparison.BoundedFrame.SectionChange.frameMap a) ≫ |
| 84 | (OpenSectionNaturality.FrameOpenSectionNaturality.globalTransformation fX n).app (op FX) := by |
| 85 | rw [OpenSectionCoordinates.FrameOpenSectionCoordinates.global_app, OpenSectionCoordinates.FrameOpenSectionCoordinates.global_app] |
| 86 | exact sectionMap g hg n a |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.GlobalSectionPullback.FrameGlobalSectionPullback |