File size: 3,432 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
import OAI.AlgebraicGeometry.Resolution.Blowups.ResolutionGeometry
import Mathlib.Order.KrullDimension

/-! # Base Cases -/

namespace OAI.AlgebraicGeometry.Resolution.Blowups.BaseCases.Construction

noncomputable section

/-! The smooth and zero-dimensional base cases for Blowups. -/

open _root_.CategoryTheory _root_.AlgebraicGeometry

/-- A smooth integral projective complex scheme is its own strong resolution. -/
theorem resolution_of_singularities_of_smooth
    (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] [Smooth f]
    (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) :
    letI : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation
    ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : R.carrier ⟶ X),
      π ≫ f = R.structureMap ∧ IsProper π ∧
      (∃ e : R.carrier.PartialIso X, e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) ∧
      IsIso (π ∣_ f.smoothLocus) := by
  let : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation
  let R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety :=
    ⟨{ carrier := X, structureMap := f, projective := P, smooth := inferInstance }, inferInstance⟩
  refine ⟨R, 𝟙 X, Category.id_comp f, inferInstance, ?_, ?_⟩
  · refine ⟨Scheme.PartialIso.refl X, ?_⟩
    change (⊤ : X.Opens).ι ≫ 𝟙 X = 𝟙 (⊤ : X.Opens).toScheme ≫ (⊤ : X.Opens).ι
    simp only [Category.comp_id, Category.id_comp]
  · change IsIso (𝟙 X ∣_ f.smoothLocus)
    exact IsZariskiLocalAtTarget.restrict (P := MorphismProperty.isomorphisms Scheme)
      (inferInstance : IsIso (𝟙 X)) f.smoothLocus

/-- An integral complex scheme of finite presentation and Krull dimension zero
is smooth: its dense smooth locus contains its unique point. -/
theorem smooth_of_krullDimLE_zero
    (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X]
    [LocallyOfFinitePresentation f] [Order.KrullDimLE 0 X] : Smooth f := by
  let : PartialOrder X := specializationOrder X
  have hdim : Order.krullDim X = 0 := le_antisymm
    (by simpa using (Order.KrullDimLE.krullDim_le (n := 0) (α := X)))
    Order.krullDim_nonneg
  let : Subsingleton X := Order.krullDim_eq_zero_iff_of_orderTop.mp hdim
  obtain ⟨x, hx⟩ := f.dense_smoothLocus_of_perfectField.nonempty
  apply Scheme.Hom.smoothLocus_eq_top_iff.mp
  apply top_le_iff.mp
  intro y _
  exact (Subsingleton.elim x y) ▸ hx

/-- Strong resolution for an integral projective complex scheme of dimension zero. -/
theorem resolution_of_singularities_dim_zero
    (X : Scheme) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X] [Order.KrullDimLE 0 X]
    (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation X f) :
    letI : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation
    ∃ (R : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : R.carrier ⟶ X),
      π ≫ f = R.structureMap ∧ IsProper π ∧
      (∃ e : R.carrier.PartialIso X, e.source.ι ≫ π = e.iso.hom ≫ e.target.ι) ∧
      IsIso (π ∣_ f.smoothLocus) := by
  let : LocallyOfFinitePresentation f := P.locallyOfFinitePresentation
  let : Smooth f := smooth_of_krullDimLE_zero X f
  exact resolution_of_singularities_of_smooth X f P

end

end OAI.AlgebraicGeometry.Resolution.Blowups.BaseCases.Construction