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.CechChartAugmentation |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechInjective |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransportNaturality |
| 5 | |
| 6 | /-! # Cech Local -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechLocal.IntrinsicPadicCechLocalComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! On every geometric affine chart, the global native comparison |
| 13 | induces an original augmentation-preserving map from its local frame. -/ |
| 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]))) [IsProper X.hom] [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 "P" => 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 "R" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechTotal.IntrinsicPadicCechGeometricTotal.restriction p X Y f hp n I |
| 40 | |
| 41 | variable (J : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 43 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 44 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 45 | |
| 46 | def resolution := IntegralComparison.Bounded.GeometricResolution.resolution g hg n J |
| 47 | |
| 48 | def globalMap := ((R).mapHomologicalComplex (.up ℕ)).map |
| 49 | (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp n J) |
| 50 | |
| 51 | def map := CechChartMap.IntrinsicPadicCechChartMap.map p X Y f hp n I ≫ globalMap p X Y f hp n I J |
| 52 | |
| 53 | theorem global_augmentation : CechChartAugmentation.IntrinsicPadicCechChartAugmentation.pullbackAugmentation p X Y f hp n I ≫ |
| 54 | globalMap p X Y f hp n I J = (resolution p X Y f hp n I J).ι := |
| 55 | (IntegralComparison.Single.ComplexTransportNaturality.comp R (IntegralComparison.BoundedOpen.Sheaves.structureTransport g hg n) |
| 56 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation p X Y f hp n) |
| 57 | (CechInjective.IntrinsicPadicCechInjectiveComparison.map p X Y f hp n J)).trans |
| 58 | (congrArg (fun a => IntegralComparison.Single.ComplexTransport.map R (IntegralComparison.BoundedOpen.Sheaves.structureTransport g hg n) a) |
| 59 | (CechInjective.IntrinsicPadicCechInjectiveComparison.augmentation p X Y f hp n J)) |
| 60 | |
| 61 | theorem augmentation : |
| 62 | IntegralComparison.Bounded.RelativeSheafComplex.augmentation wI n (AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp I.val I.property n) ≫ |
| 63 | IntrinsicPadicCechLocalComparison.map p X Y f hp n I J = (resolution p X Y f hp n I J).ι := |
| 64 | (Category.assoc _ _ _).symm.trans |
| 65 | ((congrArg (fun a => a ≫ globalMap p X Y f hp n I J) |
| 66 | (CechChartAugmentation.IntrinsicPadicCechChartAugmentation.augmentation p X Y f hp n I)).trans |
| 67 | (global_augmentation p X Y f hp n I J)) |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechLocal.IntrinsicPadicCechLocalComparison |