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.BoundedOpen.OpenCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionComplex |
| 3 | |
| 4 | /-! # Resolution -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Resolution |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: a global bounded injective resolution computes the original chart cohomology |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (g : X ⟶ Y) (n : ℕ) |
| 22 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 23 | (p := p) (J := J) (δ := δ) fY n)) |
| 24 | |
| 25 | def resolution : InjectiveResolution |
| 26 | (Sheaves.structureSheaf (p := p) (J := J) (δ := δ) fY g n) := |
| 27 | ExactInjectiveResolution.map (Subsite.restriction fY g n) I |
| 28 | |
| 29 | def complex : CochainComplex (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ := |
| 30 | Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} |
| 31 | (Crystalline.ExactRestriction.Coeff (B := B)) (Subsite.topology fY g n) (resolution fY g n I).cocomplex |
| 32 | |
| 33 | def subsiteHomologyIso (i : ℕ) : (complex fY g n I).homology i ≅ |
| 34 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) |
| 35 | (OpenCohomology.Cohomology (p := p) (J := J) (δ := δ) fY g n i) := |
| 36 | Sheaf.PresheafSectionComplex.homologyIso.{u + 1, u, u + 1, u + 2} |
| 37 | (Crystalline.ExactRestriction.Coeff (B := B)) (Subsite.topology fY g n) (resolution fY g n I) i |
| 38 | |
| 39 | variable {fY} {f : X ⟶ Spec (CommRingCat.of B)} [Mono g] (hg : g ≫ fY = f) |
| 40 | |
| 41 | def homologyIso (i : ℕ) : (complex fY g n I).homology i ≅ |
| 42 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) |
| 43 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) f n i) := |
| 44 | subsiteHomologyIso fY g n I i ≪≫ |
| 45 | (OpenCohomology.cohomologyEquiv g n hg i).toModuleIso |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Resolution |