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.SectionsExcision |
| 2 | |
| 3 | /-! # Zero Complement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.ZeroComplement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! For a sheaf vanishing on the complement of its support, its |
| 10 | global sections are recovered by the actual supported extension |
| 11 | from any open neighborhood of that support. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsExcision |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v w |
| 20 | variable {D : Type u} [Category.{v} D] [Abelian D] {X : TopCat.{w}} |
| 21 | |
| 22 | theorem inclusion_isIso (U V : Opens X) (h : V ≤ U) |
| 23 | (F : Sheaf (Opens.grothendieckTopology X) D) (hV : IsZero (F.obj.obj (op V))) : |
| 24 | IsIso ((SectionsExcision.inclusion U V h).app F) := by |
| 25 | change IsIso (kernel.ι ((SectionsExcision.restriction U V h).app F)) |
| 26 | have hz : (SectionsExcision.restriction U V h).app F = 0 := hV.eq_zero_of_tgt _ |
| 27 | rw [hz] |
| 28 | infer_instance |
| 29 | |
| 30 | variable (O U : Opens X) (hcover : U ⊔ O = ⊤) |
| 31 | (F : Sheaf (Opens.grothendieckTopology X) D) (hO : IsZero (F.obj.obj (op O))) |
| 32 | |
| 33 | def globalIso := @asIso _ _ _ _ ((SectionsExcision.inclusion ⊤ O le_top).app F) |
| 34 | (inclusion_isIso ⊤ O le_top F hO) |
| 35 | |
| 36 | def lift : (SectionsExcision.sections ⊤).obj F ⟶ (SectionsExcision.supported U (U ⊓ O) inf_le_left).obj F := |
| 37 | (globalIso O F hO).inv ≫ (SectionsExcision.excision O U).app F |
| 38 | |
| 39 | theorem lift_inclusion : lift O U F hO ≫ (SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F = |
| 40 | (SectionsExcision.restriction ⊤ U le_top).app F := by |
| 41 | rw [lift, Category.assoc, SectionsExcision.excision_inclusion] |
| 42 | exact (globalIso O F hO).inv_hom_id_assoc _ |
| 43 | |
| 44 | theorem lift_extension : lift O U F hO ≫ (SectionsExcision.extension O U hcover).app F = 𝟙 _ := by |
| 45 | change ((globalIso O F hO).inv ≫ ((SectionsExcision.excisionIso O U hcover).app F).hom) ≫ |
| 46 | (((SectionsExcision.excisionIso O U hcover).app F).inv ≫ (SectionsExcision.inclusion ⊤ O le_top).app F) = 𝟙 _ |
| 47 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 48 | exact (globalIso O F hO).inv_hom_id |
| 49 | |
| 50 | variable (hUO : IsZero (F.obj.obj (op (U ⊓ O)))) |
| 51 | |
| 52 | def localIso := @asIso _ _ _ _ ((SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F) |
| 53 | (inclusion_isIso U (U ⊓ O) inf_le_left F hUO) |
| 54 | |
| 55 | theorem localIso_hom : (localIso O U F hUO).hom = |
| 56 | (SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F := rfl |
| 57 | |
| 58 | theorem lift_eq_local : lift O U F hO = |
| 59 | (SectionsExcision.restriction ⊤ U le_top).app F ≫ (localIso O U F hUO).inv := by |
| 60 | apply (cancel_mono (localIso O U F hUO).hom).mp |
| 61 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 62 | rw [localIso_hom] |
| 63 | exact lift_inclusion O U F hO |
| 64 | |
| 65 | include hcover hO hUO in |
| 66 | theorem restriction_isIso : IsIso ((SectionsExcision.restriction ⊤ U le_top).app F) := by |
| 67 | let : IsIso ((SectionsExcision.excision O U).app F) := SectionsExcision.excision_isIso O U hcover F |
| 68 | let : IsIso ((SectionsExcision.inclusion U (U ⊓ O) inf_le_left).app F) := inclusion_isIso U (U ⊓ O) inf_le_left F hUO |
| 69 | rw [← lift_inclusion O U F hO] |
| 70 | dsimp only [lift] |
| 71 | infer_instance |
| 72 | |
| 73 | include hO in |
| 74 | theorem local_extension : |
| 75 | ((SectionsExcision.restriction ⊤ U le_top).app F ≫ (localIso O U F hUO).inv) ≫ |
| 76 | (SectionsExcision.extension O U hcover).app F = 𝟙 _ := by |
| 77 | rw [← lift_eq_local O U F hO hUO, lift_extension] |
| 78 | |
| 79 | variable {G : Sheaf (Opens.grothendieckTopology X) D} (a : F ⟶ G) |
| 80 | |
| 81 | theorem map_extension : |
| 82 | (lift O U F hO ≫ (SectionsExcision.supported U (U ⊓ O) inf_le_left).map a) ≫ |
| 83 | (SectionsExcision.extension O U hcover).app G = (SectionsExcision.sections ⊤).map a := by |
| 84 | rw [Category.assoc, (SectionsExcision.extension O U hcover).naturality a, |
| 85 | ← Category.assoc, lift_extension, Category.id_comp] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.ZeroComplement |