File size: 3,330 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
import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphRingMap
import OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs
import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion

/-! # Graph Scheme -/

namespace OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphScheme.Constructions

noncomputable section

/-! The surjective tensor coordinate map defines a genuine closed immersion over the complex base, with its specified projections. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry
open scoped TensorProduct

open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphRingMap.Constructions

variable {R S A : Type} [CommRing R] [CommRing S] [CommRing A]
  [Algebra β„‚ R] [Algebra β„‚ S] [Algebra β„‚ A]

theorem affineSpec_comp (h : R →ₐ[β„‚] S) (f : S →ₐ[β„‚] A) :
    Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ S A f ≫ Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ R S h =
      Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ R A (f.comp h) := by
  apply Over.OverMorphism.ext
  change Spec.map (CommRingCat.ofHom f.toRingHom) ≫
    Spec.map (CommRingCat.ofHom h.toRingHom) = _
  rw [← Spec.map_comp]
  rfl

def graphSchemeMap (h : R →ₐ[β„‚] A) (f : S →ₐ[β„‚] A) :
    Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ A ⟢ Foundations.Scheme.AffineComplexPoints.affineSchemeOver β„‚ (R βŠ—[β„‚] S) :=
  Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ (R βŠ—[β„‚] S) A (GraphRingMap.Constructions.graphRingMap h f)

theorem graphSchemeMap_closedImmersion (h : R →ₐ[β„‚] A) (f : S →ₐ[β„‚] A)
    (hf : Function.Surjective f) : IsClosedImmersion (graphSchemeMap h f).left :=
  IsClosedImmersion.spec_of_surjective _ (GraphRingMap.Constructions.graphRingMap_surjective h f hf)

theorem graphSchemeMap_left (h : R →ₐ[β„‚] A) (f : S →ₐ[β„‚] A) :
    graphSchemeMap h f ≫
      Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ R (R βŠ—[β„‚] S) Algebra.TensorProduct.includeLeft =
        Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ R A h := by
  rw [graphSchemeMap, affineSpec_comp, GraphRingMap.Constructions.graphRingMap_left]

theorem graphSchemeMap_right (h : R →ₐ[β„‚] A) (f : S →ₐ[β„‚] A) :
    graphSchemeMap h f ≫
      Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ S (R βŠ—[β„‚] S) Algebra.TensorProduct.includeRight =
        Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv β„‚ S A f := by
  rw [graphSchemeMap, affineSpec_comp, GraphRingMap.Constructions.graphRingMap_right]

theorem graphSchemeMap_point (h : R →ₐ[β„‚] A) (f : S →ₐ[β„‚] A)
    (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) :
    ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (graphSchemeMap h f) (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv A x) =
      ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv (R βŠ—[β„‚] S) (x.comp (GraphRingMap.Constructions.graphRingMap h f)) :=
  (ComplexPoints.Analytic.SchemePointHomeomorphs.affineSchemePointEquiv_comap (GraphRingMap.Constructions.graphRingMap h f) x).symm

end

end OAI.AlgebraicGeometry.CycleClass.Thom.Affine.GraphScheme.Constructions