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.IntrinsicCohomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismIntrinsicHomology |
| 3 | |
| 4 | /-! # Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Coordinates.Comparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The native additive comparison uses the same coefficient and |
| 11 | homology coordinates as the geometric common-cover comparison. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem map_trans {C D : Type*} [Category* C] [Category* D] |
| 19 | (F : C ⥤ D) {A B C' : C} {D' : D} |
| 20 | (e₁ : A ≅ B) (e₂ : B ≅ C') (e₃ : F.obj C' ≅ D') : |
| 21 | F.mapIso (e₁ ≪≫ e₂) ≪≫ e₃ = F.mapIso e₁ ≪≫ (F.mapIso e₂ ≪≫ e₃) := by |
| 22 | apply Iso.ext |
| 23 | exact (congrArg (fun z => z ≫ e₃.hom) (F.map_comp e₁.hom e₂.hom)).trans |
| 24 | (Category.assoc _ _ _) |
| 25 | |
| 26 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 27 | (n : ℕ) (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) |
| 28 | [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 29 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 30 | (hp : IsPullback f Y.hom X.hom |
| 31 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 32 | |
| 33 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.DeRham.Comparison.coefficientFunctor p k |
| 34 | local notation "U" => ModuleCat.restrictScalars (algebraMap (WittVector p k) (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n)) |
| 35 | local notation "K" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.total (OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.Witt.Ring p k n) X |
| 36 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.GlobalDeRham.Comparison.rawComplex p k n X |
| 37 | |
| 38 | omit [IsSeparated Y.hom] in |
| 39 | theorem iso_eq : GlobalDeRham.Comparison.iso p k n X Y f hp = |
| 40 | MorphismIntrinsicCoordinates.Intrinsic.sourceIso p k n f hp := |
| 41 | map_trans ((G).mapHomologicalComplex (.up ℕ)) |
| 42 | (OrdinaryCechCoordinates.Ordinary.iso p k n X) |
| 43 | (MorphismOrdinaryRefinement.Ordinary.sourceCoordinates p k n f hp) |
| 44 | (MorphismCoefficientCech.sourceChosenIso p k n f hp) |
| 45 | |
| 46 | variable (J : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 47 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 48 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 49 | |
| 50 | def homologyIso (i : ℕ) := MorphismIntrinsicHomology.Intrinsic.sourceIso p k n f hp i ≪≫ |
| 51 | GlobalFrame.Comparison.homologyIso p k n X Y f hp J i |
| 52 | |
| 53 | theorem comparison_apply (i : ℕ) (x : (K).homology i) : |
| 54 | IntrinsicCohomology.Intrinsic.comparisonEquiv p k n X Y f hp J i x = |
| 55 | (homologyIso p k n X Y f hp J i).hom |
| 56 | (Witt.CoefficientCoordinates.addEquiv p k ((L).homology i) |
| 57 | ((AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso U K i).inv x)) := by |
| 58 | change (GlobalFrame.Comparison.homologyIso p k n X Y f hp J i).hom |
| 59 | (HomologicalComplex.homologyMap |
| 60 | (GlobalDeRham.Comparison.iso p k n X Y f hp).hom i |
| 61 | ((AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso G L i).inv |
| 62 | (Witt.CoefficientCoordinates.addEquiv p k ((L).homology i) |
| 63 | ((AlgebraicGeometry.Crystalline.Cohomology.Mapped.ComplexHomology.MappedComplexHomology.iso U K i).inv x)))) = _ |
| 64 | rw [iso_eq p k n X Y f hp] |
| 65 | rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.Coordinates.Comparison |