File size: 2,909 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
import OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.CoefficientRefinement
import Mathlib.AlgebraicGeometry.PullbackCarrier

/-! # Refinement Pullback -/

namespace OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.RefinementPullback.Construction

noncomputable section

/-! The actual polynomial coefficient refinement is a pullback over the coefficient ring. -/

open _root_.Polynomial _root_.CategoryTheory _root_.AlgebraicGeometry
open scoped TensorProduct

universe u

variable {H B R : Type u} [CommRing H] [CommRing B] [CommRing R]
  [Algebra H B] [Algebra H R] [Algebra H[X] R] [IsScalarTower H H[X] R]

attribute [local instance] Polynomial.algebra

/-- The tensor refinement, before restricting to a retraction
neighborhood, is the actual pullback of the coefficient refinement. -/
theorem etaleLineCoefficientRefinementRing_isPullback :
    IsPullback
      (Spec.map (CommRingCat.ofHom (algebraMap B
        (CoefficientRefinement.Construction.etaleLineCoefficientRefinementRing (H := H) (B := B) (R := R)))))
      (Spec.map (CommRingCat.ofHom
        (Algebra.TensorProduct.includeRight : R →ₐ[H[X]]
          CoefficientRefinement.Construction.etaleLineCoefficientRefinementRing (H := H) (B := B) (R := R)).toRingHom))
      (Spec.map (CommRingCat.ofHom (algebraMap H B)))
      (Spec.map (CommRingCat.ofHom (algebraMap H R))) := by
  let U := CoefficientRefinement.Construction.etaleLineCoefficientRefinementRing (H := H) (B := B) (R := R)
  have hp : IsPullback
      (Spec.map (CommRingCat.ofHom (algebraMap B B[X])))
      (Spec.map (CommRingCat.ofHom (algebraMap H[X] B[X])))
      (Spec.map (CommRingCat.ofHom (algebraMap H B)))
      (Spec.map (CommRingCat.ofHom (algebraMap H H[X]))) := by
    apply isPullback_SpecMap_of_isPushout
    exact CommRingCat.isPushout_of_isPushout H B H[X] B[X]
  have ht : IsPullback
      (Spec.map (CommRingCat.ofHom (algebraMap B[X] U)))
      (Spec.map (CommRingCat.ofHom
        (Algebra.TensorProduct.includeRight : R →ₐ[H[X]] U).toRingHom))
      (Spec.map (CommRingCat.ofHom (algebraMap H[X] B[X])))
      (Spec.map (CommRingCat.ofHom (algebraMap H[X] R))) := by
    apply isPullback_SpecMap_of_isPushout
    exact CommRingCat.isPushout_tensorProduct H[X] B[X] R
  have h := ht.paste_horiz hp
  have hl : Spec.map (CommRingCat.ofHom (algebraMap B[X] U)) ≫
      Spec.map (CommRingCat.ofHom (algebraMap B B[X])) =
      Spec.map (CommRingCat.ofHom (algebraMap B U)) := by
    rw [← Spec.map_comp]
    congr 1
  have hr : Spec.map (CommRingCat.ofHom (algebraMap H[X] R)) ≫
      Spec.map (CommRingCat.ofHom (algebraMap H H[X])) =
      Spec.map (CommRingCat.ofHom (algebraMap H R)) := by
    rw [← Spec.map_comp]
    congr 1
    exact congrArg CommRingCat.ofHom (IsScalarTower.algebraMap_eq H H[X] R).symm
  rw [hl, hr] at h
  exact h

end

end OAI.AlgebraicGeometry.Resolution.Blowups.EtaleLine.RefinementPullback.Construction