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.BoundedSupported.CechOpenEquality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechMapReindex |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechPrecompose |
| 4 | |
| 5 | /-! # Cech Coefficient Reindex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechCoefficientReindex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficient transport and a genuine change of principal indices preserve |
| 12 | the original supported comparison to bounded crystalline cohomology. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | universe u |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 20 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 21 | (p := p) (J := J) (δ := δ) fY n)) |
| 22 | {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 23 | (r : C ⥤ D) [PreservesFiniteProducts r] |
| 24 | (F₁ : C ⥤ Y.Opens) (F₂ : D ⥤ Y.Opens) (hF : F₁ = r ⋙ F₂) |
| 25 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 26 | |
| 27 | local instance coefficient_limits : HasLimitsOfSize.{u, u} |
| 28 | (ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 29 | ModuleCat.hasLimitsOfSize.{u, u, u+2, u+1} |
| 30 | local instance coefficient_colimits : HasColimitsOfSize.{0, 0} |
| 31 | (ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 32 | ModuleCat.hasColimitsOfSize.{u+2, u+1, 0, 0} _ |
| 33 | |
| 34 | variable |
| 35 | (L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u+2} |
| 36 | (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 37 | (M : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{u+2} |
| 38 | (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 39 | (c : L ⟶ CechMapReindex.pulledSource r M) |
| 40 | (a : M ⟶ Supported.OrderedCechEdge.presheafComplex.{u+1,u,u,u+2} |
| 41 | (Crystalline.ExactRestriction.Coeff (B := B)) Y.carrier F₂ |
| 42 | (BoundedOpen.FlasqueComplex.complex fY n I)) |
| 43 | |
| 44 | def coefficientMap : L ⟶ |
| 45 | Supported.OrderedCechEdge.presheafComplex.{u+1,u,u,u+2} |
| 46 | (Crystalline.ExactRestriction.Coeff (B := B)) Y.carrier F₁ |
| 47 | (BoundedOpen.FlasqueComplex.complex fY n I) := |
| 48 | CechOpenEquality.transport fY n I (r ⋙ F₂) F₁ hF.symm L |
| 49 | (c ≫ CechMapReindex.pulledMap fY n I r F₂ M a) |
| 50 | |
| 51 | def sourceMap : (AugmentedOrdered.CechFunctor.bicomplex U L).total (.up ℕ) ⟶ |
| 52 | (AugmentedOrdered.CechFunctor.bicomplex (r.obj ∘ U) M).total (.up ℕ) := |
| 53 | AugmentedOrdered.CechForgetNaturality.map U c ≫ |
| 54 | (CechMapReindex.sourceIso r U M).hom |
| 55 | |
| 56 | variable (O : Y.Opens) |
| 57 | (hO₁ : ∀ j, F₁.obj (U j) ≤ O) |
| 58 | (hO₂ : ∀ j, F₂.obj (r.obj (U j)) ≤ O) |
| 59 | (hcover₁ : F₁.obj (⊤_ C) ⊓ O ≤ ⨆ j, F₁.obj (U j)) |
| 60 | (hcover₂ : F₂.obj (⊤_ D) ⊓ O ≤ ⨆ j, F₂.obj (r.obj (U j))) |
| 61 | (hrows₁ : ∀ q m, ((Cech.bicomplex fY n I F₁ U).X q).ExactAt (m+1)) |
| 62 | (hrows₂ : ∀ q m, |
| 63 | ((Cech.bicomplex fY n I F₂ (r.obj ∘ U)).X q).ExactAt (m+1)) |
| 64 | (hglobal₁ : F₁.obj (⊤_ C) ⊔ O = ⊤) |
| 65 | (hglobal₂ : F₂.obj (⊤_ D) ⊔ O = ⊤) |
| 66 | |
| 67 | theorem comparison (i : ℕ) : |
| 68 | Cech.map fY n I F₁ U O hO₁ hcover₁ hrows₁ hglobal₁ L |
| 69 | (coefficientMap fY n I r F₁ F₂ hF L M c a) i = |
| 70 | HomologicalComplex.homologyMap (sourceMap r U L M c) i ≫ |
| 71 | Cech.map fY n I F₂ (r.obj ∘ U) O hO₂ hcover₂ hrows₂ hglobal₂ M a i := by |
| 72 | have hcoverR : (r ⋙ F₂).obj (⊤_ C) ⊓ O ≤ ⨆ j, F₂.obj (r.obj (U j)) := by |
| 73 | simpa only [hF, Functor.comp_obj] using hcover₁ |
| 74 | have hrowsR (q m : ℕ) : |
| 75 | ((Cech.bicomplex fY n I (r ⋙ F₂) U).X q).ExactAt (m+1) := by |
| 76 | rw [← hF] |
| 77 | exact hrows₁ q m |
| 78 | have hglobalR : (r ⋙ F₂).obj (⊤_ C) ⊔ O = ⊤ := by |
| 79 | rw [← hF] |
| 80 | exact hglobal₁ |
| 81 | have hopen := CechOpenEquality.comparison fY n I (r ⋙ F₂) F₁ hF.symm U L |
| 82 | (c ≫ CechMapReindex.pulledMap fY n I r F₂ M a) |
| 83 | O hO₂ hO₁ hcoverR hcover₁ hrowsR hrows₁ hglobalR hglobal₁ i |
| 84 | have hpre := CechPrecompose.comparison fY n I (r ⋙ F₂) U O |
| 85 | hO₂ hcoverR hrowsR hglobalR c |
| 86 | (CechMapReindex.pulledMap fY n I r F₂ M a) i |
| 87 | have hreindex := CechMapReindex.comparison fY n I r F₂ U M a O |
| 88 | hO₂ hcoverR hcover₂ hrowsR hrows₂ hglobalR hglobal₂ i |
| 89 | calc |
| 90 | Cech.map fY n I F₁ U O hO₁ hcover₁ hrows₁ hglobal₁ L |
| 91 | (coefficientMap fY n I r F₁ F₂ hF L M c a) i = |
| 92 | Cech.map fY n I (r ⋙ F₂) U O hO₂ hcoverR hrowsR hglobalR L |
| 93 | (c ≫ CechMapReindex.pulledMap fY n I r F₂ M a) i := hopen.symm |
| 94 | _ = HomologicalComplex.homologyMap (AugmentedOrdered.CechForgetNaturality.map U c) i ≫ |
| 95 | Cech.map fY n I (r ⋙ F₂) U O hO₂ hcoverR hrowsR hglobalR |
| 96 | (CechMapReindex.pulledSource r M) |
| 97 | (CechMapReindex.pulledMap fY n I r F₂ M a) i := hpre |
| 98 | _ = HomologicalComplex.homologyMap (AugmentedOrdered.CechForgetNaturality.map U c) i ≫ |
| 99 | (HomologicalComplex.homologyMap (CechMapReindex.sourceIso r U M).hom i ≫ |
| 100 | Cech.map fY n I F₂ (r.obj ∘ U) O hO₂ hcover₂ hrows₂ hglobal₂ M a i) := |
| 101 | congrArg (fun b => HomologicalComplex.homologyMap |
| 102 | (AugmentedOrdered.CechForgetNaturality.map U c) i ≫ b) hreindex.symm |
| 103 | _ = HomologicalComplex.homologyMap (sourceMap r U L M c) i ≫ |
| 104 | Cech.map fY n I F₂ (r.obj ∘ U) O hO₂ hcover₂ hrows₂ hglobal₂ M a i := by |
| 105 | simp only [sourceMap, HomologicalComplex.homologyMap_comp, Category.assoc] |
| 106 | |
| 107 | end |
| 108 | |
| 109 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechCoefficientReindex |