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.BoundedTruncated.FrameProduct |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.ChartTotalCoefficient |
| 4 | |
| 5 | /-! # Cech Chart Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechChartMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual local frame resolution maps canonically into the |
| 12 | restricted global native Cech total; additive section functors preserve |
| 13 | this map as a quasi-isomorphism on every covered affine subchart. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 21 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 22 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 23 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 24 | (hp : IsPullback f Y.hom X.hom |
| 25 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (I : X.left.affineOpens) |
| 27 | |
| 28 | local notation "W" => WittVector p k |
| 29 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 30 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 31 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 32 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 33 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 34 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property |
| 35 | local notation "hg" => (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.OpenPresentation.overWitt p k C Y (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property) (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart_over p k n X Y f hp I.val I.property)) |
| 36 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 37 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram.diagram p k n X Y f hp I |
| 38 | |
| 39 | local instance localSeparated : IsSeparated wI := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 40 | local instance globalSeparated : IsSeparated w := by dsimp only [Witt.Crystalline.wittStructureMap]; infer_instance |
| 41 | local instance chartOpen : IsOpenImmersion g := Truncated.AffineModelFrame.chart_open p k n X Y f hp I.val I.property |
| 42 | |
| 43 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal.localSheafification p k n X Y f I |
| 44 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram.meet_isIso p k n X Y f hp I |
| 45 | |
| 46 | def map := (CechGeometricTotal.localFrameIso p k n X Y f hp I).inv ≫ |
| 47 | ((L).mapHomologicalComplex (.up ℕ)).map |
| 48 | (GeometricComparison.Semilattice.ChartTotal.SemilatticeChartTotal.map X.left.affineOpens U I P H) ≫ |
| 49 | (CechGeometricTotal.iso p k n X Y f hp I).inv |
| 50 | |
| 51 | universe r s |
| 52 | variable (R : Type r) [CommRing R] |
| 53 | (F : BoundedCrystalline.Site.ModuleSheaf (p := p) |
| 54 | (J := Ideal.span {(p : WittVector p k)}) |
| 55 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 56 | (Witt.Crystalline.wittStructureMap p k (Crystalline.Presentation.affineScheme k (Truncated.AffineModelFrame.targetRing p k n X Y f I.val))) n |
| 57 | ⥤ ModuleCat.{max r s} R) [F.Additive] |
| 58 | (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 59 | (hi : I ≤ CechSliceResolution.opens p k n X i) |
| 60 | |
| 61 | include hi in |
| 62 | theorem sections_quasiIso : QuasiIso ((F.mapHomologicalComplex (.up ℕ)).map (CechChartMap.map p k n X Y f hp I)) := by |
| 63 | have hmiddle : QuasiIso ((F.mapHomologicalComplex (.up ℕ)).map |
| 64 | (((L).mapHomologicalComplex (.up ℕ)).map (GeometricComparison.Semilattice.ChartTotal.SemilatticeChartTotal.map X.left.affineOpens U I P H))) := |
| 65 | GeometricComparison.Semilattice.ChartTotalCoefficient.SemilatticeChartTotalCoefficient.quasiIso X.left.affineOpens I R (L ⋙ F) P H U i hi |
| 66 | let er := (F.mapHomologicalComplex (.up ℕ)).mapIso (CechGeometricTotal.iso p k n X Y f hp I) |
| 67 | have hr : QuasiIso er.inv := inferInstance |
| 68 | rw [CechChartMap.map, CategoryTheory.Functor.map_comp] |
| 69 | erw [CategoryTheory.Functor.map_comp] |
| 70 | apply (quasiIso_iff_comp_left _ _).mpr |
| 71 | apply (quasiIso_iff_comp_right _ er.inv (hφ' := hr)).mpr |
| 72 | exact hmiddle |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechChartMap |