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 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | https://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | |
| 16 | This file has been modified. |
| 17 | -/ |
| 18 | |
| 19 | import HodgeConjecture.Definitions.AlgebraicTopology.Sheaf.Constant |
| 20 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Hodge.AnalyticDifferentialForms |
| 21 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Smooth.Equidimensional |
| 22 | import Mathlib.Algebra.Homology.Embedding.CochainComplex |
| 23 | import Mathlib.Algebra.Homology.Embedding.Extend |
| 24 | import Mathlib.Algebra.Homology.SingleHomology |
| 25 | import Mathlib.Topology.Sheaves.Abelian |
| 26 | |
| 27 | import HodgeConjecture.Mathlib.CategoryTheory.ConcreteCategory.Notation |
| 28 | import HodgeConjecture.Lemmas.AlgebraicGeometry.Hodge.HolomorphicPoincare |
| 29 | import HodgeConjecture.Mathlib.Topology.Sheaves.StalkExact |
| 30 | import Mathlib.Algebra.Category.Grp.Zero |
| 31 | import Mathlib.Algebra.Homology.Embedding.ExtendHomology |
| 32 | import Mathlib.Topology.Sheaves.Sheafify |
| 33 | |
| 34 | namespace OAI.AlgebraicGeometry.Hodge.HolomorphicDeRham |
| 35 | |
| 36 | open _root_.AlgebraicGeometry |
| 37 | |
| 38 | /-! |
| 39 | # The holomorphic de Rham complex |
| 40 | |
| 41 | This file assembles the analytic differential forms constructed from manifold derivatives |
| 42 | into a presheaf complex and then sheafifies it degree by degree. Restriction of functions induces |
| 43 | restriction of forms and commutes with the exterior derivative. |
| 44 | |
| 45 | Constant complex-valued functions define a canonical morphism from the constant sheaf complex to |
| 46 | the holomorphic de Rham complex. Both complexes are also extended by zero to integer degrees for |
| 47 | use in the derived category. |
| 48 | -/ |
| 49 | |
| 50 | noncomputable section |
| 51 | |
| 52 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 53 | open scoped ContDiff _root_.Manifold |
| 54 | |
| 55 | section |
| 56 | namespace ComplexPoint |
| 57 | |
| 58 | open _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.Point |
| 59 | |
| 60 | variable (X : Over (Spec ↧ℂ)) (d : ℕ) |
| 61 | |
| 62 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. Holomorphic |
| 63 | forms are defined as Kähler forms of the algebra of holomorphic functions, modulo forms whose |
| 64 | coordinate derivative evaluations vanish in every chart. For a natural number `p`, this presheaf |
| 65 | of abelian groups sends an analytic open `U` to its holomorphic `p`-forms, with restriction |
| 66 | induced by restriction of functions. -/ |
| 67 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 68 | TopCat.Presheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) where |
| 69 | obj U := AddCommGrpCat.of |
| 70 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U p) |
| 71 | map {U V} i := AddCommGrpCat.ofHom |
| 72 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d i p).toAddMonoidHom |
| 73 | map_id U := by |
| 74 | apply AddCommGrpCat.hom_ext |
| 75 | change (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d (𝟙 U) p).toAddMonoidHom = _ |
| 76 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_id] |
| 77 | rfl |
| 78 | map_comp i j := by |
| 79 | apply AddCommGrpCat.hom_ext |
| 80 | change (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d (i ≫ j) p).toAddMonoidHom = _ |
| 81 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_comp] |
| 82 | rfl |
| 83 | |
| 84 | /-- Holomorphic differential forms vanish in degrees above the complex dimension, already before |
| 85 | sheafification. -/ |
| 86 | private lemma holomorphicDeRhamPresheaf_isZero_of_lt |
| 87 | [SmoothOfRelativeDimension d X.hom] {p : ℕ} (hp : d < p) : |
| 88 | IsZero (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d p) := by |
| 89 | apply Functor.isZero |
| 90 | intro U |
| 91 | let : Subsingleton ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d p).obj U) := |
| 92 | ⟨fun x y => by |
| 93 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicForm_eq_zero_of_lt X d U hp x, |
| 94 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicForm_eq_zero_of_lt X d U hp y]⟩ |
| 95 | exact AddCommGrpCat.isZero_of_subsingleton _ |
| 96 | |
| 97 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. Holomorphic |
| 98 | forms are defined as Kähler forms of the algebra of holomorphic functions, modulo forms whose |
| 99 | coordinate derivative evaluations vanish in every chart. This presheaf morphism raises degree |
| 100 | from `p` to `p+1` by exterior differentiation, sending `a₀ da₁ ∧ ⋯ ∧ daₚ` to `da₀ ∧ da₁ ∧ ⋯ ∧ |
| 101 | daₚ`. -/ |
| 102 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 103 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d p ⟶ |
| 104 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d (p + 1) where |
| 105 | app U := AddCommGrpCat.ofHom <| |
| 106 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d U p).toAddMonoidHom |
| 107 | naturality {U V} i := by |
| 108 | apply AddCommGrpCat.hom_ext |
| 109 | ext x |
| 110 | exact (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_differential X d i p x).symm |
| 111 | |
| 112 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential_comp [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 113 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d p ≫ |
| 114 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d (p + 1) = 0 := |
| 115 | NatTrans.ext <| funext fun U => AddCommGrpCat.hom_ext <| AddMonoidHom.ext fun x => |
| 116 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential_squared X d U p x |
| 117 | |
| 118 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. Holomorphic |
| 119 | forms are defined as Kähler forms of the algebra of holomorphic functions, modulo forms whose |
| 120 | coordinate derivative evaluations vanish in every chart. This is the nonnegative complex of |
| 121 | presheaves assigning holomorphic `p`-forms to each open in degree `p`, with the exterior |
| 122 | derivative as differential. -/ |
| 123 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex [SmoothOfRelativeDimension d X.hom] : |
| 124 | CochainComplex |
| 125 | (TopCat.Presheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) ℕ := |
| 126 | CochainComplex.of |
| 127 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d) |
| 128 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d) |
| 129 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential_comp X d) |
| 130 | |
| 131 | @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex_d |
| 132 | [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 133 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex X d).d p (p + 1) = |
| 134 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d p := by |
| 135 | simp [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex] |
| 136 | |
| 137 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This morphism |
| 138 | from the constant complex presheaf to holomorphic zero-forms assigns to `c ∈ ℂ` on each open `U` |
| 139 | the class of the constant function `c` among Kähler zero-forms modulo forms with zero coordinate |
| 140 | evaluations. -/ |
| 141 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero [SmoothOfRelativeDimension d X.hom] : |
| 142 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) ⟶ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0 where |
| 143 | app U := AddCommGrpCat.ofHom |
| 144 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d U).toAddMonoidHom |
| 145 | naturality {U V} i := by |
| 146 | apply AddCommGrpCat.hom_ext |
| 147 | ext c |
| 148 | exact (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_ofConstant X d i c).symm |
| 149 | |
| 150 | /-- On a nonempty open set, distinct complex constants define distinct holomorphic zero-forms. -/ |
| 151 | lemma holomorphicFormOfConstant_injective [SmoothOfRelativeDimension d X.hom] |
| 152 | (U : (Opens (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)))ᵒᵖ) [Nonempty U.unop] : |
| 153 | Function.Injective (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d U) := by |
| 154 | intro c c' hcc' |
| 155 | have hzero : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d U (c - c') = 0 := by |
| 156 | rw [map_sub, hcc', sub_self] |
| 157 | let a : _root_.OAI.Algebra.DeRham.Basic.Form ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) 0 := |
| 158 | _root_.OAI.Algebra.DeRham.Basic.ofConstant ℂ (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (c - c') |
| 159 | have ha : a ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U 0 := by |
| 160 | change Submodule.Quotient.mk a = 0 at hzero |
| 161 | rwa [Submodule.Quotient.mk_eq_zero] at hzero |
| 162 | let x : U.unop := Classical.arbitrary U.unop |
| 163 | let e := extChartAt (modelWithCornersSelf ℂ (Fin d → ℂ)) x.1 |
| 164 | have hxsource : x.1 ∈ e.source := mem_extChartAt_source x.1 |
| 165 | have hxe : e x.1 ∈ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U x.1 := by |
| 166 | refine ⟨mem_extChartAt_target x.1, ?_⟩ |
| 167 | change e.symm (e x.1) ∈ U.unop |
| 168 | rw [e.left_inv hxsource] |
| 169 | exact x.2 |
| 170 | have heval := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff X d U 0 a).1 ha |
| 171 | x.1 (e x.1) hxe |
| 172 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_ofConstant X d U x.1 (c - c') hxe] at heval |
| 173 | have hcoeff := congrArg |
| 174 | (fun f : (Fin d → ℂ) [⋀^Fin 0]→L[ℂ] ℂ ↦ f Fin.elim0) heval |
| 175 | exact sub_eq_zero.mp (by simpa using hcoeff) |
| 176 | |
| 177 | set_option backward.isDefEq.respectTransparency false in |
| 178 | /-- The inclusion of complex constants into holomorphic zero-forms is a monomorphism on every |
| 179 | stalk. -/ |
| 180 | lemma constantsToHolomorphicDeRhamZero_stalk_mono |
| 181 | [SmoothOfRelativeDimension d X.hom] (x : _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X) : |
| 182 | Mono ((TopCat.Presheaf.stalkFunctor AddCommGrpCat x).map |
| 183 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d)) := by |
| 184 | rw [AddCommGrpCat.mono_iff_injective] |
| 185 | intro z z' h |
| 186 | obtain ⟨U, hxU, c, rfl⟩ := 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ).exists_germ_eq z |
| 187 | obtain ⟨V, hxV, c', rfl⟩ := 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ).exists_germ_eq z' |
| 188 | rw [TopCat.Presheaf.stalkFunctor_map_germ_apply, |
| 189 | TopCat.Presheaf.stalkFunctor_map_germ_apply] at h |
| 190 | obtain ⟨W, hxW, iWU, iWV, hW⟩ := |
| 191 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0).germ_eq x hxU hxV |
| 192 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d).app (.op U) c) |
| 193 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d).app (.op V) c') h |
| 194 | let : Nonempty W := ⟨⟨x, hxW⟩⟩ |
| 195 | have hcc' : c = c' := by |
| 196 | apply holomorphicFormOfConstant_injective X d (.op W) |
| 197 | have hc := congrArg (fun k : |
| 198 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ).obj (.op U) ⟶ |
| 199 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0).obj (.op W) ↦ k c) |
| 200 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d).naturality iWU.op) |
| 201 | have hc' := congrArg (fun k : |
| 202 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ).obj (.op V) ⟶ |
| 203 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0).obj (.op W) ↦ k c') |
| 204 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d).naturality iWV.op) |
| 205 | change _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d (.op W) c = |
| 206 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0).map iWU.op |
| 207 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d).app (.op U) c) at hc |
| 208 | change _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d (.op W) c' = |
| 209 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0).map iWV.op |
| 210 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d).app (.op V) c') at hc' |
| 211 | exact hc.trans (hW.trans hc'.symm) |
| 212 | subst c' |
| 213 | rw [← 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ).germ_res_apply iWU x hxW, |
| 214 | ← 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ).germ_res_apply iWV x hxW] |
| 215 | rfl |
| 216 | |
| 217 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero_comp_differential |
| 218 | [SmoothOfRelativeDimension d X.hom] : |
| 219 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d ≫ |
| 220 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d 0 = 0 := |
| 221 | NatTrans.ext <| funext fun U => AddCommGrpCat.hom_ext <| AddMonoidHom.ext fun c => |
| 222 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential_ofConstant X d U c |
| 223 | |
| 224 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. Holomorphic |
| 225 | forms are defined as Kähler forms of the algebra of holomorphic functions, modulo forms whose |
| 226 | coordinate derivative evaluations vanish in every chart. For a natural number `p`, this is the |
| 227 | sheafification, as abelian groups, of the presheaf of holomorphic `p`-forms on analytic opens. -/ |
| 228 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 229 | TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) := |
| 230 | let J := Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 231 | (presheafToSheaf J AddCommGrpCat).obj |
| 232 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d p) |
| 233 | |
| 234 | /-- The sheaf of holomorphic `p`-forms is zero for `p` above the complex dimension. -/ |
| 235 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf_isZero_of_lt |
| 236 | [SmoothOfRelativeDimension d X.hom] {p : ℕ} (hp : d < p) : |
| 237 | IsZero (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf X d p) := by |
| 238 | let J := Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 239 | exact (presheafToSheaf J AddCommGrpCat).map_isZero |
| 240 | (holomorphicDeRhamPresheaf_isZero_of_lt X d hp) |
| 241 | |
| 242 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This is the |
| 243 | sheaf morphism `d : Ω^p → Ω^{p+1}` obtained by sheafifying exterior differentiation of |
| 244 | holomorphic forms. On a local expression it sends `a₀ da₁ ∧ ⋯ ∧ daₚ` to `da₀ ∧ da₁ ∧ ⋯ ∧ daₚ`. -/ |
| 245 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafDifferential [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 246 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf X d p ⟶ |
| 247 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf X d (p + 1) := |
| 248 | let J := Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 249 | (presheafToSheaf J AddCommGrpCat).map |
| 250 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d p) |
| 251 | |
| 252 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. The holomorphic |
| 253 | de Rham complex is `Ω⁰ → Ω¹ → Ω² → ⋯`, with exterior differentiation. Each term is obtained by |
| 254 | sheafifying Kähler forms of holomorphic functions modulo forms whose coordinate derivative |
| 255 | evaluations vanish in every chart. Degrees are natural numbers. -/ |
| 256 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex [SmoothOfRelativeDimension d X.hom] : |
| 257 | CochainComplex |
| 258 | (TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) ℕ := |
| 259 | CochainComplex.of |
| 260 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf X d) |
| 261 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafDifferential X d) |
| 262 | (fun p => by |
| 263 | let J := Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 264 | change (presheafToSheaf J AddCommGrpCat).map |
| 265 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d p) ≫ |
| 266 | (presheafToSheaf J AddCommGrpCat).map |
| 267 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d (p + 1)) = 0 |
| 268 | rw [← Functor.map_comp, _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential_comp, Functor.map_zero]) |
| 269 | |
| 270 | @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex_d [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 271 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X d).d p (p + 1) = |
| 272 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafDifferential X d p := by |
| 273 | simp [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex] |
| 274 | |
| 275 | set_option backward.isDefEq.respectTransparency false in |
| 276 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This map of |
| 277 | complexes sends a holomorphic form on an analytic open to its section in the sheaf of such |
| 278 | forms. It is the degreewise sheafification unit of the presheaf de Rham complex, and commutes |
| 279 | with exterior differentiation. -/ |
| 280 | noncomputable def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafificationUnit |
| 281 | [SmoothOfRelativeDimension d X.hom] : |
| 282 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex X d ⟶ |
| 283 | (TopCat.Sheaf.forget AddCommGrpCat |
| 284 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))).mapHomologicalComplex |
| 285 | (ComplexShape.up ℕ) |>.obj (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X d) where |
| 286 | f p := toSheafify |
| 287 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 288 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d p) |
| 289 | comm' i j hij := by |
| 290 | obtain rfl := hij |
| 291 | rw [Functor.mapHomologicalComplex_obj_d, _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex_d, |
| 292 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex_d] |
| 293 | dsimp [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafDifferential, _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf] |
| 294 | exact (toSheafify_naturality |
| 295 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 296 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d i)).symm |
| 297 | |
| 298 | set_option backward.isDefEq.respectTransparency false in |
| 299 | /-- The sheafified holomorphic de Rham complex is exact in every positive degree. -/ |
| 300 | lemma holomorphicDeRhamComplex_exactAt_succ |
| 301 | [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 302 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X d).ExactAt (p + 1) := by |
| 303 | rw [HomologicalComplex.exactAt_iff' |
| 304 | (K := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X d) |
| 305 | (i := p) (j := p + 1) (k := (p + 1) + 1) (by simp) (by simp)] |
| 306 | rw [TopCat.Sheaf.exact_iff_stalkFunctor_map_exact] |
| 307 | intro x |
| 308 | let stalk := TopCat.Presheaf.stalkFunctor AddCommGrpCat x |
| 309 | let P := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex X d |
| 310 | have hP : (P.sc' p (p + 1) ((p + 1) + 1)).map stalk |>.Exact := |
| 311 | _root_.OAI.Topology.Sheaves.StalkExact.TopCat.Presheaf.stalkExact_of_locallyPrimitive |
| 312 | (P.sc' p (p + 1) ((p + 1) + 1)) (by |
| 313 | intro y U hyU form hform |
| 314 | dsimp [P, HomologicalComplex.sc', HomologicalComplex.shortComplexFunctor'] at hform ⊢ |
| 315 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex_d] at hform |
| 316 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheafComplex_d] |
| 317 | change _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d (.op U) (p + 1) form = 0 at hform |
| 318 | obtain ⟨W, k, θ, hyW, hθ⟩ := |
| 319 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.exists_local_holomorphicForm_primitive X d (.op U) y hyU p form hform |
| 320 | exact ⟨W.unop, hyW, k.unop, θ, hθ⟩) x |
| 321 | let unit := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafificationUnit X d |
| 322 | let stalkUnit := (stalk.mapHomologicalComplex (ComplexShape.up ℕ)).map unit |
| 323 | let η := (HomologicalComplex.shortComplexFunctor' AddCommGrpCat |
| 324 | (ComplexShape.up ℕ) p (p + 1) ((p + 1) + 1)).map stalkUnit |
| 325 | let : IsIso η.τ₁ := |
| 326 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 327 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d p) |
| 328 | let : IsIso η.τ₂ := |
| 329 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 330 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d (p + 1)) |
| 331 | let : IsIso η.τ₃ := |
| 332 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 333 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d ((p + 1) + 1)) |
| 334 | let : IsIso η := ShortComplex.isIso_of_isIso η |
| 335 | exact ShortComplex.exact_of_iso (asIso η) hP |
| 336 | |
| 337 | /-- Let `X` be a complex scheme. On its analytic space `X(ℂ)`, this endomorphism of the constant |
| 338 | presheaf of abelian groups with value `ℂ` acts on each open by `c ↦ conj(c)`. -/ |
| 339 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexPresheaf : |
| 340 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) ⟶ 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) where |
| 341 | app _ := AddCommGrpCat.ofHom (starRingEnd ℂ).toAddMonoidHom |
| 342 | naturality {U V} i := by |
| 343 | ext x |
| 344 | rfl |
| 345 | |
| 346 | /-- Let `X` be a complex scheme. This endomorphism of the constant complex sheaf on `X(ℂ)` |
| 347 | conjugates locally constant complex-valued functions pointwise. It is additive and |
| 348 | conjugate-linear. -/ |
| 349 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexSheaf : |
| 350 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) ⟶ 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) := |
| 351 | let J := Opens.grothendieckTopology |
| 352 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 353 | (presheafToSheaf J AddCommGrpCat).map |
| 354 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexPresheaf X) |
| 355 | |
| 356 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This map from |
| 357 | the constant complex sheaf to the sheaf `Ω⁰` of holomorphic zero-forms regards locally constant |
| 358 | complex-valued functions as holomorphic zero-forms. -/ |
| 359 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf [SmoothOfRelativeDimension d X.hom] : |
| 360 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) ⟶ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf X d 0 := |
| 361 | let J := Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 362 | (presheafToSheaf J AddCommGrpCat).map |
| 363 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d) |
| 364 | |
| 365 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf_comp_differential |
| 366 | [SmoothOfRelativeDimension d X.hom] : |
| 367 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf X d ≫ |
| 368 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafDifferential X d 0 = 0 := by |
| 369 | let J := Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) |
| 370 | change (presheafToSheaf J AddCommGrpCat).map |
| 371 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d) ≫ |
| 372 | (presheafToSheaf J AddCommGrpCat).map |
| 373 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d 0) = 0 |
| 374 | rw [← Functor.map_comp, _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero_comp_differential, |
| 375 | Functor.map_zero] |
| 376 | |
| 377 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This is the |
| 378 | sequence of presheaves `ℂ → Ω⁰ → Ω¹`, where the first arrow sends constants to holomorphic |
| 379 | zero-forms and the second is exterior differentiation. The composite is zero because constants |
| 380 | have zero derivative. -/ |
| 381 | noncomputable def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamPresheafShortComplex |
| 382 | [SmoothOfRelativeDimension d X.hom] : |
| 383 | ShortComplex (TopCat.Presheaf AddCommGrpCat |
| 384 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) := |
| 385 | ShortComplex.mk (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d) |
| 386 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d 0) |
| 387 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero_comp_differential X d) |
| 388 | |
| 389 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This is the |
| 390 | sequence of sheaves `ℂ_X → Ω⁰ → Ω¹`, where `ℂ_X` consists of locally constant functions and the |
| 391 | two arrows are inclusion as holomorphic zero-forms and exterior differentiation. The form |
| 392 | sheaves are obtained by sheafifying the corresponding presheaves. -/ |
| 393 | noncomputable def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamSheafShortComplex |
| 394 | [SmoothOfRelativeDimension d X.hom] : |
| 395 | ShortComplex (TopCat.Sheaf AddCommGrpCat |
| 396 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) := |
| 397 | ShortComplex.mk (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf X d) |
| 398 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheafDifferential X d 0) |
| 399 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf_comp_differential X d) |
| 400 | |
| 401 | set_option backward.isDefEq.respectTransparency false in |
| 402 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This morphism |
| 403 | sends the presheaf sequence `ℂ → Ω⁰ → Ω¹` to the underlying presheaves of its sheafification. |
| 404 | Each component sends a constant or a holomorphic form to the section represented by its local |
| 405 | germs. -/ |
| 406 | noncomputable def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamShortComplexSheafificationUnit |
| 407 | [SmoothOfRelativeDimension d X.hom] : |
| 408 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamPresheafShortComplex X d ⟶ |
| 409 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamSheafShortComplex X d).map |
| 410 | (TopCat.Sheaf.forget AddCommGrpCat |
| 411 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) where |
| 412 | τ₁ := toSheafify |
| 413 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 414 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) |
| 415 | τ₂ := toSheafify |
| 416 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 417 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0) |
| 418 | τ₃ := toSheafify |
| 419 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 420 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 1) |
| 421 | comm₁₂ := (toSheafify_naturality |
| 422 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 423 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZero X d)).symm |
| 424 | comm₂₃ := (toSheafify_naturality |
| 425 | (Opens.grothendieckTopology (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) |
| 426 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamDifferential X d 0)).symm |
| 427 | |
| 428 | set_option backward.isDefEq.respectTransparency false in |
| 429 | /-- The augmented holomorphic de Rham sheaf complex is exact. Thus the kernel of the exterior |
| 430 | derivative on holomorphic functions is exactly the constant sheaf. -/ |
| 431 | lemma constantsToHolomorphicDeRhamSheafShortComplex_exact |
| 432 | [SmoothOfRelativeDimension d X.hom] : |
| 433 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamSheafShortComplex X d).Exact := by |
| 434 | rw [TopCat.Sheaf.exact_iff_stalkFunctor_map_exact] |
| 435 | intro x |
| 436 | let stalk := TopCat.Presheaf.stalkFunctor AddCommGrpCat x |
| 437 | have hP : ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamPresheafShortComplex X d).map |
| 438 | stalk).Exact := |
| 439 | _root_.OAI.Topology.Sheaves.StalkExact.TopCat.Presheaf.stalkExact_of_locallyPrimitive |
| 440 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamPresheafShortComplex X d) (by |
| 441 | intro y U hyU form hform |
| 442 | change _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d (.op U) 0 form = 0 at hform |
| 443 | obtain ⟨V, i, c, hyV, hi⟩ := |
| 444 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.exists_local_holomorphicForm_eq_constant X d (.op U) y hyU form hform |
| 445 | exact ⟨V.unop, hyV, i.unop, c, hi.symm⟩) x |
| 446 | let unit := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamShortComplexSheafificationUnit X d |
| 447 | let η := (stalk.mapShortComplex).map unit |
| 448 | let : IsIso η.τ₁ := |
| 449 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 450 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) |
| 451 | let : IsIso η.τ₂ := |
| 452 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 453 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0) |
| 454 | let : IsIso η.τ₃ := |
| 455 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 456 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 1) |
| 457 | let : IsIso η := ShortComplex.isIso_of_isIso η |
| 458 | exact ShortComplex.exact_of_iso (asIso η) hP |
| 459 | |
| 460 | set_option backward.isDefEq.respectTransparency false in |
| 461 | /-- The sheafified inclusion of complex constants into holomorphic functions is a |
| 462 | monomorphism. -/ |
| 463 | lemma constantsToHolomorphicDeRhamZeroSheaf_mono |
| 464 | [SmoothOfRelativeDimension d X.hom] : |
| 465 | Mono (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf X d) := by |
| 466 | rw [TopCat.Presheaf.mono_iff_stalk_mono] |
| 467 | intro x |
| 468 | let stalk := TopCat.Presheaf.stalkFunctor AddCommGrpCat x |
| 469 | let unit := _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamShortComplexSheafificationUnit X d |
| 470 | let S := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamPresheafShortComplex X d).map stalk |
| 471 | let T := (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamSheafShortComplex X d).map |
| 472 | (TopCat.Sheaf.forget AddCommGrpCat |
| 473 | (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) ⋙ stalk) |
| 474 | let η : S ⟶ T := (stalk.mapShortComplex).map unit |
| 475 | let : IsIso η.τ₁ := |
| 476 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 477 | 𝓒ᵖ(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) |
| 478 | let : IsIso η.τ₂ := |
| 479 | TopCat.Presheaf.stalkFunctor_map_unit_toSheafify_isIso x AddCommGrpCat |
| 480 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamPresheaf X d 0) |
| 481 | let : Mono S.f := constantsToHolomorphicDeRhamZero_stalk_mono X d x |
| 482 | change Mono T.f |
| 483 | have h : T.f = inv η.τ₁ ≫ S.f ≫ η.τ₂ := by |
| 484 | rw [← cancel_epi η.τ₁, η.comm₁₂] |
| 485 | simp |
| 486 | rw [h] |
| 487 | infer_instance |
| 488 | |
| 489 | /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(ℂ)`. This map of |
| 490 | nonnegative sheaf complexes `ℂ_X[0] → Ω^•` includes locally constant functions as holomorphic |
| 491 | zero-forms. The source is zero in every positive degree, and the target differential is exterior |
| 492 | differentiation. -/ |
| 493 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex [SmoothOfRelativeDimension d X.hom] : |
| 494 | (CochainComplex.single₀ |
| 495 | (TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)))).obj |
| 496 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) ⟶ |
| 497 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X d := |
| 498 | (CochainComplex.fromSingle₀Equiv (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X d) |
| 499 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ)).symm |
| 500 | ⟨_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf X d, by |
| 501 | rw [_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex_d] |
| 502 | exact _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamZeroSheaf_comp_differential X d⟩ |
| 503 | |
| 504 | set_option backward.isDefEq.respectTransparency false in |
| 505 | /-- The holomorphic Poincaré lemma identifies the degree-zero de Rham cohomology sheaf with the |
| 506 | constant sheaf. -/ |
| 507 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex_quasiIsoAt_zero |
| 508 | [SmoothOfRelativeDimension d X.hom] : |
| 509 | QuasiIsoAt (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex X d) 0 := by |
| 510 | rw [CochainComplex.quasiIsoAt₀_iff, ShortComplex.quasiIso_iff_of_zeros] |
| 511 | · exact ⟨constantsToHolomorphicDeRhamSheafShortComplex_exact X d, |
| 512 | constantsToHolomorphicDeRhamZeroSheaf_mono X d⟩ |
| 513 | all_goals rfl |
| 514 | |
| 515 | set_option backward.isDefEq.respectTransparency false in |
| 516 | /-- The holomorphic Poincaré lemma makes the constant-to-de Rham comparison a |
| 517 | quasi-isomorphism in every positive degree. -/ |
| 518 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex_quasiIsoAt_succ |
| 519 | [SmoothOfRelativeDimension d X.hom] (p : ℕ) : |
| 520 | QuasiIsoAt (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex X d) (p + 1) := by |
| 521 | rw [quasiIsoAt_iff_exactAt _ _ |
| 522 | (CochainComplex.exactAt_succ_single_obj 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) p)] |
| 523 | exact holomorphicDeRhamComplex_exactAt_succ X d p |
| 524 | |
| 525 | /-- The constant sheaf resolves the holomorphic de Rham complex in all natural degrees. -/ |
| 526 | instance _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex_quasiIso |
| 527 | [SmoothOfRelativeDimension d X.hom] : |
| 528 | QuasiIso (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex X d) where |
| 529 | quasiIsoAt p := by |
| 530 | rcases p with _ | p |
| 531 | · exact _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex_quasiIsoAt_zero X d |
| 532 | · exact _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex_quasiIsoAt_succ X d p |
| 533 | |
| 534 | /-- Let `X` be a complex scheme. This integer-indexed complex of sheaves of abelian groups on `X(ℂ)` |
| 535 | has the constant complex sheaf in degree zero, zero in every other degree, and zero |
| 536 | differentials. -/ |
| 537 | @[implicit_reducible] |
| 538 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantComplexSheafComplexInt : |
| 539 | CochainComplex |
| 540 | (TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X))) ℤ := |
| 541 | ((CochainComplex.single₀ |
| 542 | (TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)))).obj |
| 543 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ)).extend ComplexShape.embeddingUpNat |
| 544 | |
| 545 | /-- Let `X` be a complex scheme. This endomorphism of the nonnegative sheaf complex `ℂ_X[0]` |
| 546 | conjugates locally constant functions in degree zero; every positive-degree term is zero. -/ |
| 547 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexComplex : |
| 548 | (CochainComplex.single₀ |
| 549 | (TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)))).obj |
| 550 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) ⟶ |
| 551 | (CochainComplex.single₀ |
| 552 | (TopCat.Sheaf AddCommGrpCat (TopCat.of (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)))).obj |
| 553 | 𝓒(↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X); ℂ) := |
| 554 | (CochainComplex.single₀ _).map (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexSheaf X) |
| 555 | |
| 556 | /-- Let `X` be a complex scheme. This endomorphism of the integer-indexed sheaf complex `ℂ_X[0]` |
| 557 | conjugates locally constant functions in degree zero, with zero terms in all other degrees. It |
| 558 | is additive and conjugate-linear. -/ |
| 559 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexSheafComplexInt : |
| 560 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantComplexSheafComplexInt X ⟶ _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantComplexSheafComplexInt X := |
| 561 | HomologicalComplex.extendMap (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.conjConstantComplexComplex X) |
| 562 | ComplexShape.embeddingUpNat |
| 563 | |
| 564 | /-- Let `X` be a smooth integral scheme over `ℂ`. This integer-indexed complex on `X(ℂ)` has the |
| 565 | sheaf of holomorphic `p`-forms in each degree `p ≥ 0`, exterior differentiation as differential, |
| 566 | and zero terms in negative degrees. Its charts use the dimension of `X`. -/ |
| 567 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplexInt [IsIntegral X.left] [Smooth X.hom] : |
| 568 | CochainComplex (TopCat.Sheaf AddCommGrpCat ↧(_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint X)) ℤ := |
| 569 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left)).extend ComplexShape.embeddingUpNat |
| 570 | |
| 571 | /-- `Ω•(X)` is the holomorphic de Rham complex of `X(ℂ)`, indexed by the integers. -/ |
| 572 | scoped notation:max "Ω•" "(" X ")" => _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplexInt X |
| 573 | |
| 574 | instance [IsIntegral X.left] [Smooth X.hom] : |
| 575 | CochainComplex.IsStrictlyGE Ω•(X) 0 := by |
| 576 | unfold _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplexInt |
| 577 | infer_instance |
| 578 | |
| 579 | /-- The integer-indexed holomorphic de Rham complex vanishes in every degree above the complex |
| 580 | dimension. -/ |
| 581 | lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplexInt_isZero_X_of_lt |
| 582 | [IsIntegral X.left] [Smooth X.hom] (n : ℤ) (hn : (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left : ℤ) < n) : |
| 583 | IsZero (Ω•(X).X n) := by |
| 584 | have hn0 : 0 ≤ n := by lia |
| 585 | let p := n.toNat |
| 586 | have hp : (p : ℤ) = n := by |
| 587 | simp [p, Int.toNat_of_nonneg hn0] |
| 588 | have hdp : _root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left < p := by lia |
| 589 | exact (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamSheaf_isZero_of_lt X (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left) hdp).of_iso |
| 590 | ((_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplex X (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left)).extendXIso |
| 591 | ComplexShape.embeddingUpNat hp) |
| 592 | |
| 593 | /-- The integer-indexed holomorphic de Rham complex is strictly supported in degrees at most the |
| 594 | complex dimension. -/ |
| 595 | noncomputable instance _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplexInt_isStrictlyLE |
| 596 | [IsIntegral X.left] [Smooth X.hom] : |
| 597 | Ω•(X).IsStrictlySupported |
| 598 | (ComplexShape.embeddingUpIntLE (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left)) where |
| 599 | isZero n hn := by |
| 600 | rw [ComplexShape.notMem_range_embeddingUpIntLE_iff] at hn |
| 601 | exact _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicDeRhamComplexInt_isZero_X_of_lt X n hn |
| 602 | |
| 603 | /-- Let `X` be a smooth integral scheme over `ℂ`. This map `ℂ_X[0] → Ω^•` of integer-indexed sheaf |
| 604 | complexes includes locally constant functions as holomorphic zero-forms. The source is |
| 605 | concentrated in degree zero and the holomorphic de Rham complex is zero in negative degrees. -/ |
| 606 | def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt [IsIntegral X.left] [Smooth X.hom] : |
| 607 | _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantComplexSheafComplexInt X ⟶ Ω•(X) := |
| 608 | HomologicalComplex.extendMap |
| 609 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex X (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left)) ComplexShape.embeddingUpNat |
| 610 | |
| 611 | /-- Extending by zero gives the holomorphic de Rham quasi-isomorphism in every integer |
| 612 | degree. -/ |
| 613 | instance _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt_quasiIso |
| 614 | [IsIntegral X.left] [Smooth X.hom] : |
| 615 | QuasiIso (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplexInt X) := by |
| 616 | change QuasiIso (HomologicalComplex.extendMap |
| 617 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex X (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left)) ComplexShape.embeddingUpNat) |
| 618 | exact (HomologicalComplex.quasiIso_extendMap_iff |
| 619 | (_root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.constantsToHolomorphicDeRhamComplex X (_root_.OAI.Topology.Dimension.Basic.TopologicalSpace.dim X.left)) ComplexShape.embeddingUpNat).2 |
| 620 | inferInstance |
| 621 | |
| 622 | end ComplexPoint |
| 623 | end |
| 624 | |
| 625 | end |
| 626 | |
| 627 | end OAI.AlgebraicGeometry.Hodge.HolomorphicDeRham |