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.GodementEmbedding |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Module.StalkExactFunctor |
| 3 | |
| 4 | /-! # Functor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Godement.Functor |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The genuine sheaf of all stalk-value families is an additive |
| 11 | functor, with the original natural monomorphism into a flasque sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.TopCat.Presheaf |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions |
| 16 | |
| 17 | variable {X : TopCat.{0}} |
| 18 | |
| 19 | def stalkFamilyMap {F G : TopCat.Sheaf (ModuleCat.{0} ℂ) X} (f : F ⟶ G) : |
| 20 | HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions.stalkFamilySheaf F ⟶ HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions.stalkFamilySheaf G := |
| 21 | ObjectProperty.homMk |
| 22 | { app U := ModuleCat.ofHom |
| 23 | { toFun := fun s x => (stalkFunctor (ModuleCat.{0} ℂ) x.val).map f.hom (s x) |
| 24 | map_add' := by intro s t; funext x; exact map_add _ _ _ |
| 25 | map_smul' := by intro c s; funext x; exact map_smul _ _ _ } |
| 26 | naturality := by |
| 27 | intro U V i |
| 28 | apply ModuleCat.hom_ext |
| 29 | apply LinearMap.ext |
| 30 | intro s |
| 31 | funext x |
| 32 | rfl } |
| 33 | |
| 34 | def stalkFamilyFunctor (X : TopCat.{0}) : TopCat.Sheaf (ModuleCat.{0} ℂ) X ⥤ TopCat.Sheaf (ModuleCat.{0} ℂ) X where |
| 35 | obj := HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions.stalkFamilySheaf |
| 36 | map := stalkFamilyMap |
| 37 | map_id F := by |
| 38 | apply Sheaf.hom_ext |
| 39 | apply NatTrans.ext |
| 40 | funext U |
| 41 | apply ModuleCat.hom_ext |
| 42 | apply LinearMap.ext |
| 43 | intro s |
| 44 | funext x |
| 45 | change (stalkFunctor (ModuleCat.{0} ℂ) x.val).map (𝟙 F.obj) (s x) = s x |
| 46 | erw [CategoryTheory.Functor.map_id] |
| 47 | rfl |
| 48 | map_comp f g := by |
| 49 | apply Sheaf.hom_ext |
| 50 | apply NatTrans.ext |
| 51 | funext U |
| 52 | apply ModuleCat.hom_ext |
| 53 | apply LinearMap.ext |
| 54 | intro s |
| 55 | funext x |
| 56 | change (stalkFunctor (ModuleCat.{0} ℂ) x.val).map (f.hom ≫ g.hom) (s x) = |
| 57 | (stalkFunctor (ModuleCat.{0} ℂ) x.val).map g.hom |
| 58 | ((stalkFunctor (ModuleCat.{0} ℂ) x.val).map f.hom (s x)) |
| 59 | erw [CategoryTheory.Functor.map_comp] |
| 60 | rfl |
| 61 | |
| 62 | instance stalkFamilyFunctor_additive : (stalkFamilyFunctor X).Additive where |
| 63 | map_add {F G} f g := by |
| 64 | apply Sheaf.hom_ext |
| 65 | apply NatTrans.ext |
| 66 | funext U |
| 67 | apply ModuleCat.hom_ext |
| 68 | apply LinearMap.ext |
| 69 | intro s |
| 70 | funext x |
| 71 | have hp : PreservesFiniteLimits (stalkFunctor (ModuleCat.{0} ℂ) x.val) := |
| 72 | Module.StalkExactFunctor.Holomorphic.moduleStalk_preservesFiniteLimits (X := X) x.val |
| 73 | have h : (stalkFunctor (ModuleCat.{0} ℂ) x.val).Additive := |
| 74 | (stalkFunctor (ModuleCat.{0} ℂ) x.val).additive_of_preserves_binary_products |
| 75 | change (stalkFunctor (ModuleCat.{0} ℂ) x.val).map (f.hom + g.hom) (s x) = |
| 76 | (stalkFunctor (ModuleCat.{0} ℂ) x.val).map f.hom (s x) + |
| 77 | (stalkFunctor (ModuleCat.{0} ℂ) x.val).map g.hom (s x) |
| 78 | erw [CategoryTheory.Functor.map_add] |
| 79 | rfl |
| 80 | |
| 81 | def stalkFamilyUnit (X : TopCat.{0}) : 𝟭 (TopCat.Sheaf (ModuleCat.{0} ℂ) X) ⟶ stalkFamilyFunctor X where |
| 82 | app := HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions.stalkFamilyEmbedding |
| 83 | naturality {F G} f := by |
| 84 | apply Sheaf.hom_ext |
| 85 | apply NatTrans.ext |
| 86 | funext U |
| 87 | apply ModuleCat.hom_ext |
| 88 | apply LinearMap.ext |
| 89 | intro s |
| 90 | funext x |
| 91 | exact (stalkFunctor_map_germ_apply U.unop x.val x.property f.hom s).symm |
| 92 | |
| 93 | theorem stalkFamilyUnit_mono (F : TopCat.Sheaf (ModuleCat.{0} ℂ) X) : |
| 94 | Mono ((stalkFamilyUnit X).app F) := HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions.stalkFamilyEmbedding_mono F |
| 95 | |
| 96 | theorem stalkFamilyFunctor_isFlasque (F : TopCat.Sheaf (ModuleCat.{0} ℂ) X) : |
| 97 | TopCat.Sheaf.IsFlasque ((stalkFamilyFunctor X).obj F) := HodgeConjecture.DegreeTwo.GodementEmbedding.Constructions.stalkFamilySheaf_isFlasque F |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Comparison.Betti.Godement.Functor |