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.Witt.IntrinsicCechCoefficientComposite |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TargetCommonReferenceCoordinates |
| 3 | |
| 4 | /-! # Intrinsic Target Common Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicTargetCommonCoordinates.MorphismIntrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The common-cover factor with the original target comparison's coefficient |
| 11 | isomorphism and explicitly typed homology map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 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 output (q : ℕ) : |
| 27 | ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) := |
| 28 | ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 29 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p k)}) |
| 31 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 32 | (Witt.Crystalline.wittStructureMap p k Y₁) n q) |
| 33 | |
| 34 | variable |
| 35 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 36 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 37 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 38 | |
| 39 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 40 | |
| 41 | def statement (q : ℕ) : Prop := |
| 42 | MorphismIntrinsicBase.IntrinsicComparison.commonComparison p k n u f₁ hp₁ I₁ q = |
| 43 | Witt.IntrinsicCechCoefficientComposite.Intrinsic.composite p k |
| 44 | (MorphismCover.pairs p k n u) |
| 45 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 46 | (MorphismCommonIsoCoordinates.source p k n u) |
| 47 | (K := AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 48 | ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op ⋙ |
| 49 | FrameDiagonalMap.source p k n X₁ Y₁ f₁ hp₁)) |
| 50 | (L := MorphismCommonGlobal.sourceSections p k n u f₁ I₁) |
| 51 | (TargetCommonIsoCoordinates.Morphism.iso p k n u f₁ hp₁) |
| 52 | (MorphismFrameInjectiveHomotopy.sourceComparison p k n u f₁ hp₁ I₁) |
| 53 | q (T := output p k n (Y₁ := Y₁) q) |
| 54 | (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ q) |
| 55 | |
| 56 | theorem comparison (q : ℕ) : statement p k n u f₁ hp₁ I₁ q := by |
| 57 | rfl |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicTargetCommonCoordinates.MorphismIntrinsic |