Presentations of algebras #
A presentation of an R
-algebra S
is a distinguished family of generators and relations.
Main definition #
Algebra.Presentation
: A presentation of anR
-algebraS
is a family of generators withrels
: The type of relations.relation : relations → MvPolynomial vars R
: The assignment of each relation to a polynomial in the generators.
Algebra.Presentation.IsFinite
: A presentation is called finite, if both variables and relations are finite.Algebra.Presentation.dimension
: The dimension of a presentation is the number of generators minus the number of relations.
We also give constructors for localization, base change and composition.
TODO #
- Define
Hom
s of presentations.
Notes #
This contribution was created as part of the AIM workshop "Formalizing algebraic geometry" in June 2024.
A presentation of an R
-algebra S
is a family of
generators with σ → MvPolynomial ι R
: The assignment of
each relation to a polynomial in the generators.
- val : ι → S
- σ' : S → MvPolynomial ι R
- algebra : Algebra (MvPolynomial ι R) S
- relation : σ → self.Ring
The assignment of each relation to a polynomial in the generators.
The relations span the kernel of the canonical map.
Instances For
The polynomial algebra wrt a family of generators modulo a family of relations.
Instances For
Dimension of a presentation defined as the cardinality of the generators minus the cardinality of the relations.
Note: this definition is completely non-sensical for non-finite presentations and even then for this to make sense, you should assume that the presentation is a complete intersection.
Instances For
Alias of Algebra.Presentation.fg_ker
.
The index of generators to ofFinitePresentation
.
Equations
Instances For
The index of relations to ofFinitePresentation
.
Equations
Instances For
An arbitrary choice of a finite presentation of a finitely presented algebra.
Equations
Instances For
If algebraMap R S
is bijective, the empty generators are a presentation with no relations.
Equations
- Algebra.Presentation.ofBijectiveAlgebraMap h = { toGenerators := Algebra.Generators.ofSurjectiveAlgebraMap ⋯, relation := PEmpty.elim, span_range_relation_eq_ker := ⋯ }
Instances For
The canonical R
-presentation of R
with no generators and no relations.
Instances For
If S
is the localization of R
away from r
, we can construct a natural
presentation of S
as R
-algebra with a single generator X
and the relation r * X - 1 = 0
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
If P
is a presentation of S
over R
and T
is an R
-algebra, we
obtain a natural presentation of T ⊗[R] S
over T
.
Equations
- Algebra.Presentation.baseChange T P = { toGenerators := P.baseChange, relation := fun (i : σ) => (MvPolynomial.map (algebraMap R T)) (P.relation i), span_range_relation_eq_ker := ⋯ }
Instances For
Composition of presentations #
Let S
be an R
-algebra with presentation P
and T
be an S
-algebra with
presentation Q
. In this section we construct a presentation of T
as an R
-algebra.
For the underlying generators see Algebra.Generators.comp
. The family of relations is
indexed by σ' ⊕ σ
.
We have two canonical maps:
MvPolynomial ι R →ₐ[R] MvPolynomial (ι' ⊕ ι) R
induced by Sum.inr
and aux : MvPolynomial (ι' ⊕ ι) R →ₐ[R] MvPolynomial ι' S
induced by
the evaluation MvPolynomial ι R →ₐ[R] S
(see below).
Now i : σ
is mapped to the image of P.relation i
under the first map and
j : σ'
is mapped to a pre-image under aux
of Q.relation j
(see comp_relation_aux
for the construction of the pre-image and comp_relation_aux_map
for a proof that it is indeed
a pre-image).
The evaluation map factors as:
MvPolynomial (ι' ⊕ ι) R →ₐ[R] MvPolynomial ι' S →ₐ[R] T
, where
the first map is aux
. The goal is to compute that the kernel of this composition
is spanned by the relations indexed by σ' ⊕ σ
(span_range_relation_eq_ker_comp
).
One easily sees that this kernel is the pre-image under aux
of the kernel of the evaluation
of Q
, where the latter is by assumption spanned by the relations Q.relation j
.
Since aux
is surjective (aux_surjective
), the pre-image is the sum of the ideal spanned
by the constructed pre-images of the Q.relation j
and the kernel of aux
. It hence
remains to show that the kernel of aux
is spanned by the image of the P.relation i
under the canonical map MvPolynomial ι R →ₐ[R] MvPolynomial (ι' ⊕ ι) R
. By
assumption this span is the kernel of the evaluation map of P
. For this, we use the isomorphism
MvPolynomial (ι' ⊕ ι) R ≃ₐ[R] MvPolynomial ι' (MvPolynomial ι R)
and
MvPolynomial.ker_map
.
Given presentations of T
over S
and of S
over R
,
we may construct a presentation of T
over R
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Given a presentation P
and equivalences ι ≃ ι
and
κ ≃ σ
, this is the induced presentation with variables indexed
by ι
and relations indexed by `κ