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.TruncatedModel.MorphismFrameOpen |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismDiagonalCech |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantComplexDiagonal |
| 4 | |
| 5 | /-! # Morphism Frame Diagonal -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameDiagonal |
| 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 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 20 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 21 | [Smooth X₁.hom] [Smooth X₂.hom] [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 22 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 23 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 24 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 27 | |
| 28 | local notation "Rcoeff" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 29 | local notation "Pairs" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts (Over.Hom.left u) |
| 30 | local notation "D" => Functor.op (OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalMap.source p k n X₂ Y₂ f₂ hp₂ |
| 31 | local notation "D'" => Functor.op (OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameDiagonalMap.source p k n X₁ Y₁ f₁ hp₁ |
| 32 | local notation "P" => Functor.op (OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X₂ Y₂ f₂ hp₂ |
| 33 | local notation "Q" => Functor.op (OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u)) ⋙ OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.ResolutionDiagram.diagram p k n X₁ Y₁ f₁ hp₁ |
| 34 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSectionMap.targetSections p k n u f₂ |
| 35 | local notation "S'" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSectionMap.sourceSections p k n u f₁ |
| 36 | local notation "d" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameSource.transformation p k n u v f₁ f₂ hp₁ hp₂ sq |
| 37 | |
| 38 | local instance constPreservesZero : |
| 39 | (Functor.const (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left)ᵒᵖ : ModuleCat.{2} Rcoeff ⥤ |
| 40 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} Rcoeff).PreservesZeroMorphisms where |
| 41 | map_zero _ _ := rfl |
| 42 | |
| 43 | def targetTransformation : D ⟶ GeometricComparison.BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 44 | (MorphismRowRestriction.targetRows p k n u f₂ hp₂) := |
| 45 | Functor.whiskerLeft (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left).op |
| 46 | (FrameDiagonalMap.transformation p k n X₂ Y₂ f₂ hp₂) |
| 47 | |
| 48 | def sourceTransformation : D' ⟶ GeometricComparison.BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 49 | (MorphismRowRestriction.sourceRows p k n u f₁ hp₁) := |
| 50 | Functor.whiskerLeft (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op |
| 51 | (FrameDiagonalMap.transformation p k n X₁ Y₁ f₁ hp₁) |
| 52 | |
| 53 | def diagonalTransformation : GeometricComparison.BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 54 | (MorphismRowRestriction.targetRows p k n u f₂ hp₂) ⟶ GeometricComparison.BifunctorDiagonalEq.BifunctorDiagonal.functor |
| 55 | (MorphismRowRestriction.sourceRows p k n u f₁ hp₁) := |
| 56 | GeometricComparison.BifunctorDiagonalApp.BifunctorDiagonalMap.map (MorphismSectionMap.rows p k n u v f₁ f₂ sq hp₁ hp₂) |
| 57 | |
| 58 | omit [X₁.left.IsSeparated] [X₂.left.IsSeparated] in |
| 59 | theorem transformation : targetTransformation p k n u f₂ hp₂ ≫ diagonalTransformation p k n u v f₁ f₂ hp₁ hp₂ sq = |
| 60 | d ≫ sourceTransformation p k n u f₁ hp₁ := by |
| 61 | apply NatTrans.ext |
| 62 | funext V |
| 63 | apply HomologicalComplex.Hom.ext |
| 64 | funext i |
| 65 | let am := (((MorphismFrameOpen.targetOpen p k n u f₂ hp₂).app V).f i).app V |
| 66 | let an := (((MorphismFrameOpen.sourceOpen p k n u f₁ hp₁).app V).f i).app V |
| 67 | let b := (((MorphismSectionMap.complexes p k n u v f₁ f₂ sq hp₁ hp₂).app V).f i).app V |
| 68 | have h := MorphismFrameOpen.component p k n u v f₁ f₂ hp₁ hp₂ sq V.unop V.unop i |
| 69 | change am ≫ b = ((d).app V).f i ≫ an at h |
| 70 | change (am ≫ 𝟙 _) ≫ b = ((d).app V).f i ≫ (an ≫ 𝟙 _) |
| 71 | simpa only [Category.comp_id] using h |
| 72 | |
| 73 | def targetMap : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D ⟶ GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source Pairs S P := |
| 74 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (targetTransformation p k n u f₂ hp₂) |
| 75 | def sourceMap : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D' ⟶ GeometricComparison.Section.DiagonalCone.SectionDiagonalCone.source Pairs S' Q := |
| 76 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (sourceTransformation p k n u f₁ hp₁) |
| 77 | def map : AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) D' := |
| 78 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) d |
| 79 | |
| 80 | theorem natural : targetMap p k n u f₂ hp₂ ≫ MorphismDiagonalCech.diagonalMap p k n u v f₁ f₂ hp₁ hp₂ sq = |
| 81 | MorphismFrameDiagonal.map p k n u v f₁ f₂ hp₁ hp₂ sq ≫ sourceMap p k n u f₁ hp₁ := by |
| 82 | let A := AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.functor (T := Pairsᵒᵖ) (V := ModuleCat.{2} Rcoeff) (.up ℕ) |
| 83 | exact (A.map_comp _ _).symm.trans |
| 84 | ((congrArg A.map (transformation p k n u v f₁ f₂ hp₁ hp₂ sq)).trans (A.map_comp _ _)) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameDiagonal |