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.GeometricComparison.IntrinsicPadic.SectionBifunctor |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechTotal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Bounded.ChartSectionFunctorIso |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage |
| 5 | |
| 6 | /-! # Section Row Restriction -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionRowRestriction.IntrinsicPadicSectionRowRestriction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original Zariski section rows have invertible meet restrictions, |
| 13 | via the actual geometric chart and original sheafification comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] [X.left.IsSeparated] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (n : ℕ) (I : X.left.affineOpens) |
| 23 | |
| 24 | local notation "W" => WittVector p (ZMod p) |
| 25 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 26 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 27 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f I.val |
| 28 | local instance specialAlgebra : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ I.val) |
| 29 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) C) |
| 30 | local notation "g" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp I.val I.property |
| 31 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp I.val I.property |
| 32 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 33 | local notation "Pgeo" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SliceDiagram.IntrinsicPadicGeometricSliceDiagram.diagram p X Y f hp n I |
| 34 | |
| 35 | local instance localSeparated : IsSeparated wI := IntegralComparison.BoundedSmooth.WittFrameProduct.structureMap_separated p (ZMod p) C |
| 36 | local instance globalSeparated : IsSeparated w := by dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap]; infer_instance |
| 37 | local instance chartOpen : IsOpenImmersion g := ChartImage.IntrinsicPadicOpenFrame.chart_open p X Y f hp I.val I.property |
| 38 | |
| 39 | local notation "L" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechTotal.IntrinsicPadicCechGeometricTotal.localSheafification p X Y f n I |
| 40 | local notation "H" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SliceDiagram.IntrinsicPadicGeometricSliceDiagram.meet_isIso p X Y f hp n I |
| 41 | |
| 42 | local notation "Ppre" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.diagram p X Y f hp n |
| 43 | local notation "Psh" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 44 | local notation "R" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechTotal.IntrinsicPadicCechGeometricTotal.restriction p X Y f hp n I |
| 45 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 46 | abbrev localSections := IntegralComparison.Sheaf.PresheafSectionComplex.sectionFunctor.{1, 0, 1, 2} |
| 47 | Rcoeff (IntegralComparison.BoundedCrystalline.Site.topology (p := p) (J := Ideal.span {(p : W)}) (δ := γ) wI n) |
| 48 | |
| 49 | theorem restricted_meet_isIso (V : X.left.affineOpens) : IsIso |
| 50 | (((R).mapHomologicalComplex (.up ℕ)).map |
| 51 | ((Psh).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) := by |
| 52 | let : IsIso ((Pgeo).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op) := |
| 53 | SliceDiagram.IntrinsicPadicGeometricSliceDiagram.meet_isIso p X Y f hp n I V |
| 54 | have hm : IsIso (((L).mapHomologicalComplex (.up ℕ)).map |
| 55 | ((Pgeo).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) := inferInstance |
| 56 | exact (NatIso.isIso_map_iff |
| 57 | (NatIso.mapHomologicalComplex (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n) (.up ℕ)) |
| 58 | ((Ppre).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)).mpr hm |
| 59 | |
| 60 | theorem sections_meet_isIso (V : X.left.affineOpens) : IsIso |
| 61 | (((IntegralComparison.BoundedOpen.SectionComplex.functor (p := p) (J := Ideal.span {(p : W)}) (δ := γ) w n ⋙ |
| 62 | IntegralComparison.BoundedOpen.SectionComplex.evaluation (B := W) (f ⁻¹ᵁ I.val)).mapHomologicalComplex (.up ℕ)).map |
| 63 | ((Psh).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)) := by |
| 64 | let := restricted_meet_isIso p X Y f hp n I V |
| 65 | have hm : IsIso (((localSections p X Y f n I).mapHomologicalComplex (.up ℕ)).map |
| 66 | (((R).mapHomologicalComplex (.up ℕ)).map |
| 67 | ((Psh).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op))) := inferInstance |
| 68 | have h := (NatIso.isIso_map_iff |
| 69 | (NatIso.mapHomologicalComplex (Bounded.ChartSectionFunctorIso.BoundedChartSectionFunctorIso.iso g hg n) (.up ℕ)) |
| 70 | ((Psh).map (homOfLE (inf_le_left : V ⊓ I ≤ V)).op)).mp hm |
| 71 | erw [ChartImage.IntrinsicPadicChartImage.opensRange] at h |
| 72 | exact h |
| 73 | |
| 74 | theorem meet_isIso (V : X.left.affineOpens) : IsIso |
| 75 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.rows p X Y f hp n).obj (op I)).map |
| 76 | (homOfLE (inf_le_left : V ⊓ I ≤ V)).op) := |
| 77 | (NatIso.isIso_map_iff (SectionBifunctor.IntrinsicPadicSectionBifunctor.rowIso p X Y f hp n I) |
| 78 | (homOfLE (inf_le_left : V ⊓ I ≤ V)).op).mpr |
| 79 | (sections_meet_isIso p X Y f hp n I V) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionRowRestriction.IntrinsicPadicSectionRowRestriction |