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.Relative.PostcomposeComplex |
| 2 | |
| 3 | /-! # Postcompose Augmentation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PostcomposeAugmentation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: geometric postcomposition preserves the original relative augmentation |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 22 | (g : X ⟶ Y) (hg : g ≫ fY = f) (H Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) |
| 23 | |
| 24 | def sourceIso : (CochainComplex.single₀ _).obj |
| 25 | (RelativeCrystalline.ModuleComplex.ambientPresheaf (Q ⋙ BigCrystallineSite.postcompose g hg)) ≅ |
| 26 | (CochainComplex.single₀ _).obj (RelativeCrystalline.ModuleComplex.ambientPresheaf Q) := Iso.refl _ |
| 27 | |
| 28 | theorem augmentationZero : RelativeCrystalline.ModuleComplex.augmentationZero |
| 29 | (H ⋙ BigCrystallineSite.postcompose g hg) (Q ⋙ BigCrystallineSite.postcompose g hg) (Functor.whiskerRight π (BigCrystallineSite.postcompose g hg)) = |
| 30 | RelativeCrystalline.ModuleComplex.augmentationZero H Q π := by |
| 31 | apply NatTrans.ext |
| 32 | funext U |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro a |
| 36 | rfl |
| 37 | |
| 38 | def sourceAugmentation : (CochainComplex.single₀ _).obj |
| 39 | (RelativeCrystalline.ModuleComplex.ambientPresheaf (Q ⋙ BigCrystallineSite.postcompose g hg)) ⟶ |
| 40 | RelativeCrystalline.ModuleComplex.complex (H ⋙ BigCrystallineSite.postcompose g hg) (Q ⋙ BigCrystallineSite.postcompose g hg) |
| 41 | (Functor.whiskerRight π (BigCrystallineSite.postcompose g hg)) := |
| 42 | RelativeCrystalline.ModuleComplex.augmentation (H ⋙ BigCrystallineSite.postcompose g hg) (Q ⋙ BigCrystallineSite.postcompose g hg) |
| 43 | (Functor.whiskerRight π (BigCrystallineSite.postcompose g hg)) |
| 44 | |
| 45 | def targetAugmentation : (CochainComplex.single₀ _).obj |
| 46 | (RelativeCrystalline.ModuleComplex.ambientPresheaf Q) ⟶ RelativeCrystalline.ModuleComplex.complex H Q π := |
| 47 | RelativeCrystalline.ModuleComplex.augmentation H Q π |
| 48 | |
| 49 | theorem sourceAugmentation_zero : (sourceAugmentation g hg H Q π).f 0 = |
| 50 | RelativeCrystalline.ModuleComplex.augmentationZero |
| 51 | (H ⋙ BigCrystallineSite.postcompose g hg) (Q ⋙ BigCrystallineSite.postcompose g hg) (Functor.whiskerRight π (BigCrystallineSite.postcompose g hg)) := |
| 52 | RelativeCrystalline.ModuleComplex.augmentation_zero |
| 53 | (H ⋙ BigCrystallineSite.postcompose g hg) (Q ⋙ BigCrystallineSite.postcompose g hg) (Functor.whiskerRight π (BigCrystallineSite.postcompose g hg)) |
| 54 | |
| 55 | theorem targetAugmentation_zero : (targetAugmentation H Q π).f 0 = |
| 56 | RelativeCrystalline.ModuleComplex.augmentationZero H Q π := |
| 57 | RelativeCrystalline.ModuleComplex.augmentation_zero H Q π |
| 58 | |
| 59 | theorem component_zero (U : Cᵒᵖ) (a : (Q.obj U.unop).ring) : |
| 60 | ((sourceAugmentation g hg H Q π).f 0).app U a = ((targetAugmentation H Q π).f 0).app U a := by |
| 61 | have h₁ := congrArg (fun β => β.app U a) (sourceAugmentation_zero g hg H Q π) |
| 62 | have h₂ := congrArg (fun β => β.app U a) (augmentationZero g hg H Q π) |
| 63 | have h₃ := congrArg (fun β => β.app U a) (targetAugmentation_zero H Q π) |
| 64 | exact h₁.trans (h₂.trans h₃.symm) |
| 65 | |
| 66 | theorem augmentation : sourceAugmentation g hg H Q π ≫ |
| 67 | (PostcomposeComplex.complexIso g hg H Q π).hom = |
| 68 | (sourceIso g hg Q).hom ≫ targetAugmentation H Q π := by |
| 69 | apply (CochainComplex.fromSingle₀Equiv (RelativeCrystalline.ModuleComplex.complex H Q π) |
| 70 | (RelativeCrystalline.ModuleComplex.ambientPresheaf (Q ⋙ BigCrystallineSite.postcompose g hg))).injective |
| 71 | apply Subtype.ext |
| 72 | apply NatTrans.ext |
| 73 | funext U |
| 74 | apply ModuleCat.hom_ext |
| 75 | apply LinearMap.ext |
| 76 | intro a |
| 77 | exact component_zero g hg H Q π U a |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PostcomposeAugmentation |