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.CechChartAugmentation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechInjective |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricResolution |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransportNaturality |
| 6 | |
| 7 | /-! # Cech Local -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechLocal.Comparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On every geometric affine chart, the global native comparison |
| 14 | induces an original augmentation-preserving map from its local frame. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 22 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 23 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 24 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 25 | (hp : IsPullback f Y.hom X.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (I : X.left.affineOpens) |
| 28 | |
| 29 | local notation "W" => WittVector p k |
| 30 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k Y |
| 31 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k |
| 32 | local notation "C" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.targetRing p k n X Y f I.val |
| 33 | local instance specialAlgebra : Algebra k C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra k Y (f ⁻¹ᵁ I.val) |
| 34 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p k (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k C) |
| 35 | local notation "g" => OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.AffineModelFrame.chart p k n X Y f hp I.val I.property |
| 36 | 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)) |
| 37 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechSliceResolution.opens p k n X |
| 38 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GeometricSliceDiagram.diagram p k n X Y f hp I |
| 39 | |
| 40 | local instance localSeparated : IsSeparated wI := BoundedTruncated.FrameProduct.structureMap_separated p k C |
| 41 | local instance globalSeparated : IsSeparated w := by dsimp only [Witt.Crystalline.wittStructureMap]; infer_instance |
| 42 | local instance chartOpen : IsOpenImmersion g := Truncated.AffineModelFrame.chart_open p k n X Y f hp I.val I.property |
| 43 | |
| 44 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechGeometricTotal.restriction p k n X Y f hp I |
| 45 | |
| 46 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 47 | (J := Ideal.span {(p : WittVector p k)}) |
| 48 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 49 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 50 | |
| 51 | def resolution := Bounded.GeometricResolution.resolution g hg n J |
| 52 | |
| 53 | def globalMap := ((R).mapHomologicalComplex (.up ℕ)).map |
| 54 | (CechInjective.Comparison.map p k n X Y f hp J) |
| 55 | |
| 56 | def map := CechChartMap.map p k n X Y f hp I ≫ globalMap p k n X Y f hp I J |
| 57 | |
| 58 | theorem global_augmentation : CechChartAugmentation.pullbackAugmentation p k n X Y f hp I ≫ |
| 59 | globalMap p k n X Y f hp I J = (resolution p k n X Y f hp I J).ι := |
| 60 | (Single.ComplexTransportNaturality.comp R (BoundedOpen.Sheaves.structureTransport g hg n) |
| 61 | (CechSheafResolution.augmentation p k n X Y f hp) |
| 62 | (CechInjective.Comparison.map p k n X Y f hp J)).trans |
| 63 | (congrArg (fun a => Single.ComplexTransport.map R (BoundedOpen.Sheaves.structureTransport g hg n) a) |
| 64 | (CechInjective.Comparison.augmentation p k n X Y f hp J)) |
| 65 | |
| 66 | theorem augmentation : |
| 67 | Bounded.RelativeSheafComplex.augmentation wI n (Truncated.AffineModelFrame.localFrame p k n X Y f hp I.val I.property) ≫ |
| 68 | Comparison.map p k n X Y f hp I J = (resolution p k n X Y f hp I J).ι := |
| 69 | (Category.assoc _ _ _).symm.trans |
| 70 | ((congrArg (fun a => a ≫ globalMap p k n X Y f hp I J) |
| 71 | (CechChartAugmentation.augmentation p k n X Y f hp I)).trans |
| 72 | (global_augmentation p k n X Y f hp I J)) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.CechLocal.Comparison |