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.IntegralComparison.Supported.SectionsPushforward |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCech |
| 3 | |
| 4 | /-! # Ordered Cech Pushforward -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechPushforward |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original supported Cech comparison is unchanged when a |
| 11 | sheaf is pushed forward and the open diagram is pulled back. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v w z |
| 16 | abbrev pushed (R : Type u) [CommRing R] {X Y : TopCat.{v}} (f : Y ⟶ X) |
| 17 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology Y) |
| 18 | (ModuleCat.{max u v z} R)) ℕ) := SectionsPushforward.pushed f K |
| 19 | |
| 20 | variable (R : Type u) [CommRing R] {X Y : TopCat.{v}} (f : Y ⟶ X) |
| 21 | {C : Type w} [Preorder C] [HasFiniteProducts C] |
| 22 | (F : C ⥤ Opens X) {ι : Type w} [LinearOrder ι] (U : ι → C) (O : Opens X) |
| 23 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology Y) |
| 24 | (ModuleCat.{max u v w z} R)) ℕ) |
| 25 | |
| 26 | abbrev pulled : C ⥤ Opens Y := F ⋙ SectionsPushforward.preimage f |
| 27 | |
| 28 | def sourceIso : OrderedCechEdge.source.{u,v,w,z} R X F O (pushed.{u,v,max w z} R f K) ≅ |
| 29 | OrderedCechEdge.source.{u,v,w,z} R Y (pulled f F) |
| 30 | ((SectionsPushforward.preimage f).obj O) K := Iso.refl _ |
| 31 | |
| 32 | def presheafIso : OrderedCechEdge.presheafComplex.{u,v,w,z} R X F (pushed.{u,v,max w z} R f K) ≅ |
| 33 | OrderedCechEdge.presheafComplex.{u,v,w,z} R Y (pulled f F) K := Iso.refl _ |
| 34 | |
| 35 | def totalIso : (OrderedCechEdge.bicomplex.{u,v,w,z} R X F U (pushed.{u,v,max w z} R f K)).total (.up ℕ) ≅ |
| 36 | (OrderedCechEdge.bicomplex.{u,v,w,z} R Y (pulled f F) U K).total (.up ℕ) := Iso.refl _ |
| 37 | |
| 38 | variable (hO : ∀ i, F.obj (U i) ≤ O) |
| 39 | (hcover : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (U i)) |
| 40 | (hrows : ∀ q r, ((OrderedCechEdge.bicomplex.{u,v,w,z} R X F U (pushed.{u,v,max w z} R f K)).X q).ExactAt (r+1)) |
| 41 | (hglobal : F.obj (⊤_ C) ⊔ O = ⊤) |
| 42 | |
| 43 | include hO in |
| 44 | omit [HasFiniteProducts C] [LinearOrder ι] in |
| 45 | theorem pulled_below (i : ι) : |
| 46 | (pulled f F).obj (U i) ≤ (SectionsPushforward.preimage f).obj O := |
| 47 | leOfHom ((SectionsPushforward.preimage f).map (homOfLE (hO i))) |
| 48 | |
| 49 | include hcover in |
| 50 | omit [LinearOrder ι] in |
| 51 | theorem pulled_cover : |
| 52 | (pulled f F).obj (⊤_ C) ⊓ (SectionsPushforward.preimage f).obj O ≤ |
| 53 | ⨆ i, (pulled f F).obj (U i) := by |
| 54 | change (Opens.map f).obj (F.obj (⊤_ C) ⊓ O) ≤ ⨆ i, (Opens.map f).obj (F.obj (U i)) |
| 55 | calc |
| 56 | _ ≤ (Opens.map f).obj (⨆ i, F.obj (U i)) := |
| 57 | leOfHom ((Opens.map f).map (homOfLE hcover)) |
| 58 | _ = _ := Opens.map_iSup f (fun i => F.obj (U i)) |
| 59 | |
| 60 | include hrows in |
| 61 | theorem pulled_rows : ∀ q r, |
| 62 | ((OrderedCechEdge.bicomplex.{u,v,w,z} R Y (pulled f F) U K).X q).ExactAt (r+1) := hrows |
| 63 | |
| 64 | include hglobal in |
| 65 | theorem pulled_global : |
| 66 | (pulled f F).obj (⊤_ C) ⊔ (SectionsPushforward.preimage f).obj O = ⊤ := |
| 67 | SectionsPushforward.preimage_cover f O (F.obj (⊤_ C)) hglobal |
| 68 | |
| 69 | theorem edge : |
| 70 | OrderedCechEdge.map.{u,v,w,z} R X F U O (pushed.{u,v,max w z} R f K) hO ≫ (totalIso.{u,v,w,z} R f F U K).hom = |
| 71 | (sourceIso.{u,v,w,z} R f F O K).hom ≫ |
| 72 | OrderedCechEdge.map.{u,v,w,z} R Y (pulled f F) U |
| 73 | ((SectionsPushforward.preimage f).obj O) K (pulled_below f F U O hO) := by |
| 74 | change OrderedCechEdge.map.{u,v,w,z} R X F U O (pushed.{u,v,max w z} R f K) hO ≫ 𝟙 _ = |
| 75 | 𝟙 _ ≫ OrderedCechEdge.map.{u,v,w,z} R Y (pulled f F) U |
| 76 | ((SectionsPushforward.preimage f).obj O) K (pulled_below f F U O hO) |
| 77 | rw [Category.comp_id, Category.id_comp] |
| 78 | rfl |
| 79 | |
| 80 | theorem forgetSupport (q : ℕ) : |
| 81 | OrderedCech.Comparison.forgetSupport.{u,v,w,z} R X F U O (pushed.{u,v,max w z} R f K) |
| 82 | hO hcover hrows hglobal q ≫ |
| 83 | homologyMap (SectionsPushforward.globalIso f K).hom q = |
| 84 | homologyMap (totalIso.{u,v,w,z} R f F U K).hom q ≫ |
| 85 | OrderedCech.Comparison.forgetSupport.{u,v,w,z} R Y (pulled f F) U |
| 86 | ((SectionsPushforward.preimage f).obj O) K |
| 87 | (pulled_below f F U O hO) (pulled_cover f F U O hcover) |
| 88 | (pulled_rows.{u,v,w,z} R f F U K hrows) (pulled_global f F O hglobal) q := by |
| 89 | change OrderedCech.Comparison.forgetSupport.{u,v,w,z} R X F U O (pushed.{u,v,max w z} R f K) |
| 90 | hO hcover hrows hglobal q ≫ homologyMap (𝟙 _) q = |
| 91 | homologyMap (𝟙 _) q ≫ _ |
| 92 | rw [homologyMap_id, homologyMap_id, Category.comp_id, Category.id_comp] |
| 93 | rfl |
| 94 | |
| 95 | end |
| 96 | |
| 97 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechPushforward |