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.Coefficient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReducedBaseLevel |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechAssembly.CoefficientNaturality |
| 4 | |
| 5 | /-! # Small Quotient Level -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SmallQuotientLevel.IntrinsicPadicSmallQuotientLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual p-adic quotient diagrams and their original Witt-coordinate |
| 12 | isomorphisms form compatible finite-level Cech total maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 18 | (n m : ℕ) (hnm : n ≤ m) |
| 19 | |
| 20 | local notation "W" => WittVector p (ZMod p) |
| 21 | local notation "G" => ModuleCat.restrictScalars (RingEquiv.toRingHom (WittVector.equiv p)) |
| 22 | local notation "IZ" => fun q : ℕ => (Ideal.span {(p : ℤ_[p])}) ^ (q + 1) |
| 23 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 24 | local notation "E" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 25 | |
| 26 | def diagramMap : Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X m ⟶ Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X n := |
| 27 | Functor.whiskerLeft ((Affine.OpenProducts.AffineOpenProducts.inclusion X.left).op ⋙ OrdinarySection.OrdinarySectionComplexAssembly.diagram ℤ_[p] X) |
| 28 | ((IntegralComparison.Module.IdealQuotientTransition.transformation ℤ_[p] (IZ m) (IZ n) |
| 29 | (Ideal.pow_le_pow_right (Nat.add_le_add_right hnm 1))).mapHomologicalComplex (.up ℕ)) |
| 30 | |
| 31 | omit [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] in |
| 32 | theorem diagram_natural : (Coefficient.IntrinsicPadicSmallQuotientTotal.wittIso p X m).hom ≫ |
| 33 | Functor.whiskerRight (diagramMap p X n m hnm) ((G).mapHomologicalComplex (.up ℕ)) = |
| 34 | ReducedDeRhamLevelMap.IntrinsicPadicReducedDeRhamLevelMap.sourceTransition p X n m hnm ≫ |
| 35 | (Coefficient.IntrinsicPadicSmallQuotientTotal.wittIso p X n).hom := |
| 36 | ReducedBaseLevel.IntrinsicPadicReducedBaseLevel.natural p X n m hnm |
| 37 | |
| 38 | def wittMap : IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.total p X m ⟶ IntrinsicIntegral.CoefficientTotal.IntrinsicIntegralCoefficientTotal.total p X n := |
| 39 | (CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor E).map (ReducedDeRhamLevelMap.IntrinsicPadicReducedDeRhamLevelMap.sourceTransition p X n m hnm) |
| 40 | |
| 41 | def map : Coefficient.IntrinsicPadicSmallQuotientTotal.total p X m ⟶ Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n := |
| 42 | (CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor E).map (diagramMap p X n m hnm) |
| 43 | |
| 44 | theorem mapped_diagram : (CechAssembly.Iso.CechAssemblyIso.totalIso E (Coefficient.IntrinsicPadicSmallQuotientTotal.wittIso p X m)).hom ≫ |
| 45 | (CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor E).map (Functor.whiskerRight (diagramMap p X n m hnm) ((G).mapHomologicalComplex (.up ℕ))) = |
| 46 | wittMap p X n m hnm ≫ (CechAssembly.Iso.CechAssemblyIso.totalIso E (Coefficient.IntrinsicPadicSmallQuotientTotal.wittIso p X n)).hom := by |
| 47 | let T := CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor (A := ModuleCat.{0} W) E |
| 48 | exact (T.map_comp _ _).symm.trans |
| 49 | ((congrArg T.map (diagram_natural p X n m hnm)).trans (T.map_comp _ _)) |
| 50 | |
| 51 | theorem inverse_coefficient : |
| 52 | (CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) |
| 53 | (Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X m)).inv ≫ |
| 54 | ((G).mapHomologicalComplex (.up ℕ)).map (IntrinsicPadicSmallQuotientLevel.map p X n m hnm) = |
| 55 | (CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor E).map (Functor.whiskerRight (diagramMap p X n m hnm) ((G).mapHomologicalComplex (.up ℕ))) ≫ |
| 56 | (CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) |
| 57 | (Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X n)).inv := |
| 58 | (IntegralComparison.InverseCoordinateHomology.inverse |
| 59 | (CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) (Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X m)) |
| 60 | (CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) (Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X n)) |
| 61 | (((G).mapHomologicalComplex (.up ℕ)).map (IntrinsicPadicSmallQuotientLevel.map p X n m hnm)) |
| 62 | ((CechAssembly.TotalFunctor.CechAssemblyTotalFunctor.functor E).map (Functor.whiskerRight (diagramMap p X n m hnm) ((G).mapHomologicalComplex (.up ℕ)))) |
| 63 | (CechAssembly.CoefficientNaturality.CechAssemblyCoefficientNaturality.natural G E (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) (diagramMap p X n m hnm))).symm |
| 64 | |
| 65 | theorem natural : (Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X m).hom ≫ |
| 66 | ((G).mapHomologicalComplex (.up ℕ)).map (IntrinsicPadicSmallQuotientLevel.map p X n m hnm) = |
| 67 | wittMap p X n m hnm ≫ (Coefficient.IntrinsicPadicSmallQuotientTotal.wittTotalIso p X n).hom := |
| 68 | (Category.assoc _ _ _).trans |
| 69 | ((congrArg (fun q => (CechAssembly.Iso.CechAssemblyIso.totalIso E (Coefficient.IntrinsicPadicSmallQuotientTotal.wittIso p X m)).hom ≫ q) |
| 70 | (inverse_coefficient p X n m hnm)).trans |
| 71 | ((Category.assoc _ _ _).symm.trans |
| 72 | ((congrArg (fun q => q ≫ (CechAssembly.CoefficientTotal.CechAssemblyCoefficientTotal.iso G E (CechCone.TotalCoefficient.CechConeTotalCoefficient.finite_indices U) |
| 73 | (Coefficient.IntrinsicPadicSmallQuotientTotal.diagram p X n)).inv) (mapped_diagram p X n m hnm)).trans |
| 74 | (Category.assoc _ _ _)))) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SmallQuotientLevel.IntrinsicPadicSmallQuotientLevel |