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.CechReindex |
| 2 | |
| 3 | /-! # Cech Map Reindex -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechMapReindex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual coefficient-to-bounded-cohomology comparison is |
| 10 | natural under a finite-product-preserving change of principal indices. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem compose_square {A : Type*} [Category A] |
| 18 | {K K' L L' Z : A} {s : K ⟶ K'} {t : L ⟶ L'} |
| 19 | {a : K ⟶ L} {b : K' ⟶ L'} {c : L ⟶ Z} {d : L' ⟶ Z} |
| 20 | (h₁ : a ≫ t = s ≫ b) (h₂ : t ≫ d = c) : s ≫ (b ≫ d) = a ≫ c := by |
| 21 | rw [← Category.assoc, ← h₁, Category.assoc, h₂] |
| 22 | |
| 23 | universe u |
| 24 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 25 | {Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 26 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 27 | (p := p) (J := J) (δ := δ) fY n)) |
| 28 | {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 29 | (r : C ⥤ D) [PreservesFiniteProducts r] (F : D ⥤ Y.Opens) |
| 30 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 31 | |
| 32 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 33 | local notation "K" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.FlasqueComplex.complex fY n I |
| 34 | |
| 35 | local instance coefficient_limits : HasLimitsOfSize.{u, u} (ModuleCat.{u + 2} R) := |
| 36 | ModuleCat.hasLimitsOfSize.{u, u, u + 2, u + 1} |
| 37 | local instance coefficient_colimits : HasColimitsOfSize.{0, 0} (ModuleCat.{u + 2} R) := |
| 38 | ModuleCat.hasColimitsOfSize.{u + 2, u + 1, 0, 0} R |
| 39 | |
| 40 | variable (L : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 41 | (a : L ⟶ Supported.OrderedCechEdge.presheafComplex.{u+1,u,u,u+2} |
| 42 | (Crystalline.ExactRestriction.Coeff (B := B)) Y.carrier F |
| 43 | (BoundedOpen.FlasqueComplex.complex fY n I)) |
| 44 | |
| 45 | abbrev pulledSource := ((AugmentedOrdered.CechReindexTotal.restriction r).mapHomologicalComplex (.up ℕ)).obj L |
| 46 | |
| 47 | def pulledMap : pulledSource r L ⟶ |
| 48 | Supported.OrderedCechEdge.presheafComplex.{u+1,u,u,u+2} R Y.carrier (r ⋙ F) K := |
| 49 | ((AugmentedOrdered.CechReindexTotal.restriction r).mapHomologicalComplex (.up ℕ)).map a |
| 50 | |
| 51 | def sourceIso : (AugmentedOrdered.CechFunctor.bicomplex U (pulledSource r L)).total (.up ℕ) ≅ |
| 52 | (AugmentedOrdered.CechFunctor.bicomplex (r.obj ∘ U) L).total (.up ℕ) := |
| 53 | AugmentedOrdered.CechReindexTotal.totalIso r U L |
| 54 | |
| 55 | theorem cochain : |
| 56 | Cech.cochainMap fY n I (r ⋙ F) U (pulledSource r L) (pulledMap fY n I r F L a) ≫ |
| 57 | (CechReindex.totalIso fY n I r F U).hom = |
| 58 | (sourceIso r U L).hom ≫ Cech.cochainMap fY n I F (r.obj ∘ U) L a := |
| 59 | AugmentedOrdered.CechReindexTotal.total_naturality r U L a |
| 60 | |
| 61 | variable (O : Y.Opens) (hO : ∀ i, F.obj (r.obj (U i)) ≤ O) |
| 62 | (hcoverC : (r ⋙ F).obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (r.obj (U i))) |
| 63 | (hcoverD : F.obj (⊤_ D) ⊓ O ≤ ⨆ i, F.obj (r.obj (U i))) |
| 64 | (hrowsC : ∀ q m, ((Cech.bicomplex fY n I (r ⋙ F) U).X q).ExactAt (m + 1)) |
| 65 | (hrowsD : ∀ q m, ((Cech.bicomplex fY n I F (r.obj ∘ U)).X q).ExactAt (m + 1)) |
| 66 | (hglobalC : (r ⋙ F).obj (⊤_ C) ⊔ O = ⊤) |
| 67 | (hglobalD : F.obj (⊤_ D) ⊔ O = ⊤) |
| 68 | |
| 69 | theorem comparison (i : ℕ) : |
| 70 | HomologicalComplex.homologyMap (sourceIso r U L).hom i ≫ |
| 71 | Cech.map fY n I F (r.obj ∘ U) O hO hcoverD hrowsD hglobalD L a i = |
| 72 | Cech.map fY n I (r ⋙ F) U O hO hcoverC hrowsC hglobalC |
| 73 | (pulledSource r L) (pulledMap fY n I r F L a) i := by |
| 74 | have hc := congrArg (fun m => HomologicalComplex.homologyMap m i) (cochain fY n I r F U L a) |
| 75 | simp only [HomologicalComplex.homologyMap_comp] at hc |
| 76 | exact compose_square hc |
| 77 | (CechReindex.comparison fY n I r F U O hO hcoverC hcoverD |
| 78 | hrowsC hrowsD hglobalC hglobalD i) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedSupported.CechMapReindex |