/- Copyright 2026 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. This file has been modified. -/ import OAI.Algebra.DeRham.BasicSquared import OAI.AlgebraicGeometry.ComplexPoint.AnalyticSheafOn import OAI.Analysis.DifferentialForms.ExactWedge /-! # Analytic Differential Forms -/ namespace OAI.AlgebraicGeometry.Hodge.AnalyticDifferentialForms.ComplexPoint noncomputable section open _root_.AlgebraicGeometry /-! # Analytic differential forms This file constructs analytic differential forms from holomorphic functions and their manifold derivatives. The pointwise algebra of wedges lives in `HodgeConjecture.Mathlib.Analysis.NormedSpace.WedgeCovectors` and `HodgeConjecture.Lemmas.Analysis.Calculus.DifferentialForm.ExactWedge`. The starting point is `Algebra.DeRham.Form โ„‚ ๐’ช(U) p`, the Kรคhler differential forms of the holomorphic functions on `U`, that is `โ‹€^p ฮฉ[๐’ช(U)โ„โ„‚]`. In a fixed chart at `z` such a form is evaluated pointwise as an alternating continuous multilinear map: taking coordinate derivatives is a `โ„‚`-derivation of `๐’ช(U)` into covector fields along the coordinate domain, so the universal property of `ฮฉ[๐’ช(U)โ„โ„‚]` and then that of the exterior power turn the pointwise wedge of covectors into `chartEvaluation`. By construction it takes the algebraic exterior derivative to the analytic one. Analytic differential forms are then `Algebra.DeRham.Form โ„‚ ๐’ช(U) p` modulo the forms whose evaluation vanishes in every chart. These relations include analytic identities such as the chain rule. In degrees above the complex dimension the evaluation target is zero, so the resulting forms vanish. -/ open _root_.CategoryTheory OAI.Analysis.DifferentialForms.ExactWedge.DifferentialForm _root_.TopologicalSpace open scoped ContDiff _root_.Manifold variable (X : Over (Spec โ†งโ„‚)) (d : โ„•) noncomputable instance _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionPresheafAlgebra [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) : Algebra โ„‚ ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionPresheaf X d).obj U) := inferInstanceAs (Algebra โ„‚ C^ฯ‰โŸฎ๐“˜(โ„‚, Fin d โ†’ โ„‚), (Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X)); โ„‚โŸฏ) /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For analytic opens `V โІ U`, this `โ„‚`-algebra homomorphism sends a holomorphic function on `U` to its restriction to `V`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) : ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionPresheaf X d).obj U : Type) โ†’โ‚[โ„‚] ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionPresheaf X d).obj V : Type) where toRingHom := ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionSheaf X d).presheaf.map i).hom commutes' _ := rfl @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom_id [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) : ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d (๐Ÿ™ U) = AlgHom.id โ„‚ _ := rfl @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom_comp [SmoothOfRelativeDimension d X.hom] {U V W : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (j : V โŸถ W) : ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d (i โ‰ซ j) = (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d j).comp (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i) := rfl /-- Let `X` be a smooth complex scheme of dimension `d` and `U` an analytic open in `X(โ„‚)`. This is the complex algebra of holomorphic functions `U โ†’ โ„‚`, with pointwise operations, defined using the chosen analytic charts. -/ abbrev _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) := ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionPresheaf X d).obj U : Type) /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For an analytic open `U` and the chosen chart `e` at `z`, this is the set of coordinates `y` in the chart target such that `e.symm(y) โˆˆ U`. It is an open subset of `โ„‚^d`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) : Set (Fin d โ†’ โ„‚) := (extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).target โˆฉ (extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).symm โปยน' ((Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X)) : Set (ComplexPoint.Basic.ComplexSchemePoint X)) lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) : IsOpen (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) := by simpa [ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain, extChartAt_target, extChartAt_coe_symm] using (chartAt (Fin d โ†’ โ„‚) z).isOpen_inter_preimage_symm (Opposite.unop U).isOpen /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For an analytic open `U` and a holomorphic function `f: U โ†’ โ„‚`, this total function on `X(โ„‚)` equals `f` on `U` and zero outside `U`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.extendedSection [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) : ComplexPoint.Basic.ComplexSchemePoint X โ†’ โ„‚ := Function.extend Subtype.val f.1 0 lemma extendedSection_contMDiffWithinAt [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {x : ComplexPoint.Basic.ComplexSchemePoint X} (hx : x โˆˆ (Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X))) : ContMDiffWithinAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) (modelWithCornersSelf โ„‚ โ„‚) ฯ‰ (ComplexPoint.Basic.ComplexSchemePoint.extendedSection X d U f) ((Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X)) : Set (ComplexPoint.Basic.ComplexSchemePoint X)) x := by apply ContMDiffAt.contMDiffWithinAt apply (contMDiffAt_subtype_iff (U := (Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X))) (x := โŸจx, hxโŸฉ)).mp simpa only [ComplexPoint.Basic.ComplexSchemePoint.extendedSection, Subtype.val_injective.extend_apply] using (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionSheaf_section_analytic X d f).contMDiffAt (x := โŸจx, hxโŸฉ) /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For a holomorphic function `f` on `U`, this is its coordinate expression `f โˆ˜ e.symm` on `D`, defined as a total function by first extending `f` by zero outside `U`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSection [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) : (Fin d โ†’ โ„‚) โ†’ โ„‚ := ComplexPoint.Basic.ComplexSchemePoint.extendedSection X d U f โˆ˜ (extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).symm lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ContDiffWithinAt โ„‚ ฯ‰ (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y := by have hsymm : ContMDiffWithinAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) ฯ‰ (extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).symm (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y := by exact (contMDiffOn_extChartAt_symm (I := modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z y hy.1).mono Set.inter_subset_left have hext : ContMDiffWithinAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) (modelWithCornersSelf โ„‚ โ„‚) ฯ‰ (ComplexPoint.Basic.ComplexSchemePoint.extendedSection X d U f) ((Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X)) : Set (ComplexPoint.Basic.ComplexSchemePoint X)) ((extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).symm y) := extendedSection_contMDiffWithinAt X d U f hy.2 exact (hext.comp y hsymm (fun _ h โ†ฆ h.2)).contDiffWithinAt lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffOn [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) : ContDiffOn โ„‚ ฯ‰ (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) := fun _ hy โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt X d U z f hy @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y = f.1 โŸจ(extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).symm y, hy.2โŸฉ := by change Function.extend Subtype.val f.1 0 (Subtype.val โŸจ(extChartAt (modelWithCornersSelf โ„‚ (Fin d โ†’ โ„‚)) z).symm y, hy.2โŸฉ) = _ rw [Subtype.val_injective.extend_apply] /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For a holomorphic function `f` on `U`, this is the complex Frรฉchet derivative of `f โˆ˜ e.symm` within `D` at `y`. Its value is a continuous complex linear functional on `โ„‚^d`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (y : Fin d โ†’ โ„‚) : (Fin d โ†’ โ„‚) โ†’L[โ„‚] โ„‚ := fderivWithin โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_add [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f g : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (f + g) y = ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z f y + ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z g y := by let S := ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z have hEq : Set.EqOn (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (f + g)) (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f + ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z g) S := by intro w hw simp only [Pi.add_apply, ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ hw] rfl rw [ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential, fderivWithin_congr' hEq hy] exact fderivWithin_add ((ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z).uniqueDiffWithinAt hy) ((ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt X d U z f hy).differentiableWithinAt (by simp)) ((ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt X d U z g hy).differentiableWithinAt (by simp)) lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_smul [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (c : โ„‚) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (c โ€ข f) y = c โ€ข ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z f y := by let S := ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z have hEq : Set.EqOn (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (c โ€ข f)) (c โ€ข ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f) S := by intro w hw simp only [Pi.smul_apply, ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ hw] rfl rw [ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential, fderivWithin_congr' hEq hy] exact fderivWithin_const_smul_field c ((ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z).uniqueDiffWithinAt hy) lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_mul [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f g : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (f * g) y = ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y โ€ข ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z g y + ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z g y โ€ข ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z f y := by let S := ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z have hEq : Set.EqOn (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (f * g)) (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f * ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z g) S := by intro w hw simp only [Pi.mul_apply, ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ hw] rfl rw [ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential, fderivWithin_congr' hEq hy] exact fderivWithin_mul ((ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z).uniqueDiffWithinAt hy) ((ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt X d U z f hy).differentiableWithinAt (by simp)) ((ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt X d U z g hy).differentiableWithinAt (by simp)) lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_algebraMap [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (c : โ„‚) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (algebraMap โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) c) y = 0 := by let S := ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z have hEq : Set.EqOn (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (algebraMap โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) c)) (fun _ โ†ฆ c) S := by intro w hw simp only [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ hw] rfl rw [ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential, fderivWithin_congr' hEq hy] exact congrFun (fderivWithin_const (๐•œ := โ„‚) (E := Fin d โ†’ โ„‚) (s := S) c) y /-! ### Reading holomorphic functions in a fixed chart -/ /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. This `โ„‚`-algebra homomorphism sends each holomorphic function `f` on `U` to the function `y โ†ฆ f(e.symm(y))` on `D`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionAlgHom [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U โ†’โ‚[โ„‚] (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ โ„‚) where toFun f y := ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y.1 map_one' := by funext y; simp only [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ y.2]; rfl map_mul' f g := by funext y simp only [Pi.mul_apply, ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ y.2] rfl map_zero' := by funext y; simp only [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ y.2]; rfl map_add' f g := by funext y simp only [Pi.add_apply, ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ y.2] rfl commutes' c := by funext y; simp only [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ y.2]; rfl @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionAlgHom_apply [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (y : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z)) : ComplexPoint.Basic.ComplexSchemePoint.chartSectionAlgHom X d U z f y = ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y.1 := rfl /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For a complex vector space `V`, functions `D โ†’ V` form a module over `๐’ช(U)`, the holomorphic functions on `U`, by `(f โ€ข v)(y) = f(e.symm(y)) โ€ข v(y)`. This is that module structure. -/ abbrev _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (V : Type) [AddCommGroup V] [Module โ„‚ V] : Module (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) := Module.compHom _ (ComplexPoint.Basic.ComplexSchemePoint.chartSectionAlgHom X d U z).toRingHom attribute [local instance] ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule_smul_apply [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (V : Type) [AddCommGroup V] [Module โ„‚ V] (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (F : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) (y : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z)) : (f โ€ข F) y = ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y.1 โ€ข F y := rfl /-- The scalar actions of `โ„‚` and of the holomorphic functions on chart fields are compatible. -/ theorem _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartFieldTower [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (V : Type) [AddCommGroup V] [Module โ„‚ V] : IsScalarTower โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) := by refine โŸจfun c f F => ?_โŸฉ funext y have h : ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (c โ€ข f) y.1 = c * ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y.1 := by simp only [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ y.2]; rfl rw [ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule_smul_apply, Pi.smul_apply, ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule_smul_apply, h, mul_smul] attribute [local instance] ComplexPoint.Basic.ComplexSchemePoint.chartFieldTower /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. This `โ„‚`-derivation sends a holomorphic function `f` on `U` to the covector field `y โ†ฆ D(f โˆ˜ e.symm)(y)` on `D`. Multiplication by holomorphic functions is evaluated in these coordinates, so the derivative obeys the Leibniz rule. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartDerivation [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) : Derivation โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ ((Fin d โ†’ โ„‚) โ†’L[โ„‚] โ„‚)) where toFun f y := ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z f y.1 map_add' f g := by funext y exact ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_add X d U z f g y.2 map_smul' c f := by funext y exact ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_smul X d U z c f y.2 map_one_eq_zero' := by funext y show ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z 1 y.1 = 0 rw [show (1 : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) = algebraMap โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) 1 by simp] exact ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_algebraMap X d U z 1 y.2 leibniz' f g := by funext y exact ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_mul X d U z f g y.2 @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartDerivation_apply [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (y : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z)) : ComplexPoint.Basic.ComplexSchemePoint.chartDerivation X d U z f y = ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z f y.1 := rfl lemma update_eval {p : โ„•} {V W : Type*} (L : Fin p โ†’ V โ†’ W) (i : Fin p) (a : V โ†’ W) (y : V) : (fun j => Function.update L i a j y) = Function.update (fun j => L j y) i (a y) := by funext j by_cases h : j = i <;> simp [h] /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For a natural number `p`, this alternating multilinear map sends `p` covector fields on `D` to their pointwise exterior product. At `y`, it gives an alternating continuous `p`-linear form on `โ„‚^d`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartWedge [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) : (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ ((Fin d โ†’ โ„‚) โ†’L[โ„‚] โ„‚)) [โ‹€^Fin p]โ†’โ‚—[ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U] (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ ((Fin d โ†’ โ„‚) [โ‹€^Fin p]โ†’L[โ„‚] โ„‚)) where toFun L y := Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) fun i => L i y map_update_add' := by intro instDec L i a b obtain rfl : instDec = instDecidableEqFin p := Subsingleton.elim _ _ funext y show Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) (fun j => Function.update L i (a + b) j y) = Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) (fun j => Function.update L i a j y) + Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) (fun j => Function.update L i b j y) rw [update_eval, update_eval, update_eval, Pi.add_apply, Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors_update_add] map_update_smul' := by intro instDec L i f a obtain rfl : instDec = instDecidableEqFin p := Subsingleton.elim _ _ funext y show Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) (fun j => Function.update L i (f โ€ข a) j y) = ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y.1 โ€ข Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) (fun j => Function.update L i a j y) rw [update_eval, update_eval, ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule_smul_apply, Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors_update_smul] map_eq_zero_of_eq' L i j h hij := by funext y exact Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors_eq_zero_of_eq _ i j (congrFun h y) hij @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartWedge_apply [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (L : Fin p โ†’ โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ ((Fin d โ†’ โ„‚) โ†’L[โ„‚] โ„‚)) (y : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z)) : ComplexPoint.Basic.ComplexSchemePoint.chartWedge X d U z p L y = Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) fun i => L i y := rfl /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. Let `๐’ช(U)` be the algebra of holomorphic functions. This `๐’ช(U)`-linear map evaluates algebraic Kรคhler `p`-forms as alternating-form fields on `D`: it sends `aโ‚€ daโ‚ โˆง โ‹ฏ โˆง daโ‚š` to the coordinate value of `aโ‚€` times the wedge of the coordinate derivatives of the `a_j`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationHolo [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p โ†’โ‚—[ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U] (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ ((Fin d โ†’ โ„‚) [โ‹€^Fin p]โ†’L[โ„‚] โ„‚)) := exteriorPower.alternatingMapLinearEquiv ((ComplexPoint.Basic.ComplexSchemePoint.chartWedge X d U z p).compLinearMap (ComplexPoint.Basic.ComplexSchemePoint.chartDerivation X d U z).liftKaehlerDifferential) lemma chartEvaluationHolo_mk [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (y : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z)) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationHolo X d U z p (OAI.Algebra.DeRham.Basic.mk โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p aโ‚€ v) y = ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z aโ‚€ y.1 โ€ข Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) fun i => ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (v i) y.1 := by show ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationHolo X d U z p (aโ‚€ โ€ข OAI.Algebra.DeRham.Basic.exact โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p v) y = _ rw [map_smul, ComplexPoint.Basic.ComplexSchemePoint.chartFieldModule_smul_apply, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationHolo, OAI.Algebra.DeRham.Basic.exact, exteriorPower.alternatingMapLinearEquiv_apply_ฮนMulti] simp /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For any type `V` with zero, this extends a function `D โ†’ V` to `โ„‚^d` by assigning zero outside `D`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.extendByZero [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) {V : Type} [Zero V] (F : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) : (Fin d โ†’ โ„‚) โ†’ V := Function.extend Subtype.val F 0 @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_mem [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) {V : Type} [Zero V] (F : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.extendByZero X d U z F y = F โŸจy, hyโŸฉ := Subtype.val_injective.extend_apply F 0 โŸจy, hyโŸฉ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_notMem [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) {V : Type} [Zero V] (F : โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) {y : Fin d โ†’ โ„‚} (hy : y โˆ‰ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.extendByZero X d U z F y = 0 := by rw [ComplexPoint.Basic.ComplexSchemePoint.extendByZero, Function.extend_apply' _ _ _ ?_] ยท rfl ยท rintro โŸจโŸจw, hwโŸฉ, rflโŸฉ exact hy hw /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For a complex vector space `V`, this is the complex linear map from functions `D โ†’ V` to functions `โ„‚^d โ†’ V` that extends by zero off `D`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.extendByZeroLinear [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (V : Type) [AddCommGroup V] [Module โ„‚ V] : (โ†ฅ(ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) โ†’ V) โ†’โ‚—[โ„‚] ((Fin d โ†’ โ„‚) โ†’ V) where toFun := ComplexPoint.Basic.ComplexSchemePoint.extendByZero X d U z map_add' F G := by funext y by_cases hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z ยท simp [ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_mem X d U z _ hy] ยท simp [ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_notMem X d U z _ hy] map_smul' c F := by funext y by_cases hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z ยท simp [ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_mem X d U z _ hy] ยท simp [ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_notMem X d U z _ hy] /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. This complex linear map evaluates algebraic Kรคhler `p`-forms of `๐’ช(U)` as alternating continuous `p`-linear forms on `โ„‚^d` at each point of `D`, using coordinate derivatives. The resulting field is extended by zero off `D`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p โ†’โ‚—[โ„‚] ((Fin d โ†’ โ„‚) โ†’ (Fin d โ†’ โ„‚) [โ‹€^Fin p]โ†’L[โ„‚] โ„‚) := (ComplexPoint.Basic.ComplexSchemePoint.extendByZeroLinear X d U z _).comp ((ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationHolo X d U z p).restrictScalars โ„‚) lemma chartEvaluation_apply_of_mem [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p ฮธ y = ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationHolo X d U z p ฮธ โŸจy, hyโŸฉ := ComplexPoint.Basic.ComplexSchemePoint.extendByZero_apply_of_mem X d U z _ hy @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_zero [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p 0 = 0 := map_zero (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p) @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_add [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (a b : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p (a + b) = ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p a + ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p b := map_add (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p) a b @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_smul [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (c : โ„‚) (a : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p (c โ€ข a) = c โ€ข ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p a := map_smul (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p) c a @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_neg [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (a : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p (-a) = -ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p a := map_neg (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p) a @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_sub [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (a b : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p (a - b) = ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p a - ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p b := map_sub (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p) a b /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For holomorphic functions `aโ‚€, vโ‚€, โ€ฆ, v_{p-1}` on `U`, this field evaluates the generator `aโ‚€ dvโ‚€ โˆง โ‹ฏ โˆง dv_{p-1}` as `aโ‚€(e.symm(y))` times the wedge of the coordinate derivatives of the `v_j` at `y`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) : (Fin d โ†’ โ„‚) โ†’ (Fin d โ†’ โ„‚) [โ‹€^Fin p]โ†’L[โ„‚] โ„‚ := fun y => ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z aโ‚€ y โ€ข Analysis.Foundations.NormedSpaceWedgeCovectors.ContinuousAlternatingMap.wedgeCovectors โ„‚ (Fin d โ†’ โ„‚) fun i => ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (v i) y lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p (OAI.Algebra.DeRham.Basic.mk โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p aโ‚€ v) y = ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation X d U z p aโ‚€ v y := by rw [chartEvaluation_apply_of_mem X d U z p _ hy, chartEvaluationHolo_mk] rfl lemma chartEvaluation_mk_eqOn [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) : Set.EqOn (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p (OAI.Algebra.DeRham.Basic.mk โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p aโ‚€ v)) (ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation X d U z p aโ‚€ v) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) := fun _ hy => ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk X d U z p aโ‚€ v hy /-- Exterior differentiation of `aโ‚€ * d vโ‚€ โˆง โ‹ฏ โˆง d vโ‚šโ‚‹โ‚` inserts the coefficient as the first differential. -/ lemma extDerivWithin_chartGeneratorEvaluation [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : extDerivWithin (ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation X d U z p aโ‚€ v) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y = ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation X d U z (p + 1) 1 (Fin.cons aโ‚€ v) y := by have h := Analysis.DifferentialForms.ExactWedge.DifferentialForm.extDerivWithin_smul_exactWedgeWithin (Fin d โ†’ โ„‚) p (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z aโ‚€) (fun i โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (v i)) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y (ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z) hy (ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffOn X d U z aโ‚€) (fun i โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffOn X d U z (v i)) rw [show ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation X d U z p aโ‚€ v = (fun w โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z aโ‚€ w โ€ข Analysis.DifferentialForms.ExactWedge.DifferentialForm.exactWedgeWithin (Fin d โ†’ โ„‚) p (fun i โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (v i)) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) w) from rfl] rw [h] simp only [ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation, ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential] rw [show ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (1 : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) y = 1 by simp only [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ hy] rfl, one_smul] congr 1 funext i refine Fin.cases ?_ (fun j โ†ฆ ?_) i <;> rfl lemma chartGeneratorEvaluation_differentiableWithinAt [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : DifferentiableWithinAt โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation X d U z p aโ‚€ v) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y := by exact DifferentiableWithinAt.smul ((ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffWithinAt X d U z aโ‚€ hy).differentiableWithinAt (by simp)) (Analysis.DifferentialForms.ExactWedge.DifferentialForm.exactWedgeWithin_differentiableWithinAt (Fin d โ†’ โ„‚) p (fun i โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z (v i)) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y (ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z) hy (fun i โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSection_contDiffOn X d U z (v i))) lemma chartEvaluation_differentiableWithinAt [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : DifferentiableWithinAt โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p ฮธ) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y := by induction ฮธ using OAI.Algebra.DeRham.Basic.mk_induction with | mk aโ‚€ v => exact ((chartGeneratorEvaluation_differentiableWithinAt X d U z p aโ‚€ v hy).congr (fun w hw => ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk X d U z p aโ‚€ v hw) (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk X d U z p aโ‚€ v hy)) | zero => rw [ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_zero] exact differentiableWithinAt_const (c := (0 : (Fin d โ†’ โ„‚) [โ‹€^Fin p]โ†’L[โ„‚] โ„‚)) | add a b ha hb => rw [ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_add]; exact ha.add hb | smul c a ha => rw [ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_smul]; exact ha.const_smul c lemma extDerivWithin_zero {E : Type*} [NormedAddCommGroup E] [NormedSpace โ„‚ E] {p : โ„•} (s : Set E) (x : E) : extDerivWithin (0 : E โ†’ E [โ‹€^Fin p]โ†’L[โ„‚] โ„‚) s x = 0 := by refine ContinuousAlternatingMap.ext fun v โ†ฆ ?_ simp [extDerivWithin, ContinuousAlternatingMap.alternatizeUncurryFin_apply, fderivWithin_zero] /-- Fixed-chart evaluation intertwines the algebraic and the analytic exterior derivative. -/ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_differential [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z (p + 1) (OAI.Algebra.DeRham.Basic.differential โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p ฮธ) y = extDerivWithin (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p ฮธ) (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) y := by induction ฮธ using OAI.Algebra.DeRham.Basic.mk_induction with | mk aโ‚€ v => rw [OAI.Algebra.DeRham.Basic.differential_mk, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk X d U z (p + 1) _ _ hy, extDerivWithin_congr' (chartEvaluation_mk_eqOn X d U z p aโ‚€ v) hy, extDerivWithin_chartGeneratorEvaluation X d U z p aโ‚€ v hy] | zero => simp [extDerivWithin_zero] | add a b ha hb => rw [map_add, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_add, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_add, Pi.add_apply, ha, hb, extDerivWithin_add ((ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z).uniqueDiffWithinAt hy) (chartEvaluation_differentiableWithinAt X d U z p a hy) (chartEvaluation_differentiableWithinAt X d U z p b hy)] | smul c a ha => rw [map_smul, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_smul, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_smul, Pi.smul_apply, ha, extDerivWithin_smul c _ ((ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z).uniqueDiffWithinAt hy)] /-- Let `X` be a smooth complex scheme of dimension `d`, `U โІ X(โ„‚)` open, and `e` the chosen chart at `z`. Its coordinate domain over `U` is `D = {y โˆˆ e.target | e.symm y โˆˆ U}`. For a natural number `p` and a coordinate point `y`, this complex linear map evaluates an algebraic Kรคhler `p`-form of `๐’ช(U)` at `y` using coordinate derivatives, producing an alternating continuous `p`-linear form on `โ„‚^d`. Its value is zero off `D`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationAt [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (y : Fin d โ†’ โ„‚) : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p โ†’โ‚—[โ„‚] (Fin d โ†’ โ„‚) [โ‹€^Fin p]โ†’L[โ„‚] โ„‚ := (LinearMap.proj y).comp (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p) /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For an analytic open `U`, this is the complex subspace of algebraic Kรคhler `p`-forms of `๐’ช(U)` whose evaluations by coordinate derivatives vanish at every point in every chosen analytic chart. These are the relations imposed to obtain analytic differential forms. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) : Submodule โ„‚ (OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) := โจ… (z : ComplexPoint.Basic.ComplexSchemePoint X), โจ… (y : Fin d โ†’ โ„‚), โจ… (_ : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z), LinearMap.ker (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationAt X d U z p y) lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) (ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) : ฮธ โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p โ†” โˆ€ z y, y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z โ†’ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p ฮธ y = 0 := by simp [ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel, Submodule.mem_iInf, LinearMap.mem_ker, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationAt] /-- Coordinate-zero identities remain coordinate-zero after exterior differentiation. -/ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.differential_mem_chartEvaluationKernel [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) {ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p} (hฮธ : ฮธ โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) : OAI.Algebra.DeRham.Basic.differential โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p ฮธ โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U (p + 1) := by have hฮธ' := (ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff X d U p ฮธ).1 hฮธ refine (ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff X d U (p + 1) _).2 fun z y hy โ†ฆ ?_ have hEq : Set.EqOn (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p ฮธ) 0 (ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z) := fun w hw โ†ฆ hฮธ' z w hw rw [ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_differential X d U z p ฮธ hy, extDerivWithin_congr' hEq hy, extDerivWithin_zero] /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For analytic opens `V โІ U` and a natural number `p`, restriction `๐’ช(U) โ†’ ๐’ช(V)` induces this map on algebraic Kรคhler `p`-forms, sending `aโ‚€ daโ‚ โˆง โ‹ฏ โˆง daโ‚š` to the form obtained by restricting each function to `V`. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.formRestriction [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (p : โ„•) : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p โ†’โ‚—[โ„‚] OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d V) p := OAI.Algebra.DeRham.Basic.map โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i) p @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.formRestriction_id [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d (๐Ÿ™ U) p = LinearMap.id := by rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction, ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom_id, OAI.Algebra.DeRham.Basic.map_id] @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.formRestriction_comp [SmoothOfRelativeDimension d X.hom] {U V W : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (j : V โŸถ W) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d (i โ‰ซ j) p = (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d j p).comp (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p) := by rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction, ComplexPoint.Basic.ComplexSchemePoint.formRestriction, ComplexPoint.Basic.ComplexSchemePoint.formRestriction, ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom_comp, OAI.Algebra.DeRham.Basic.map_comp] @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.formRestriction_mk [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (p : โ„•) (aโ‚€ : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) (v : Fin p โ†’ ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) : ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p (OAI.Algebra.DeRham.Basic.mk โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p aโ‚€ v) = OAI.Algebra.DeRham.Basic.mk โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d V) p (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i aโ‚€) fun k => ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i (v k) := OAI.Algebra.DeRham.Basic.map_mk โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i) p aโ‚€ v /-- Fixed-chart values of holomorphic functions commute with restriction. -/ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSection_holomorphicRestrictionAlgHom [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d V z) : ComplexPoint.Basic.ComplexSchemePoint.chartSection X d V z (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i f) y = ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f y := by have hyU : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z := โŸจhy.1, leOfHom i.unop hy.2โŸฉ rw [ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d V z _ hy, ComplexPoint.Basic.ComplexSchemePoint.chartSection_apply_of_mem X d U z _ hyU] rfl /-- Fixed-chart derivatives of holomorphic functions commute with restriction. -/ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_holomorphicRestrictionAlgHom [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (z : ComplexPoint.Basic.ComplexSchemePoint X) (f : ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d V z) : ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d V z (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i f) y = ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z f y := by have hyU : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z := โŸจhy.1, leOfHom i.unop hy.2โŸฉ have heq : Filter.EventuallyEq (nhds y) (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d V z (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i f)) (ComplexPoint.Basic.ComplexSchemePoint.chartSection X d U z f) := by filter_upwards [(ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d V z).mem_nhds hy] with w hw exact ComplexPoint.Basic.ComplexSchemePoint.chartSection_holomorphicRestrictionAlgHom X d i z f hw rw [ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential, ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential, fderivWithin_of_isOpen (ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d V z) hy, fderivWithin_of_isOpen (ComplexPoint.Basic.ComplexSchemePoint.isOpen_chartSectionDomain X d U z) hyU] exact heq.fderiv_eq /-- Fixed-chart evaluation of a differential form commutes with restriction. -/ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_formRestriction [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (z : ComplexPoint.Basic.ComplexSchemePoint X) (p : โ„•) (ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p) {y : Fin d โ†’ โ„‚} (hy : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d V z) : ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d V z p (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p ฮธ) y = ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation X d U z p ฮธ y := by have hyU : y โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDomain X d U z := โŸจhy.1, leOfHom i.unop hy.2โŸฉ induction ฮธ using OAI.Algebra.DeRham.Basic.mk_induction with | mk aโ‚€ v => rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction_mk, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk X d V z p _ _ hy, ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_mk X d U z p aโ‚€ v hyU] simp only [ComplexPoint.Basic.ComplexSchemePoint.chartGeneratorEvaluation] rw [ComplexPoint.Basic.ComplexSchemePoint.chartSection_holomorphicRestrictionAlgHom X d i z aโ‚€ hy] have hd : (fun j โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d V z (ComplexPoint.Basic.ComplexSchemePoint.holomorphicRestrictionAlgHom X d i (v j)) y) = (fun j โ†ฆ ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential X d U z (v j) y) := by funext j exact ComplexPoint.Basic.ComplexSchemePoint.chartSectionDifferential_holomorphicRestrictionAlgHom X d i z (v j) hy rw [hd] | zero => simp | add a b ha hb => simp [ha, hb] | smul c a ha => simp [ha] /-- Restriction preserves forms that vanish in every chart. -/ lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.formRestriction_mem_chartEvaluationKernel [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (p : โ„•) {ฮธ : OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p} (hฮธ : ฮธ โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) : ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p ฮธ โˆˆ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d V p := by refine (ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff X d V p _).2 fun z y hy โ†ฆ ?_ rw [ComplexPoint.Basic.ComplexSchemePoint.chartEvaluation_formRestriction X d i z p ฮธ hy] exact (ComplexPoint.Basic.ComplexSchemePoint.mem_chartEvaluationKernel_iff X d U p ฮธ).1 hฮธ z y โŸจhy.1, leOfHom i.unop hy.2โŸฉ /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For an analytic open `U` and a natural number `p`, holomorphic `p`-forms are defined as `โ‹€^p_{๐’ช(U)} ฮฉ_{๐’ช(U)/โ„‚}` modulo the forms whose evaluations by coordinate derivatives vanish everywhere in every chosen chart. Here `๐’ช(U)` is the algebra of holomorphic functions on `U`. -/ abbrev _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) := OAI.Algebra.DeRham.Basic.Form โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p โงธ ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p /-- Let `X` be a smooth complex scheme of dimension `d`, with analytic space `X(โ„‚)`. For an analytic open `U`, this complex linear map sends `c โˆˆ โ„‚` to the zero-form represented by the constant holomorphic function `c` in the quotient of algebraic forms by those vanishing in all charts. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) : โ„‚ โ†’โ‚—[โ„‚] ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U 0 := (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U 0).mkQ.comp (OAI.Algebra.DeRham.Basic.ofConstant โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U)) /-- Let `X` be a smooth complex scheme of dimension `d` and `U` an analytic open in `X(โ„‚)`. This complex linear exterior derivative sends holomorphic `p`-forms to `(p+1)`-forms. It descends the Kรคhler exterior derivative to the quotient by forms whose coordinate derivative evaluations vanish everywhere. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U p โ†’โ‚—[โ„‚] ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U (p + 1) := (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p).liftQ ((ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U (p + 1)).mkQ.comp (OAI.Algebra.DeRham.Basic.differential โ„‚ (ComplexPoint.Basic.ComplexSchemePoint.OpenHolomorphicFunctions X d U) p)) (by intro ฮธ hฮธ rw [LinearMap.mem_ker, LinearMap.comp_apply, Submodule.mkQ_apply, Submodule.Quotient.mk_eq_zero] exact ComplexPoint.Basic.ComplexSchemePoint.differential_mem_chartEvaluationKernel X d U p hฮธ) /-- Let `X` be a smooth complex scheme of dimension `d` and `V โІ U` analytic opens. This complex linear map restricts holomorphic `p`-forms from `U` to `V`, by restricting their coefficient functions and passing to the quotient by forms whose coordinate evaluations vanish. -/ def _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d U p โ†’โ‚—[โ„‚] ComplexPoint.Basic.ComplexSchemePoint.HolomorphicForm X d V p := (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p).liftQ ((ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d V p).mkQ.comp (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i p)) (by intro ฮธ hฮธ rw [LinearMap.mem_ker, LinearMap.comp_apply, Submodule.mkQ_apply, Submodule.Quotient.mk_eq_zero] exact ComplexPoint.Basic.ComplexSchemePoint.formRestriction_mem_chartEvaluationKernel X d i p hฮธ) @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_ofConstant [SmoothOfRelativeDimension d X.hom] {U V : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (c : โ„‚) : ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d i 0 (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d U c) = ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d V c := by change Submodule.Quotient.mk (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d i 0 (OAI.Algebra.DeRham.Basic.ofConstant โ„‚ _ c)) = _ rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction, OAI.Algebra.DeRham.Basic.map_ofConstant] rfl @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential_ofConstant [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (c : โ„‚) : ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormDifferential X d U 0 (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormOfConstant X d U c) = 0 := by change Submodule.Quotient.mk (OAI.Algebra.DeRham.Basic.differential โ„‚ _ 0 (OAI.Algebra.DeRham.Basic.ofConstant โ„‚ _ c)) = 0 rw [OAI.Algebra.DeRham.Basic.differential_ofConstant] exact Submodule.Quotient.mk_zero _ @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_id [SmoothOfRelativeDimension d X.hom] (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d (๐Ÿ™ U) p = LinearMap.id := by apply LinearMap.ext intro ฮธ obtain โŸจฮธ, rflโŸฉ := Submodule.mkQ_surjective (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) ฮธ change Submodule.Quotient.mk (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d (๐Ÿ™ U) p ฮธ) = _ rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction_id] rfl @[simp] lemma _root_.OAI.AlgebraicGeometry.ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction_comp [SmoothOfRelativeDimension d X.hom] {U V W : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–} (i : U โŸถ V) (j : V โŸถ W) (p : โ„•) : ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d (i โ‰ซ j) p = (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d j p).comp (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFormRestriction X d i p) := by apply LinearMap.ext intro ฮธ obtain โŸจฮธ, rflโŸฉ := Submodule.mkQ_surjective (ComplexPoint.Basic.ComplexSchemePoint.chartEvaluationKernel X d U p) ฮธ change Submodule.Quotient.mk (ComplexPoint.Basic.ComplexSchemePoint.formRestriction X d (i โ‰ซ j) p ฮธ) = _ rw [ComplexPoint.Basic.ComplexSchemePoint.formRestriction_comp] rfl end end OAI.AlgebraicGeometry.Hodge.AnalyticDifferentialForms.ComplexPoint