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.Bounded.ZariskiAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionGlobal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ZariskiCechSections |
| 4 | |
| 5 | /-! # Cech Resolution -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: finite Čech descent computes original bounded crystalline Ext |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 23 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 24 | (p := p) (J := J) (δ := δ) fY n)) |
| 25 | |
| 26 | def imageComplex : CochainComplex |
| 27 | (Sheaf (Opens.grothendieckTopology Y) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))) ℕ := |
| 28 | ((BoundedOpen.SectionSheaf.functor fY n).mapHomologicalComplex (ComplexShape.up ℕ)).obj I.cocomplex |
| 29 | |
| 30 | theorem image_injective (q : ℕ) : Injective ((imageComplex fY n I).X q) := by |
| 31 | let : Injective (I.cocomplex.X q) := I.injective q |
| 32 | exact (BoundedOpen.SectionSheaf.functor fY n).injective_obj (I.cocomplex.X q) |
| 33 | |
| 34 | variable {ι : Type u} [Finite ι] (U : ι → Y.Opens) |
| 35 | |
| 36 | def smallTotal : CochainComplex (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ := |
| 37 | ZariskiCechSections.total (Crystalline.ExactRestriction.Coeff (B := B)) Y U (imageComplex fY n I) |
| 38 | |
| 39 | def total : CochainComplex (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ := |
| 40 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 41 | (smallTotal fY n I U) |
| 42 | |
| 43 | def sourceIso : |
| 44 | (((ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 45 | (((ZariskiCechSections.sections (Crystalline.ExactRestriction.Coeff (B := B)) Y).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 46 | (imageComplex fY n I))) ≅ |
| 47 | (((BoundedOpen.SectionComplex.evaluation (B := B) (⊤ : Y.Opens)).mapHomologicalComplex |
| 48 | (ComplexShape.up ℕ)).obj (BoundedOpen.SectionComplex.complex fY n I)) := Iso.refl _ |
| 49 | |
| 50 | def comparison : |
| 51 | (((BoundedOpen.SectionComplex.evaluation (B := B) (⊤ : Y.Opens)).mapHomologicalComplex |
| 52 | (ComplexShape.up ℕ)).obj (BoundedOpen.SectionComplex.complex fY n I)) ⟶ total fY n I U := |
| 53 | (sourceIso fY n I).inv ≫ |
| 54 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 55 | (ZariskiCechSections.comparison (Crystalline.ExactRestriction.Coeff (B := B)) Y U (imageComplex fY n I)) |
| 56 | |
| 57 | theorem comparison_quasiIso (hU : iSup U = ⊤) : QuasiIso (comparison fY n I U) := by |
| 58 | have : QuasiIso (ZariskiCechSections.comparison (Crystalline.ExactRestriction.Coeff (B := B)) Y U (imageComplex fY n I)) := |
| 59 | ZariskiCechSections.comparison_quasiIso (Crystalline.ExactRestriction.Coeff (B := B)) Y U (imageComplex fY n I) hU |
| 60 | (image_injective fY n I) |
| 61 | have hm : QuasiIso |
| 62 | (((ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 63 | (ZariskiCechSections.comparison (Crystalline.ExactRestriction.Coeff (B := B)) Y U (imageComplex fY n I))) := |
| 64 | HomologicalComplex.quasiIso_map_of_preservesHomology |
| 65 | (ZariskiCechSections.comparison (Crystalline.ExactRestriction.Coeff (B := B)) Y U (imageComplex fY n I)) |
| 66 | (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))) |
| 67 | exact quasiIso_comp (sourceIso fY n I).inv _ (hφ' := hm) |
| 68 | |
| 69 | def homologyIso (hU : iSup U = ⊤) (i : ℕ) : (total fY n I U).homology i ≅ |
| 70 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) |
| 71 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) fY n i) := by |
| 72 | have : QuasiIso (comparison fY n I U) := comparison_quasiIso fY n I U hU |
| 73 | exact (isoOfQuasiIsoAt (comparison fY n I U) i).symm ≪≫ BoundedOpen.SectionGlobal.homologyIso fY n I i |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CechResolution |