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.Acyclic.InjectiveSections |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.ToGlobalResolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.DeRham |
| 4 | |
| 5 | /-! # Global Sections -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.GlobalSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: actual chart de Rham sections compute a restricted global crystalline injective resolution |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k C σ : Type u) [Field k] [Fintype k] [CharP k p] |
| 22 | [CommRing C] [Algebra k C] [LinearOrder σ] [Fintype σ] [Algebra (MvPolynomial σ k) C] |
| 23 | [IsScalarTower k (MvPolynomial σ k) C] [Algebra.Etale (MvPolynomial σ k) C] |
| 24 | {Y : Scheme.{u}} {fY : Y ⟶ Spec (CommRingCat.of (WittVector p k))} |
| 25 | (g : (Crystalline.Presentation.affineScheme k C).left ⟶ Y) [Mono g] |
| 26 | (hg : g ≫ fY = Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k C)) |
| 27 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 28 | (J := Ideal.span {(p : WittVector p k)}) |
| 29 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) fY 0)) |
| 30 | |
| 31 | local notation "f" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 32 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.ZeroLevel.LevelFrame.boundedFrame p k C |
| 33 | local notation "IX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution.resolution g hg 0 I |
| 34 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 35 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.constantUnit (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p k)}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) f 0 |
| 38 | |
| 39 | def map : BoundedEtale.ZeroCohomology.Comparison.complex p k C ⟶ |
| 40 | InjectiveSectionCohomology.complex R A IX := |
| 41 | Acyclic.InjectiveSections.map R A (Bounded.RelativeSheafComplex.complex f 0 F) IX |
| 42 | (ToGlobalResolution.map p k C σ g hg I) |
| 43 | |
| 44 | instance map_quasiIso : QuasiIso (map p k C σ g hg I) := by |
| 45 | let : QuasiIso (Bounded.RelativeSheafComplex.augmentation f 0 F) := |
| 46 | BoundedEtale.ZeroResolution.augmentation_quasiIso p k C σ |
| 47 | exact Acyclic.InjectiveSections.quasiIso R A (Bounded.RelativeSheafComplex.complex f 0 F) |
| 48 | (Bounded.RelativeSheafComplex.augmentation f 0 F) IX |
| 49 | (ToGlobalResolution.map p k C σ g hg I) |
| 50 | (ToGlobalResolution.augmentation p k C σ g hg I) |
| 51 | (fun n q => BoundedEtale.ZeroAcyclicTerms.positive_cohomology_zero p k C σ n q) |
| 52 | |
| 53 | def sectionIso : InjectiveSectionCohomology.complex R A IX ≅ |
| 54 | Bounded.GeometricResolution.complex g hg 0 I := |
| 55 | Sheaf.PresheafSectionComplex.complexIso R (BoundedCrystalline.Site.topology f 0) (IX).cocomplex |
| 56 | |
| 57 | def presheafMap : BoundedEtale.ZeroCohomology.Comparison.complex p k C ⟶ |
| 58 | Bounded.GeometricResolution.complex g hg 0 I := |
| 59 | map p k C σ g hg I ≫ (sectionIso p k C g hg I).hom |
| 60 | |
| 61 | instance presheafMap_quasiIso : QuasiIso (presheafMap p k C σ g hg I) := by |
| 62 | dsimp only [presheafMap] |
| 63 | infer_instance |
| 64 | |
| 65 | def deRhamMap : DeRham.Comparison.deRhamComplex p k C ⟶ |
| 66 | Bounded.GeometricResolution.complex g hg 0 I := |
| 67 | (DeRham.Comparison.frameIso p k C).inv ≫ |
| 68 | (BoundedEtale.ZeroFrameDeRhamIso.complexIso p k C σ).hom ≫ presheafMap p k C σ g hg I |
| 69 | |
| 70 | instance deRhamMap_quasiIso : QuasiIso (deRhamMap p k C σ g hg I) := by |
| 71 | dsimp only [deRhamMap] |
| 72 | infer_instance |
| 73 | |
| 74 | def homologyIso (i : ℕ) : (DeRham.Comparison.deRhamComplex p k C).homology i ≅ |
| 75 | (Bounded.GeometricResolution.complex g hg 0 I).homology i := |
| 76 | isoOfQuasiIsoAt (deRhamMap p k C σ g hg I) i |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.EtaleZero.GlobalSections |