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.SectionComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Support |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PropertySections |
| 4 | |
| 5 | /-! # Section Global -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionGlobal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: global sections of the open-section complex compute the original bounded crystalline Ext |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 23 | |
| 24 | def linearEquiv (F : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n) : |
| 25 | ((Functor.const (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n)ᵒᵖ).obj |
| 26 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) ⟶ F.obj) ≃ₗ[Crystalline.ExactRestriction.Coeff (B := B)] |
| 27 | ((SectionPresheaf.functor fY n).obj F).obj (op ⊤) := |
| 28 | PropertySections.linearEquiv (Crystalline.ExactRestriction.Coeff (B := B)) (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) (Crystalline.ExactRestriction.Coeff (B := B))) |
| 29 | (SectionPresheaf.property fY n ⊤) (Support.property_top fY n) F.obj |
| 30 | |
| 31 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 32 | (p := p) (J := J) (δ := δ) fY n)) |
| 33 | |
| 34 | def globalComplex : CochainComplex (ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ := |
| 35 | Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} (Crystalline.ExactRestriction.Coeff (B := B)) |
| 36 | (BoundedCrystalline.Site.topology fY n) I.cocomplex |
| 37 | |
| 38 | def complexIso : globalComplex fY n I ≅ |
| 39 | ((SectionComplex.evaluation (B := B) (⊤ : Y.Opens)).mapHomologicalComplex |
| 40 | (ComplexShape.up ℕ)).obj (SectionComplex.complex fY n I) := |
| 41 | HomologicalComplex.Hom.isoOfComponents |
| 42 | (fun i => (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).mapIso |
| 43 | (linearEquiv fY n (I.cocomplex.X i)).toModuleIso) |
| 44 | (by |
| 45 | intro i j hij |
| 46 | apply ModuleCat.hom_ext |
| 47 | apply LinearMap.ext |
| 48 | intro x |
| 49 | rfl) |
| 50 | |
| 51 | def homologyIso (i : ℕ) : |
| 52 | (((SectionComplex.evaluation (B := B) (⊤ : Y.Opens)).mapHomologicalComplex |
| 53 | (ComplexShape.up ℕ)).obj (SectionComplex.complex fY n I)).homology i ≅ |
| 54 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := B)) |
| 55 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) (J := J) (δ := δ) fY n i) := |
| 56 | (HomologicalComplex.homologyFunctor _ _ i).mapIso (complexIso fY n I).symm ≪≫ |
| 57 | Sheaf.PresheafSectionComplex.homologyIso.{u + 1, u, u + 1, u + 2} |
| 58 | (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology fY n) I i |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionGlobal |