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.IntegralComparison.BoundedFrame.Presheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FrameHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.RestrictionComposition |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.HomologyMapPostcomposition |
| 5 | |
| 6 | /-! # Frame Presheaf Restriction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FramePresheafRestriction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Original crystalline frame comparisons commute on homology with actual presheaf restriction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] |
| 22 | (n m : ℕ) (hnm : n ≤ m) (FY : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f m) |
| 23 | [QuasiIso (Bounded.RelativeSheafComplex.augmentation f m FY)] |
| 24 | (I : InjectiveResolution (BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 25 | (FX : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 26 | [QuasiIso (Bounded.RelativeSheafComplex.augmentation f n FX)] |
| 27 | (α : (BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm).obj FX ⟶ FY) |
| 28 | |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 30 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 31 | local notation "IX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 32 | |
| 33 | def restriction : Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} |
| 34 | R (BoundedCrystalline.Site.topology f m) (BoundedCrystalline.CrystallineCohomology.resolution f m I).cocomplex ⟶ Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} R (BoundedCrystalline.Site.topology f n) (IX).cocomplex := |
| 35 | Sheaf.PresheafSectionRestriction.complexMap G R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology f m) (BoundedCrystalline.CrystallineCohomology.resolution f m I).cocomplex |
| 36 | |
| 37 | theorem global_eq : BoundedFrame.Presheaf.Comparison.map f m FY (BoundedCrystalline.CrystallineCohomology.resolution f m I) ≫ restriction f n m hnm I = |
| 38 | FrameHomology.globalComparison f n m hnm FY I ≫ |
| 39 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom := |
| 40 | ConstantSection.RestrictionComposition.map.{u + 1, u, u + 2} G R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology f m) |
| 41 | (BoundedFrame.DeRhamSections.frameComplex f m FY) |
| 42 | (BoundedFrame.DeRhamSections.sheafMap f m FY) (BoundedFrame.Injective.Comparison.map f m FY (BoundedCrystalline.CrystallineCohomology.resolution f m I)) |
| 43 | |
| 44 | omit [QuasiIso (Bounded.RelativeSheafComplex.augmentation f m FY)] in |
| 45 | theorem local_component (i : ℕ) : (FrameHomology.localComparison f n m hnm FY I FX α).f i ≫ |
| 46 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom.f i = |
| 47 | (ModuleCat.uliftFunctor.{u + 2, u + 1} R).map ((BoundedFrame.SectionChange.frameMap α).f i) ≫ |
| 48 | (BoundedFrame.Presheaf.Comparison.map f n FX IX).f i := |
| 49 | (Category.assoc _ _ _).trans |
| 50 | (congrArg (fun a => (ModuleCat.uliftFunctor.{u + 2, u + 1} R).map |
| 51 | ((BoundedFrame.SectionChange.frameMap α).f i) ≫ a) |
| 52 | ((Category.assoc _ _ _).trans |
| 53 | (BoundedFrame.Presheaf.Comparison.factorization_component f n FX IX i).symm)) |
| 54 | |
| 55 | omit [QuasiIso (Bounded.RelativeSheafComplex.augmentation f m FY)] in |
| 56 | theorem local_eq : FrameHomology.localComparison f n m hnm FY I FX α ≫ |
| 57 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom = |
| 58 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 59 | (BoundedFrame.SectionChange.frameMap α) ≫ BoundedFrame.Presheaf.Comparison.map f n FX IX := by |
| 60 | apply HomologicalComplex.Hom.ext |
| 61 | funext i |
| 62 | exact local_component f n m hnm FY I FX α i |
| 63 | |
| 64 | theorem homology (i : ℕ) : |
| 65 | HomologicalComplex.homologyMap |
| 66 | (BoundedFrame.Presheaf.Comparison.map f m FY (BoundedCrystalline.CrystallineCohomology.resolution f m I) ≫ restriction f n m hnm I) i = |
| 67 | HomologicalComplex.homologyMap |
| 68 | (((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 69 | (BoundedFrame.SectionChange.frameMap α) ≫ BoundedFrame.Presheaf.Comparison.map f n FX IX) i := |
| 70 | (congrArg (fun a => HomologicalComplex.homologyMap a i) (global_eq f n m hnm FY I)).trans |
| 71 | ((HomologyMapPostcomposition.equality |
| 72 | (FrameHomology.globalComparison f n m hnm FY I) |
| 73 | (FrameHomology.localComparison f n m hnm FY I FX α) |
| 74 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom i |
| 75 | (FrameHomology.homology f n m hnm FY I FX α i)).trans |
| 76 | (congrArg (fun a => HomologicalComplex.homologyMap a i) (local_eq f n m hnm FY I FX α))) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FramePresheafRestriction |