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