File size: 3,360 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
import OAI.AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.Local
import OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.ProEtaleRepresentation

/-! # Slice -/

namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.Slice.Construction

noncomputable section

/-!
# Completion: objects over a covering scheme in the actual slice site

Weakly étale schemes over a covering object embed fully faithfully in the
slice of the original pro-étale site. This identifies the actual finite
constant representatives on both sides.
-/

open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite

set_option backward.defeqAttrib.useBackward true
set_option backward.isDefEq.respectTransparency false

universe u

variable {X : Scheme.{u}} (U : X.ProEt)

/-- A weakly étale scheme over the covering object is an object of the original slice site. -/
def proEtaleToSlice : U.left.ProEt ⥤ Over U where
  obj V :=
    let W : X.ProEt := Scheme.ProEt.mk (V.hom ≫ U.hom)
    Over.mk (MorphismProperty.Over.homMk (A := W) (B := U) V.hom rfl)
  map f := Over.homMk (MorphismProperty.Over.homMk f.left (by
    change f.left ≫ _ ≫ U.hom = _ ≫ U.hom
    rw [← Category.assoc, MorphismProperty.Over.w])) (by
      apply MorphismProperty.Over.Hom.ext
      exact MorphismProperty.Over.w f)

/-- Scheme morphisms in this actual slice are exactly morphisms over the covering scheme. -/
def proEtaleToSliceFullyFaithful : (proEtaleToSlice U).FullyFaithful where
  preimage {A B} f := MorphismProperty.Over.homMk f.left.left (by
    exact congrArg (fun g : ((proEtaleToSlice U).obj A).left ⟶ U => g.left) f.w)
  map_preimage f := by
    apply Over.OverMorphism.ext
    apply MorphismProperty.Over.Hom.ext
    rfl
  preimage_map f := by
    apply MorphismProperty.Over.Hom.ext
    rfl

theorem proEtaleToSlice_finiteCoefficient (ℓ n : ℕ) :
    (proEtaleToSlice U).obj (Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n U.left) =
      FiniteTorsor.Local.Construction.finiteCoefficientSlice ℓ n U := rfl

/-- The coefficient algebra is the actual coordinate algebra of the finite coefficient scheme. -/
def finiteCoefficientAlgebra (ℓ n : ℕ) [NeZero (ℓ ^ n)]
    (S : Type u) [CommRing S] : Algebras.Construction.ProEtaleAlgebra S := by
  let V := Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S))
  have : IsAffine V.left :=
    inferInstanceAs (IsAffine (∐ fun _ : ULift.{u} (ZMod (ℓ ^ n)) => Spec (CommRingCat.of S)))
  exact Affine.ProEtaleRepresentation.Construction.proEtaleAlgebraOfAffine V

/-- Its spectrum is isomorphic to the actual finite coefficient scheme. -/
def finiteCoefficientAlgebraSpecIso (ℓ n : ℕ) [NeZero (ℓ ^ n)]
    (S : Type u) [CommRing S] :
    (Algebras.Construction.proEtaleAlgebraSpec S).obj (op (finiteCoefficientAlgebra ℓ n S)) ≅
      Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S)) := by
  let V := Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S))
  have : IsAffine V.left :=
    inferInstanceAs (IsAffine (∐ fun _ : ULift.{u} (ZMod (ℓ ^ n)) => Spec (CommRingCat.of S)))
  exact Affine.ProEtaleRepresentation.Construction.proEtaleAlgebraOfAffineIso V

end

end OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.Slice.Construction