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.MorphismSourceRefinementCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismGeometric |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.RestrictedHomologyCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSourceRefinementEquality |
| 5 | |
| 6 | /-! # Morphism Source Refinement Additive -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSourceRefinementAdditive |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual refinement from the small source cover to the common |
| 13 | source cover preserves the original additive crystalline comparison. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | attribute [local irreducible] HomologicalComplex.homology HomologicalComplex.homologyMap |
| 19 | |
| 20 | private theorem descend {C D : Type*} [Category* C] [Category* D] |
| 21 | (F : C ⥤ D) {A B E : C} {T : D} (a : A ⟶ B) (e : B ≅ E) (m : A ⟶ E) |
| 22 | (s : F.obj A ⟶ T) (t : F.obj B ⟶ T) |
| 23 | (hm : a ≫ e.hom = m) (hs : s = F.map a ≫ t) : |
| 24 | F.map m ≫ (F.map e.inv ≫ t) = s := by |
| 25 | rw [← hm, F.map_comp] |
| 26 | simp only [Category.assoc] |
| 27 | rw [← Category.assoc (F.map e.hom) (F.map e.inv) t, |
| 28 | ← F.map_comp e.hom e.inv, e.hom_inv_id, F.map_id, Category.id_comp] |
| 29 | exact hs.symm |
| 30 | |
| 31 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 32 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 33 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 34 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 35 | {Y₁ : Over (Spec (CommRingCat.of k))} [IsSeparated Y₁.hom] |
| 36 | (f₁ : Y₁.left ⟶ X₁.left) |
| 37 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom |
| 38 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 39 | (I₁ : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 40 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 41 | (Witt.Crystalline.wittStructureMap p k Y₁) n)) |
| 42 | |
| 43 | private abbrev mapCore (q : ℕ) := |
| 44 | descend (homologyFunctor (ModuleCat (WittVector p k)) (.up ℕ) q ⋙ |
| 45 | SmoothWitt.DeRham.Comparison.coefficientFunctor p k) |
| 46 | (MorphismIntrinsicCoordinates.Intrinsic.sourceMap p k n u) |
| 47 | (MorphismCoverCoordinates.sourceIso p k n u) |
| 48 | (((ModuleCat.restrictScalars |
| 49 | (algebraMap (WittVector p k) (Truncated.Witt.Ring p k n))).mapHomologicalComplex |
| 50 | (.up ℕ)).map (MorphismSourceRefinementCoordinates.map p k n u)) |
| 51 | (MorphismIntrinsicBase.IntrinsicComparison.sourceIso p k n f₁ hp₁ I₁ q).hom |
| 52 | |
| 53 | private abbrev comparisonCore (q : ℕ) := |
| 54 | mapCore p k n u f₁ hp₁ I₁ q |
| 55 | (MorphismIntrinsicBase.IntrinsicComparison.commonComparison p k n u f₁ hp₁ I₁ q) |
| 56 | |
| 57 | private abbrev coordinatesCore (q : ℕ) := |
| 58 | comparisonCore p k n u f₁ hp₁ I₁ q |
| 59 | (MorphismSourceRefinementCoordinates.coordinates p k n u) |
| 60 | |
| 61 | theorem source_natural (q : ℕ) : |
| 62 | MorphismSourceRefinementData.statement p k n u f₁ hp₁ I₁ q := by |
| 63 | exact MorphismSourceRefinementEquality.comparison p k n u f₁ hp₁ I₁ q |
| 64 | |
| 65 | abbrev homology (q : ℕ) := |
| 66 | coordinatesCore p k n u f₁ hp₁ I₁ q |
| 67 | (source_natural p k n u f₁ hp₁ I₁ q) |
| 68 | |
| 69 | abbrev coordinates_natural (q : ℕ) := |
| 70 | Witt.RestrictedHomologyCoordinates.inverse_natural p k |
| 71 | (Truncated.Witt.Ring p k n) |
| 72 | (MorphismSourceRefinementCoordinates.map p k n u) q |
| 73 | |
| 74 | theorem comparison (q : ℕ) |
| 75 | (x : (AlgebraicGeometry.Crystalline.Cohomology.Base.SmallDeRhamCech.BaseSmallDeRhamCech.total (Truncated.Witt.Ring p k n) X₁).homology q) : |
| 76 | MorphismGeometric.TruncatedModelMorphismGeometricAdditive.comparison p k n u f₁ hp₁ I₁ q |
| 77 | (homologyMap (MorphismSourceRefinementCoordinates.map p k n u) q x) = |
| 78 | IntrinsicCohomology.Intrinsic.comparisonEquiv p k n X₁ Y₁ f₁ hp₁ I₁ q x := by |
| 79 | exact (Witt.RestrictedHomologyCoordinates.comparison p k |
| 80 | (Truncated.Witt.Ring p k n) |
| 81 | (MorphismSourceRefinementCoordinates.map p k n u) q |
| 82 | (MorphismGeometric.TruncatedModelMorphismGeometricHomology.comparison p k n u f₁ hp₁ I₁ q) |
| 83 | (MorphismIntrinsicBase.IntrinsicComparison.sourceIso p k n f₁ hp₁ I₁ q).hom |
| 84 | (MorphismSourceRefinementAdditive.homology p k n u f₁ hp₁ I₁ q) x).trans |
| 85 | (Coordinates.Comparison.comparison_apply p k n X₁ Y₁ f₁ hp₁ I₁ q x).symm |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.MorphismSourceRefinementAdditive |