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.GeometricComparison.FlasqueCechGlobal |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.PairwiseIntersections |
| 3 | import Mathlib.CategoryTheory.Limits.Shapes.Pullback.IsPullback.Kernels |
| 4 | |
| 5 | /-! # Sections Excision -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsExcision |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Sections supported in a closed set extend uniquely from any |
| 12 | open neighborhood of that set. This gives the actual map from local |
| 13 | supported resolution cochains to global resolution cochains. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u v w |
| 21 | variable {D : Type u} [Category.{v} D] [Abelian D] {X : TopCat.{w}} |
| 22 | |
| 23 | def sections (U : Opens X) : Sheaf (Opens.grothendieckTopology X) D ⥤ D where |
| 24 | obj F := F.obj.obj (op U) |
| 25 | map f := f.hom.app (op U) |
| 26 | map_id _ := rfl |
| 27 | map_comp _ _ := rfl |
| 28 | |
| 29 | instance sections_additive (U : Opens X) : (sections (D := D) U).Additive where |
| 30 | map_add := by intros; rfl |
| 31 | |
| 32 | def restriction (U V : Opens X) (h : V ≤ U) : sections (D := D) U ⟶ sections V where |
| 33 | app F := F.obj.map (homOfLE h).op |
| 34 | naturality _ _ f := (f.hom.naturality (homOfLE h).op).symm |
| 35 | |
| 36 | def supported (U V : Opens X) (h : V ≤ U) : Sheaf (Opens.grothendieckTopology X) D ⥤ D where |
| 37 | obj F := kernel ((restriction U V h).app F) |
| 38 | map f := kernel.map _ _ ((sections U).map f) ((sections V).map f) |
| 39 | ((restriction U V h).naturality f).symm |
| 40 | map_id F := by |
| 41 | apply (cancel_mono (kernel.ι ((restriction U V h).app F))).mp |
| 42 | simp |
| 43 | map_comp f g := by |
| 44 | apply (cancel_mono (kernel.ι ((restriction U V h).app _))).mp |
| 45 | simp |
| 46 | |
| 47 | def inclusion (U V : Opens X) (h : V ≤ U) : supported (D := D) U V h ⟶ sections U where |
| 48 | app F := kernel.ι ((restriction U V h).app F) |
| 49 | naturality _ _ _ := kernel.lift_ι _ _ _ |
| 50 | |
| 51 | instance supported_additive (U V : Opens X) (h : V ≤ U) : |
| 52 | (supported (D := D) U V h).Additive where |
| 53 | map_add {F G} {f g} := by |
| 54 | apply (cancel_mono (kernel.ι ((restriction U V h).app G))).mp |
| 55 | simp only [supported, kernel.map, Preadditive.add_comp, kernel.lift_ι, |
| 56 | Functor.map_add, Preadditive.comp_add] |
| 57 | |
| 58 | def excision (O U : Opens X) : |
| 59 | supported (D := D) ⊤ O le_top ⟶ supported U (U ⊓ O) inf_le_left where |
| 60 | app F := kernel.map _ _ ((restriction ⊤ U le_top).app F) |
| 61 | ((restriction O (U ⊓ O) inf_le_right).app F) (by |
| 62 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ ≫ F.obj.map _ |
| 63 | rw [← F.obj.map_comp, ← F.obj.map_comp] |
| 64 | congr 1) |
| 65 | naturality F G f := by |
| 66 | apply (cancel_mono (kernel.ι ((restriction U (U ⊓ O) inf_le_left).app G))).mp |
| 67 | simpa only [supported, kernel.map, Category.assoc, kernel.lift_ι, kernel.lift_ι_assoc] using |
| 68 | congrArg (fun a => kernel.ι ((restriction ⊤ O le_top).app F) ≫ a) |
| 69 | ((restriction ⊤ U le_top).naturality f) |
| 70 | |
| 71 | theorem excision_inclusion (O U : Opens X) (F : Sheaf (Opens.grothendieckTopology X) D) : |
| 72 | (excision O U).app F ≫ (inclusion U (U ⊓ O) inf_le_left).app F = |
| 73 | (inclusion ⊤ O le_top).app F ≫ (restriction ⊤ U le_top).app F := |
| 74 | kernel.lift_ι _ _ _ |
| 75 | |
| 76 | theorem excision_isIso (O U : Opens X) (hcover : U ⊔ O = ⊤) (F : Sheaf (Opens.grothendieckTopology X) D) : |
| 77 | IsIso ((excision O U).app F) := by |
| 78 | have hs : IsPullback |
| 79 | (F.obj.map (homOfLE le_sup_left : U ⟶ U ⊔ O).op) |
| 80 | (F.obj.map (homOfLE le_sup_right : O ⟶ U ⊔ O).op) |
| 81 | (F.obj.map (homOfLE inf_le_left : U ⊓ O ⟶ U).op) |
| 82 | (F.obj.map (homOfLE inf_le_right : U ⊓ O ⟶ O).op) := |
| 83 | IsPullback.of_isLimit (TopCat.Sheaf.isLimitPullbackCone F U O) |
| 84 | have ht : IsPullback ((restriction ⊤ U le_top).app F) |
| 85 | ((restriction ⊤ O le_top).app F) |
| 86 | ((restriction U (U ⊓ O) inf_le_left).app F) |
| 87 | ((restriction O (U ⊓ O) inf_le_right).app F) := by |
| 88 | apply hs.of_iso' (F.obj.mapIso (eqToIso hcover).op) (Iso.refl _) (Iso.refl _) (Iso.refl _) |
| 89 | · simp only [Functor.mapIso_hom, Iso.op_hom, Iso.refl_hom, Category.comp_id] |
| 90 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ |
| 91 | rw [← F.obj.map_comp] |
| 92 | congr 1 |
| 93 | · simp only [Functor.mapIso_hom, Iso.op_hom, Iso.refl_hom, Category.comp_id] |
| 94 | change F.obj.map _ ≫ F.obj.map _ = F.obj.map _ |
| 95 | rw [← F.obj.map_comp] |
| 96 | congr 1 |
| 97 | · simp only [Iso.refl_hom, Category.id_comp, Category.comp_id]; rfl |
| 98 | · simp only [Iso.refl_hom, Category.id_comp, Category.comp_id]; rfl |
| 99 | exact isIso_kernel_map_of_isPullback ht.flip |
| 100 | |
| 101 | def excisionIso (O U : Opens X) (hcover : U ⊔ O = ⊤) : |
| 102 | supported (D := D) ⊤ O le_top ≅ supported U (U ⊓ O) inf_le_left := |
| 103 | NatIso.ofComponents (fun F => @asIso _ _ _ _ ((excision O U).app F) |
| 104 | (excision_isIso O U hcover F)) (fun f => (excision O U).naturality f) |
| 105 | |
| 106 | def extension (O U : Opens X) (hcover : U ⊔ O = ⊤) : |
| 107 | supported (D := D) U (U ⊓ O) inf_le_left ⟶ sections ⊤ := |
| 108 | (excisionIso O U hcover).inv ≫ inclusion ⊤ O le_top |
| 109 | |
| 110 | theorem extension_restriction (O U : Opens X) (hcover : U ⊔ O = ⊤) |
| 111 | (F : Sheaf (Opens.grothendieckTopology X) D) : |
| 112 | (extension O U hcover).app F ≫ (restriction ⊤ U le_top).app F = |
| 113 | (inclusion U (U ⊓ O) inf_le_left).app F := by |
| 114 | change ((excisionIso O U hcover).inv.app F ≫ |
| 115 | (inclusion ⊤ O le_top).app F) ≫ (restriction ⊤ U le_top).app F = _ |
| 116 | rw [Category.assoc, ← excision_inclusion, ← Category.assoc] |
| 117 | exact (congrArg (fun a => a ≫ (inclusion U (U ⊓ O) inf_le_left).app F) |
| 118 | ((excisionIso O U hcover).app F).inv_hom_id).trans (Category.id_comp _) |
| 119 | |
| 120 | def extensionComplex (O U : Opens X) (hcover : U ⊔ O = ⊤) |
| 121 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) D) ℕ) := |
| 122 | (NatTrans.mapHomologicalComplex (extension O U hcover) (.up ℕ)).app K |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsExcision |