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.Presheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.PulledHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.RestrictionComposition |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.HomologyMapPostcomposition |
| 5 | |
| 6 | /-! # Presheaf Restriction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.PresheafRestriction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Original crystalline frame comparisons commute on homology with actual presheaf restriction. -/ |
| 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 Y : Scheme.{u}} |
| 22 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 23 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 24 | (FY : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) |
| 25 | [QuasiIso (Bounded.RelativeSheafComplex.augmentation fY n FY)] |
| 26 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 27 | (p := p) (J := J) (δ := δ) fY n)) |
| 28 | (FX : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 29 | [QuasiIso (Bounded.RelativeSheafComplex.augmentation f n FX)] |
| 30 | (α : (BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 31 | |
| 32 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 33 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 34 | local notation "IX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution.resolution g hg n I |
| 35 | |
| 36 | def restriction : Sheaf.PresheafSectionComplex.complex.{u + 1, u, u + 1, u + 2} |
| 37 | R (BoundedCrystalline.Site.topology fY n) I.cocomplex ⟶ Bounded.GeometricResolution.complex g hg n I := |
| 38 | Sheaf.PresheafSectionRestriction.complexMap G R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) I.cocomplex |
| 39 | |
| 40 | omit [IsSeparated f] in |
| 41 | theorem global_eq : Presheaf.Comparison.map fY n FY I ≫ restriction g hg n I = |
| 42 | PulledHomology.globalComparison g hg n FY I ≫ |
| 43 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom := |
| 44 | ConstantSection.RestrictionComposition.map.{u + 1, u, u + 2} G R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) |
| 45 | (DeRhamSections.frameComplex fY n FY) |
| 46 | (DeRhamSections.sheafMap fY n FY) (Injective.Comparison.map fY n FY I) |
| 47 | |
| 48 | omit [IsSeparated fY] [QuasiIso (Bounded.RelativeSheafComplex.augmentation fY n FY)] in |
| 49 | theorem local_component (i : ℕ) : (PulledHomology.localComparison g hg n FY I FX α).f i ≫ |
| 50 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom.f i = |
| 51 | (ModuleCat.uliftFunctor.{u + 2, u + 1} R).map ((SectionChange.frameMap α).f i) ≫ |
| 52 | (Presheaf.Comparison.map f n FX IX).f i := |
| 53 | (Category.assoc _ _ _).trans |
| 54 | (congrArg (fun a => (ModuleCat.uliftFunctor.{u + 2, u + 1} R).map |
| 55 | ((SectionChange.frameMap α).f i) ≫ a) |
| 56 | ((Category.assoc _ _ _).trans |
| 57 | (Presheaf.Comparison.factorization_component f n FX IX i).symm)) |
| 58 | |
| 59 | omit [IsSeparated fY] [QuasiIso (Bounded.RelativeSheafComplex.augmentation fY n FY)] in |
| 60 | theorem local_eq : PulledHomology.localComparison g hg n FY I FX α ≫ |
| 61 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom = |
| 62 | ((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 63 | (SectionChange.frameMap α) ≫ Presheaf.Comparison.map f n FX IX := by |
| 64 | apply HomologicalComplex.Hom.ext |
| 65 | funext i |
| 66 | exact local_component g hg n FY I FX α i |
| 67 | |
| 68 | theorem homology (i : ℕ) : |
| 69 | HomologicalComplex.homologyMap |
| 70 | (Presheaf.Comparison.map fY n FY I ≫ restriction g hg n I) i = |
| 71 | HomologicalComplex.homologyMap |
| 72 | (((ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapHomologicalComplex (.up ℕ)).map |
| 73 | (SectionChange.frameMap α) ≫ Presheaf.Comparison.map f n FX IX) i := |
| 74 | (congrArg (fun a => HomologicalComplex.homologyMap a i) (global_eq g hg n FY I)).trans |
| 75 | ((HomologyMapPostcomposition.equality |
| 76 | (PulledHomology.globalComparison g hg n FY I) |
| 77 | (PulledHomology.localComparison g hg n FY I FX α) |
| 78 | (Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f n) (IX).cocomplex).hom i |
| 79 | (PulledHomology.homology g hg n FY I FX α i)).trans |
| 80 | (congrArg (fun a => HomologicalComplex.homologyMap a i) (local_eq g hg n FY I FX α))) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.PresheafRestriction |