File size: 2,875 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
import OAI.AlgebraicGeometry.Resolution.Blowups.Etale.BoundaryModel

/-! # Operations -/

namespace OAI.AlgebraicGeometry.Resolution.Blowups

noncomputable section

/-! Preserve explicit boundary models under actual étale maps and invertible equation changes. -/

universe u v

variable {k R S : Type u} {ι : Type v} [CommRing k] [CommRing R] [CommRing S]
  [Algebra k R] [Algebra k S] {w : ι → R}

def Etale.BoundaryModel.Construction.EtaleBoundaryModel.baseChange (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w)
    (f : R →ₐ[k] S) (hf : f.toRingHom.Etale) :
    Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k S ι (fun j => f (w j)) where
  indices := M.indices
  finite := M.finite
  decidableEq := M.decidableEq
  map := f.toRingHom.comp M.map
  etale := RingHom.Etale.stableUnderComposition _ _ M.etale hf
  ground c := by
    change f (M.map (MvPolynomial.C c)) = _
    rw [M.ground, f.commutes]
  coordinate := M.coordinate
  distinct := M.distinct
  multiplier := fun j => f (M.multiplier j)
  multiplierUnit j := (M.multiplierUnit j).map f.toRingHom
  equation j := by
    rw [M.equation j, map_mul]
    cases M.coordinate j <;> simp

def Etale.BoundaryModel.Construction.EtaleBoundaryModel.mulUnits (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w)
    (u : ι → R) (hu : ∀ j, IsUnit (u j)) :
    Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι (fun j => u j * w j) where
  indices := M.indices
  finite := M.finite
  decidableEq := M.decidableEq
  map := M.map
  etale := M.etale
  ground := M.ground
  coordinate := M.coordinate
  distinct := M.distinct
  multiplier := fun j => u j * M.multiplier j
  multiplierUnit j := (hu j).mul (M.multiplierUnit j)
  equation j := by rw [M.equation j, mul_assoc]

def Etale.BoundaryModel.Construction.EtaleBoundaryModel.adjoinUnit (M : Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R ι w)
    (c : R) (hc : IsUnit c) :
    Blowups.Etale.BoundaryModel.Construction.EtaleBoundaryModel k R (Option ι) (fun j => match j with | none => c | some i => w i) where
  indices := M.indices
  finite := M.finite
  decidableEq := M.decidableEq
  map := M.map
  etale := M.etale
  ground := M.ground
  coordinate := fun j => match j with | none => none | some i => M.coordinate i
  distinct i j s hi hj := by
    cases i with
    | none => cases hi
    | some i =>
        cases j with
        | none => cases hj
        | some j => exact congrArg some (M.distinct i j s hi hj)
  multiplier := fun j => match j with | none => c | some i => M.multiplier i
  multiplierUnit j := by
    cases j with
    | none => exact hc
    | some i => exact M.multiplierUnit i
  equation j := by
    cases j with
    | none => exact (mul_one c).symm
    | some i => exact M.equation i

end

end OAI.AlgebraicGeometry.Resolution.Blowups