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.AlgebraicGeometry.Quotients.FiniteDescent.ModuleSections |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.CechShort |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleCechPullbackShort |
| 4 | |
| 5 | /-! # Morphism Over -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.MorphismOver |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A geometric map over the base and a refinement of its pulled-back |
| 12 | cover induce a map of the full ordinary Cech complexes. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | open _root_.AlgebraicGeometry.Scheme.Modules |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace CechMorphismOver |
| 21 | |
| 22 | variable {X Y S : Scheme.{u}} (f : Y ⟶ X) (π : X ⟶ S) (ρ : Y ⟶ S) |
| 23 | variable (h : f ≫ π = ρ) (M : X.Modules) |
| 24 | variable {ι κ : Type u} (U : ι → X.Opens) (V : κ → Y.Opens) |
| 25 | variable (r : κ → ι) (hr : ∀ j, V j ≤ f ⁻¹ᵁ U (r j)) |
| 26 | |
| 27 | include hr in |
| 28 | theorem intersection_le (n : ℕ) (a : Fin (n + 1) → κ) : |
| 29 | (∏ᶜ fun k => V (a k)) ≤ f ⁻¹ᵁ (∏ᶜ fun k => U (r (a k))) := by |
| 30 | change (∏ᶜ fun k => V (a k)) ≤ f ⁻¹ᵁ (∏ᶜ fun k => U ((r ∘ a) k)) |
| 31 | rw [(SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Hom.preimage_cechIntersection f) U n (r ∘ a)] |
| 32 | rw [SheafCohomology.Cech.Cochains.TopologicalSpace.Opens.piObj_eq_iInf, SheafCohomology.Cech.Cochains.TopologicalSpace.Opens.piObj_eq_iInf] |
| 33 | exact iInf_mono fun k => hr (a k) |
| 34 | |
| 35 | def component (n : ℕ) : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X n ⟶ |
| 36 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex ρ ((Scheme.Modules.pullback f).obj M) V).X n := |
| 37 | Pi.lift fun a : Fin (n + 1) → κ => |
| 38 | Pi.π (fun b : Fin (n + 1) → ι => (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj |
| 39 | (op (∏ᶜ fun k => U (b k)))) (r ∘ a) ≫ |
| 40 | Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M (∏ᶜ fun k => U ((r ∘ a) k)) |
| 41 | (∏ᶜ fun k => V (a k)) (intersection_le f U V r hr n a) |
| 42 | |
| 43 | theorem component_π (n : ℕ) (a : Fin (n + 1) → κ) : |
| 44 | component f π ρ h M U V r hr n ≫ |
| 45 | Pi.π (fun b : Fin (n + 1) → κ => |
| 46 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M)).obj |
| 47 | (op (∏ᶜ fun k => V (b k)))) a = |
| 48 | Pi.π (fun b : Fin (n + 1) → ι => (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj |
| 49 | (op (∏ᶜ fun k => U (b k)))) (r ∘ a) ≫ |
| 50 | Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M (∏ᶜ fun k => U ((r ∘ a) k)) |
| 51 | (∏ᶜ fun k => V (a k)) (intersection_le f U V r hr n a) := |
| 52 | Pi.lift_comp_π _ _ |
| 53 | |
| 54 | theorem cosimplicial_π (n m : SimplexCategory) (a : n ⟶ m) (j : Fin (m.len + 1) → ι) : |
| 55 | (((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk _ U).cech).obj |
| 56 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M)).map a) ≫ |
| 57 | Pi.π (fun b : Fin (m.len + 1) → ι => (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj |
| 58 | (op (∏ᶜ fun k => U (b k)))) j = |
| 59 | Pi.π (fun b : Fin (n.len + 1) → ι => (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).obj |
| 60 | (op (∏ᶜ fun k => U (b k)))) (j ∘ a.toOrderHom.toFun) ≫ |
| 61 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map |
| 62 | (Pi.lift fun k => Pi.π (fun l => U (j l)) (a.toOrderHom.toFun k)).op := |
| 63 | Pi.lift_comp_π _ _ |
| 64 | |
| 65 | def cosimplicialMap : |
| 66 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk _ U).cech).obj |
| 67 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M)) ⟶ |
| 68 | ((FormalCoproduct.cosimplicialObjectFunctor (FormalCoproduct.mk _ V).cech).obj |
| 69 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M))) where |
| 70 | app n := component f π ρ h M U V r hr n.len |
| 71 | naturality n m a := by |
| 72 | apply Pi.hom_ext (f := fun j : Fin (m.len + 1) → κ => |
| 73 | (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M)).obj |
| 74 | (op (∏ᶜ fun k => V (j k)))) |
| 75 | intro j |
| 76 | conv_lhs => |
| 77 | rw [Category.assoc, component_π, ← Category.assoc, cosimplicial_π, Category.assoc] |
| 78 | conv_rhs => |
| 79 | rw [Category.assoc, cosimplicial_π, ← Category.assoc, component_π, Category.assoc] |
| 80 | apply ModuleCat.hom_ext |
| 81 | apply LinearMap.ext |
| 82 | intro z |
| 83 | exact Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.restrict f π ρ h M _ _ _ _ _ |
| 84 | |
| 85 | def map : SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U ⟶ |
| 86 | SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex ρ ((Scheme.Modules.pullback f).obj M) V := |
| 87 | (AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat.{u} Γ(S, ⊤))).map |
| 88 | (cosimplicialMap f π ρ h M U V r hr) |
| 89 | |
| 90 | theorem map_f (n : ℕ) : (CechMorphismOver.map f π ρ h M U V r hr).f n = |
| 91 | component f π ρ h M U V r hr n := rfl |
| 92 | |
| 93 | theorem map_value (n : ℕ) (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X n) |
| 94 | (a : Fin (n + 1) → κ) : |
| 95 | Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value ρ ((Scheme.Modules.pullback f).obj M) V n |
| 96 | ((CechMorphismOver.map f π ρ h M U V r hr).f n z) a = |
| 97 | Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M (∏ᶜ fun k => U ((r ∘ a) k)) |
| 98 | (∏ᶜ fun k => V (a k)) (intersection_le f U V r hr n a) |
| 99 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U n z (r ∘ a)) := |
| 100 | ConcreteCategory.congr_hom (component_π f π ρ h M U V r hr n a) z |
| 101 | |
| 102 | theorem mapped_value_index (n : ℕ) (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X n) |
| 103 | (a b : Fin (n + 1) → ι) (hab : a = b) (W : Y.Opens) |
| 104 | (ha : W ≤ f ⁻¹ᵁ (∏ᶜ fun k => U (a k))) |
| 105 | (hb : W ≤ f ⁻¹ᵁ (∏ᶜ fun k => U (b k))) : |
| 106 | Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M (∏ᶜ fun k => U (a k)) W ha |
| 107 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U n z a) = |
| 108 | Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M (∏ᶜ fun k => U (b k)) W hb |
| 109 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U n z b) := by |
| 110 | subst b |
| 111 | rfl |
| 112 | |
| 113 | theorem map_one (z : (SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseCechComplex π M U).X 1) (i j : κ) : |
| 114 | Quotients.FiniteDescent.CechTuplePi.Construction.CechTupleCoordinates.one ρ ((Scheme.Modules.pullback f).obj M) V |
| 115 | ((CechMorphismOver.map f π ρ h M U V r hr).f 1 z) i j = |
| 116 | Quotients.FiniteDescent.ModuleCechD.Construction.ModuleCechPullback.schemeCechPullback1 f π ρ h M U V r hr |
| 117 | (Quotients.FiniteDescent.CechTuplePi.Construction.CechTupleCoordinates.one π M U z) i j := by |
| 118 | have hi : r ∘ ![i, j] = ![r i, r j] := by |
| 119 | funext k |
| 120 | fin_cases k <;> rfl |
| 121 | let ha := (Quotients.FiniteDescent.CechTuplePi.Construction.CechTupleCoordinates.intersection_one V (i, j)).ge.trans |
| 122 | (intersection_le f U V r hr 1 ![i, j]) |
| 123 | have hb : V i ⊓ V j ≤ f ⁻¹ᵁ (∏ᶜ fun k : Fin 2 => U (![r i, r j] k)) := by |
| 124 | have ht := ha |
| 125 | change V i ⊓ V j ≤ f ⁻¹ᵁ (∏ᶜ fun k : Fin 2 => U ((r ∘ ![i, j]) k)) at ht |
| 126 | simpa only [hi] using ht |
| 127 | have hn₁ := Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.restrict f π ρ h M |
| 128 | (𝟙 (∏ᶜ fun k : Fin 2 => U ((r ∘ ![i, j]) k))) |
| 129 | (eqToHom (Quotients.FiniteDescent.CechTuplePi.Construction.CechTupleCoordinates.intersection_one V (i, j)).symm) |
| 130 | (intersection_le f U V r hr 1 ![i, j]) ha |
| 131 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U 1 z (r ∘ ![i, j])) |
| 132 | simp only [op_id] at hn₁ |
| 133 | rw [(SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf π M).map_id] at hn₁ |
| 134 | change Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M _ _ ha |
| 135 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U 1 z (r ∘ ![i, j])) = _ at hn₁ |
| 136 | have hn₂ := Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.restrict f π ρ h M |
| 137 | (eqToHom (Quotients.FiniteDescent.CechTuplePi.Construction.CechTupleCoordinates.intersection_one U (r i, r j)).symm) |
| 138 | (𝟙 (V i ⊓ V j)) hb |
| 139 | (Quotients.FiniteDescent.ModuleCechD.Construction.ModuleCechPullback.cechPullback_overlap_preimage f U V r hr i j) |
| 140 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U 1 z ![r i, r j]) |
| 141 | simp only [op_id] at hn₂ |
| 142 | rw [(SheafCohomology.Cech.SchemeModuleBaseBasic.Scheme.Modules.baseModulePresheaf ρ ((Scheme.Modules.pullback f).obj M)).map_id] at hn₂ |
| 143 | change _ = Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M _ _ hb |
| 144 | (Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.value π M U 1 z ![r i, r j]) at hn₂ |
| 145 | rw [Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.one_apply, map_value] |
| 146 | change _ = Quotients.FiniteDescent.ModuleSections.Construction.ModuleSectionsOver.map f π ρ h M (U (r i) ⊓ U (r j)) (V i ⊓ V j) _ |
| 147 | (Quotients.FiniteDescent.CechTuplePi.Construction.CechTupleCoordinates.one π M U z (r i) (r j)) |
| 148 | rw [Quotients.FiniteDescent.CechTupleValues.Construction.CechTupleCoordinates.one_apply] |
| 149 | exact hn₁.symm.trans ((mapped_value_index f π ρ h M U 1 z _ _ hi _ ha hb).trans |
| 150 | hn₂.symm) |
| 151 | |
| 152 | theorem short_middle : |
| 153 | ((HomologicalComplex.shortComplexFunctor' (ModuleCat.{u} Γ(S, ⊤)) |
| 154 | (ComplexShape.up ℕ) 0 1 2).map (CechMorphismOver.map f π ρ h M U V r hr)).τ₂ ≫ |
| 155 | (Quotients.FiniteDescent.CechShort.Construction.CechShortCoordinates.one ρ ((Scheme.Modules.pullback f).obj M) V).hom = |
| 156 | (Quotients.FiniteDescent.CechShort.Construction.CechShortCoordinates.one π M U).hom ≫ |
| 157 | (Quotients.FiniteDescent.ModuleCechPullbackShort.Construction.ModuleCechPullback.shortMap f π ρ h M U V r hr).τ₂ := by |
| 158 | apply ModuleCat.hom_ext |
| 159 | apply LinearMap.ext |
| 160 | intro z |
| 161 | funext i j |
| 162 | exact map_one f π ρ h M U V r hr z i j |
| 163 | |
| 164 | end CechMorphismOver |
| 165 | |
| 166 | end |
| 167 | |
| 168 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.MorphismOver |