Properties of morphisms from properties of ring homs. #
We provide the basic framework for talking about properties of morphisms that come from properties
of ring homs. For P
a property of ring homs, we have two ways of defining a property of scheme
morphisms:
Let f : X ⟶ Y
,
targetAffineLocally (affineAnd P)
: the preimage of an affine openU = Spec A
is affine (= Spec B
) andA ⟶ B
satisfiesP
. (inMathlib/AlgebraicGeometry/Morphisms/AffineAnd.lean
)affineLocally P
: For each pair of affine openU = Spec A ⊆ X
andV = Spec B ⊆ f ⁻¹' U
, the ring homA ⟶ B
satisfiesP
.
For these notions to be well defined, we require P
be a sufficient local property. For the former,
P
should be local on the source (RingHom.RespectsIso P
, RingHom.LocalizationPreserves P
,
RingHom.OfLocalizationSpan
), and targetAffineLocally (affine_and P)
will be local on
the target.
For the latter P
should be local on the target (RingHom.PropertyIsLocal P
), and
affineLocally P
will be local on both the source and the target.
We also provide the following interface:
HasRingHomProperty
#
HasRingHomProperty P Q
is a type class asserting that P
is local at the target and the source,
and for f : Spec B ⟶ Spec A
, it is equivalent to the ring hom property Q
on Γ(f)
.
For HasRingHomProperty P Q
and f : X ⟶ Y
, we provide these API lemmas:
AlgebraicGeometry.HasRingHomProperty.iff_appLE
:P f
if and only ifQ (f.appLE U V _)
for all affineU : Opens Y
andV : Opens X
.AlgebraicGeometry.HasRingHomProperty.iff_of_source_openCover
: IfY
is affine,P f ↔ ∀ i, Q ((𝒰.map i ≫ f).app ⊤)
for an affine open cover𝒰
ofX
.AlgebraicGeometry.HasRingHomProperty.iff_of_isAffine
: IfX
andY
are affine, thenP f ↔ Q (f.app ⊤)
.AlgebraicGeometry.HasRingHomProperty.Spec_iff
:P (Spec.map φ) ↔ Q φ
AlgebraicGeometry.HasRingHomProperty.iff_of_iSup_eq_top
: IfY
is affine,P f ↔ ∀ i, Q (f.appLE ⊤ (U i) _)
for a familyU
of affine opens ofX
.AlgebraicGeometry.HasRingHomProperty.of_isOpenImmersion
: Iff
is an open immersion thenP f
.AlgebraicGeometry.HasRingHomProperty.stableUnderBaseChange
: IfQ
is stable under base change, then so isP
.
We also provide the instances P.IsMultiplicative
, P.IsStableUnderComposition
,
IsLocalAtTarget P
, IsLocalAtSource P
.
For P
a property of ring homomorphisms, sourceAffineLocally P
holds for f : X ⟶ Y
whenever P
holds for the restriction of f
on every affine open subset of X
.
Equations
- AlgebraicGeometry.sourceAffineLocally P f = ∀ (U : ↑X.affineOpens), P (AlgebraicGeometry.Scheme.Hom.appLE f ⊤ ↑U ⋯)
Instances For
For P
a property of ring homomorphisms, affineLocally P
holds for f : X ⟶ Y
if for each
affine open U = Spec A ⊆ Y
and V = Spec B ⊆ f ⁻¹' U
, the ring hom A ⟶ B
satisfies P
.
Also see affineLocally_iff_affineOpens_le
.
Equations
- AlgebraicGeometry.affineLocally P = AlgebraicGeometry.targetAffineLocally (AlgebraicGeometry.sourceAffineLocally fun {R S : Type ?u.25} [CommRing R] [CommRing S] => P)
Instances For
If P
holds for f
over affine opens U₂
of Y
and V₂
of X
and U₁
(resp. V₁
) are
open affine neighborhoods of x
(resp. f.base x
), then P
also holds for f
over some basic open of U₁
(resp. V₁
).
If P
holds for f
over affine opens U₂
of Y
and V₂
of X
and U₁
(resp. V₁
) are
open neighborhoods of x
(resp. f.base x
), then P
also holds for f
over some affine open
U'
of Y
(resp. V'
of X
) that is contained in U₁
(resp. V₁
).
HasRingHomProperty P Q
is a type class asserting that P
is local at the target and the source,
and for f : Spec B ⟶ Spec A
, it is equivalent to the ring hom property Q
.
To make the proofs easier, we state it instead as
Q
is local (SeeRingHom.PropertyIsLocal
)P f
if and only ifQ
holds for everyΓ(Y, U) ⟶ Γ(X, V)
for all affineU
,V
. SeeHasRingHomProperty.iff_appLE
.
- isLocal_ringHomProperty : RingHom.PropertyIsLocal fun {R S : Type u} [CommRing R] [CommRing S] => Q
- eq_affineLocally' : P = AlgebraicGeometry.affineLocally fun {R S : Type u} [CommRing R] [CommRing S] => Q
Instances
Equations
- ⋯ = ⋯
Equations
- ⋯ = ⋯
Any property of scheme morphisms induced by a property of ring homomorphisms is stable under composition with open immersions.
Equations
- ⋯ = ⋯
If P
is induced by Locally Q
, it suffices to check Q
on affine open sets locally around
points of the source.
P
can be checked locally around points of the source.