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.BoundedFrame.Injective |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexComposition |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexRestriction |
| 5 | |
| 6 | /-! # Presheaf -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Presheaf.Comparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The canonical frame comparison in the original presheaf-section coordinates. -/ |
| 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 : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 21 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 22 | (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 23 | (F : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 24 | [QuasiIso (Bounded.RelativeSheafComplex.augmentation f n F)] |
| 25 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 26 | (p := p) (J := J) (δ := δ) f n)) |
| 27 | |
| 28 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 29 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.constantUnit (p := p) (J := J) (δ := δ) f n |
| 30 | local notation "D" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.DeRhamSections.frameComplex f n F |
| 31 | |
| 32 | def map : ConstantSection.ComplexMap.source.{u + 1, u + 2} R D ⟶ |
| 33 | Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} R (BoundedCrystalline.Site.topology f n) I.cocomplex := |
| 34 | ConstantSection.ComplexRestriction.sectionMap R (BoundedCrystalline.Site.topology f n) D I.cocomplex |
| 35 | (DeRhamSections.sheafMap f n F ≫ Injective.Comparison.map f n F I) |
| 36 | |
| 37 | theorem factorization_component (i : ℕ) : (Comparison.map f n F I).f i = |
| 38 | (DeRhamSections.sectionsMap f n F).f i ≫ |
| 39 | (Ext.ModuleFunctor.functor R A 0).map ((Injective.Comparison.map f n F I).f i) ≫ |
| 40 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) I.cocomplex).hom.f i := |
| 41 | (congrArg (fun a => a ≫ (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) I.cocomplex).hom.f i) |
| 42 | (ConstantSection.ComplexComposition.component.{u + 1, u, u + 1, u + 2} R (BoundedCrystalline.Site.topology f n) D |
| 43 | (DeRhamSections.sheafMap f n F) (Injective.Comparison.map f n F I) i)).trans |
| 44 | (Category.assoc _ _ _) |
| 45 | |
| 46 | /-- The section comparison factored through the injective resolution. -/ |
| 47 | def factorizedMap : ConstantSection.ComplexMap.source.{u + 1, u + 2} R D ⟶ |
| 48 | Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} R (BoundedCrystalline.Site.topology f n) I.cocomplex := |
| 49 | DeRhamSections.sectionsMap f n F ≫ |
| 50 | ((Ext.ModuleFunctor.functor R A 0).mapHomologicalComplex (.up ℕ)).map |
| 51 | (Injective.Comparison.map f n F I) ≫ |
| 52 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) I.cocomplex).hom |
| 53 | |
| 54 | private theorem factorizedMap_component (i : ℕ) : (factorizedMap f n F I).f i = |
| 55 | (DeRhamSections.sectionsMap f n F).f i ≫ |
| 56 | (Ext.ModuleFunctor.functor R A 0).map ((Injective.Comparison.map f n F I).f i) ≫ |
| 57 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) I.cocomplex).hom.f i := rfl |
| 58 | |
| 59 | private theorem map_eq_factorized : Comparison.map f n F I = factorizedMap f n F I := by |
| 60 | apply HomologicalComplex.Hom.ext |
| 61 | funext i |
| 62 | exact (factorization_component f n F I i).trans |
| 63 | (factorizedMap_component f n F I i).symm |
| 64 | |
| 65 | theorem factorization : Comparison.map f n F I = factorizedMap f n F I := |
| 66 | map_eq_factorized f n F I |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.Presheaf.Comparison |