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.BoundedSupported.Cech |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechReindexHomology |
| 3 | |
| 4 | /-! # Cech Reindex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechReindex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reindexing the actual supported Čech cover preserves its map |
| 11 | to the original bounded crystalline cohomology. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 21 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 22 | (p := p) (J := J) (δ := δ) fY n)) |
| 23 | {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 24 | (r : C ⥤ D) [PreservesFiniteProducts r] (F : D ⥤ Y.Opens) |
| 25 | {ι : Type u} [LinearOrder ι] (U : ι → C) (O : Y.Opens) |
| 26 | |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 28 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.FlasqueComplex.complex fY n I |
| 29 | |
| 30 | local instance coefficient_limits : HasLimitsOfSize.{u, u} (ModuleCat.{u + 2} R) := |
| 31 | ModuleCat.hasLimitsOfSize.{u, u, u + 2, u + 1} |
| 32 | local instance coefficient_colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{u + 2} R) := |
| 33 | ModuleCat.hasColimitsOfSize.{u + 2, u + 1, 0, 0} R |
| 34 | |
| 35 | def totalIso : |
| 36 | ((Cech.bicomplex fY n I (r ⋙ F) U).total (.up ℕ)) ≅ |
| 37 | ((Cech.bicomplex fY n I F (r.obj ∘ U)).total (.up ℕ)) := |
| 38 | Supported.OrderedCechReindex.totalIso R Y.carrier r F U K |
| 39 | |
| 40 | variable (hO : ∀ i, F.obj (r.obj (U i)) ≤ O) |
| 41 | (hcoverC : (r ⋙ F).obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (r.obj (U i))) |
| 42 | (hcoverD : F.obj (⊤_ D) ⊓ O ≤ ⨆ i, F.obj (r.obj (U i))) |
| 43 | (hrowsC : ∀ q m, ((Cech.bicomplex fY n I (r ⋙ F) U).X q).ExactAt (m + 1)) |
| 44 | (hrowsD : ∀ q m, ((Cech.bicomplex fY n I F (r.obj ∘ U)).X q).ExactAt (m + 1)) |
| 45 | (hglobalC : (r ⋙ F).obj (⊤_ C) ⊔ O = ⊤) |
| 46 | (hglobalD : F.obj (⊤_ D) ⊔ O = ⊤) |
| 47 | |
| 48 | theorem comparison (i : ℕ) : |
| 49 | HomologicalComplex.homologyMap (totalIso fY n I r F U).hom i ≫ |
| 50 | Cech.toBounded fY n I F (r.obj ∘ U) O hO hcoverD hrowsD hglobalD i = |
| 51 | Cech.toBounded fY n I (r ⋙ F) U O hO hcoverC hrowsC hglobalC i := by |
| 52 | have h := Supported.OrderedCechReindexHomology.comparison R Y.carrier r F U O K |
| 53 | hO hcoverC hcoverD hrowsC hrowsD hglobalC hglobalD i |
| 54 | have hs := congrArg (fun a => a ≫ (BoundedOpen.SectionGlobal.homologyIso fY n I i).hom) h |
| 55 | simpa only [totalIso, Cech.toBounded, |
| 56 | Sections.forgetSupport, Sections.extension, |
| 57 | Supported.OrderedCech.Comparison.forgetSupport, Category.assoc] using hs |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechReindex |