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.Comparison.Betti.Godement.Resolution |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Godement.SupportedExtension |
| 3 | |
| 4 | /-! # Local Sum Identity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Godement.LocalSumIdentity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Supported sheaf endomorphisms patch genuine local primitives in the |
| 13 | Godement resolution. The finite sum identity is transported by its additive functor. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.TopCat.Presheaf |
| 16 | open scoped BigOperators |
| 17 | |
| 18 | variable {X : TopCat.{0}} {F : TopCat.Sheaf (ModuleCat.{0} ℂ) X} |
| 19 | |
| 20 | theorem godementTermMap_apply_zero (f : F ⟶ F) (V : Opens X) (hf : Locality.VanishesOn f V) |
| 21 | (n : ℕ) (U : Opens X) (a : ((Resolution.godementTerm X n).obj F).obj.obj (op U)) |
| 22 | (x : U) (hx : x.val ∈ V) : (((Resolution.godementTerm X n).map f).hom.app (op U) a) x = 0 := by |
| 23 | change (stalkFunctor (ModuleCat.{0} ℂ) x.val).map ((Resolution.godementResidual X n).map f).hom (a x) = 0 |
| 24 | rw [Locality.stalkMap_zero_of_vanishesOn _ V (Resolution.godementResidualMap_vanishesOn f V hf n) x.val hx] |
| 25 | rfl |
| 26 | |
| 27 | theorem godement_supported_local_lift (f : F ⟶ F) (U V : Opens X) (hcover : U ⊔ V = ⊤) |
| 28 | (hf : Locality.VanishesOn f V) (n : ℕ) |
| 29 | (z : ((Resolution.godementComplex X F).X (n + 1)).obj.obj (op ⊤)) |
| 30 | (a : ((Resolution.godementComplex X F).X n).obj.obj (op U)) |
| 31 | (ha : ((Resolution.godementComplex X F).d n (n + 1)).hom.app (op U) a = |
| 32 | ((Resolution.godementComplex X F).X (n + 1)).obj.map (homOfLE (show U ≤ ⊤ from le_top)).op z) : |
| 33 | ∃ t : ((Resolution.godementComplex X F).X n).obj.obj (op ⊤), |
| 34 | ((Resolution.godementComplex X F).d n (n + 1)).hom.app (op ⊤) t = |
| 35 | ((Resolution.godementTerm X (n + 1)).map f).hom.app (op ⊤) z := by |
| 36 | let b := ((Resolution.godementTerm X n).map f).hom.app (op U) a |
| 37 | refine ⟨SupportedExtension.extendFamily U b, SupportedExtension.map_extendFamily_eq _ U V hcover b _ ?_ ?_ ?_⟩ |
| 38 | · exact fun x hx => godementTermMap_apply_zero f V hf n U a x hx |
| 39 | · funext x |
| 40 | exact godementTermMap_apply_zero f V hf (n + 1) ⊤ z ⟨x.val, trivial⟩ x.property |
| 41 | · have hcomm := ConcreteCategory.congr_hom |
| 42 | (congrArg (fun g => g.hom.app (op U)) |
| 43 | ((FunctorialResolution.resolutionMap (Godement.Functor.stalkFamilyFunctor X) (Godement.Functor.stalkFamilyUnit X) f).comm n (n + 1))) a |
| 44 | change ((Resolution.godementComplex X F).d n (n + 1)).hom.app (op U) b = |
| 45 | ((Resolution.godementTerm X (n + 1)).map f).hom.app (op U) |
| 46 | (((Resolution.godementComplex X F).d n (n + 1)).hom.app (op U) a) at hcomm |
| 47 | rw [ha] at hcomm |
| 48 | exact hcomm.trans (ConcreteCategory.congr_hom |
| 49 | (((Resolution.godementTerm X (n + 1)).map f).hom.naturality |
| 50 | (homOfLE (show U ≤ ⊤ from le_top)).op) z) |
| 51 | |
| 52 | theorem godement_finite_partition_lift {ι : Type*} [Fintype ι] |
| 53 | (U V : ι → Opens X) (hcover : ∀ i, U i ⊔ V i = ⊤) |
| 54 | (f : ι → (F ⟶ F)) (hf : ∀ i, Locality.VanishesOn (f i) (V i)) (hsum : ∑ i, f i = 𝟙 F) |
| 55 | (n : ℕ) (z : ((Resolution.godementComplex X F).X (n + 1)).obj.obj (op ⊤)) |
| 56 | (a : ∀ i, ((Resolution.godementComplex X F).X n).obj.obj (op (U i))) |
| 57 | (ha : ∀ i, ((Resolution.godementComplex X F).d n (n + 1)).hom.app (op (U i)) (a i) = |
| 58 | ((Resolution.godementComplex X F).X (n + 1)).obj.map (homOfLE (show U i ≤ ⊤ from le_top)).op z) : |
| 59 | ∃ t : ((Resolution.godementComplex X F).X n).obj.obj (op ⊤), |
| 60 | ((Resolution.godementComplex X F).d n (n + 1)).hom.app (op ⊤) t = z := by |
| 61 | classical |
| 62 | choose t ht using fun i => godement_supported_local_lift (f i) (U i) (V i) |
| 63 | (hcover i) (hf i) n z (a i) (ha i) |
| 64 | refine ⟨∑ i, t i, ?_⟩ |
| 65 | rw [map_sum] |
| 66 | simp_rw [ht] |
| 67 | have hT : (Godement.Functor.stalkFamilyFunctor X).Additive := Godement.Functor.stalkFamilyFunctor_additive |
| 68 | have hA : (Resolution.godementTerm X (n + 1)).Additive := |
| 69 | @FunctorialResolution.resolutionTerm_additive (TopCat.Sheaf (ModuleCat.{0} ℂ) X) _ _ |
| 70 | (Godement.Functor.stalkFamilyFunctor X) (Godement.Functor.stalkFamilyUnit X) hT (n + 1) |
| 71 | have hmap : ∑ i, (Resolution.godementTerm X (n + 1)).map (f i) = 𝟙 _ := by |
| 72 | rw [← CategoryTheory.Functor.map_sum, hsum, CategoryTheory.Functor.map_id] |
| 73 | let ev : (((Resolution.godementTerm X (n + 1)).obj F) ⟶ ((Resolution.godementTerm X (n + 1)).obj F)) →+ |
| 74 | ((Resolution.godementTerm X (n + 1)).obj F).obj.obj (op ⊤) := |
| 75 | { toFun := fun g => g.hom.app (op ⊤) z |
| 76 | map_zero' := rfl |
| 77 | map_add' := fun _ _ => rfl } |
| 78 | have he := congrArg ev hmap |
| 79 | rw [map_sum] at he |
| 80 | exact he |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! A local finite sum identity of sheaf endomorphisms is preserved by |
| 85 | every term of the actual Godement resolution. -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 88 | open scoped BigOperators |
| 89 | |
| 90 | variable {X : TopCat.{0}} {F : TopCat.Sheaf (ModuleCat.{0} ℂ) X} {ι : Type*} |
| 91 | |
| 92 | theorem godementTerm_local_sum (f : ι → (F ⟶ F)) (s : Finset ι) (W : Opens X) |
| 93 | (h : Locality.VanishesOn ((∑ i ∈ s, f i) - 𝟙 _) W) (n : ℕ) |
| 94 | (a : ((Resolution.godementTerm X n).obj F).obj.obj (op W)) : |
| 95 | (∑ i ∈ s, ((Resolution.godementTerm X n).map (f i)).hom.app (op W) a) = a := by |
| 96 | have hT : (Godement.Functor.stalkFamilyFunctor X).Additive := Godement.Functor.stalkFamilyFunctor_additive |
| 97 | have hA : (Resolution.godementTerm X n).Additive := |
| 98 | @FunctorialResolution.resolutionTerm_additive (TopCat.Sheaf (ModuleCat.{0} ℂ) X) _ _ |
| 99 | (Godement.Functor.stalkFamilyFunctor X) (Godement.Functor.stalkFamilyUnit X) hT n |
| 100 | have hmap : (Resolution.godementTerm X n).map ((∑ i ∈ s, f i) - 𝟙 _) = |
| 101 | (∑ i ∈ s, (Resolution.godementTerm X n).map (f i)) - 𝟙 _ := by |
| 102 | rw [CategoryTheory.Functor.map_sub, CategoryTheory.Functor.map_sum, CategoryTheory.Functor.map_id] |
| 103 | let ev : (((Resolution.godementTerm X n).obj F) ⟶ ((Resolution.godementTerm X n).obj F)) →+ |
| 104 | ((Resolution.godementTerm X n).obj F).obj.obj (op W) := |
| 105 | { toFun := fun g => g.hom.app (op W) a |
| 106 | map_zero' := rfl |
| 107 | map_add' := fun _ _ => rfl } |
| 108 | have he : ev ((Resolution.godementTerm X n).map ((∑ i ∈ s, f i) - 𝟙 _)) = 0 := |
| 109 | ConcreteCategory.congr_hom (Resolution.godementTermMap_vanishesOn _ W h n W le_rfl) a |
| 110 | rw [hmap, map_sub, map_sum] at he |
| 111 | exact sub_eq_zero.mp he |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Comparison.Betti.Godement.LocalSumIdentity |