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.MorphismIntrinsicPresheafTarget |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.IntrinsicCechComposite |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.IntrinsicCechCoefficientComposite |
| 4 | |
| 5 | /-! # Intrinsic Presheaf Target Composite -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicPresheafTargetComposite.MorphismIntrinsic |
| 12 | |
| 13 | /-! Express the original target comparison through native Čech composites |
| 14 | before choosing the concrete coefficient complexes and resolutions. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 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] (u : X₁ ⟶ X₂) |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | set_option backward.isDefEq.respectTransparency.types false |
| 24 | |
| 25 | abbrev target |
| 26 | (F : CochainComplex (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 27 | (K : CochainComplex (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 28 | (φ : F ⟶ K) |
| 29 | (ψ : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj F) ⟶ |
| 30 | (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K)) |
| 31 | (hψ : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).map φ) = ψ) |
| 32 | (F' K' : CochainComplex ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 33 | (α : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj F) ⟶ F') |
| 34 | (β : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K) ⟶ K') |
| 35 | (ψ' : F' ⟶ K') |
| 36 | (hψ' : Homotopy (ψ ≫ β) (α ≫ ψ')) |
| 37 | (M : CochainComplex (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 38 | (η : (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := X₂.left.affineOpens)).obj M ⟶ K) |
| 39 | (a : M ⟶ (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 40 | (CechSliceResolution.opens p k n X₂) K).total (.up ℕ)) |
| 41 | (c : M ⟶ (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 42 | (MorphismCover.pairs p k n u) |
| 43 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K)).total (.up ℕ)) |
| 44 | (ha : a = GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map |
| 45 | (CechSliceResolution.opens p k n X₂) K M η) |
| 46 | (hc : GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map (MorphismCover.pairs p k n u) |
| 47 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K) |
| 48 | M (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left) K M η) = c) |
| 49 | (q : ℕ) (G B₁ B₂ : ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 50 | (a₀ : M.homology q ⟶ G) |
| 51 | (p₁ : G ⟶ ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) K').total (.up ℕ)).homology q) |
| 52 | (h : ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) K').total (.up ℕ)).homology q ⟶ B₁) (g : B₂ ⟶ B₁) |
| 53 | (i : ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 54 | (CechSliceResolution.opens p k n X₂) K).total (.up ℕ)).homology q ⟶ B₂) |
| 55 | (j₁ : G ⟶ B₁) (j₂ : M.homology q ⟶ B₂) |
| 56 | [Epi (HomologicalComplex.homologyMap a q)] |
| 57 | (hb : HomologicalComplex.homologyMap c q ≫ |
| 58 | HomologicalComplex.homologyMap (AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map.{1,2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 59 | (NonemptyCechNerve.nerve (MorphismCover.pairs p k n u)) β) q = a₀ ≫ p₁) |
| 60 | (hh : p₁ ≫ h = j₁) (ha₀ : a₀ ≫ j₁ = j₂ ≫ g) |
| 61 | (hi : HomologicalComplex.homologyMap a q ≫ i = j₂) |
| 62 | (K₀ K₁ K₂ : CochainComplex (ModuleCat.{0} (WittVector p k)) ℕ) |
| 63 | (e₀ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₀ ≅ |
| 64 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (CechSliceResolution.opens p k n X₂) F).total (.up ℕ)) |
| 65 | (e₁ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₁ ≅ |
| 66 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) |
| 67 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 68 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj F)).total (.up ℕ)) |
| 69 | (e₂ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₂ ≅ |
| 70 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) F').total (.up ℕ)) := |
| 71 | fun (m : K₀ ⟶ K₁) (m' : K₁ ⟶ K₂) hm hm' => |
| 72 | show Witt.IntrinsicCechComposite.Intrinsic.composite p k |
| 73 | (CechSliceResolution.opens p k n X₂) φ q |
| 74 | (Witt.IntrinsicCechCoefficientComposite.Intrinsic.coefficientIso p k |
| 75 | (CechSliceResolution.opens p k n X₂) |
| 76 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) K₀ e₀ q).hom i ≫ g = |
| 77 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 78 | (HomologicalComplex.homologyMap (c := ComplexShape.up ℕ) m q) ≫ |
| 79 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k).map |
| 80 | (HomologicalComplex.homologyMap (c := ComplexShape.up ℕ) m' q) ≫ |
| 81 | Witt.IntrinsicCechCoefficientComposite.Intrinsic.composite p k |
| 82 | (MorphismCover.pairs p k n u) |
| 83 | (SmoothWitt.DeRham.Comparison.coefficientFunctor p k) K₂ e₂ ψ' q h |
| 84 | from MorphismIntrinsicPresheafTarget.Intrinsic.target p k n u |
| 85 | F K φ ψ hψ F' K' α β ψ' hψ' M η a c ha hc q G B₁ B₂ a₀ p₁ h g i j₁ j₂ hb hh ha₀ hi |
| 86 | K₀ K₁ K₂ e₀ e₁ e₂ m m' hm hm' |
| 87 | |
| 88 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicPresheafTargetComposite.MorphismIntrinsic |
| 89 | |
| 90 | namespace NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicPresheafTargetComposite.MorphismIntrinsicEndpoints |
| 91 | |
| 92 | /-! Substitute the final target endpoints while the coefficient complexes |
| 93 | remain abstract, before choosing their concrete resolutions. -/ |
| 94 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 95 | |
| 96 | private theorem close {T : Sort*} {x y : T} (h : x = y) |
| 97 | (l r : T) (hl : l = x) (hr : r = y) : l = r := |
| 98 | hl.trans (h.trans hr.symm) |
| 99 | |
| 100 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 101 | {X₁ X₂ : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))} |
| 102 | [IsProper X₁.hom] [Smooth X₁.hom] [IsProper X₂.hom] [Smooth X₂.hom] |
| 103 | [X₁.left.IsSeparated] [X₂.left.IsSeparated] (u : X₁ ⟶ X₂) |
| 104 | |
| 105 | set_option backward.isDefEq.respectTransparency false |
| 106 | set_option backward.isDefEq.respectTransparency.types false |
| 107 | |
| 108 | abbrev target |
| 109 | (F : CochainComplex (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 110 | (K : CochainComplex (X₂.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 111 | (φ : F ⟶ K) |
| 112 | (ψ : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj F) ⟶ |
| 113 | (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K)) |
| 114 | (hψ : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).map φ) = ψ) |
| 115 | (F' K' : CochainComplex ((AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.Charts u.left)ᵒᵖ ⥤ ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 116 | (α : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj F) ⟶ F') |
| 117 | (β : (((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresheafRefined.CechPresheafRefinedCohomology.pullback.{1, 2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K) ⟶ K') |
| 118 | (ψ' : F' ⟶ K') |
| 119 | (hψ' : Homotopy (ψ ≫ β) (α ≫ ψ')) |
| 120 | (M : CochainComplex (ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) ℕ) |
| 121 | (η : (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := X₂.left.affineOpens)).obj M ⟶ K) |
| 122 | (a : M ⟶ (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 123 | (CechSliceResolution.opens p k n X₂) K).total (.up ℕ)) |
| 124 | (c : M ⟶ (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 125 | (MorphismCover.pairs p k n u) |
| 126 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K)).total (.up ℕ)) |
| 127 | (ha : a = GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map |
| 128 | (CechSliceResolution.opens p k n X₂) K M η) |
| 129 | (hc : GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.map (MorphismCover.pairs p k n u) |
| 130 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj K) |
| 131 | M (GeometricComparison.CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left) K M η) = c) |
| 132 | (q : ℕ) (G B₁ B₂ : ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 133 | (a₀ : M.homology q ⟶ G) |
| 134 | (p₁ : G ⟶ ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) K').total (.up ℕ)).homology q) |
| 135 | (h : ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) K').total (.up ℕ)).homology q ⟶ B₁) (g : B₂ ⟶ B₁) |
| 136 | (i : ((GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex |
| 137 | (CechSliceResolution.opens p k n X₂) K).total (.up ℕ)).homology q ⟶ B₂) |
| 138 | (j₁ : G ⟶ B₁) (j₂ : M.homology q ⟶ B₂) |
| 139 | [Epi (HomologicalComplex.homologyMap a q)] |
| 140 | (hb : HomologicalComplex.homologyMap c q ≫ |
| 141 | HomologicalComplex.homologyMap (AlgebraicGeometry.Crystalline.Cohomology.Cech.TotalQuasiIso.CechTotalQuasiIso.map.{1,2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k)) |
| 142 | (NonemptyCechNerve.nerve (MorphismCover.pairs p k n u)) β) q = a₀ ≫ p₁) |
| 143 | (hh : p₁ ≫ h = j₁) (ha₀ : a₀ ≫ j₁ = j₂ ≫ g) |
| 144 | (hi : HomologicalComplex.homologyMap a q ≫ i = j₂) |
| 145 | (K₀ K₁ K₂ : CochainComplex (ModuleCat.{0} (WittVector p k)) ℕ) |
| 146 | (e₀ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₀ ≅ |
| 147 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (CechSliceResolution.opens p k n X₂) F).total (.up ℕ)) |
| 148 | (e₁ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₁ ≅ |
| 149 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) |
| 150 | (((GeometricComparison.NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{2} (Crystalline.ExactRestriction.Coeff (B := WittVector p k))) |
| 151 | (AlgebraicGeometry.Crystalline.Cohomology.Affine.MorphismPairs.AffineMorphismPairs.target u.left)).mapHomologicalComplex (.up ℕ)).obj F)).total (.up ℕ)) |
| 152 | (e₂ : ((SmoothWitt.DeRham.Comparison.coefficientFunctor p k).mapHomologicalComplex (.up ℕ)).obj K₂ ≅ |
| 153 | (GeometricComparison.CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex (MorphismCover.pairs p k n u) F').total (.up ℕ)) := |
| 154 | fun (m : K₀ ⟶ K₁) (m' : K₁ ⟶ K₂) hm hm' => |
| 155 | close (MorphismIntrinsic.target p k n u |
| 156 | F K φ ψ hψ F' K' α β ψ' hψ' M η a c ha hc q G B₁ B₂ a₀ p₁ h g i j₁ j₂ hb hh ha₀ hi |
| 157 | K₀ K₁ K₂ e₀ e₁ e₂ m m' hm hm') |
| 158 | |
| 159 | end NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicPresheafTargetComposite.MorphismIntrinsicEndpoints |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI |