File size: 4,485 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
import OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.BaseChangeMap

/-! # Relative Base Change Chart -/

namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RelativeBaseChangeChart.BundleCycles

noncomputable section

section

/-! A cartesian open relative chart produces an actual cartesian
open chart after arbitrary change of the base. -/

open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits

variable {E X V U Y : Scheme.{0}} (p : E ⟶ X) (q : V ⟶ U)
    (i : U ⟶ X) (j : V ⟶ E) (hs : IsPullback q j i p) (b : Y ⟶ X)

def openRelativeBaseChangeChartMap :
    pullback q (pullback.snd b i) ⟶ pullback p b :=
  pullback.lift (pullback.fst q (pullback.snd b i) ≫ j)
    (pullback.snd q (pullback.snd b i) ≫ pullback.fst b i)
    (by rw [Category.assoc, ← hs.w, ← Category.assoc, pullback.condition,
      Category.assoc, ← pullback.condition, ← Category.assoc])

theorem openRelativeBaseChangeChartMap_fst :
    openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.fst p b =
      pullback.fst q (pullback.snd b i) ≫ j := pullback.lift_fst _ _ _

theorem openRelativeBaseChangeChartMap_snd :
    openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.snd p b =
      pullback.snd q (pullback.snd b i) ≫ pullback.fst b i := pullback.lift_snd _ _ _

theorem openRelativeBaseChangeChartMap_isPullback :
    IsPullback (openRelativeBaseChangeChartMap p q i j hs b)
      (pullback.fst q (pullback.snd b i)) (pullback.fst p b) j := by
  have H := (IsPullback.of_hasPullback q (pullback.snd b i)).flip.paste_horiz
    (IsPullback.of_hasPullback b i)
  rw [hs.w] at H
  have H' : IsPullback (openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.snd p b)
      (pullback.fst q (pullback.snd b i)) b (j ≫ p) := by
    rw [openRelativeBaseChangeChartMap_snd]
    exact H
  exact H'.of_right (openRelativeBaseChangeChartMap_fst p q i j hs b)
    (IsPullback.of_hasPullback p b).flip

instance openRelativeBaseChangeChartMap_isOpenImmersion [IsOpenImmersion j] :
    IsOpenImmersion (openRelativeBaseChangeChartMap p q i j hs b) :=
  MorphismProperty.of_isPullback (openRelativeBaseChangeChartMap_isPullback p q i j hs b).flip inferInstance

theorem openRelativeBaseChangeChart_projection_isPullback :
    IsPullback (pullback.snd q (pullback.snd b i))
      (openRelativeBaseChangeChartMap p q i j hs b) (pullback.fst b i) (pullback.snd p b) := by
  have H := (IsPullback.of_hasPullback q (pullback.snd b i)).flip.paste_vert hs
  have H' : IsPullback (pullback.snd q (pullback.snd b i))
      (openRelativeBaseChangeChartMap p q i j hs b ≫ pullback.fst p b)
      (pullback.fst b i ≫ b) p := by
    rw [openRelativeBaseChangeChartMap_fst, pullback.condition]
    exact H
  exact H'.of_bot (openRelativeBaseChangeChartMap_snd p q i j hs b).symm
    (IsPullback.of_hasPullback p b).flip

end

/-! An actual cartesian relative chart whose base map factors through
an open subscheme lifts to the pullback over that open subscheme. -/

open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits

variable {E X V B U : Scheme.{0}} (p : E ⟶ X) (q : V ⟶ B)
    (b : B ⟶ X) (j : V ⟶ E) (hs : IsPullback q j b p)
    (i : U ⟶ X) (a : B ⟶ U) (ha : a ≫ i = b)

def openRelativeChartLift : V ⟶ pullback p i :=
  pullback.lift j (q ≫ a) (by rw [Category.assoc, ha, hs.w])

theorem openRelativeChartLift_fst : openRelativeChartLift p q b j hs i a ha ≫ pullback.fst p i = j :=
  pullback.lift_fst _ _ _

theorem openRelativeChartLift_snd : openRelativeChartLift p q b j hs i a ha ≫ pullback.snd p i = q ≫ a :=
  pullback.lift_snd _ _ _

instance openRelativeChartLift_isOpenImmersion [IsOpenImmersion i] [IsOpenImmersion j] :
    IsOpenImmersion (openRelativeChartLift p q b j hs i a ha) := by
  let : IsOpenImmersion (openRelativeChartLift p q b j hs i a ha ≫ pullback.fst p i) := by
    rw [openRelativeChartLift_fst]
    infer_instance
  exact IsOpenImmersion.of_comp _ (pullback.fst p i)

theorem openRelativeChartLift_isPullback :
    IsPullback q (openRelativeChartLift p q b j hs i a ha) a (pullback.snd p i) := by
  have H : IsPullback q (openRelativeChartLift p q b j hs i a ha ≫ pullback.fst p i) (a ≫ i) p := by
    rw [openRelativeChartLift_fst, ha]
    exact hs
  exact H.of_bot (openRelativeChartLift_snd p q b j hs i a ha).symm (IsPullback.of_hasPullback p i).flip

end

end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.RelativeBaseChangeChart.BundleCycles