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.MorphismIntrinsicBase |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.FrameGlobalSourceHomology |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ExactRefinedGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicSourceHomology |
| 5 | |
| 6 | /-! # Morphism Intrinsic Comparison Source -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicComparisonSource.Intrinsic |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 20 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 21 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 22 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 23 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 24 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 25 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 26 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (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 | variable (i : ℕ) |
| 36 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 37 | local notation "c" => HomologicalComplex.homologyMap |
| 38 | (MorphismFrameCechHomology.sourceComparison p k n u f₁ hp₁ I₁) i ≫ |
| 39 | Iso.hom (MorphismCommonGlobal.sourceHomologyIso p k n u f₁ I₁ i) |
| 40 | local notation "g" => ModuleCat.ofHom (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallinePullback.pullback v.left |
| 41 | (MorphismData.Frames.ambient_over p k v) n i) |
| 42 | |
| 43 | abbrev sourceFrame := |
| 44 | MorphismIntrinsicSourceHomology.IntrinsicStages.sourceCohomology p k n u f₁ hp₁ I₁ i |
| 45 | (MorphismGlobalTypedHomology.source_new p k n u f₁ I₁ i) |
| 46 | (MorphismGlobalTypedHomology.source_old p k n f₁ I₁ i) |
| 47 | |
| 48 | abbrev sourceCoefficient := |
| 49 | sourceFrame p k n u f₁ hp₁ I₁ i (WittVector p k) |
| 50 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 55 | |
| 56 | set_option backward.isDefEq.respectTransparency false |
| 57 | set_option backward.isDefEq.respectTransparency.types false |
| 58 | |
| 59 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 60 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 61 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 62 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] |
| 63 | {Y₁ Y₂ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] [IsSeparated Y₂.hom] |
| 64 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 65 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 66 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 67 | (sq : f₁ ≫ u.left = v.left ≫ f₂) |
| 68 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 69 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 70 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 71 | (I₂ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 72 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 73 | (Witt.Crystalline.wittStructureMap p k Y₂) n)) |
| 74 | |
| 75 | variable (i : ℕ) |
| 76 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 77 | local notation "c" => HomologicalComplex.homologyMap |
| 78 | (MorphismFrameCechHomology.sourceComparison p k n u f₁ hp₁ I₁) i ≫ |
| 79 | Iso.hom (MorphismCommonGlobal.sourceHomologyIso p k n u f₁ I₁ i) |
| 80 | local notation "g" => ModuleCat.ofHom (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallinePullback.pullback v.left |
| 81 | (MorphismData.Frames.ambient_over p k v) n i) |
| 82 | |
| 83 | abbrev sourceIsos := |
| 84 | sourceCoefficient p k n u f₁ hp₁ I₁ i _ _ |
| 85 | (MorphismIntrinsicCoordinates.Intrinsic.sourceIso p k n f₁ hp₁) |
| 86 | (MorphismCoefficientCech.ordinarySourceIso p k n u f₁ hp₁) |
| 87 | |
| 88 | abbrev sourceMap := |
| 89 | sourceIsos p k n u f₁ hp₁ I₁ i |
| 90 | (MorphismIntrinsicCoordinates.Intrinsic.sourceMap p k n u) |
| 91 | |
| 92 | abbrev source := |
| 93 | sourceMap p k n u f₁ hp₁ I₁ i |
| 94 | (MorphismIntrinsicCoordinates.Intrinsic.source p k n u f₁ hp₁).symm |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicComparisonSource.Intrinsic |