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.AugmentedCech.AmbientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedExtension |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.SectionsOpenEquality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechRefinementTotal |
| 5 | |
| 6 | /-! # Cech Ambient Extension -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechAmbientExtension |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Ambient coordinates and cover refinements preserve the actual |
| 13 | supported-section edge, with the coefficient universe kept independent |
| 14 | of the underlying space. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.GlobalSections |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | universe u v z |
| 20 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 21 | {C : Type v} [Preorder C] [HasFiniteProducts C] |
| 22 | (F : C ⥤ Opens X) {ι : Type v} [LinearOrder ι] (W : ι → C) (O : Opens X) |
| 23 | |
| 24 | local instance coefficient_limits [UnivLE.{v,z}] : HasLimitsOfSize.{v,v} (ModuleCat.{z} R) := |
| 25 | ModuleCat.hasLimitsOfSize.{v,v,z,u} |
| 26 | local instance coefficient_products [UnivLE.{v,z}] : HasProducts.{v} (ModuleCat.{z} R) := |
| 27 | fun J => by |
| 28 | let : HasLimitsOfSize.{v,v} (ModuleCat.{z} R) := ModuleCat.hasLimitsOfSize.{v,v,z,u} |
| 29 | exact HasLimitsOfSize.has_limits_of_shape (Discrete J) |
| 30 | local instance coefficient_coproducts : HasCoproducts.{0} (ModuleCat.{z} R) := |
| 31 | fun J => by |
| 32 | let : HasColimitsOfSize.{0,0} (ModuleCat.{z} R) := ModuleCat.hasColimitsOfSize.{z,u,0,0} R |
| 33 | exact HasColimitsOfSize.has_colimits_of_shape (Discrete J) |
| 34 | |
| 35 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 36 | (ModuleCat.{max u v z} R)) ℕ) |
| 37 | |
| 38 | private theorem terminal_eq (A : Opens X) : (RelativeCech.Intersections.intersect A).obj (⊤_ (Opens X)) = A := by |
| 39 | have ht : (⊤_ (Opens X)) = (⊤ : Opens X) := |
| 40 | le_antisymm le_top (leOfHom (terminal.from (⊤ : Opens X))) |
| 41 | change A ⊓ (⊤_ (Opens X)) = A |
| 42 | rw [ht, inf_top_eq] |
| 43 | |
| 44 | def sourceIso : OrderedCechEdge.source.{u,v,v,z} R X F O K ≅ |
| 45 | OrderedCechEdge.source.{u,v,v,z} R X (RelativeCech.Intersections.intersect (F.obj (⊤_ C))) O K := |
| 46 | SectionsOpenEquality.complexIso O (F.obj (⊤_ C)) |
| 47 | ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).obj (⊤_ (Opens X))) |
| 48 | (terminal_eq X (F.obj (⊤_ C))).symm K |
| 49 | |
| 50 | variable (hglobal : F.obj (⊤_ C) ⊔ O = ⊤) |
| 51 | |
| 52 | include hglobal in |
| 53 | theorem relative_global : (RelativeCech.Intersections.intersect (F.obj (⊤_ C))).obj (⊤_ (Opens X)) ⊔ O = ⊤ := by |
| 54 | rw [terminal_eq] |
| 55 | exact hglobal |
| 56 | |
| 57 | theorem extension : (sourceIso R X F O K).hom ≫ |
| 58 | SectionsExcision.extensionComplex O |
| 59 | ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).obj (⊤_ (Opens X))) |
| 60 | (relative_global X F O hglobal) K = |
| 61 | SectionsExcision.extensionComplex O (F.obj (⊤_ C)) hglobal K := |
| 62 | SectionsOpenEquality.complex_extension O (F.obj (⊤_ C)) |
| 63 | ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).obj (⊤_ (Opens X))) |
| 64 | (terminal_eq X (F.obj (⊤_ C))).symm K hglobal (relative_global X F O hglobal) |
| 65 | |
| 66 | variable [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 67 | |
| 68 | theorem ambient_component_extension (q : ℕ) : |
| 69 | OrderedCechEdge.component.{u,v,v,z} R X F W O K q ≫ |
| 70 | (AugmentedCech.AmbientCoordinates.componentIso F W (K.X q).obj 0).hom = |
| 71 | (SectionsExcision.extensionComplex O (F.obj (⊤_ C)) hglobal K).f q ≫ |
| 72 | RelativeCech.GlobalSections.relativeAugmentation (F.obj (⊤_ C)) (F.obj ∘ W) (K.X q).obj := by |
| 73 | have he := SectionsExcision.extension_restriction O (F.obj (⊤_ C)) hglobal (K.X q) |
| 74 | apply Pi.hom_ext |
| 75 | intro (a : AugmentedOrdered.Cech.Index ι 0) |
| 76 | erw [Category.assoc, AugmentedCech.AmbientCoordinates.component_hom_π] |
| 77 | erw [Category.assoc |
| 78 | ((SectionsExcision.extensionComplex O (F.obj (⊤_ C)) hglobal K).f q)] |
| 79 | erw [RelativeCech.GlobalSections.relativeAugmentation_projection] |
| 80 | erw [← Category.assoc (OrderedCechEdge.component R X F W O K q)] |
| 81 | change (((SectionsExcision.inclusion (F.obj (⊤_ C)) |
| 82 | (F.obj (⊤_ C) ⊓ O) inf_le_left).app (K.X q) ≫ |
| 83 | (AugmentedOrdered.CechZero.zeroIso W (F.op ⋙ (K.X q).obj)).inv) ≫ _) ≫ _ = _ |
| 84 | simp only [Category.assoc] |
| 85 | rw [← Category.assoc ((AugmentedOrdered.CechZero.zeroIso W (F.op ⋙ (K.X q).obj)).inv), |
| 86 | AugmentedOrdered.CechZero.zeroIso_inv_π] |
| 87 | rw [← he] |
| 88 | simp only [Category.assoc] |
| 89 | change _ ≫ ((K.X q).obj.map _ ≫ (K.X q).obj.map _ ≫ (K.X q).obj.map _) = _ |
| 90 | simp only [← Functor.map_comp] |
| 91 | congr 2 |
| 92 | |
| 93 | include hglobal in |
| 94 | theorem ambient_component (q : ℕ) : |
| 95 | OrderedCechEdge.component.{u,v,v,z} R X F W O K q ≫ |
| 96 | (AugmentedCech.AmbientCoordinates.componentIso F W (K.X q).obj 0).hom = |
| 97 | (sourceIso R X F O K).hom.f q ≫ |
| 98 | OrderedCechEdge.component.{u,v,v,z} R X (RelativeCech.Intersections.intersect (F.obj (⊤_ C))) |
| 99 | (F.obj ∘ W) O K q := by |
| 100 | rw [Relative.SupportedExtension.local_component R X (F.obj (⊤_ C)) |
| 101 | (F.obj ∘ W) O K (relative_global X F O hglobal) q] |
| 102 | have he := congrArg (fun a => a.f q) (extension R X F O K hglobal) |
| 103 | change (sourceIso R X F O K).hom.f q ≫ |
| 104 | (SectionsExcision.extensionComplex O |
| 105 | ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).obj (⊤_ (Opens X))) |
| 106 | (relative_global X F O hglobal) K).f q = _ at he |
| 107 | rw [← Category.assoc, he] |
| 108 | exact ambient_component_extension R X F W O K hglobal q |
| 109 | |
| 110 | variable (hW : ∀ i, F.obj (W i) ≤ O) |
| 111 | |
| 112 | include hglobal in |
| 113 | theorem ambient_edge : |
| 114 | OrderedCechEdge.map.{u,v,v,z} R X F W O K hW ≫ |
| 115 | (AugmentedCech.AmbientTotal.totalIso F W |
| 116 | (Relative.SupportedExtension.underlying.{u,v,z} R X K)).hom = |
| 117 | (sourceIso R X F O K).hom ≫ |
| 118 | OrderedCechEdge.map.{u,v,v,z} R X (RelativeCech.Intersections.intersect (F.obj (⊤_ C))) |
| 119 | (F.obj ∘ W) O K (fun i => inf_le_right.trans (hW i)) := by |
| 120 | apply HomologicalComplex.Hom.ext |
| 121 | funext q |
| 122 | simp only [HomologicalComplex.comp_f, OrderedCechEdge.map, |
| 123 | AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge_f, AugmentedCech.AmbientTotal.totalIso, |
| 124 | HomologicalComplex₂.total.mapIso_hom, Category.assoc, HomologicalComplex₂.ιTotal_map, |
| 125 | AugmentedCech.AmbientTotal.bicomplexIso_hom_f] |
| 126 | exact (Category.assoc _ _ _).symm.trans |
| 127 | (congrArg (fun a => a ≫ (RelativeCech.Total.source (F.obj (⊤_ C)) (F.obj ∘ W) |
| 128 | (Relative.SupportedExtension.underlying.{u,v,z} R X K)).ιTotal (.up ℕ) q 0 q rfl) |
| 129 | (ambient_component R X F W O K hglobal q)) |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechAmbientExtension |