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.AlgebraicGeometry.SheafCohomology.Cech.Resolution |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.FormalCoproductAdditive |
| 3 | |
| 4 | /-! # Cech Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CechFunctor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The existing actual sheaf Čech resolutions form an additive functor. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : TopCat.{u}} |
| 17 | |
| 18 | def sheafCechFactorMap {F G : TopCat.Sheaf AddCommGrpCat.{u} X} (f : F ⟶ G) : |
| 19 | SheafCohomology.Cech.SheafComplex.TopCat.Sheaf.cechFactorPresheaf F ⟶ SheafCohomology.Cech.SheafComplex.TopCat.Sheaf.cechFactorPresheaf G where |
| 20 | app A := (SheafCohomology.Cech.TopCatRestrict.TopCat.Sheaf.restrict AddCommGrpCat A.unop.isOpenEmbedding ⋙ |
| 21 | TopCat.Sheaf.pushforward AddCommGrpCat A.unop.inclusion').map f |
| 22 | naturality A B h := by |
| 23 | apply Sheaf.hom_ext |
| 24 | apply NatTrans.ext |
| 25 | funext V |
| 26 | exact f.hom.naturality _ |
| 27 | |
| 28 | def sheafCechFactorFunctor : TopCat.Sheaf AddCommGrpCat.{u} X ⥤ |
| 29 | (Opens X)ᵒᵖ ⥤ TopCat.Sheaf AddCommGrpCat.{u} X where |
| 30 | obj F := SheafCohomology.Cech.SheafComplex.TopCat.Sheaf.cechFactorPresheaf F |
| 31 | map f := sheafCechFactorMap f |
| 32 | map_id F := by |
| 33 | ext A |
| 34 | rfl |
| 35 | map_comp f g := by |
| 36 | ext A |
| 37 | rfl |
| 38 | |
| 39 | instance sheafCechFactorFunctor_additive : (sheafCechFactorFunctor (X := X)).Additive where |
| 40 | map_add := by |
| 41 | intro F G f g |
| 42 | ext A |
| 43 | rfl |
| 44 | |
| 45 | def sheafCechResolutionFunctor {ι : Type u} (U : ι → Opens X) : |
| 46 | TopCat.Sheaf AddCommGrpCat.{u} X ⥤ CochainComplex (TopCat.Sheaf AddCommGrpCat.{u} X) ℕ := |
| 47 | sheafCechFactorFunctor ⋙ cechComplexFunctor U |
| 48 | |
| 49 | instance sheafCechResolutionFunctor_additive {ι : Type u} (U : ι → Opens X) : |
| 50 | (sheafCechResolutionFunctor U).Additive where |
| 51 | map_add := by |
| 52 | intro F G f g |
| 53 | apply HomologicalComplex.Hom.ext |
| 54 | funext n |
| 55 | apply Pi.hom_ext |
| 56 | intro i |
| 57 | change Fin (n + 1) → ι at i |
| 58 | change (Limits.Pi.map (fun j : Fin (n + 1) → ι => |
| 59 | (sheafCechFactorMap (f + g)).app (op (∏ᶜ fun k => U (j k)))) ≫ Pi.π _ i) = |
| 60 | (Limits.Pi.map (fun j : Fin (n + 1) → ι => |
| 61 | (sheafCechFactorMap f).app (op (∏ᶜ fun k => U (j k)))) + |
| 62 | Limits.Pi.map (fun j : Fin (n + 1) → ι => |
| 63 | (sheafCechFactorMap g).app (op (∏ᶜ fun k => U (j k))))) ≫ Pi.π _ i |
| 64 | simp only [Pi.map_π, Preadditive.add_comp] |
| 65 | rfl |
| 66 | |
| 67 | theorem sheafCechResolutionFunctor_obj {ι : Type u} (U : ι → Opens X) |
| 68 | (F : TopCat.Sheaf AddCommGrpCat.{u} X) : |
| 69 | (sheafCechResolutionFunctor U).obj F = SheafCohomology.Cech.SheafComplex.TopCat.Sheaf.cechComplex F U := rfl |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Comparison.Betti.Sheaf.CechFunctor |