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.SourceResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Single.ComplexTransportNaturality |
| 4 | |
| 5 | /-! # Refined Resolution -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.RefinedResolution.IntrinsicPadicGeometricRefinedResolution |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original chosen source and target Cech resolutions map, with |
| 12 | their actual augmentations, into one common geometric source resolution. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 18 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 19 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 20 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 21 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 22 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 25 | |
| 26 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 27 | local notation "W" => WittVector p (ZMod p) |
| 28 | local notation "w₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ |
| 29 | local notation "w₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂ |
| 30 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) |
| 31 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 32 | (Over.Hom.left v) (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 33 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X₂ Y₂ f₂ hp₂ n |
| 34 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X₁ Y₁ f₁ hp₁ n |
| 35 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 36 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Sheaves.structureTransport (Over.Hom.left v) (OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n |
| 37 | local notation "L" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SourceResolution.IntrinsicPadicGeometricSourceResolution.complex p u Y₁ f₁ hp₁ n |
| 38 | local notation "a" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SourceResolution.IntrinsicPadicGeometricSourceResolution.augmentation p u Y₁ f₁ hp₁ n |
| 39 | |
| 40 | local instance sourceSeparated : IsSeparated w₁ := by |
| 41 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 42 | infer_instance |
| 43 | local instance targetSeparated : IsSeparated w₂ := by |
| 44 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 45 | infer_instance |
| 46 | local instance sourceCoproducts : HasCoproducts.{0} |
| 47 | (IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) |
| 48 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w₁ n) := |
| 49 | Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W)) |
| 50 | (IntegralComparison.BoundedCrystalline.Site.topology w₁ n) |
| 51 | local instance targetCoproducts : HasCoproducts.{0} |
| 52 | (IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) (J := Ideal.span {(p : W)}) |
| 53 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) w₂ n) := |
| 54 | Module.SheafCoproducts.ModuleSheafCoproducts.hasCoproducts (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := W)) |
| 55 | (IntegralComparison.BoundedCrystalline.Site.topology w₂ n) |
| 56 | |
| 57 | def sourceMap : CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X₁ Y₁ f₁ hp₁ n ⟶ L := |
| 58 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X₁ Y₁ f₁ hp₁ n).hom ≫ |
| 59 | CoverCech.IntrinsicPadicGeometricCoverCech.sourceMap p u Q |
| 60 | |
| 61 | def targetRefinement : CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X₂ Y₂ f₂ hp₂ n ⟶ |
| 62 | CechCone.Total.CechConeTotal.total U ((Affine.MapPairs.AffineMapPairs.target u.left).op ⋙ P) := |
| 63 | (PadicDiagonalCechComparison.IntrinsicPadicDiagonalCechComparison.totalIso p X₂ Y₂ f₂ hp₂ n).hom ≫ |
| 64 | CoverCech.IntrinsicPadicGeometricCoverCech.targetMap p u P |
| 65 | |
| 66 | def targetMap : ((T).mapHomologicalComplex (.up ℕ)).obj |
| 67 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.complex p X₂ Y₂ f₂ hp₂ n) ⟶ L := |
| 68 | ((T).mapHomologicalComplex (.up ℕ)).map (targetRefinement p u f₂ hp₂ n) ≫ |
| 69 | CechDiagram.IntrinsicPadicGeometricCechDiagram.map p u v f₁ f₂ hp₁ hp₂ hsquare n U |
| 70 | |
| 71 | omit [IsSeparated Y₂.hom] in |
| 72 | theorem source_augmentation : CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation p X₁ Y₁ f₁ hp₁ n ≫ |
| 73 | sourceMap p u f₁ hp₁ n = a := |
| 74 | (Category.assoc _ _ _).symm.trans |
| 75 | ((congrArg (fun b => b ≫ CoverCech.IntrinsicPadicGeometricCoverCech.sourceMap p u Q) |
| 76 | (CechSheafAugmentationCoordinates.IntrinsicPadicCechSheafAugmentationCoordinates.augmentation p X₁ Y₁ f₁ hp₁ n)).trans |
| 77 | (CoverCech.IntrinsicPadicGeometricCoverCech.source_augmentation p u Q _ |
| 78 | (PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.augmentation p X₁ Y₁ f₁ hp₁ n))) |
| 79 | |
| 80 | omit [IsSeparated Y₁.hom] in |
| 81 | theorem target_refinement_augmentation : CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation p X₂ Y₂ f₂ hp₂ n ≫ |
| 82 | targetRefinement p u f₂ hp₂ n = |
| 83 | CechCone.Total.CechConeTotal.augmentation U ((Affine.MapPairs.AffineMapPairs.target u.left).op ⋙ P) _ |
| 84 | (CechDiagram.IntrinsicPadicGeometricCechDiagram.targetCone p u f₂ hp₂ n) := |
| 85 | (Category.assoc _ _ _).symm.trans |
| 86 | ((congrArg (fun b => b ≫ CoverCech.IntrinsicPadicGeometricCoverCech.targetMap p u P) |
| 87 | (CechSheafAugmentationCoordinates.IntrinsicPadicCechSheafAugmentationCoordinates.augmentation p X₂ Y₂ f₂ hp₂ n)).trans |
| 88 | (CoverCech.IntrinsicPadicGeometricCoverCech.target_augmentation p u P _ |
| 89 | (PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.augmentation p X₂ Y₂ f₂ hp₂ n))) |
| 90 | |
| 91 | theorem target_augmentation : IntegralComparison.Single.ComplexTransport.map T e |
| 92 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation p X₂ Y₂ f₂ hp₂ n) ≫ targetMap p u v f₁ f₂ hp₁ hp₂ hsquare n = a := by |
| 93 | have h₁ := (IntegralComparison.Single.ComplexTransportNaturality.comp T e |
| 94 | (CechSheafResolution.IntrinsicPadicCechSheafResolution.augmentation p X₂ Y₂ f₂ hp₂ n) |
| 95 | (targetRefinement p u f₂ hp₂ n)).trans |
| 96 | (congrArg (IntegralComparison.Single.ComplexTransport.map T e) (target_refinement_augmentation p u f₂ hp₂ n)) |
| 97 | exact (Category.assoc _ _ _).symm.trans |
| 98 | ((congrArg (fun b => b ≫ CechDiagram.IntrinsicPadicGeometricCechDiagram.map p u v f₁ f₂ hp₁ hp₂ hsquare n U) h₁).trans |
| 99 | (CechDiagram.IntrinsicPadicGeometricCechDiagram.augmentation p u v f₁ f₂ hp₁ hp₂ hsquare n U)) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.RefinedResolution.IntrinsicPadicGeometricRefinedResolution |