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.CoordinatesModuleMaps |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesDeRham |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineCohomology |
| 4 | |
| 5 | /-! # Coordinates Module Complex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesModuleComplex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: the relative resolution with the original crystalline coefficients |
| 13 | |
| 14 | The relative differential is linear over each original ambient ring, |
| 15 | hence over the original base. The canonical augmentation starts at the |
| 16 | same module presheaf used to define the original crystalline cohomology. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.DividedCoordinates OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesForms |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 26 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 27 | {f : X ⟶ Spec (CommRingCat.of B)} (σ : Type u) |
| 28 | |
| 29 | def differential (n : ℕ) : |
| 30 | CoordinatesModuleMaps.formsPresheaf (p := p) (B := B) (J := J) (δ := δ) (f := f) σ n ⟶ |
| 31 | CoordinatesModuleMaps.formsPresheaf σ (n + 1) where |
| 32 | app U := (ModuleCat.restrictScalars U.unop.base).map |
| 33 | (ModuleCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential U.unop.ring (Crystalline.DividedCoordinates.object U.unop σ).ring |
| 34 | (Crystalline.DividedCoordinates.object U.unop σ).ideal (Crystalline.DividedCoordinates.object U.unop σ).dividedPowers n)) |
| 35 | naturality _ _ α := by |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro ω |
| 39 | exact (CoordinatesForms.formsMap_differential σ α.unop n ω).symm |
| 40 | |
| 41 | theorem differential_square (n : ℕ) : |
| 42 | differential (p := p) (B := B) (J := J) (δ := δ) (f := f) σ n ≫ differential σ (n + 1) = 0 := by |
| 43 | apply NatTrans.ext |
| 44 | funext U |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply LinearMap.ext |
| 47 | intro ω |
| 48 | exact AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential_square U.unop.ring (Crystalline.DividedCoordinates.object U.unop σ).ring |
| 49 | (Crystalline.DividedCoordinates.object U.unop σ).ideal (Crystalline.DividedCoordinates.object U.unop σ).dividedPowers n ω |
| 50 | |
| 51 | def complex : CochainComplex ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u} B) ℕ := |
| 52 | CochainComplex.of (CoordinatesModuleMaps.formsPresheaf σ) (differential σ) (differential_square σ) |
| 53 | |
| 54 | theorem complex_d (n : ℕ) : |
| 55 | (complex (p := p) (B := B) (J := J) (δ := δ) (f := f) σ).d n (n + 1) = differential σ n := |
| 56 | CochainComplex.of_d _ _ n |
| 57 | |
| 58 | def constantsLinear (U : BigCrystallineSite.Object p B J δ f) : U.ring →ₗ[U.ring] CoordinatesForms.Forms σ U 0 := |
| 59 | ((AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.degreeZeroEquiv U.ring (Crystalline.DividedCoordinates.object U σ).ring (Crystalline.DividedCoordinates.object U σ).ideal |
| 60 | (Crystalline.DividedCoordinates.object U σ).dividedPowers).symm.restrictScalars U.ring).toLinearMap.comp |
| 61 | (Algebra.linearMap U.ring (Crystalline.DividedCoordinates.object U σ).ring) |
| 62 | |
| 63 | theorem constantsLinear_apply (U : BigCrystallineSite.Object p B J δ f) (a : U.ring) : |
| 64 | constantsLinear σ U a = CoordinatesDeRham.constants σ U a := rfl |
| 65 | |
| 66 | def augmentationZero : BigCrystallineCohomology.modulePresheaf (p := p) (J := J) (δ := δ) f ⟶ |
| 67 | CoordinatesModuleMaps.formsPresheaf σ 0 where |
| 68 | app U := ModuleCat.ofHom |
| 69 | (X := (BigCrystallineCohomology.modulePresheaf f).obj U) |
| 70 | (Y := CoordinatesModuleMaps.formsModule σ U.unop 0) |
| 71 | { toFun := constantsLinear σ U.unop |
| 72 | map_add' := (constantsLinear σ U.unop).map_add |
| 73 | map_smul' := fun b a => (constantsLinear σ U.unop).map_smul (U.unop.base b) a } |
| 74 | naturality _ _ α := by |
| 75 | apply ModuleCat.hom_ext |
| 76 | apply LinearMap.ext |
| 77 | intro a |
| 78 | exact (CoordinatesDeRham.constants_natural σ α.unop a).symm |
| 79 | |
| 80 | theorem augmentationZero_differential : |
| 81 | augmentationZero (p := p) (B := B) (J := J) (δ := δ) (f := f) σ ≫ differential σ 0 = 0 := by |
| 82 | apply NatTrans.ext |
| 83 | funext U |
| 84 | apply ModuleCat.hom_ext |
| 85 | apply LinearMap.ext |
| 86 | intro a |
| 87 | exact CoordinatesDeRham.constants_differential σ U.unop a |
| 88 | |
| 89 | def augmentation : |
| 90 | (CochainComplex.single₀ ((BigCrystallineSite.Object p B J δ f)ᵒᵖ ⥤ ModuleCat.{u} B)).obj |
| 91 | (BigCrystallineCohomology.modulePresheaf f) ⟶ complex σ := |
| 92 | (CochainComplex.fromSingle₀Equiv (complex σ) (BigCrystallineCohomology.modulePresheaf f)).symm |
| 93 | ⟨augmentationZero σ, by rw [complex_d]; exact augmentationZero_differential σ⟩ |
| 94 | |
| 95 | theorem augmentation_zero : |
| 96 | (augmentation (p := p) (B := B) (J := J) (δ := δ) (f := f) σ).f 0 = augmentationZero σ := |
| 97 | CochainComplex.fromSingle₀Equiv_symm_apply_f_zero _ _ |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Divided.CoordinatesModuleComplex |