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.CechLocalAcyclic |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechLocal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SubchartResolution |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Acyclic.ToInjectiveQuasiIso |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.QuasiIsoFunctorIso |
| 7 | import OAI.NumberTheory.PadicHodge.GeometricComparison.QuasiIsoRight |
| 8 | |
| 9 | /-! # Local Section Quasi Iso -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalSectionQuasiIso.Cech |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! The actual global native comparison is a quasi-isomorphism on |
| 16 | sections over every affine intersection in the integral coordinate cover. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 24 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 25 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 26 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 27 | (hp : IsPullback f Y.hom X.hom |
| 28 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 29 | (I : X.left.affineOpens) |
| 30 | |
| 31 | local notation "W" => WittVector p k |
| 32 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 33 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 34 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 35 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 36 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 37 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property |
| 38 | 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)) |
| 39 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 40 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram.diagram p k n X Y f hp I |
| 41 | |
| 42 | local instance localSeparated : IsSeparated wI := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 43 | local instance globalSeparated : IsSeparated w := by dsimp only [Witt.Crystalline.wittStructureMap]; infer_instance |
| 44 | local instance chartOpen : IsOpenImmersion g := Truncated.AffineModelFrame.chart_open p k n X Y f hp I.val I.property |
| 45 | |
| 46 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal.restriction p k n X Y f hp I |
| 47 | |
| 48 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 49 | (J := Ideal.span {(p : WittVector p k)}) |
| 50 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 51 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 52 | |
| 53 | local notation "CoeffR" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 54 | abbrev extSections := CechLocalAcyclic.Comparison.extSections p k n X Y f I |
| 55 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalSectionQuasiIso.Cech.extSections p k n X Y f I |
| 56 | local notation "FI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.localFrame p k n X Y f hp I.val I.property |
| 57 | |
| 58 | variable (i : AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.Index (Truncated.Witt.Ring p k n) X) |
| 59 | (hi : I.val ≤ (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (Truncated.Witt.Ring p k n) X i).val) |
| 60 | |
| 61 | include hi in |
| 62 | theorem chartMap_ext_quasiIso : QuasiIso (((E).mapHomologicalComplex (.up ℕ)).map |
| 63 | (CechChartMap.map p k n X Y f hp I)) := |
| 64 | CechChartMap.sections_quasiIso.{1, 2} |
| 65 | p k n X Y f hp I CoeffR E i hi |
| 66 | |
| 67 | include hi in |
| 68 | theorem globalMap_ext_quasiIso : QuasiIso (((E).mapHomologicalComplex (.up ℕ)).map |
| 69 | (CechLocal.Comparison.globalMap p k n X Y f hp I J)) := by |
| 70 | exact GeometricComparison.QuasiIsoRight.QuasiIsoFunctorComposition.right ((E).mapHomologicalComplex (.up ℕ)) |
| 71 | (CechChartMap.map p k n X Y f hp I) (CechLocal.Comparison.globalMap p k n X Y f hp I J) |
| 72 | (chartMap_ext_quasiIso p k n X Y f hp I i hi) |
| 73 | (CechLocalAcyclic.Comparison.localMap_quasiIso p k n X Y f hp I J i hi) |
| 74 | |
| 75 | include hi in |
| 76 | theorem globalMap_sections_quasiIso : QuasiIso |
| 77 | (((Sheaf.PresheafSectionComplex.sectionFunctor.{1, 0, 1, 2} CoeffR (BoundedCrystalline.Site.topology wI n)).mapHomologicalComplex (.up ℕ)).map |
| 78 | (CechLocal.Comparison.globalMap p k n X Y f hp I J)) := by |
| 79 | let := globalMap_ext_quasiIso p k n X Y f hp I J i hi |
| 80 | exact QuasiIsoFunctorIso.transport _ _ (NatIso.mapHomologicalComplex |
| 81 | (Ext.ZeroPresheafSections.iso.{1, 0, 1, 2} CoeffR (BoundedCrystalline.Site.topology wI n)) (.up ℕ)) |
| 82 | (CechLocal.Comparison.globalMap p k n X Y f hp I J) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.LocalSectionQuasiIso.Cech |