File size: 4,216 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/-
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.AlgebraicGeometry.ComplexPoint.Manifold
import Mathlib.Geometry.Manifold.Algebra.SmoothFunctions
import Mathlib.Geometry.Manifold.Sheaf.Basic

/-! # Analytic Sheaf -/

namespace OAI.AlgebraicGeometry.ComplexPoint

noncomputable section

open _root_.AlgebraicGeometry

/-!
# Holomorphic functions on complex points

For a complex scheme smooth of relative dimension `d`, the algebraic รฉtale charts constructed in
`ComplexPoint.SmoothCoordinates` give a canonical charted-space structure on its complex points.
This file defines its sheaf of holomorphic functions: a section is a complex-valued function
which is complex analytic in those charts. Mathlib expresses complex analyticity as manifold
differentiability of order `ฯ‰`.

The sheaf and its ring operations are built by the local-predicate sheaf machinery.
-/

open _root_.CategoryTheory _root_.TopologicalSpace _root_.Topology
open scoped ContDiff _root_.Manifold

variable (X : Over (Spec โ†งโ„‚)) (d : โ„•)

/-- Let `X` be a smooth scheme over `โ„‚` of relative dimension `d`. On its analytic space `X(โ„‚)`,
this sheaf assigns to an open `U` the complex-valued functions on `U` that are analytic in the
chosen รฉtale coordinate charts. Restriction is restriction of functions; the values here are
sets. -/
def Basic.ComplexSchemePoint.holomorphicFunctionSheafToTypes [SmoothOfRelativeDimension d X.hom] :
    TopCat.Sheaf (Type) (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)) :=
  (contDiffWithinAt_localInvariantProp (I := ๐“˜(โ„‚, Fin d โ†’ โ„‚))
    (I' := ๐“˜(โ„‚)) ฯ‰).sheaf (ComplexPoint.Basic.ComplexSchemePoint X) โ„‚

instance Basic.ComplexSchemePoint.holomorphicFunctionSheafToTypes.commRing [SmoothOfRelativeDimension d X.hom]
    (U : (Opens (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)))แต’แต–) :
    CommRing ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionSheafToTypes X d).presheaf.obj U) :=
  inferInstanceAs <| CommRing
    C^ฯ‰โŸฎ๐“˜(โ„‚, Fin d โ†’ โ„‚), (Opposite.unop U : Opens (ComplexPoint.Basic.ComplexSchemePoint X)); โ„‚โŸฏ

/-- Let `X` be a smooth scheme over `โ„‚` of relative dimension `d`. This presheaf of commutative
rings on the analytic space `X(โ„‚)` assigns to each open `U` the ring of holomorphic functions `U
โ†’ โ„‚`, with pointwise operations and restriction of functions. -/
def Basic.ComplexSchemePoint.holomorphicFunctionPresheaf [SmoothOfRelativeDimension d X.hom] :
    TopCat.Presheaf CommRingCat (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)) where
  obj U := CommRingCat.of
    ((ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionSheafToTypes X d).presheaf.obj U)
  map h := CommRingCat.ofHom <|
    ContMDiffMap.restrictRingHom ๐“˜(โ„‚, Fin d โ†’ โ„‚) ๐“˜(โ„‚) โ„‚ <|
      CategoryTheory.leOfHom h.unop
  map_id _ := rfl
  map_comp _ _ := rfl

/-- Let `X` be a smooth scheme over `โ„‚` of relative dimension `d`. This is the sheaf of commutative
rings `๐’ช` on `X(โ„‚)`: its sections on an analytic open `U` are functions `U โ†’ โ„‚` that are
analytic in the chosen รฉtale charts, with pointwise ring operations. -/
def Basic.ComplexSchemePoint.holomorphicFunctionSheaf [SmoothOfRelativeDimension d X.hom] :
    TopCat.Sheaf CommRingCat (TopCat.of (ComplexPoint.Basic.ComplexSchemePoint X)) where
  obj := ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionPresheaf X d
  property := by
    rw [CategoryTheory.Presheaf.isSheaf_iff_isSheaf_forget _ _
      (CategoryTheory.forget CommRingCat)]
    exact (ComplexPoint.Basic.ComplexSchemePoint.holomorphicFunctionSheafToTypes X d).property

end

end OAI.AlgebraicGeometry.ComplexPoint