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.Divided.CoordinatesModulePoincare |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DeRham |
| 3 | |
| 4 | /-! # Relative Resolution -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: a relative divided-coordinate resolution of the original structure sheaf |
| 12 | |
| 13 | The proved module-presheaf resolution is transferred through the actual |
| 14 | coefficient universe lift and crystalline sheafification. Its source is |
| 15 | the same structure sheaf used by the original crystalline Ext cohomology. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 25 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 26 | {f : X ⟶ Spec (CommRingCat.of B)} (σ : Type u) |
| 27 | |
| 28 | def coefficientEquivalence : ModuleCat.{u + 1} B ≌ ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B)) := |
| 29 | ModuleCat.restrictScalarsEquivalenceOfRingEquiv (ULift.ringEquiv : ExactRestriction.Coeff (B := B) ≃+* B) |
| 30 | |
| 31 | abbrev coefficientRestriction := (coefficientEquivalence (B := B)).functor |
| 32 | |
| 33 | instance coefficientRestriction_leftAdjoint : (coefficientRestriction (B := B)).IsLeftAdjoint := |
| 34 | (coefficientEquivalence (B := B)).isLeftAdjoint_functor |
| 35 | |
| 36 | instance coefficientRestriction_rightAdjoint : (coefficientRestriction (B := B)).IsRightAdjoint := |
| 37 | (coefficientEquivalence (B := B)).symm.isRightAdjoint_inverse |
| 38 | |
| 39 | abbrev coefficientFunctor : ModuleCat.{u} B ⥤ ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B)) := |
| 40 | ModuleCat.uliftFunctor.{u + 1, u} B ⋙ coefficientRestriction |
| 41 | |
| 42 | def coefficientPresheaves : |
| 43 | ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u} B) ⥤ |
| 44 | ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B))) := |
| 45 | (Functor.whiskeringRight _ _ _).obj (coefficientFunctor (B := B)) |
| 46 | |
| 47 | local notation "L" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution.coefficientPresheaves (p := p) (B := B) (J := J) (δ := δ) (f := f) |
| 48 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DeRham.sheafificationFunctor (p := p) (J := J) (δ := δ) f |
| 49 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology.modulePresheaf (p := p) (J := J) (δ := δ) f |
| 50 | local notation "O" => OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f |
| 51 | |
| 52 | instance coefficientPresheaves_preservesFiniteLimits : PreservesFiniteLimits L where |
| 53 | preservesFiniteLimits T _ _ := by |
| 54 | dsimp [coefficientPresheaves] |
| 55 | infer_instance |
| 56 | |
| 57 | instance coefficientPresheaves_preservesFiniteColimits : PreservesFiniteColimits L where |
| 58 | preservesFiniteColimits T _ _ := by |
| 59 | dsimp [coefficientPresheaves] |
| 60 | infer_instance |
| 61 | |
| 62 | instance sheafification_additive : (F).Additive := by |
| 63 | dsimp [DeRham.sheafificationFunctor] |
| 64 | infer_instance |
| 65 | |
| 66 | instance sheafification_preservesHomology : (F).PreservesHomology := by |
| 67 | change (L ⋙ presheafToSheaf BigCrystallineSite.Object.topology (ModuleCat.{u + 1} (ExactRestriction.Coeff (B := B)))).PreservesHomology |
| 68 | infer_instance |
| 69 | |
| 70 | def complex : CochainComplex (ExactRestriction.ModuleSheaf (p := p) (J := J) (δ := δ) f) ℕ := |
| 71 | ((F).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 72 | (Divided.CoordinatesModuleComplex.complex σ) |
| 73 | |
| 74 | def sourceIso : |
| 75 | ((F).mapHomologicalComplex (ComplexShape.up ℕ)).obj ((CochainComplex.single₀ _).obj A) ≅ |
| 76 | (CochainComplex.single₀ _).obj O := |
| 77 | (HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app A |
| 78 | |
| 79 | /-- This augmentation starts at the original crystalline structure sheaf. -/ |
| 80 | def augmentation : (CochainComplex.single₀ _).obj O ⟶ complex σ := |
| 81 | (sourceIso).inv ≫ ((F).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 82 | (Divided.CoordinatesModuleComplex.augmentation σ) |
| 83 | |
| 84 | /-- Exactness of the canonical relative resolution in the actual crystalline sheaf category. -/ |
| 85 | instance augmentation_quasiIso [Fintype σ] : |
| 86 | QuasiIso (augmentation (p := p) (B := B) (J := J) (δ := δ) (f := f) σ) := by |
| 87 | have : QuasiIso (Divided.CoordinatesModuleComplex.augmentation |
| 88 | (p := p) (B := B) (J := J) (δ := δ) (f := f) σ) := |
| 89 | Divided.CoordinatesModulePoincare.augmentation_quasiIso σ |
| 90 | exact inferInstanceAs (QuasiIso ((sourceIso).inv ≫ |
| 91 | ((F).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 92 | (Divided.CoordinatesModuleComplex.augmentation σ))) |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.RelativeResolution |