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.Ext.ExtPullbackComparison |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.Resolution |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InjectiveExactFunctorAugmentation |
| 4 | |
| 5 | /-! # Ext -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.Ext.Comparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restricting a common original crystalline injective resolution realizes the original bounded-level Ext map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open Abelian OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) (n m : ℕ) (hnm : n ≤ m) |
| 21 | |
| 22 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 23 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) (J := J) (δ := δ) f n m hnm |
| 24 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.constantUnit (p := p) (J := J) (δ := δ) f m |
| 25 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CohomologyTransition.constantUnitIso (p := p) (J := J) (δ := δ) f n m hnm |
| 26 | |
| 27 | theorem component (i : ℕ) : IntegralComparison.Ext.ExtPullbackComparison.component T R A (e).inv i |
| 28 | (BoundedCrystalline.CrystallineCohomology.structureSheaf f m) = |
| 29 | ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i) := by |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro α |
| 33 | exact (Ext.comp_mk₀_id _).symm |
| 34 | |
| 35 | variable (I : InjectiveResolution (BigCrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f)) |
| 36 | |
| 37 | local notation "In" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f n I |
| 38 | local notation "Im" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.resolution f m I |
| 39 | |
| 40 | def complexMap : InjectiveSectionCohomology.complex R A Im ⟶ |
| 41 | InjectiveSectionCohomology.complex R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In := |
| 42 | IntegralComparison.Ext.ExtPullbackComparison.complexMap T R A (e).inv (Im).cocomplex |
| 43 | |
| 44 | theorem augmentation_zero : (In).ι.f 0 = (T).map ((Im).ι.f 0) := |
| 45 | (ExactInjectiveResolution.map_ι_zero (BoundedCrystalline.Site.restriction f n) I).trans |
| 46 | (congrArg (T).map (ExactInjectiveResolution.map_ι_zero |
| 47 | (BoundedCrystalline.Site.restriction f m) I)).symm |
| 48 | |
| 49 | theorem exact_homology (i : ℕ) : |
| 50 | HomologicalComplex.homologyMap (Acyclic.ExactFunctorComplex.map T R A (Im).cocomplex) i ≫ |
| 51 | (InjectiveSectionCohomology.homologyIso R ((T).obj A) In i).hom = |
| 52 | (InjectiveSectionCohomology.homologyIso R A Im i).hom ≫ |
| 53 | IntegralComparison.Ext.ExactFunctorModule.component T R A i (BoundedCrystalline.CrystallineCohomology.structureSheaf f m) := by |
| 54 | let κ : (CochainComplex.single₀ (BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n)).obj |
| 55 | ((T).obj (BoundedCrystalline.CrystallineCohomology.structureSheaf f m)) ⟶ |
| 56 | ((T).mapHomologicalComplex (ComplexShape.up ℕ)).obj (Im).cocomplex := (In).ι |
| 57 | let : QuasiIso κ := (In).quasiIso |
| 58 | exact InjectiveExactFunctorAugmentation.homology T R A Im κ |
| 59 | (fun a => (In).injective a) (augmentation_zero f n m hnm I) i |
| 60 | |
| 61 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (complexMap f n m hnm I) i ≫ |
| 62 | (InjectiveSectionCohomology.homologyIso R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In i).hom = |
| 63 | (InjectiveSectionCohomology.homologyIso R A Im i).hom ≫ |
| 64 | ModuleCat.ofHom (Bounded.CohomologyTransition.map f n m hnm i) := by |
| 65 | have h₁ := exact_homology f n m hnm I i |
| 66 | have h₂ := InjectiveSource.Comparison.homology R (e).inv In i |
| 67 | have hm := HomologicalComplex.homologyMap_comp (Acyclic.ExactFunctorComplex.map T R A (Im).cocomplex) |
| 68 | (IntegralComparison.Ext.SourceModule.complexMap R (e).inv (In).cocomplex) i |
| 69 | have h := (congrArg (fun a => a ≫ |
| 70 | (InjectiveSectionCohomology.homologyIso R (BoundedCrystalline.CrystallineCohomology.constantUnit f n) In i).hom) hm).trans |
| 71 | ((Category.assoc _ _ _).trans |
| 72 | ((congrArg (fun a => HomologicalComplex.homologyMap |
| 73 | (Acyclic.ExactFunctorComplex.map T R A (Im).cocomplex) i ≫ a) h₂).trans |
| 74 | ((Category.assoc _ _ _).symm.trans |
| 75 | ((congrArg (fun a => a ≫ IntegralComparison.Ext.SourceModule.component R (e).inv i |
| 76 | (BoundedCrystalline.CrystallineCohomology.structureSheaf f n)) h₁).trans |
| 77 | (Category.assoc _ _ _))))) |
| 78 | exact h.trans (congrArg (fun a => (InjectiveSectionCohomology.homologyIso R A Im i).hom ≫ a) |
| 79 | (component f n m hnm i)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.Ext.Comparison |