math / data /lean /OAI /AlgebraicGeometry /Smooth /AffineRelativeDimension.lean
introvoyz045's picture
Migrated from GitHub
4a56cd6 verified
Raw History Blame Contribute Delete
2.69 kB
/-
Copyright 2026 The Formal Conjectures Authors.
Released under Apache 2.0 license as described in the file LICENSE.
This file has been modified.
-/
import OAI.AlgebraicGeometry.Smooth.Equidimensional
import OAI.CategoryTheory.ConcreteCategory.Notation
/-! # Affine Relative Dimension -/
namespace OAI.AlgebraicGeometry.Smooth.AffineRelativeDimension
noncomputable section
open _root_.AlgebraicGeometry
/-!
# Equidimensional smooth affine neighborhoods
A standard-smooth affine presentation induces a scheme morphism smooth of that same
relative dimension. This adapter turns the local dimension bounds of the canonical
singular stratification into inputs for the normal-coordinate theorems, using
equidimensionality only on each affine chart.
-/
open _root_.CategoryTheory
open _root_.RingHom
universe u
/-- The restriction to affine source and target charts is smooth of the relative dimension of
its standard-smooth ring presentation. -/
theorem smoothOfRelativeDimension_resLE_of_isStandardSmooth
{X Y : Scheme.{u}} (f : X ⟶ Y) {U : Y.Opens} {V : X.Opens}
(hU : IsAffineOpen U) (hV : IsAffineOpen V) (e : V ≤ f ⁻¹ᵁ U) {n : ℕ}
(hstd : (f.appLE U V e).hom.IsStandardSmoothOfRelativeDimension n) :
SmoothOfRelativeDimension n (f.resLE U V e) := by
let : IsAffine U := hU
let : IsAffine V := hV
rw [HasRingHomProperty.iff_of_isAffine (P := @SmoothOfRelativeDimension n)]
let : (toMorphismProperty (Locally (IsStandardSmoothOfRelativeDimension n))).RespectsIso :=
toMorphismProperty_respectsIso_iff.mp
(locally_respectsIso isStandardSmoothOfRelativeDimension_respectsIso)
exact (MorphismProperty.arrow_mk_iso_iff
(toMorphismProperty (Locally (IsStandardSmoothOfRelativeDimension n)))
(arrowResLEAppIso f U V e)).mpr
(locally_of isStandardSmoothOfRelativeDimension_respectsIso _ hstd)
set_option backward.isDefEq.respectTransparency false in
/-- A standard-smooth affine open of a complex scheme is a smooth complex scheme of the same
relative dimension. -/
theorem smoothOfRelativeDimension_affineOpen_of_isStandardSmooth
{X : Scheme} (f : X ⟶ Spec ↧ℂ) {U : X.Opens} (hU : IsAffineOpen U) {n : ℕ}
(hstd : (f.appLE ⊤ U (by simp)).hom.IsStandardSmoothOfRelativeDimension n) :
SmoothOfRelativeDimension n (U.ι ≫ f) := by
let g := f.resLE ⊤ U (by simp)
let : SmoothOfRelativeDimension n g :=
smoothOfRelativeDimension_resLE_of_isStandardSmooth f (isAffineOpen_top _) hU _ hstd
have h := smoothOfRelativeDimension_comp n 0 g (⊤ : (Spec ↧ℂ).Opens).ι
simpa only [Nat.add_zero, g, Scheme.Hom.resLE_comp_ι] using h
end
end OAI.AlgebraicGeometry.Smooth.AffineRelativeDimension