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.BoundedLevel.FramePulledMap |
| 3 | |
| 4 | /-! # Global Section Level -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.GlobalSectionLevel.FrameGlobalSectionLevel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original global frame section maps respect an actual morphism |
| 11 | between bounded crystalline frames at two levels. -/ |
| 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 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated f] |
| 26 | (n m : ℕ) (hnm : n ≤ m) |
| 27 | {Fn : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 28 | {Fm : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f m} |
| 29 | (a : (IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm).obj Fn ⟶ Fm) |
| 30 | |
| 31 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 32 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 33 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) (J := J) (δ := δ) f n m hnm |
| 34 | local notation "Kn" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex f n Fn |
| 35 | local notation "Km" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.complex f m Fm |
| 36 | local notation "b" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FrameMap.map f n m hnm a |
| 37 | |
| 38 | def restriction : Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections (p := p) (J := J) (δ := δ) f m ⟶ |
| 39 | T ⋙ Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections f n := |
| 40 | IntegralComparison.Sheaf.PresheafSectionRestriction.map G R (IntegralComparison.BoundedCrystalline.Site.topology f n) (IntegralComparison.BoundedCrystalline.Site.topology f m) |
| 41 | |
| 42 | theorem restriction_stage : IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f m) |
| 43 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f m Fm) Km |
| 44 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap f m Fm) ≫ |
| 45 | ((restriction f n m hnm).mapHomologicalComplex (.up ℕ)).app Km = |
| 46 | IntegralComparison.ConstantSection.ComplexMap.map.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f n) |
| 47 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f m Fm) _ |
| 48 | (IntegralComparison.BoundedLevel.FramePulledMap.map f n m hnm (FY := Fm)) ≫ |
| 49 | (IntegralComparison.Sheaf.PresheafSectionComplex.complexIso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f n) |
| 50 | (((T).mapHomologicalComplex (.up ℕ)).obj Km)).hom := |
| 51 | IntegralComparison.ConstantSection.ComplexRestriction.naturality.{u + 1, u, u + 2} G R (IntegralComparison.BoundedCrystalline.Site.topology f n) (IntegralComparison.BoundedCrystalline.Site.topology f m) |
| 52 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f m Fm) Km |
| 53 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap f m Fm) |
| 54 | |
| 55 | theorem ext_component (i : ℕ) : |
| 56 | ((IntegralComparison.Ext.ZeroPresheafSections.iso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f n)).app ((T).obj ((Km).X i))).hom ≫ |
| 57 | (Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections f n).map ((b).f i) = |
| 58 | (IntegralComparison.Ext.ModuleFunctor.functor R (IntegralComparison.BoundedCrystalline.CrystallineCohomology.constantUnit f n) 0).map ((b).f i) ≫ |
| 59 | ((IntegralComparison.Ext.ZeroPresheafSections.iso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f n)).app ((Kn).X i)).hom := |
| 60 | ((IntegralComparison.Ext.ZeroPresheafSections.iso.{u + 1, u, u + 1, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f n)).hom.naturality ((b).f i)).symm |
| 61 | |
| 62 | theorem sectionMap : IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f m) |
| 63 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f m Fm) Km |
| 64 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap f m Fm) ≫ |
| 65 | ((restriction f n m hnm).mapHomologicalComplex (.up ℕ)).app Km ≫ |
| 66 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections f n).mapHomologicalComplex (.up ℕ)).map b = |
| 67 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 68 | (IntegralComparison.BoundedFrame.SectionChange.frameMap a) ≫ |
| 69 | IntegralComparison.ConstantSection.ComplexRestriction.sectionMap.{u + 1, u, u + 2} R (IntegralComparison.BoundedCrystalline.Site.topology f n) |
| 70 | (IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f n Fn) Kn |
| 71 | (IntegralComparison.BoundedFrame.DeRhamSections.sheafMap f n Fn) := by |
| 72 | apply HomologicalComplex.Hom.ext |
| 73 | funext i |
| 74 | exact composeSquares _ _ _ _ _ _ _ _ _ |
| 75 | (congrArg (fun q => q.f i) (restriction_stage f n m hnm (Fm := Fm))) |
| 76 | (ext_component f n m hnm a i) (IntegralComparison.BoundedLevel.FramePulledMap.sections_component f n m hnm a i) |
| 77 | |
| 78 | theorem natural : (OpenSectionNaturality.FrameOpenSectionNaturality.globalTransformation f m).app (op Fm) ≫ |
| 79 | ((restriction f n m hnm).mapHomologicalComplex (.up ℕ)).app Km ≫ |
| 80 | ((Bounded.GlobalSectionRestriction.BoundedGlobalSectionRestriction.globalSections f n).mapHomologicalComplex (.up ℕ)).map b = |
| 81 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 82 | (IntegralComparison.BoundedFrame.SectionChange.frameMap a) ≫ |
| 83 | (OpenSectionNaturality.FrameOpenSectionNaturality.globalTransformation f n).app (op Fn) := by |
| 84 | rw [OpenSectionCoordinates.FrameOpenSectionCoordinates.global_app, OpenSectionCoordinates.FrameOpenSectionCoordinates.global_app] |
| 85 | exact sectionMap f n m hnm a |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Frame.GlobalSectionLevel.FrameGlobalSectionLevel |