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.MorphismTargetOldCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TargetCommonReferenceCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismTargetReferenceData |
| 4 | |
| 5 | /-! # Morphism Target Reference Factors -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismTargetReferenceFactors.ReferenceCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The two complete coordinate factors of the native target comparison, |
| 12 | checked independently of the naturality proof. -/ |
| 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] |
| 21 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 22 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (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 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom |
| 26 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 27 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 28 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 29 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 30 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 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 | |
| 35 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 36 | |
| 37 | def leftStatement (i : ℕ) : Prop := |
| 38 | (MorphismIntrinsicBase.IntrinsicComparison.targetIso p k n f₂ hp₂ I₂ i).hom ≫ |
| 39 | ModuleCat.ofHom (BoundedCrystalline.CrystallinePullback.pullback v.left |
| 40 | (MorphismData.Frames.ambient_over p k v) n i) = |
| 41 | (Witt.ReferenceCechComposite.Reference.composite.{1,2} |
| 42 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 43 | (CechSliceResolution.opens p k n X₂) |
| 44 | (MorphismRawEq.OldFrameCoordinates.coefficientMap p k n f₂ hp₂ I₂) i |
| 45 | (MorphismTargetIsoCoordinates.homologyIso p k n f₂ hp₂ i).hom |
| 46 | (GlobalEdge.InjectiveCech.homologyIso p k n X₂ Y₂ f₂ I₂ i).hom) ≫ |
| 47 | ModuleCat.ofHom (BoundedCrystalline.CrystallinePullback.pullback v.left |
| 48 | (MorphismData.Frames.ambient_over p k v) n i) |
| 49 | |
| 50 | omit [IsSeparated Y₁.hom] in |
| 51 | theorem left_coordinates (i : ℕ) : leftStatement p k n v f₂ hp₂ I₂ i := by |
| 52 | unfold leftStatement |
| 53 | dsimp only [MorphismIntrinsicBase.IntrinsicComparison.targetIso, Iso.trans_hom] |
| 54 | exact congrArg |
| 55 | (fun c => c ≫ ModuleCat.ofHom (BoundedCrystalline.CrystallinePullback.pullback v.left |
| 56 | (MorphismData.Frames.ambient_over p k v) n i)) |
| 57 | (MorphismTargetOldCoordinates.comparison p k n f₂ hp₂ I₂ i) |
| 58 | |
| 59 | def rightStatement (i : ℕ) : Prop := |
| 60 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 61 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.targetMap p k n u) i) ≫ |
| 62 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 63 | (homologyMap (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) i) ≫ |
| 64 | MorphismIntrinsicBase.IntrinsicComparison.commonComparison p k n u f₁ hp₁ I₁ i = |
| 65 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 66 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.targetMap p k n u) i) ≫ |
| 67 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 68 | (homologyMap (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) i) ≫ |
| 69 | ModuleCech.CoefficientComposite.composite |
| 70 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (WittVector p k) |
| 71 | (MorphismCover.pairs p k n u) |
| 72 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 73 | (MorphismCommonIsoCoordinates.source p k n u) |
| 74 | (K := AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 75 | ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left).op ⋙ |
| 76 | FrameDiagonalMap.source p k n X₁ Y₁ f₁ hp₁)) |
| 77 | (L := MorphismCommonGlobal.sourceSections p k n u f₁ I₁) |
| 78 | (TargetCommonIsoCoordinates.Morphism.iso p k n u f₁ hp₁) |
| 79 | (MorphismFrameInjectiveHomotopy.sourceComparison p k n u f₁ hp₁ I₁) |
| 80 | i (MorphismGlobalTypedHomology.sourceNewComparison p k n u f₁ I₁ i) |
| 81 | |
| 82 | theorem right_coordinates (i : ℕ) : rightStatement p k n u f₁ hp₁ I₁ i := by |
| 83 | unfold rightStatement |
| 84 | have h := TargetCommonReferenceCoordinates.MorphismReference.comparison |
| 85 | p k n u f₁ hp₁ I₁ i |
| 86 | change _ at h |
| 87 | delta TargetCommonReferenceCoordinates.MorphismReference.statement at h |
| 88 | exact congrArg |
| 89 | (fun c => |
| 90 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 91 | (homologyMap (MorphismIntrinsicCoordinates.Intrinsic.targetMap p k n u) i) ≫ |
| 92 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 93 | (homologyMap (MorphismOrdinaryCech.Ordinary.ordinaryMap p k n u) i) ≫ c) |
| 94 | h |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismTargetReferenceFactors.ReferenceCoordinates |