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.FlasqueCechGlobal |
| 2 | |
| 3 | /-! # Flasque Cech Total -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechTotal.FlasqueCechGlobalNaturality |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Canonical global-section restriction to the Cech total is natural in complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechGlobal.FlasqueCechGlobalComparison |
| 14 | universe u v w |
| 15 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) {ι : Type} (U : ι → Opens X) |
| 16 | {K L : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)) ℕ} |
| 17 | (a : K ⟶ L) |
| 18 | |
| 19 | local instance cech_additive : (cechComplexFunctor (A := ModuleCat.{max u v w} R) U).Additive := by |
| 20 | change (FormalCoproduct.cochainComplexFunctor (FormalCoproduct.mk ι U).cech).Additive |
| 21 | infer_instance |
| 22 | |
| 23 | def presheafMap := |
| 24 | ((sheafToPresheaf (Opens.grothendieckTopology X) (ModuleCat.{max u v w} R)).mapHomologicalComplex (.up ℕ)).map a |
| 25 | |
| 26 | def globalMap : FlasqueCechGlobal.FlasqueCechGlobalComparison.globalComplex R X K ⟶ FlasqueCechGlobal.FlasqueCechGlobalComparison.globalComplex R X L := |
| 27 | (((evaluation (Opens X)ᵒᵖ (ModuleCat.{max u v w} R)).obj (op ⊤)).mapHomologicalComplex (.up ℕ)).map |
| 28 | (presheafMap R X a) |
| 29 | |
| 30 | def bicomplexMap : FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X U K ⟶ FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X U L := |
| 31 | ((cechComplexFunctor U).mapHomologicalComplex (.up ℕ)).map (presheafMap R X a) |
| 32 | |
| 33 | def totalMap : (FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X U K).total (.up ℕ) ⟶ (FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X U L).total (.up ℕ) := |
| 34 | HomologicalComplex₂.total.map (bicomplexMap R X U a) (.up ℕ) |
| 35 | |
| 36 | theorem natural : FlasqueCechGlobal.FlasqueCechGlobalComparison.map R X U K ≫ totalMap R X U a = globalMap R X a ≫ FlasqueCechGlobal.FlasqueCechGlobalComparison.map R X U L := by |
| 37 | apply HomologicalComplex.Hom.ext |
| 38 | funext q |
| 39 | have h : FlasqueCechGlobal.FlasqueCechGlobalComparison.component R X U K q ≫ ((bicomplexMap R X U a).f q).f 0 = |
| 40 | (globalMap R X a).f q ≫ FlasqueCechGlobal.FlasqueCechGlobalComparison.component R X U L q := |
| 41 | Cech.TopRestrictionNaturality.CechTopRestrictionNaturality.map (Opens X) U (a.f q).hom |
| 42 | change (FlasqueCechGlobal.FlasqueCechGlobalComparison.component R X U K q ≫ (FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X U K).ιTotal (.up ℕ) q 0 q rfl) ≫ |
| 43 | (HomologicalComplex₂.total.map (bicomplexMap R X U a) (.up ℕ)).f q = |
| 44 | (globalMap R X a).f q ≫ FlasqueCechGlobal.FlasqueCechGlobalComparison.component R X U L q ≫ (FlasqueCechGlobal.FlasqueCechGlobalComparison.bicomplex R X U L).ιTotal (.up ℕ) q 0 q rfl |
| 45 | rw [Category.assoc, HomologicalComplex₂.ιTotal_map, ← Category.assoc, h, Category.assoc] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.GeometricComparison.FlasqueCechTotal.FlasqueCechGlobalNaturality |