File size: 6,791 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
import OAI.Geometry.ComplexTorus.RiemannProjectivity.AffineImageAlgebraEq
import OAI.Geometry.ComplexTorus.RiemannProjectivity.SmoothChart
import OAI.Geometry.ComplexTorus.RiemannProjectivity.ExactProjective
import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart
import Mathlib.AlgebraicGeometry.Limits

/-! # Closure Chart F -/

namespace OAI

noncomputable section

namespace Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart

/-! # RiemannProjectivity: the genuine affine pullback charts of the projective closure -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Set
open OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure

variable {n : β„•}

def scheme (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) : Scheme :=
  pullback (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i) (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S)

def toAffine (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    scheme S i ⟢ Spec (.of (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i)) := pullback.fst _ _

def toClosure (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    scheme S i ⟢ ProjectiveClosureIs.Constructions.ProjectiveClosure.closureScheme S := pullback.snd _ _

instance toAffine_closed (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsClosedImmersion (toAffine S i) := inferInstanceAs (IsClosedImmersion (pullback.fst _ _))

instance toClosure_open (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsOpenImmersion (toClosure S i) := inferInstanceAs (IsOpenImmersion (pullback.snd _ _))

instance isAffine (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsAffine (scheme S i) := OAI.AlgebraicGeometry.Foundations.Scheme.AffineClosedImmersion.affineClosedImmersion_source_isAffine (toAffine S i)

instance isReduced (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsReduced (scheme S i) := isReduced_of_isOpenImmersion (toClosure S i)

def over (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) : Over OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase :=
  Over.mk (toAffine S i ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i)

instance over_isAffine (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsAffine (over S i).left := inferInstanceAs (IsAffine (scheme S i))

instance over_isReduced (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsReduced (over S i).left := inferInstanceAs (IsReduced (scheme S i))

set_option backward.isDefEq.respectTransparency false in
def embedding (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    over S i ⟢ OAI.AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i) :=
  Over.homMk (toAffine S i) rfl

instance embedding_closed (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    IsClosedImmersion (embedding S i).left := inferInstanceAs (IsClosedImmersion (toAffine S i))

theorem toClosure_over (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    toClosure S i ≫ (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureOver S).hom = (over S i).hom := by
  change pullback.snd _ _ ≫ (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase n) =
    pullback.fst _ _ ≫ OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveChartPolynomialToBase n i
  rw [← Category.assoc, ← pullback.condition, Category.assoc, OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap_over]

end Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart

namespace Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureChartCover

/-! # RiemannProjectivity: the polynomial affine charts cover the native projective closure -/

open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Set
open OAI.Geometry.ComplexTorus.RiemannProjectivity.ProjectiveClosureIs.Constructions.ProjectiveClosure OAI.Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureAffineChart

variable {n : β„•}

def projectiveCover (n : β„•) : (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.projectiveSpace n).OpenCover where
  Iβ‚€ := Fin (n + 1)
  X i := Spec (.of (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChartToPolynomial.projectiveChartPolynomial n i))
  f i := OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveAffineChartMap n i
  memβ‚€ := by
    rw [Scheme.presieveβ‚€_mem_precoverage_iff]
    refine ⟨?_, inferInstance⟩
    intro x
    obtain ⟨i, hi⟩ := OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.exists_mem_projectiveCoordinateOpen n x
    refine ⟨i, (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).hom ⟨x, hi⟩, ?_⟩
    change ((OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).hom ≫
      (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveChart.projectiveCoordinateIsoSpec n i).inv ≫ (OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i).ΞΉ) ⟨x, hi⟩ = x
    simp

def cover (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) :
    (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureScheme S).OpenCover := (projectiveCover n).pullbackβ‚‚ (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureInclusion S)

theorem cover_f (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚))) (i : Fin (n + 1)) :
    (cover S).f i = ClosureAffineChart.toClosure S i := rfl

set_option backward.isDefEq.respectTransparency false in
theorem smooth (S : Set (Projectivization β„‚ (Fin (n + 1) β†’ β„‚)))
    (h : βˆ€ i : Fin (n + 1), Smooth (ClosureAffineChart.over S i).hom) : Smooth (ProjectiveClosureIs.Constructions.ProjectiveClosure.closureOver S).hom := by
  apply IsZariskiLocalAtSource.of_openCover (P := @Smooth.{0}) (cover S)
  intro i
  rw [cover_f, ClosureAffineChart.toClosure_over]
  exact h i

end Geometry.ComplexTorus.RiemannProjectivity.ClosureChartF.Constructions.ClosureChartCover

end

end OAI