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.NonemptyCechNerve |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Products |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.StructureDescent |
| 5 | |
| 6 | /-! # Cech Complex -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechComplex |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual bounded crystalline frame Čech cochains, with the original structure presheaf and sheaf. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 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] (n : ℕ) |
| 22 | {ι : Type u} (F : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 23 | |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 25 | |
| 26 | local instance coefficientProducts : HasProducts.{u} (ModuleCat.{u + 1} R) := by |
| 27 | let h : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := |
| 28 | ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 29 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 30 | |
| 31 | def ringComplex : CochainComplex (ModuleCat.{u} B) ℕ := |
| 32 | (NonemptyCechNerve.complexFunctor (A := ModuleCat.{u} B) F).obj |
| 33 | ((BoundedCrystalline.Site.inclusion f n).op ⋙ BigCrystallineCohomology.modulePresheaf f) |
| 34 | |
| 35 | def presheafComplex : CochainComplex (ModuleCat.{u + 1} R) ℕ := |
| 36 | (NonemptyCechNerve.complexFunctor (A := ModuleCat.{u + 1} R) F).obj |
| 37 | ((BoundedCrystalline.Site.inclusion f n).op ⋙ BigCrystallineCohomology.largePresheaf f) |
| 38 | |
| 39 | def complex : CochainComplex (ModuleCat.{u + 1} R) ℕ := |
| 40 | (NonemptyCechNerve.complexFunctor (A := ModuleCat.{u + 1} R) F).obj |
| 41 | (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f n).obj |
| 42 | |
| 43 | def presheafIso : presheafComplex f n F ≅ complex f n F := |
| 44 | (NonemptyCechNerve.complexFunctor (A := ModuleCat.{u + 1} R) F).mapIso |
| 45 | (Functor.isoWhiskerLeft (BoundedCrystalline.Site.inclusion f n).op (Crystalline.StructureDescent.structurePresheafIso f)) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechComplex |