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.FrameOpen |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.DiagonalCech |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexDiagonal |
| 4 | |
| 5 | /-! # Frame Diagonal -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonal.IntrinsicPadicGeometricFrameDiagonal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native geometric frame square descends to the diagonal section |
| 12 | complex and its assembled presheaf cochain map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 18 | [Smooth X₁.hom] [Smooth X₂.hom] [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 19 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) (n : ℕ) |
| 24 | |
| 25 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 26 | local notation "Pairs" => OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.Charts (Over.Hom.left u) |
| 27 | local notation "D" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X₂ Y₂ f₂ hp₂ n |
| 28 | local notation "D'" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X₁ Y₁ f₁ hp₁ n |
| 29 | local notation "P" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X₂ Y₂ f₂ hp₂ n |
| 30 | local notation "Q" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X₁ Y₁ f₁ hp₁ n |
| 31 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap.IntrinsicPadicGeometricSectionMap.targetSections p u f₂ n |
| 32 | local notation "S'" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionMap.IntrinsicPadicGeometricSectionMap.sourceSections p u f₁ n |
| 33 | local notation "d" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameSource.IntrinsicPadicGeometricFrameSource.transformation p u v f₁ f₂ hp₁ hp₂ hsquare n |
| 34 | |
| 35 | local instance constPreservesZero : |
| 36 | (Functor.const (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ : ModuleCat.{2} Rcoeff ⥤ |
| 37 | (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 38 | map_zero _ _ := rfl |
| 39 | |
| 40 | def targetTransformation : D ⟶ BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 41 | (RowRestriction.IntrinsicPadicGeometricRowRestriction.targetRows p u f₂ hp₂ n) := |
| 42 | Functor.whiskerLeft (Affine.MapPairs.AffineMapPairs.target u.left).op |
| 43 | (FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.transformation p X₂ Y₂ f₂ hp₂ n) |
| 44 | |
| 45 | def sourceTransformation : D' ⟶ BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 46 | (RowRestriction.IntrinsicPadicGeometricRowRestriction.sourceRows p u f₁ hp₁ n) := |
| 47 | Functor.whiskerLeft (Affine.MapPairs.AffineMapPairs.source u.left).op |
| 48 | (FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.transformation p X₁ Y₁ f₁ hp₁ n) |
| 49 | |
| 50 | def diagonalTransformation : BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 51 | (RowRestriction.IntrinsicPadicGeometricRowRestriction.targetRows p u f₂ hp₂ n) ⟶ BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 52 | (RowRestriction.IntrinsicPadicGeometricRowRestriction.sourceRows p u f₁ hp₁ n) := |
| 53 | BifunctorDiagonalApp.BifunctorDiagonalMap.map (SectionMap.IntrinsicPadicGeometricSectionMap.rows p u v f₁ f₂ hsquare n hp₁ hp₂) |
| 54 | |
| 55 | omit [X₁.left.IsSeparated] [X₂.left.IsSeparated] in |
| 56 | theorem transformation : targetTransformation p u f₂ hp₂ n ≫ diagonalTransformation p u v f₁ f₂ hp₁ hp₂ hsquare n = |
| 57 | d ≫ sourceTransformation p u f₁ hp₁ n := by |
| 58 | apply NatTrans.ext |
| 59 | funext V |
| 60 | apply HomologicalComplex.Hom.ext |
| 61 | funext i |
| 62 | let am := (((FrameOpen.IntrinsicPadicGeometricFrameOpen.targetOpen p u f₂ hp₂ n).app V).f i).app V |
| 63 | let an := (((FrameOpen.IntrinsicPadicGeometricFrameOpen.sourceOpen p u f₁ hp₁ n).app V).f i).app V |
| 64 | let b := (((SectionMap.IntrinsicPadicGeometricSectionMap.complexes p u v f₁ f₂ hsquare n hp₁ hp₂).app V).f i).app V |
| 65 | have h := FrameOpen.IntrinsicPadicGeometricFrameOpen.component p u v f₁ f₂ hp₁ hp₂ hsquare n V.unop V.unop i |
| 66 | change am ≫ b = ((d).app V).f i ≫ an at h |
| 67 | change (am ≫ 𝟙 _) ≫ b = ((d).app V).f i ≫ (an ≫ 𝟙 _) |
| 68 | exact (congrArg (fun q => q ≫ b) (Category.comp_id am)).trans |
| 69 | (h.trans (congrArg (fun q => ((d).app V).f i ≫ q) (Category.comp_id an).symm)) |
| 70 | |
| 71 | def targetMap : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D ⟶ Section.DiagonalCone.SectionDiagonalCone.source Pairs S P := |
| 72 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (targetTransformation p u f₂ hp₂ n) |
| 73 | def sourceMap : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D' ⟶ Section.DiagonalCone.SectionDiagonalCone.source Pairs S' Q := |
| 74 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (sourceTransformation p u f₁ hp₁ n) |
| 75 | def map : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D' := |
| 76 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) d |
| 77 | |
| 78 | theorem natural : targetMap p u f₂ hp₂ n ≫ DiagonalCech.IntrinsicPadicGeometricDiagonalCech.diagonalMap p u v f₁ f₂ hp₁ hp₂ hsquare n = |
| 79 | IntrinsicPadicGeometricFrameDiagonal.map p u v f₁ f₂ hp₁ hp₂ hsquare n ≫ sourceMap p u f₁ hp₁ n := by |
| 80 | let A := AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (T := Pairsᵒᵖ) (V := ModuleCat.{2} Rcoeff) (.up ℕ) |
| 81 | exact (A.map_comp _ _).symm.trans |
| 82 | ((congrArg A.map (transformation p u v f₁ f₂ hp₁ hp₂ hsquare n)).trans (A.map_comp _ _)) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonal.IntrinsicPadicGeometricFrameDiagonal |