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.MorphismOrdinaryCech |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismFrameSource |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechAssembly.RefinedCoefficient |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechAssembly.CoefficientNaturality |
| 5 | |
| 6 | /-! # Morphism Coefficient Cech -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCoefficientCech |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The literal crystalline coefficient functor preserves model-frame |
| 13 | refinement and ordinary de Rham pullback on the common Čech cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | |
| 21 | private theorem map_square {C D : Type*} [Category* C] [Category* D] |
| 22 | (F : C ⥤ D) {A B C' D' : C} |
| 23 | (a : A ⟶ B) (b : B ⟶ D') (c : A ⟶ C') (d : C' ⟶ D') |
| 24 | (h : a ≫ b = c ≫ d) : F.map a ≫ F.map b = F.map c ≫ F.map d := |
| 25 | (F.map_comp a b).symm.trans ((congrArg F.map h).trans (F.map_comp c d)) |
| 26 | |
| 27 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 28 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 29 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 30 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 31 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} |
| 32 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 33 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 34 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 35 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 36 | |
| 37 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCover.pairs p k n u |
| 38 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 39 | local notation "F₁" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source (Over.Hom.left u) |
| 40 | local notation "F₂" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target (Over.Hom.left u) |
| 41 | local notation "P₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalComplex.Comparison.pdComplexes p k n X₁ Y₁ f₁ hp₁ |
| 42 | local notation "P₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalComplex.Comparison.pdComplexes p k n X₂ Y₂ f₂ hp₂ |
| 43 | local notation "V₁" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n) X₁ |
| 44 | local notation "V₂" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallEtaleCover.BaseSmallEtaleCover.opens (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n) X₂ |
| 45 | local notation "r₁" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismRefinement.source p k n u |
| 46 | local notation "r₂" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismRefinement.target p k n u |
| 47 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 48 | local notation "GC" => Functor.mapHomologicalComplex G (ComplexShape.up ℕ) |
| 49 | |
| 50 | def sourceChosenIso := GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G (NonemptyCechNerve.nerve V₁) |
| 51 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices V₁) P₁ |
| 52 | |
| 53 | def targetChosenIso := GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G (NonemptyCechNerve.nerve V₂) |
| 54 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices V₂) P₂ |
| 55 | |
| 56 | def sourceIso := GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E |
| 57 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) (Functor.op F₁ ⋙ P₁) |
| 58 | |
| 59 | def targetIso := GeometricComparison.CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E |
| 60 | (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) (Functor.op F₂ ⋙ P₂) |
| 61 | |
| 62 | def sourceRefinement := GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map F₁ U V₁ r₁ |
| 63 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FrameDiagonalMap.source p k n X₁ Y₁ f₁ hp₁)) |
| 64 | |
| 65 | def targetRefinement := GeometricComparison.CechPresheaf.RefinedReindex.CechPresheafRefinedReindex.map F₂ U V₂ r₂ |
| 66 | (AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FrameDiagonalMap.source p k n X₂ Y₂ f₂ hp₂)) |
| 67 | |
| 68 | theorem source : (GC).map (MorphismOrdinaryCech.Ordinary.sourceFrameRefinement p k n u f₁ hp₁) ≫ |
| 69 | (sourceIso p k n u f₁ hp₁).hom = |
| 70 | (sourceChosenIso p k n f₁ hp₁).hom ≫ sourceRefinement p k n u f₁ hp₁ := |
| 71 | GeometricComparison.CechAssembly.RefinedCoefficient.CechAssemblyRefinedCoefficient.total F₁ G U V₁ r₁ P₁ |
| 72 | |
| 73 | theorem target : (GC).map (MorphismOrdinaryCech.Ordinary.targetFrameRefinement p k n u f₂ hp₂) ≫ |
| 74 | (targetIso p k n u f₂ hp₂).hom = |
| 75 | (targetChosenIso p k n f₂ hp₂).hom ≫ targetRefinement p k n u f₂ hp₂ := |
| 76 | GeometricComparison.CechAssembly.RefinedCoefficient.CechAssemblyRefinedCoefficient.total F₂ G U V₂ r₂ P₂ |
| 77 | |
| 78 | def geometricMap := (GeometricComparison.CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor E).map |
| 79 | (Functor.whiskerRight |
| 80 | (MorphismPrincipal.Comparison.frameMap p k n u v f₁ f₂ hp₁ hp₂ sq) GC) |
| 81 | |
| 82 | theorem natural : (GC).map |
| 83 | (MorphismOrdinaryCech.Ordinary.frameMap p k n u v f₁ f₂ hp₁ hp₂ sq) ≫ |
| 84 | (sourceIso p k n u f₁ hp₁).hom = |
| 85 | (targetIso p k n u f₂ hp₂).hom ≫ geometricMap p k n u v f₁ f₂ hp₁ hp₂ sq := |
| 86 | GeometricComparison.CechAssembly.CoefficientNaturality.CechAssemblyCoefficientNaturality.natural G E (GeometricComparison.CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) |
| 87 | (MorphismPrincipal.Comparison.frameMap p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 88 | |
| 89 | def ordinarySourceIso := |
| 90 | (GC).mapIso (MorphismOrdinaryCech.Ordinary.sourceIso p k n u f₁ hp₁) ≪≫ |
| 91 | sourceIso p k n u f₁ hp₁ |
| 92 | |
| 93 | def ordinaryTargetIso := |
| 94 | (GC).mapIso (MorphismOrdinaryCech.Ordinary.targetIso p k n u f₂ hp₂) ≪≫ |
| 95 | targetIso p k n u f₂ hp₂ |
| 96 | |
| 97 | theorem ordinary_map_square : |
| 98 | (GC).map (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) ≫ |
| 99 | (GC).map (MorphismOrdinaryCech.Ordinary.sourceIso p k n u f₁ hp₁).hom = |
| 100 | (GC).map (MorphismOrdinaryCech.Ordinary.targetIso p k n u f₂ hp₂).hom ≫ |
| 101 | (GC).map (MorphismOrdinaryCech.Ordinary.frameMap p k n u v f₁ f₂ hp₁ hp₂ sq) := |
| 102 | map_square GC |
| 103 | (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) |
| 104 | (MorphismOrdinaryCech.Ordinary.sourceIso p k n u f₁ hp₁).hom |
| 105 | (MorphismOrdinaryCech.Ordinary.targetIso p k n u f₂ hp₂).hom |
| 106 | (MorphismOrdinaryCech.Ordinary.frameMap p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 107 | (MorphismOrdinaryCech.Ordinary.natural p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 108 | abbrev ordinary_natural := |
| 109 | GeometricComparison.ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ |
| 110 | (ordinary_map_square p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 111 | (natural p k n u v f₁ f₂ hp₁ hp₂ sq) |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismCoefficientCech |