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.CechHomotopy |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.GlobalRefinementMaps |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.RefinedHomotopy |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.OneComponentHomology |
| 5 | |
| 6 | /-! # Refinement -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Refinement.IntrinsicPadicGeometricComparisonRefinement |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Refining the original integral-to-injective Cech comparison |
| 13 | agrees on H-one with the actual paired comparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 19 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 20 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 21 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 22 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 23 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 24 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 25 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 26 | (I₁ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 28 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁) n)) |
| 29 | (I₂ : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p (ZMod p))}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 31 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂) n)) |
| 32 | |
| 33 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 34 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Cover.IntrinsicPadicGeometricCover.pairs p u |
| 35 | |
| 36 | local instance limits : HasLimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasLimitsOfSize.{0, 0, 2, 1} |
| 37 | local instance colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{2} R) := ModuleCat.hasColimitsOfSize.{2, 1, 0, 0} R |
| 38 | |
| 39 | def sourceIntegralRefinement := CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map (Affine.MapPairs.AffineMapPairs.source u.left) U |
| 40 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁) (Cover.IntrinsicPadicGeometricCoverRefinements.source p u) |
| 41 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X₁ n)) |
| 42 | |
| 43 | def sourceIntegralHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.refinementHOne.{1, 2} R (Affine.MapPairs.AffineMapPairs.source u.left) U |
| 44 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁) (Cover.IntrinsicPadicGeometricCoverRefinements.source p u) |
| 45 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X₁ n)) |
| 46 | |
| 47 | def sourceInjectiveHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.refinementHOne.{1, 2} R (Affine.MapPairs.AffineMapPairs.source u.left) U |
| 48 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁) (Cover.IntrinsicPadicGeometricCoverRefinements.source p u) |
| 49 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X₁ Y₁ f₁ n).mapHomologicalComplex (.up ℕ)).obj I₁.cocomplex) |
| 50 | |
| 51 | def sourceOriginalComparison := Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R |
| 52 | (IntegralComparison.NonemptyCechNerve.nerve (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁)) |
| 53 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₁ Y₁ f₁ hp₁ n I₁) |
| 54 | |
| 55 | def sourceOriginalHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne.{1, 2} R (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁) |
| 56 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₁ Y₁ f₁ hp₁ n I₁) |
| 57 | |
| 58 | omit [IsSeparated Y₂.hom] in |
| 59 | theorem source_coordinates : CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne R U |
| 60 | (((DiagonalRefinement.IntrinsicPadicGeometricDiagonalRefinement.sourcePullback p u).mapHomologicalComplex (.up ℕ)).map |
| 61 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₁ Y₁ f₁ hp₁ n I₁)) = |
| 62 | CechHomotopy.IntrinsicPadicGeometricCechHomotopy.sourceComparisonHOne p u f₁ hp₁ n I₁ := |
| 63 | CechPresheaf.OneComponentHomology.CechPresheafHOneComponentHomology.homology.{1, 2, 0, 0} R U _ _ |
| 64 | (fun q _ V => IntegralInjectiveHomotopy.IntrinsicPadicGeometricIntegralInjectiveHomotopy.source_coordinates_component p u f₁ hp₁ n I₁ q V) |
| 65 | |
| 66 | omit [IsSeparated Y₂.hom] in |
| 67 | theorem source : sourceOriginalHOne p f₁ hp₁ n I₁ ≫ |
| 68 | sourceInjectiveHOne p u f₁ n I₁ = |
| 69 | sourceIntegralHOne p u n ≫ CechHomotopy.IntrinsicPadicGeometricCechHomotopy.sourceComparisonHOne p u f₁ hp₁ n I₁ := |
| 70 | (CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.refinement_homology.{1, 2, 0, 0, 0, 0} R (Affine.MapPairs.AffineMapPairs.source u.left) U |
| 71 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₁) (Cover.IntrinsicPadicGeometricCoverRefinements.source p u) |
| 72 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₁ Y₁ f₁ hp₁ n I₁)).trans |
| 73 | (congrArg (fun a => sourceIntegralHOne p u n ≫ a) (source_coordinates p u f₁ hp₁ n I₁)) |
| 74 | |
| 75 | def targetIntegralRefinement := CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map (Affine.MapPairs.AffineMapPairs.target u.left) U |
| 76 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂) (Cover.IntrinsicPadicGeometricCoverRefinements.target p u) |
| 77 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X₂ n)) |
| 78 | |
| 79 | def targetIntegralHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.refinementHOne.{1, 2} R (Affine.MapPairs.AffineMapPairs.target u.left) U |
| 80 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂) (Cover.IntrinsicPadicGeometricCoverRefinements.target p u) |
| 81 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.source p X₂ n)) |
| 82 | |
| 83 | def targetInjectiveHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.refinementHOne.{1, 2} R (Affine.MapPairs.AffineMapPairs.target u.left) U |
| 84 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂) (Cover.IntrinsicPadicGeometricCoverRefinements.target p u) |
| 85 | (((SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X₂ Y₂ f₂ n).mapHomologicalComplex (.up ℕ)).obj I₂.cocomplex) |
| 86 | |
| 87 | def targetOriginalComparison := Cech.TotalOneQuasiIso.CechTotalHOneQuasiIso.map.{1, 2} R |
| 88 | (IntegralComparison.NonemptyCechNerve.nerve (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂)) |
| 89 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₂ Y₂ f₂ hp₂ n I₂) |
| 90 | |
| 91 | def targetOriginalHOne := CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne.{1, 2} R (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂) |
| 92 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₂ Y₂ f₂ hp₂ n I₂) |
| 93 | |
| 94 | omit [IsSeparated Y₁.hom] in |
| 95 | theorem target_coordinates : CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.mapHOne R U |
| 96 | (((DiagonalRefinement.IntrinsicPadicGeometricDiagonalRefinement.targetPullback p u).mapHomologicalComplex (.up ℕ)).map |
| 97 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₂ Y₂ f₂ hp₂ n I₂)) = |
| 98 | CechHomotopy.IntrinsicPadicGeometricCechHomotopy.targetComparisonHOne p u f₂ hp₂ n I₂ := |
| 99 | CechPresheaf.OneComponentHomology.CechPresheafHOneComponentHomology.homology.{1, 2, 0, 0} R U _ _ |
| 100 | (fun q _ V => IntegralInjectiveHomotopy.IntrinsicPadicGeometricIntegralInjectiveHomotopy.target_coordinates_component p u f₂ hp₂ n I₂ q V) |
| 101 | |
| 102 | omit [IsSeparated Y₁.hom] in |
| 103 | theorem target : targetOriginalHOne p f₂ hp₂ n I₂ ≫ |
| 104 | targetInjectiveHOne p u f₂ n I₂ = |
| 105 | targetIntegralHOne p u n ≫ CechHomotopy.IntrinsicPadicGeometricCechHomotopy.targetComparisonHOne p u f₂ hp₂ n I₂ := |
| 106 | (CechPresheaf.RefinedHomotopy.CechPresheafRefinedHomotopy.refinement_homology.{1, 2, 0, 0, 0, 0} R (Affine.MapPairs.AffineMapPairs.target u.left) U |
| 107 | (CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X₂) (Cover.IntrinsicPadicGeometricCoverRefinements.target p u) |
| 108 | (IntegralInjective.IntrinsicPadicIntegralInjectiveComparison.map p X₂ Y₂ f₂ hp₂ n I₂)).trans |
| 109 | (congrArg (fun a => targetIntegralHOne p u n ≫ a) (target_coordinates p u f₂ hp₂ n I₂)) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Refinement.IntrinsicPadicGeometricComparisonRefinement |