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.RelativeCech.Total |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.OrderedCechEdge |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCech |
| 4 | |
| 5 | /-! # Supported Extension -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedExtension |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The genuine relative Čech extension agrees with extending supported |
| 12 | sections to the whole space. This identifies the two support-forgetting |
| 13 | maps without choosing representatives or normalizing a residue scalar. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.GlobalSections |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u v z |
| 19 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 20 | (U : Opens X) {ι : Type v} [LinearOrder ι] (V : ι → Opens X) |
| 21 | (O : Opens X) |
| 22 | |
| 23 | local instance coefficient_limits [UnivLE.{v,z}] : HasLimitsOfSize.{v,v} (ModuleCat.{z} R) := |
| 24 | ModuleCat.hasLimitsOfSize.{v,v,z,u} |
| 25 | local instance coefficient_colimits : HasColimitsOfSize.{0,0} (ModuleCat.{z} R) := |
| 26 | ModuleCat.hasColimitsOfSize.{z,u,0,0} R |
| 27 | local instance coefficient_products [UnivLE.{v,z}] : HasProducts.{v} (ModuleCat.{z} R) := |
| 28 | fun J => by |
| 29 | let : HasLimitsOfSize.{v,v} (ModuleCat.{z} R) := |
| 30 | ModuleCat.hasLimitsOfSize.{v,v,z,u} |
| 31 | exact HasLimitsOfSize.has_limits_of_shape (Discrete J) |
| 32 | local instance coefficient_coproducts : HasCoproducts.{0} (ModuleCat.{z} R) := |
| 33 | fun J => by |
| 34 | let : HasColimitsOfSize.{0,0} (ModuleCat.{z} R) := |
| 35 | ModuleCat.hasColimitsOfSize.{z,u,0,0} R |
| 36 | exact HasColimitsOfSize.has_colimits_of_shape (Discrete J) |
| 37 | |
| 38 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 39 | (ModuleCat.{max u v z} R)) ℕ) |
| 40 | (hglobal : (RelativeCech.Intersections.intersect U).obj (⊤_ (Opens X)) ⊔ O = ⊤) |
| 41 | |
| 42 | private abbrev ambient : Opens X := (RelativeCech.Intersections.intersect U).obj (⊤_ (Opens X)) |
| 43 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedExtension.ambient X U |
| 44 | |
| 45 | def underlying : CochainComplex ((Opens X)ᵒᵖ ⥤ ModuleCat.{max u v z} R) ℕ := |
| 46 | ((sheafToPresheaf (Opens.grothendieckTopology X) |
| 47 | (ModuleCat.{max u v z} R)).mapHomologicalComplex (.up ℕ)).obj K |
| 48 | |
| 49 | theorem local_component (q : ℕ) : |
| 50 | Supported.OrderedCechEdge.component.{u,v,v,z} R X (RelativeCech.Intersections.intersect U) V O K q = |
| 51 | (Supported.SectionsExcision.extensionComplex O A hglobal K).f q ≫ |
| 52 | RelativeCech.GlobalSections.relativeAugmentation U V (K.X q).obj := by |
| 53 | have he := Supported.SectionsExcision.extension_restriction O A hglobal (K.X q) |
| 54 | apply Pi.hom_ext |
| 55 | intro (a : AugmentedOrdered.Cech.Index ι 0) |
| 56 | change ((Supported.SectionsExcision.inclusion A (A ⊓ O) inf_le_left).app (K.X q) ≫ |
| 57 | (AugmentedOrdered.CechZero.zeroIso V ((RelativeCech.Intersections.intersect U).op ⋙ (K.X q).obj)).inv) ≫ |
| 58 | RelativeCech.ExtensionComponents.sourceProjection U V (K.X q).obj a = |
| 59 | ((Supported.SectionsExcision.extension O A hglobal).app (K.X q) ≫ |
| 60 | RelativeCech.GlobalSections.relativeAugmentation U V (K.X q).obj) ≫ |
| 61 | RelativeCech.ExtensionComponents.sourceProjection U V (K.X q).obj a |
| 62 | rw [Category.assoc] |
| 63 | erw [AugmentedOrdered.CechZero.zeroIso_inv_π] |
| 64 | rw [Category.assoc, RelativeCech.GlobalSections.relativeAugmentation_projection, ← he] |
| 65 | change (_ ≫ (K.X q).obj.map (homOfLE (le_top : A ≤ ⊤)).op) ≫ |
| 66 | (K.X q).obj.map _ = _ |
| 67 | rw [Category.assoc, ← (K.X q).obj.map_comp] |
| 68 | congr 2 |
| 69 | |
| 70 | theorem extension_zero (q : ℕ) : |
| 71 | (Supported.SectionsExcision.extensionComplex O A hglobal K).f q ≫ |
| 72 | (K.X q).obj.map (homOfLE (le_top : O ≤ ⊤)).op = 0 := by |
| 73 | change ((Supported.SectionsExcision.excisionIso O A hglobal).inv.app (K.X q) ≫ |
| 74 | kernel.ι ((Supported.SectionsExcision.restriction ⊤ O le_top).app (K.X q))) ≫ |
| 75 | ((Supported.SectionsExcision.restriction ⊤ O le_top).app (K.X q)) = 0 |
| 76 | rw [Category.assoc, kernel.condition, comp_zero] |
| 77 | |
| 78 | variable (hV : ∀ i, V i ≤ O) |
| 79 | |
| 80 | include hV in |
| 81 | omit [LinearOrder ι] in |
| 82 | theorem complementary_zero (q : ℕ) (i : ι) : |
| 83 | (Supported.SectionsExcision.extensionComplex O A hglobal K).f q ≫ |
| 84 | (K.X q).obj.map (homOfLE (le_top : V i ≤ ⊤)).op = 0 := by |
| 85 | have h : (homOfLE (le_top : V i ≤ ⊤)) = |
| 86 | (homOfLE (hV i)) ≫ homOfLE (le_top : O ≤ ⊤) := Subsingleton.elim _ _ |
| 87 | rw [h, op_comp, Functor.map_comp, ← Category.assoc, |
| 88 | extension_zero R X U O K hglobal, zero_comp] |
| 89 | |
| 90 | include hV in |
| 91 | theorem global_component (q : ℕ) : |
| 92 | Supported.OrderedCechEdge.component.{u,v,v,z} R X (RelativeCech.Intersections.intersect U) V O K q ≫ |
| 93 | RelativeCech.ExtensionComponents.component U V (K.X q).obj 0 = |
| 94 | (Supported.SectionsExcision.extensionComplex O A hglobal K).f q ≫ |
| 95 | RelativeCech.GlobalSections.globalAugmentation (RelativeCech.Intersections.cover U V) (K.X q).obj := by |
| 96 | rw [local_component R X U V O K hglobal q] |
| 97 | exact RelativeCech.GlobalSections.augmentation U V (K.X q).obj |
| 98 | ((Supported.SectionsExcision.extensionComplex O A hglobal K).f q) |
| 99 | (complementary_zero R X U V O K hglobal hV q) |
| 100 | |
| 101 | include hV in |
| 102 | def relativeMap := |
| 103 | Supported.OrderedCechEdge.map.{u,v,v,z} R X (RelativeCech.Intersections.intersect U) V O K |
| 104 | (fun i => inf_le_right.trans (hV i)) ≫ |
| 105 | RelativeCech.Total.map U V (underlying.{u,v,z} R X K) |
| 106 | |
| 107 | def globalMap := |
| 108 | Supported.SectionsExcision.extensionComplex O A hglobal K ≫ |
| 109 | Presheaf.OrderedCechEdge.edge (RelativeCech.Intersections.cover U V) (underlying.{u,v,z} R X K) |
| 110 | |
| 111 | include hV in |
| 112 | theorem comparison : relativeMap R X U V O K hV = globalMap R X U V O K hglobal := by |
| 113 | unfold relativeMap globalMap |
| 114 | apply HomologicalComplex.Hom.ext |
| 115 | funext q |
| 116 | simp only [HomologicalComplex.comp_f, Supported.OrderedCechEdge.map, |
| 117 | RelativeCech.Total.map, Presheaf.OrderedCechEdge.edge, |
| 118 | AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge_f, Category.assoc, |
| 119 | HomologicalComplex₂.ιTotal_map] |
| 120 | exact (Category.assoc _ _ _).symm.trans |
| 121 | ((congrArg (fun a => a ≫ (RelativeCech.Total.target U V (underlying.{u,v,z} R X K)).ιTotal |
| 122 | (.up ℕ) q 0 q rfl) (global_component R X U V O K hglobal hV q)).trans |
| 123 | (Category.assoc _ _ _)) |
| 124 | |
| 125 | variable (hcover : (RelativeCech.Intersections.intersect U).obj (⊤_ (Opens X)) ⊓ O ≤ |
| 126 | ⨆ i, (RelativeCech.Intersections.intersect U).obj (V i)) |
| 127 | (hrows : ∀ q r, ((Supported.OrderedCechEdge.bicomplex.{u,v,v,z} |
| 128 | R X (RelativeCech.Intersections.intersect U) V K).X q).ExactAt (r+1)) |
| 129 | |
| 130 | include hV in |
| 131 | theorem homology_comparison (q : ℕ) : |
| 132 | homologyMap (RelativeCech.Total.map U V (underlying.{u,v,z} R X K)) q = |
| 133 | Supported.OrderedCech.Comparison.forgetSupport.{u,v,v,z} R X |
| 134 | (RelativeCech.Intersections.intersect U) V O K (fun i => inf_le_right.trans (hV i)) hcover hrows hglobal q ≫ |
| 135 | homologyMap (Presheaf.OrderedCechEdge.edge (RelativeCech.Intersections.cover U V) (underlying.{u,v,z} R X K)) q := by |
| 136 | let e := Supported.OrderedCech.Comparison.homologyIso.{u,v,v,z} R X |
| 137 | (RelativeCech.Intersections.intersect U) V O K (fun i => inf_le_right.trans (hV i)) hcover hrows q |
| 138 | have h := congrArg (fun a => homologyMap a q) |
| 139 | (comparison R X U V O K hglobal hV) |
| 140 | dsimp only [relativeMap, globalMap] at h |
| 141 | rw [homologyMap_comp, homologyMap_comp] at h |
| 142 | change e.hom ≫ _ = _ at h |
| 143 | calc |
| 144 | _ = e.inv ≫ (e.hom ≫ homologyMap |
| 145 | (RelativeCech.Total.map U V (underlying.{u,v,z} R X K)) q) := by |
| 146 | rw [← Category.assoc, e.inv_hom_id, Category.id_comp] |
| 147 | _ = _ := by |
| 148 | rw [h] |
| 149 | rfl |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.SupportedExtension |