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.AlgebraicGeometry.Crystalline.Cohomology.PolynomialResolution |
| 2 | import Mathlib.CategoryTheory.Sites.Abelian |
| 3 | import Mathlib.Algebra.Homology.SingleHomology |
| 4 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRingsExact |
| 5 | import Mathlib.CategoryTheory.Limits.Preserves.FunctorCategory |
| 6 | |
| 7 | /-! # Polynomial Sheaf Resolution -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialSheafResolution.CrystallinePolynomialSheafResolution |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # A polynomial coordinate resolution of the native crystalline structure sheaf |
| 15 | |
| 16 | The coefficient-universe lift and sheafification are exact. Applying them |
| 17 | to the proved presheaf augmentation gives a quasi-isomorphic resolution |
| 18 | of Cohomology's actual crystalline structure sheaf, in every cohomological degree. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory Limits |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [CharP k p] |
| 26 | (X : Over (AlgebraicGeometry.Spec (CommRingCat.of k))) (σ : Type u) [Fintype σ] |
| 27 | |
| 28 | local notation "W" => WittVector p k |
| 29 | local notation "R" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.CoefficientRing p k |
| 30 | local notation "C" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.Object p k X |
| 31 | local notation "J" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Site.topology p k X |
| 32 | abbrev Presheaves := Cᵒᵖ ⥤ ModuleCat.{u} W |
| 33 | abbrev Sheaves := Sheaf J (ModuleCat.{u + 1} R) |
| 34 | |
| 35 | local notation "P" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialSheafResolution.CrystallinePolynomialSheafResolution.Presheaves p k X |
| 36 | local notation "V" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialSheafResolution.CrystallinePolynomialSheafResolution.Sheaves p k X |
| 37 | |
| 38 | def coefficientLift : ModuleCat.{u} W ⥤ ModuleCat.{u + 1} R := |
| 39 | ModuleCat.uliftFunctor.{u + 1} W ⋙ |
| 40 | ModuleCat.restrictScalars (ULift.ringEquiv : R ≃+* W).toRingHom |
| 41 | |
| 42 | instance coefficientLift_additive : (coefficientLift p k).Additive := by |
| 43 | unfold coefficientLift |
| 44 | infer_instance |
| 45 | |
| 46 | instance coefficientLift_preservesFiniteLimits : PreservesFiniteLimits (coefficientLift p k) := by |
| 47 | unfold coefficientLift |
| 48 | exact comp_preservesFiniteLimits _ _ |
| 49 | |
| 50 | instance coefficientLift_preservesFiniteColimits : PreservesFiniteColimits (coefficientLift p k) := by |
| 51 | unfold coefficientLift |
| 52 | exact comp_preservesFiniteColimits _ _ |
| 53 | |
| 54 | def toSheaf : P ⥤ V := |
| 55 | (Functor.whiskeringRight Cᵒᵖ (ModuleCat.{u} W) (ModuleCat.{u + 1} R)).obj (coefficientLift p k) ⋙ |
| 56 | presheafToSheaf J (ModuleCat.{u + 1} R) |
| 57 | |
| 58 | instance toSheaf_additive : (toSheaf p k X).Additive := by |
| 59 | unfold toSheaf |
| 60 | infer_instance |
| 61 | |
| 62 | instance toSheaf_preservesFiniteLimits : PreservesFiniteLimits (toSheaf p k X) := by |
| 63 | unfold toSheaf |
| 64 | have : PreservesFiniteLimits |
| 65 | ((Functor.whiskeringRight Cᵒᵖ (ModuleCat.{u} W) (ModuleCat.{u + 1} R)).obj (coefficientLift p k)) := |
| 66 | ⟨fun _ _ _ => by infer_instance⟩ |
| 67 | exact comp_preservesFiniteLimits _ _ |
| 68 | |
| 69 | instance toSheaf_preservesFiniteColimits : PreservesFiniteColimits (toSheaf p k X) := by |
| 70 | unfold toSheaf |
| 71 | have : PreservesFiniteColimits |
| 72 | ((Functor.whiskeringRight Cᵒᵖ (ModuleCat.{u} W) (ModuleCat.{u + 1} R)).obj (coefficientLift p k)) := |
| 73 | ⟨fun _ _ _ => by infer_instance⟩ |
| 74 | exact comp_preservesFiniteColimits _ _ |
| 75 | |
| 76 | def coefficientIso : (toSheaf p k X).obj (Site.functions p k X) ≅ Site.structureSheaf p k X := |
| 77 | Iso.refl _ |
| 78 | |
| 79 | def complex : CochainComplex V ℕ := |
| 80 | ((toSheaf p k X).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 81 | (PolynomialResolution.CrystallinePolynomialResolution.complex p k X σ) |
| 82 | |
| 83 | /-- The augmentation starts at the native Cohomology structure sheaf. -/ |
| 84 | def augmentation : (CochainComplex.single₀ V).obj (Site.structureSheaf p k X) ⟶ |
| 85 | complex p k X σ := |
| 86 | (CochainComplex.single₀ V).map (coefficientIso p k X).inv ≫ |
| 87 | (HomologicalComplex.singleMapHomologicalComplex (toSheaf p k X) (ComplexShape.up ℕ) 0).inv.app |
| 88 | (Site.functions p k X) ≫ |
| 89 | ((toSheaf p k X).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 90 | (PolynomialResolution.CrystallinePolynomialResolution.augmentation p k X σ) |
| 91 | |
| 92 | instance augmentation_quasiIso : QuasiIso (augmentation p k X σ) := by |
| 93 | have hmap : QuasiIso (((toSheaf p k X).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 94 | (PolynomialResolution.CrystallinePolynomialResolution.augmentation p k X σ)) := by infer_instance |
| 95 | have hinner : QuasiIso |
| 96 | ((HomologicalComplex.singleMapHomologicalComplex (toSheaf p k X) (ComplexShape.up ℕ) 0).inv.app |
| 97 | (Site.functions p k X) ≫ |
| 98 | ((toSheaf p k X).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 99 | (PolynomialResolution.CrystallinePolynomialResolution.augmentation p k X σ)) := quasiIso_comp |
| 100 | ((HomologicalComplex.singleMapHomologicalComplex (toSheaf p k X) (ComplexShape.up ℕ) 0).inv.app |
| 101 | (Site.functions p k X)) |
| 102 | (((toSheaf p k X).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 103 | (PolynomialResolution.CrystallinePolynomialResolution.augmentation p k X σ)) |
| 104 | exact quasiIso_comp ((CochainComplex.single₀ V).map (coefficientIso p k X).inv) _ (hφ' := hinner) |
| 105 | |
| 106 | def degreeZeroHomologyIso : (complex p k X σ).homology 0 ≅ Site.structureSheaf p k X := by |
| 107 | letI : QuasiIsoAt (augmentation p k X σ) 0 := (augmentation_quasiIso p k X σ).quasiIsoAt 0 |
| 108 | exact (isoOfQuasiIsoAt (augmentation p k X σ) 0).symm ≪≫ |
| 109 | HomologicalComplex.singleObjHomologySelfIso (ComplexShape.up ℕ) 0 (Site.structureSheaf p k X) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.PolynomialSheafResolution.CrystallinePolynomialSheafResolution |