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.HodgeConjecture.DegreeTwo.SingularSheafPullback |
| 2 | |
| 3 | /-! # Pushforward Sheaf Stalk -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PushforwardSheafStalk.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Pushforward along an embedding preserves the actual source stalk complexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 12 | open _root_.TopCat.Presheaf |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {R : Type} [Ring R] {X Y : TopCat.{0}} (f : Y ⟶ X) |
| 17 | |
| 18 | theorem sheafStalkPushforward_naturality {F G : TopCat.Sheaf (ModuleCat.{0} R) Y} |
| 19 | (φ : F ⟶ G) (y : Y) : |
| 20 | (stalkFunctor (ModuleCat.{0} R) (f y)).map |
| 21 | (((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).map φ).hom) ≫ |
| 22 | stalkPushforward (ModuleCat.{0} R) f G.obj y = |
| 23 | stalkPushforward (ModuleCat.{0} R) f F.obj y ≫ |
| 24 | (stalkFunctor (ModuleCat.{0} R) y).map φ.hom := by |
| 25 | change (stalkFunctor (ModuleCat.{0} R) (f y)).map |
| 26 | ((TopCat.Presheaf.pushforward (ModuleCat.{0} R) f).map φ.hom) ≫ |
| 27 | stalkPushforward (ModuleCat.{0} R) f G.obj y = |
| 28 | stalkPushforward (ModuleCat.{0} R) f F.obj y ≫ (stalkFunctor (ModuleCat.{0} R) y).map φ.hom |
| 29 | apply stalk_hom_ext |
| 30 | intro U hy |
| 31 | rw [← Category.assoc, stalkFunctor_map_germ, Category.assoc, stalkPushforward_germ, |
| 32 | ← Category.assoc, stalkPushforward_germ, stalkFunctor_map_germ] |
| 33 | rfl |
| 34 | |
| 35 | def moduleSheafPushforwardComplex (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) Y) ℕ) := |
| 36 | ((TopCat.Sheaf.pushforward (ModuleCat.{0} R) f).mapHomologicalComplex (ComplexShape.up ℕ)).obj K |
| 37 | |
| 38 | def pushforwardSheafStalkComplexMap (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) Y) ℕ) |
| 39 | (y : Y) : AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex (moduleSheafPushforwardComplex f K) (f y) ⟶ |
| 40 | AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex K y where |
| 41 | f n := stalkPushforward (ModuleCat.{0} R) f (K.X n).obj y |
| 42 | comm' i j _ := (sheafStalkPushforward_naturality f (K.d i j) y).symm |
| 43 | |
| 44 | def pushforwardSheafStalkComplexIso (hf : Topology.IsInducing f) |
| 45 | (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} R) Y) ℕ) (y : Y) : |
| 46 | AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex (moduleSheafPushforwardComplex f K) (f y) ≅ |
| 47 | AlgebraicTopology.Cohomology.Singular.SheafQuasiIso.sheafStalkCochainComplex K y := by |
| 48 | have hi : ∀ n, IsIso ((pushforwardSheafStalkComplexMap f K y).f n) := by |
| 49 | intro n |
| 50 | exact stalkPushforward.stalkPushforward_iso_of_isInducing (ModuleCat.{0} R) hf (K.X n).obj y |
| 51 | have := HomologicalComplex.Hom.isIso_of_components (pushforwardSheafStalkComplexMap f K y) |
| 52 | exact asIso (pushforwardSheafStalkComplexMap f K y) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PushforwardSheafStalk.Constructions |