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.ModuleCechTopRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.TopRestrictionNaturality |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Module.TotalEdge |
| 4 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CochainLimits |
| 5 | |
| 6 | /-! # Flasque Cech Global -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A complex of flasque module sheaves computes its original Cech total |
| 13 | from its actual global sections, through canonical restriction. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | universe u v w |
| 18 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 19 | {ι : Type} (U : ι → Opens X) |
| 20 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)) ℕ) |
| 21 | |
| 22 | local instance cech_additive : (cechComplexFunctor (A := ModuleCat.{max u v w} R) U).Additive := by |
| 23 | change (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).Additive |
| 24 | infer_instance |
| 25 | |
| 26 | def presheafComplex : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{max u v w} R) ℕ := |
| 27 | ((sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)).mapHomologicalComplex (.up ℕ)).obj K |
| 28 | |
| 29 | def globalComplex : CochainComplex (ModuleCat.{max u v w} R) ℕ := |
| 30 | (((evaluation (Opens X)ᵒᵖ (ModuleCat.{max u v w} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ)).obj |
| 31 | (presheafComplex R X K) |
| 32 | |
| 33 | def bicomplex : HomologicalComplex₂ (ModuleCat.{max u v w} R) (.up ℕ) (.up ℕ) := |
| 34 | ((cechComplexFunctor U).mapHomologicalComplex (.up ℕ)).obj (presheafComplex R X K) |
| 35 | |
| 36 | def component (q : ℕ) : (globalComplex R X K).X q ⟶ ((FlasqueCechGlobalComparison.bicomplex R X U K).X q).X 0 := |
| 37 | Cech.TopRestriction.CechTopRestriction.map (Opens X) U (K.X q).obj |
| 38 | |
| 39 | theorem comm (q q' : ℕ) : component R X U K q ≫ ((FlasqueCechGlobalComparison.bicomplex R X U K).d q q').f 0 = |
| 40 | (globalComplex R X K).d q q' ≫ component R X U K q' := |
| 41 | Cech.TopRestrictionNaturality.CechTopRestrictionNaturality.map (Opens X) U ((K.d q q').hom) |
| 42 | |
| 43 | theorem cocycle (q : ℕ) : component R X U K q ≫ ((FlasqueCechGlobalComparison.bicomplex R X U K).X q).d 0 1 = 0 := |
| 44 | Cech.TopRestriction.CechTopRestriction.map_comp_d (Opens X) U (K.X q).obj |
| 45 | |
| 46 | local instance hasTotal : (FlasqueCechGlobalComparison.bicomplex R X U K).HasTotal (.up ℕ) := |
| 47 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 48 | |
| 49 | def map : globalComplex R X K ⟶ (FlasqueCechGlobalComparison.bicomplex R X U K).total (.up ℕ) := |
| 50 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (bicomplex R X U K)) (globalComplex R X K) (component R X U K) |
| 51 | (fun q q' _ => comm R X U K q q') (cocycle R X U K) |
| 52 | |
| 53 | theorem quasiIso (hU : iSup U = ⊤) |
| 54 | (hK : ∀ q, TopCat.Presheaf.IsFlasque (X := X) (K.X q).obj) : |
| 55 | QuasiIso (map R X U K) := by |
| 56 | apply Module.TotalEdge.ModuleTotalEdge.quasiIso.{u, max v w} R (FlasqueCechGlobalComparison.bicomplex R X U K) (globalComplex R X K) |
| 57 | (component R X U K) (fun q q' _ => comm R X U K q q') (cocycle R X U K) |
| 58 | · intro q |
| 59 | exact (ModuleCechTopRestriction.LargeModuleCechTopRestriction.exact_and_mono R X (K.X q) U hU).1 |
| 60 | · intro q |
| 61 | exact (ModuleCechTopRestriction.LargeModuleCechTopRestriction.exact_and_mono R X (K.X q) U hU).2 |
| 62 | · intro q r |
| 63 | let := hK q |
| 64 | exact LargeModuleAt.LargeModuleFlasqueCech.exactAt_succ R X (K.X q) U hU r |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison |