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.FrameCech.Ext |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechComplex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.ResolutionCohomology |
| 4 | |
| 5 | /-! # Cech Cohomology -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native frame Čech complex computes original bounded crystalline cohomology in all degrees. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 20 | {J : Ideal (WittVector p k)} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | (f : X ⟶ Spec (CommRingCat.of (WittVector p k))) [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 := WittVector p k) |
| 25 | |
| 26 | def complex : CochainComplex (ModuleCat.{u + 2} R) ℕ := |
| 27 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).obj |
| 28 | (CechComplex.complex f n F) |
| 29 | |
| 30 | def comparison : ResolutionCohomology.complex p k f n F ≅ complex p k f n F := |
| 31 | FrameCech.Ext.Comparison.comparison.{u + 1, u, u + 2} F R (BoundedCrystalline.Site.topology f n) |
| 32 | (BoundedCrystalline.CrystallineCohomology.structureSheaf f n) |
| 33 | |
| 34 | def homologyIso (hcover : ∀ U, CoveringObjectsSheafDetection.sieve F U ∈ BoundedCrystalline.Site.topology f n U) (i : ℕ) : |
| 35 | (complex p k f n F).homology i ≅ ModuleCat.of R |
| 36 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) := |
| 37 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (comparison p k f n F).symm ≪≫ |
| 38 | ResolutionCohomology.homologyIso p k f n F hcover i |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.CechCohomology |