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.MorphismIntrinsicPresheafSource |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.IntrinsicCechComposite |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.IntrinsicCechCoefficientComposite |
| 4 | |
| 5 | /-! # Intrinsic Presheaf Source Endpoints -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicPresheafSourceEndpoints.MorphismIntrinsic |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Transport the native source comparison to equal endpoints before |
| 12 | choosing the concrete coefficient complexes and resolution. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | |
| 16 | private theorem close {α : Sort*} {a b : α} (h : a = b) |
| 17 | (l r : α) (hl : l = a) (hr : r = b) : l = r := |
| 18 | hl.trans (h.trans hr.symm) |
| 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] (u : X₁ ⟶ X₂) |
| 24 | |
| 25 | set_option backward.isDefEq.respectTransparency false |
| 26 | set_option backward.isDefEq.respectTransparency.types false |
| 27 | |
| 28 | abbrev source |
| 29 | (F : CochainComplex (X₁.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 30 | (K : CochainComplex (X₁.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 31 | (φ : F ⟶ K) |
| 32 | (ψ : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj F) ⟶ |
| 33 | (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj K)) |
| 34 | (hψ : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).map φ) = ψ) |
| 35 | (M : CochainComplex (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 36 | (η : (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := X₁.left.affineOpens)).obj M ⟶ K) |
| 37 | (a : M ⟶ (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 38 | (CechSliceResolution.opens p k n X₁) K).total (.up ℕ)) |
| 39 | (c : M ⟶ (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 40 | (MorphismCover.pairs p k n u) |
| 41 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj K)).total (.up ℕ)) |
| 42 | (ha : a = GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map |
| 43 | (CechSliceResolution.opens p k n X₁) K M η) |
| 44 | (hc : GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map (MorphismCover.pairs p k n u) |
| 45 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj K) |
| 46 | M (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left) K M η) = c) |
| 47 | (q : ℕ) (N : ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 48 | (i : ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 49 | (CechSliceResolution.opens p k n X₁) K).total (.up ℕ)).homology q ⟶ N) |
| 50 | (h : ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 51 | (MorphismCover.pairs p k n u) |
| 52 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj K)).total (.up ℕ)).homology q ⟶ N) |
| 53 | (j : M.homology q ⟶ N) |
| 54 | [Epi (HomologicalComplex.homologyMap a q)] |
| 55 | (hh : HomologicalComplex.homologyMap c q ≫ h = j) |
| 56 | (hi : HomologicalComplex.homologyMap a q ≫ i = j) |
| 57 | (K₀ K₁ : CochainComplex (ModuleCat.{0} (WittVector p k)) ℕ) |
| 58 | (e₀ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₀ ≅ |
| 59 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (CechSliceResolution.opens p k n X₁) F).total (.up ℕ)) |
| 60 | (e₁ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₁ ≅ |
| 61 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) |
| 62 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 63 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.source u.left)).mapHomologicalComplex (.up ℕ)).obj F)).total (.up ℕ)) := |
| 64 | fun (m : K₀ ⟶ K₁) hm => |
| 65 | close (show @Eq |
| 66 | (@Quiver.Hom |
| 67 | (@ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ULift.ring) |
| 68 | (@ModuleCat.moduleCategory |
| 69 | (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) ULift.ring).toQuiver |
| 70 | _ N) |
| 71 | (Witt.IntrinsicCechComposite.Intrinsic.composite p k |
| 72 | (CechSliceResolution.opens p k n X₁) φ q |
| 73 | (Witt.IntrinsicCechCoefficientComposite.Intrinsic.coefficientIso p k |
| 74 | (CechSliceResolution.opens p k n X₁) |
| 75 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) K₀ e₀ q).hom i) |
| 76 | ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 77 | (HomologicalComplex.homologyMap (c := ComplexShape.up ℕ) m q) ≫ |
| 78 | Witt.IntrinsicCechCoefficientComposite.Intrinsic.composite p k |
| 79 | (MorphismCover.pairs p k n u) |
| 80 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) K₁ e₁ ψ q h) |
| 81 | from MorphismIntrinsicPresheafSource.Intrinsic.source p k n u |
| 82 | F K φ ψ hψ M η a c ha hc q N i h j hh hi K₀ K₁ e₀ e₁ m hm) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicPresheafSourceEndpoints.MorphismIntrinsic |