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.BoundedLevel.Ext |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.ExtRestrictionCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FramePresheafRestriction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.SectionCohomologyCoordinates |
| 5 | |
| 6 | /-! # Presheaf Ext -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.PresheafExt |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual bounded-level presheaf restriction induces exactly the original crystalline Ext transition. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n m : ℕ) (hnm : n ≤ m) |
| 22 | (I : InjectiveResolution (BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 23 | |
| 24 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 25 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 26 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 27 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f m I |
| 28 | local notation "r" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FramePresheafRestriction.restriction f n m hnm I |
| 29 | local notation "s" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.Ext.Comparison.complexMap f n m hnm I |
| 30 | local notation "en" => OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionComplex.complexIso R (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology f n) (InjectiveResolution.cocomplex In) |
| 31 | local notation "em" => OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.PresheafSectionComplex.complexIso R (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology f m) (InjectiveResolution.cocomplex Im) |
| 32 | |
| 33 | theorem complexes : s ≫ (en).hom = (em).hom ≫ r := |
| 34 | Sheaf.ExtRestrictionCoordinates.complexes.{u + 1, u, u + 2} G R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology f m) (Im).cocomplex |
| 35 | |
| 36 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap r i ≫ |
| 37 | (Sheaf.PresheafSectionComplex.homologyIso R (BoundedCrystalline.Site.topology f n) In i).hom = |
| 38 | (Sheaf.PresheafSectionComplex.homologyIso R (BoundedCrystalline.Site.topology f m) Im i).hom ≫ |
| 39 | ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i) := |
| 40 | Sheaf.SectionCohomologyCoordinates.homology.{u + 1, u, u + 2} R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology f m) |
| 41 | In Im s r i (ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i)) |
| 42 | (complexes f n m hnm I) (Ext.Comparison.homology f n m hnm I i) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.PresheafExt |