Standard smooth algebras #
In this file we define standard smooth algebras. For this we introduce
the notion of a PreSubmersivePresentation
. This is a presentation P
that has
fewer relations than generators. More precisely there exists an injective map from P.rels
to P.vars
. To such a presentation we may associate a jacobian. P
is then a submersive
presentation, if its jacobian is invertible.
Finally, a standard smooth algebra is an algebra that admits a submersive presentation.
While every standard smooth algebra is smooth, the converse does not hold. But if S
is R
-smooth,
then S
is R
-standard smooth locally on S
, i.e. there exists a set { t }
of S
that
generates the unit ideal, such that Sₜ
is R
-standard smooth for every t
(TODO, see below).
Main definitions #
All of these are in the Algebra
namespace. Let S
be an R
-algebra.
PreSubmersivePresentation
: APresentation
ofS
asR
-algebra, equipped with an injective mapP.map
fromP.rels
toP.vars
. This map is used to define the differential of a presubmersive presentation.
For a presubmersive presentation P
of S
over R
we make the following definitions:
PreSubmersivePresentation.differential
: A linear endomorphism ofP.rels → P.Ring
sending thej
-th standard basis vector, corresponding to thej
-th relation, to the vector of partial derivatives ofP.relation j
with respect to the coordinatesP.map i
fori : P.rels
.PreSubmersivePresentation.jacobian
: The determinant ofP.differential
.PreSubmersivePresentation.jacobiMatrix
: IfP.rels
has aFintype
instance, we may form the matrix corresponding toP.differential
. Its determinant isP.jacobian
.SubmersivePresentation
: A submersive presentation is a finite, presubmersive presentationP
with inS
invertible jacobian.
Furthermore, for algebras we define:
Algebra.IsStandardSmooth
:S
isR
-standard smooth ifS
admits a submersiveR
-presentation.Algebra.IsStandardSmooth.relativeDimension
: IfS
isR
-standard smooth this is the dimension of an arbitrary submersiveR
-presentation ofS
. This is independent of the choice of the presentation (TODO, see below).Algebra.IsStandardSmoothOfRelativeDimension n
:S
isR
-standard smooth of relative dimensionn
if it admits a submersiveR
-presentation of dimensionn
.
Finally, for ring homomorphisms we define:
RingHom.IsStandardSmooth
: A ring homomorphismR →+* S
is standard smooth ifS
is standard smooth asR
-algebra.RingHom.IsStandardSmoothOfRelativeDimension n
: A ring homomorphismR →+* S
is standard smooth of relative dimensionn
ifS
is standard smooth of relative dimensionn
asR
-algebra.
TODO #
- Show that the canonical presentation for localization away from an element is standard smooth of relative dimension 0.
- Show that the base change of a submersive presentation is submersive of equal relative dimension.
- Show that the composition of submersive presentations of relative dimensions
n
andm
is submersive of relative dimensionn + m
. - Show that the module of Kaehler differentials of a standard smooth
R
-algebraS
of relative dimensionn
isS
-free of rankn
. In particular this shows that the relative dimension is independent of the choice of the standard smooth presentation. - Show that standard smooth algebras are smooth. This relies on the computation of the module of Kaehler differentials.
- Show that locally on the target, smooth algebras are standard smooth.
Implementation details #
Standard smooth algebras and ring homomorphisms feature 4 universe levels: The universe levels of the rings involved and the universe levels of the types of the variables and relations.
Notes #
This contribution was created as part of the AIM workshop "Formalizing algebraic geometry" in June 2024.
A PreSubmersivePresentation
of an R
-algebra S
is a Presentation
with finitely-many relations equipped with an injective map : relations → vars
.
This map determines how the differential of P
is constructed. See
PreSubmersivePresentation.differential
for details.
- vars : Type w
- val : self.vars → S
- σ' : S → MvPolynomial self.vars R
- aeval_val_σ' : ∀ (s : S), (MvPolynomial.aeval self.val) (self.σ' s) = s
- rels : Type t
- relation : self.rels → self.Ring
- span_range_relation_eq_ker : Ideal.span (Set.range self.relation) = self.ker
- map : self.rels → self.vars
A map from the relations type to the variables type. Used to compute the differential.
- map_inj : Function.Injective self.map
- relations_finite : Finite self.rels
Instances For
The standard basis of P.rels → P.ring
.
Equations
- P.basis = Pi.basisFun P.Ring P.rels
Instances For
The differential of a P : PreSubmersivePresentation
is a P.Ring
-linear map on
P.rels → P.Ring
:
The j
-th standard basis vector, corresponding to the j
-th relation of P
, is mapped
to the vector of partial derivatives of P.relation j
with respect
to the coordinates P.map i
for all i : P.rels
.
The determinant of this map is the jacobian of P
used to define when a PreSubmersivePresentation
is submersive. See PreSubmersivePresentation.jacobian
.
Equations
- P.differential = (P.basis.constr P.Ring) fun (j i : P.rels) => (MvPolynomial.pderiv (P.map i)) (P.relation j)
Instances For
The jacobian of a P : PreSubmersivePresentation
is the determinant
of P.differential
viewed as element of S
.
Equations
- P.jacobian = (algebraMap P.Ring S) (LinearMap.det P.differential)
Instances For
If P.rels
has a Fintype
and DecidableEq
instance, the differential of P
can be expressed in matrix form.
Equations
- P.jacobiMatrix = (LinearMap.toMatrix P.basis P.basis) P.differential
Instances For
A PreSubmersivePresentation
is submersive if its jacobian is a unit in S
and the presentation is finite.
- vars : Type w
- val : self.vars → S
- σ' : S → MvPolynomial self.vars R
- aeval_val_σ' : ∀ (s : S), (MvPolynomial.aeval self.val) (self.σ' s) = s
- rels : Type t
- relation : self.rels → self.Ring
- span_range_relation_eq_ker : Ideal.span (Set.range self.relation) = self.ker
- map : self.rels → self.vars
- map_inj : Function.Injective self.map
- relations_finite : Finite self.rels
- jacobian_isUnit : IsUnit self.jacobian
- isFinite : self.IsFinite
Instances For
An R
-algebra S
is called standard smooth, if there
exists a submersive presentation.
- out : Nonempty (Algebra.SubmersivePresentation R S)
Instances
The relative dimension of a standard smooth R
-algebra S
is
the dimension of an arbitrarily chosen submersive R
-presentation of S
.
Note: If S
is non-trivial, this number is independent of the choice of the presentation as it is
equal to the S
-rank of Ω[S/R]
(TODO).
Equations
- Algebra.IsStandardSmooth.relativeDimension R S = ⋯.some.dimension
Instances For
An R
-algebra S
is called standard smooth of relative dimension n
, if there exists
a submersive presentation of dimension n
.
- out : ∃ (P : Algebra.SubmersivePresentation R S), P.dimension = n
Instances
A ring homomorphism R →+* S
is standard smooth if S
is standard smooth as R
-algebra.
Equations
- f.IsStandardSmooth = Algebra.IsStandardSmooth R S