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.TargetCommonIsoCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ModuleCech.CoefficientComposite |
| 3 | |
| 4 | /-! # Target Common Reference Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TargetCommonReferenceIso.MorphismReferenceCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The target comparison's common-cover coefficient isomorphism in the original |
| 11 | module-category instances, fixed before a resolution is chosen. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 19 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 20 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 21 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 22 | (f₁ : Y₁.left ⟶ X₁.left) |
| 23 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 24 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 25 | |
| 26 | def homologyIso (q : ℕ) := ModuleCech.CoefficientComposite.coefficientIso |
| 27 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (WittVector p k) |
| 28 | (MorphismCover.pairs p k n u) |
| 29 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 30 | (MorphismCommonIsoCoordinates.source p k n u) |
| 31 | (K := AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 32 | ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op ⋙ |
| 33 | FrameDiagonalMap.source p k n X₁ Y₁ f₁ hp₁)) |
| 34 | (TargetCommonIsoCoordinates.Morphism.iso p k n u f₁ hp₁) q |
| 35 | |
| 36 | omit [IsSeparated Y₁.hom] in |
| 37 | theorem comparison (q : ℕ) : |
| 38 | (show _ ⟶ (MorphismFrameTypedMaps.Homology.sourceFrameNew p k n u f₁ hp₁).homology q |
| 39 | from (MorphismIntrinsicHomology.Intrinsic.commonSourceIso p k n u f₁ hp₁ q).hom) = |
| 40 | (show _ ⟶ (MorphismFrameTypedMaps.Homology.sourceFrameNew p k n u f₁ hp₁).homology q |
| 41 | from (homologyIso p k n u f₁ hp₁ q).hom) := rfl |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TargetCommonReferenceIso.MorphismReferenceCoordinates |