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.GeometricComparison.CechPresheaf.ConeProduct |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechTopConeCoordinates |
| 3 | |
| 4 | /-! # Flasque Cech Indexed Global -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A cover indexed through a product-preserving functor computes |
| 11 | the original global sections of a flasque complex by its canonical edge. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | |
| 15 | universe u v w s t |
| 16 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 17 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)) ℕ) |
| 18 | {C : Type s} [Category.{t} C] [HasBinaryProducts C] (F : C ⥤ Opens X) |
| 19 | {ι : Type} (U : ι → C) |
| 20 | [∀ (q : ℕ) (t : Fin (q + 1) → ι), PreservesLimit (Discrete.functor (U ∘ t)) F] |
| 21 | |
| 22 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison.presheafComplex R X K |
| 23 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison.globalComplex R X K |
| 24 | |
| 25 | def sections : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{max u v w} R) ℕ := |
| 26 | ((NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.pullback (A := ModuleCat.{max u v w} R) F).mapHomologicalComplex (.up ℕ)).obj P |
| 27 | |
| 28 | def cone : (CechPresheaf.ConeTotal.CechPresheafConeTotal.constant (C := C)).obj M ⟶ sections R X K F := |
| 29 | CechPresheaf.ConeRefinement.CechPresheafConeRefinement.cone F P M (CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) P) |
| 30 | |
| 31 | def bicomplex := CechPresheaf.ConeTotal.CechPresheafConeTotal.bicomplex U (sections R X K F) |
| 32 | |
| 33 | def map : M ⟶ (bicomplex R X K F U).total (.up ℕ) := |
| 34 | CechPresheaf.ConeTotal.CechPresheafConeTotal.map U (sections R X K F) M (cone R X K F) |
| 35 | |
| 36 | def productIso : (bicomplex R X K F U).total (.up ℕ) ≅ |
| 37 | (FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X (F.obj ∘ U) K).total (.up ℕ) := |
| 38 | HomologicalComplex₂.total.mapIso (NonemptyCech.ProductBicomplex.NonemptyCechProductBicomplex.iso F U P) (.up ℕ) |
| 39 | |
| 40 | theorem map_product : map R X K F U ≫ (productIso R X K F U).hom = |
| 41 | FlasqueCechGlobal.FlasqueCechGlobalComparison.map R X (F.obj ∘ U) K := |
| 42 | (CechPresheaf.ConeProduct.CechPresheafConeProduct.augmentation F U P M (CechPresheaf.TopCone.CechPresheafTopCone.cone (Opens X) P)).trans |
| 43 | (CechTopConeCoordinates.FlasqueCechTopConeCoordinates.map_eq R X (F.obj ∘ U) K) |
| 44 | |
| 45 | variable (hU : iSup (F.obj ∘ U) = ⊤) |
| 46 | (hK : ∀ q, TopCat.Presheaf.IsFlasque (X := X) (K.X q).obj) |
| 47 | |
| 48 | include hU hK in |
| 49 | theorem quasiIso : QuasiIso (map R X K F U) := by |
| 50 | have h : QuasiIso (map R X K F U ≫ (productIso R X K F U).hom) := |
| 51 | (map_product R X K F U).symm ▸ FlasqueCechGlobal.FlasqueCechGlobalComparison.quasiIso R X (F.obj ∘ U) K hU hK |
| 52 | exact (quasiIso_iff_comp_right (map R X K F U) (productIso R X K F U).hom).mp h |
| 53 | |
| 54 | def homologyIso (i : ℕ) : ((bicomplex R X K F U).total (.up ℕ)).homology i ≅ (M).homology i := by |
| 55 | letI : QuasiIso (map R X K F U) := quasiIso R X K F U hU hK |
| 56 | exact (asIso (HomologicalComplex.homologyMap (map R X K F U) i)).symm |
| 57 | |
| 58 | theorem homology (i : ℕ) : HomologicalComplex.homologyMap (map R X K F U) i ≫ |
| 59 | (homologyIso R X K F U hU hK i).hom = 𝟙 ((M).homology i) := by |
| 60 | let : QuasiIso (map R X K F U) := quasiIso R X K F U hU hK |
| 61 | exact (asIso (HomologicalComplex.homologyMap (map R X K F U) i)).hom_inv_id |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechIndexedGlobal.FlasqueCechIndexedGlobalComparison |