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.IntrinsicTargetCommonCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismTargetReferenceData |
| 3 | |
| 4 | /-! # Intrinsic Target Right Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicTargetRightCoordinates.MorphismIntrinsic |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original two homology prefixes applied to the native common-cover |
| 11 | comparison, with the source homology type fixed before the resolution. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | private def originalHomology {C : Type*} [Category* C] [Abelian C] |
| 17 | {ι : Type*} (c : ComplexShape ι) (K : HomologicalComplex C c) (q : ι) : C := |
| 18 | K.homology q |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 21 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 22 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 23 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 24 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 25 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 26 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 27 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 28 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom |
| 29 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 30 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 31 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 32 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 33 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 34 | (I₂ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 35 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 36 | (Witt.Crystalline.wittStructureMap p k Y₂) n)) |
| 37 | |
| 38 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 39 | |
| 40 | def statement (i : ℕ) : Prop := |
| 41 | @Eq (@Quiver.Hom |
| 42 | (@ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ULift.ring) |
| 43 | (@ModuleCat.moduleCategory |
| 44 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ULift.ring).toQuiver |
| 45 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).obj |
| 46 | (@originalHomology (ModuleCat.{0} (WittVector p k)) |
| 47 | (@ModuleCat.moduleCategory (WittVector p k) (WittVector.instCommRing p k).toRing) |
| 48 | (@ModuleCat.abelian (WittVector p k) (WittVector.instCommRing p k).toRing) |
| 49 | ℕ (ComplexShape.up ℕ) |
| 50 | (((ModuleCat.restrictScalars |
| 51 | (algebraMap (WittVector p k) (Truncated.Witt.Ring p k n))).mapHomologicalComplex |
| 52 | (.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.total (Truncated.Witt.Ring p k n) X₂)) i)) |
| 53 | (ModuleCat.of (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 54 | (BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 55 | (J := Ideal.span {(p : WittVector p k)}) |
| 56 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 57 | (Witt.Crystalline.wittStructureMap p k Y₁) n i))) |
| 58 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 59 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.targetMap p k n u) i) ≫ |
| 60 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 61 | (homologyMap (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) i) ≫ |
| 62 | MorphismIntrinsicBase.IntrinsicComparison.commonComparison p k n u f₁ hp₁ I₁ i) |
| 63 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 64 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.targetMap p k n u) i) ≫ |
| 65 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 66 | (homologyMap (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) i) ≫ |
| 67 | Witt.IntrinsicCechCoefficientComposite.Intrinsic.composite p k |
| 68 | (MorphismCover.pairs p k n u) |
| 69 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 70 | (MorphismCommonIsoCoordinates.source p k n u) |
| 71 | (K := AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 72 | ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op ⋙ |
| 73 | FrameDiagonalMap.source p k n X₁ Y₁ f₁ hp₁)) |
| 74 | (L := MorphismCommonGlobal.sourceSections p k n u f₁ I₁) |
| 75 | (TargetCommonIsoCoordinates.Morphism.iso p k n u f₁ hp₁) |
| 76 | (MorphismFrameInjectiveHomotopy.sourceComparison p k n u f₁ hp₁ I₁) |
| 77 | i (T := IntrinsicTargetCommonCoordinates.MorphismIntrinsic.output p k n (Y₁ := Y₁) i) |
| 78 | (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ i)) |
| 79 | |
| 80 | theorem comparison (i : ℕ) : statement p k n u f₁ hp₁ I₁ i := by |
| 81 | unfold statement |
| 82 | have h := IntrinsicTargetCommonCoordinates.MorphismIntrinsic.comparison |
| 83 | p k n u f₁ hp₁ I₁ i |
| 84 | change _ at h |
| 85 | delta IntrinsicTargetCommonCoordinates.MorphismIntrinsic.statement at h |
| 86 | exact congrArg |
| 87 | (fun c => |
| 88 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 89 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.targetMap p k n u) i) ≫ |
| 90 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 91 | (homologyMap (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) i) ≫ c) |
| 92 | h |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicTargetRightCoordinates.MorphismIntrinsic |