The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.Extension.Presentation.Submersive
90 declarations. Mathlib docs · Source
Submersive presentations
In this file we define PreSubmersivePresentation. This is a presentation P that has
fewer relations than generators. More precisely there exists an injective map from σ
to ι. To such a presentation we may associate a Jacobian. P is then a submersive
presentation, if its Jacobian is invertible.
Algebras that admit such a presentation are called standard smooth. See
Mathlib.RingTheory.Smooth.StandardSmooth for applications.
Main definitions
All of these are in the Algebra namespace. Let S be an R-algebra.
PreSubmersivePresentation: APresentationofSasR-algebra, equipped with an injective mapP.mapfromσtoι. This map is used to define the differential of a presubmersive presentation.PreSubmersivePresentation.mvPolynomial: The canonical presentation ofMvPolynomial ι R, viewed as a presubmersive presentation via the (empty) map from its relations to its generators.
For a presubmersive presentation P of S over R we make the following definitions:
PreSubmersivePresentation.differential: A linear endomorphism ofσ → P.Ringsending thej-th standard basis vector, corresponding to thej-th relation, to the vector of partial derivatives ofP.relation jwith respect to the coordinatesP.map ifori : σ.PreSubmersivePresentation.jacobian: The determinant ofP.differential.PreSubmersivePresentation.jacobiMatrix: Ifσhas aFintypeinstance, we may form the matrix corresponding toP.differential. Its determinant isP.jacobian.SubmersivePresentation: A submersive presentation is a finite, presubmersive presentationPwith inSinvertible Jacobian.
Notes
This contribution was created as part of the AIM workshop "Formalizing algebraic geometry" in June 2024.
Jacobian of composition
Let S be an R-algebra and T be an S-algebra with presentations P and Q respectively.
In this section we compute the Jacobian of the composition of Q and P to be
the product of the Jacobians. For this we use a block decomposition of the Jacobi matrix and show
that the upper-right block vanishes, the upper-left block has determinant Jacobian of Q and
the lower-right block has determinant Jacobian of P.
theorem Algebra.SubmersivePresentation.mk.inj E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} {inst : CommRing R} {inst_1 : CommRing S} {inst_2 : Algebra R S}
{inst_3 : Finite σ} {toPreSubmersivePresentation : Algebra.PreSubmersivePresentation R S ι σ}
{jacobian_isUnit : IsUnit toPreSubmersivePresentation.jacobian}
{toPreSubmersivePresentation_1 : Algebra.PreSubmersivePresentation R S ι σ}
{jacobian_isUnit_1 : IsUnit toPreSubmersivePresentation_1.jacobian},
{ toPreSubmersivePresentation := toPreSubmersivePresentation, jacobian_isUnit := jacobian_isUnit } =
{ toPreSubmersivePresentation := toPreSubmersivePresentation_1, jacobian_isUnit := jacobian_isUnit_1 } →
toPreSubmersivePresentation = toPreSubmersivePresentation_1
theorem Algebra.Presentation.naive.congr_simp E1 #
∀ {R : Type u} {ι : Type w} {σ : Type t} [inst : CommRing R] {v : ι → MvPolynomial σ R}
(s s_1 : MvPolynomial σ R ⧸ Ideal.span (Set.range v) → MvPolynomial σ R) (e_s : s = s_1)
(hs : ∀ (x : MvPolynomial σ R ⧸ Ideal.span (Set.range v)), (Ideal.Quotient.mk (Ideal.span (Set.range v))) (s x) = x),
Algebra.Presentation.naive s hs = Algebra.Presentation.naive s_1 ⋯
def Algebra.PreSubmersivePresentation.ctorIdx E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
{inst : CommRing R} →
{inst_1 : CommRing S} → {inst_2 : Algebra R S} → Algebra.PreSubmersivePresentation R S ι σ → ℕ
theorem Algebra.PreSubmersivePresentation.jacobian.congr_simp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P P_1 : Algebra.PreSubmersivePresentation R S ι σ), P = P_1 → ∀ [inst_3 : Finite σ], P.jacobian = P_1.jacobian
def Algebra.SubmersivePresentation.ctorIdx E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
{inst : CommRing R} →
{inst_1 : CommRing S} →
{inst_2 : Algebra R S} → {inst_3 : Finite σ} → Algebra.SubmersivePresentation R S ι σ → ℕ
theorem Algebra.PreSubmersivePresentation.differential.congr_simp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Finite σ], P.differential = P.differential
theorem Algebra.PreSubmersivePresentation.aevalDifferential.congr_simp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P P_1 : Algebra.PreSubmersivePresentation R S ι σ),
P = P_1 → ∀ [inst_3 : Finite σ], P.aevalDifferential = P_1.aevalDifferential
theorem Algebra.PreSubmersivePresentation.mk.injEq E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(toPresentation : Algebra.Presentation R S ι σ) (map : σ → ι) (map_inj : Function.Injective map)
(toPresentation_1 : Algebra.Presentation R S ι σ) (map_1 : σ → ι) (map_inj_1 : Function.Injective map_1),
({ toPresentation := toPresentation, map := map, map_inj := map_inj } =
{ toPresentation := toPresentation_1, map := map_1, map_inj := map_inj_1 }) =
(toPresentation = toPresentation_1 ∧ map = map_1)
theorem Algebra.PreSubmersivePresentation.comp.congr_simp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra R T] [inst_5 : Algebra S T]
[inst_6 : IsScalarTower R S T] (Q Q_1 : Algebra.PreSubmersivePresentation S T ι' σ'),
Q = Q_1 → ∀ (P P_1 : Algebra.PreSubmersivePresentation R S ι σ), P = P_1 → Q.comp P = Q_1.comp P_1
theorem Algebra.PreSubmersivePresentation.mk.inj E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} {inst : CommRing R} {inst_1 : CommRing S} {inst_2 : Algebra R S}
{toPresentation : Algebra.Presentation R S ι σ} {map : σ → ι} {map_inj : Function.Injective map}
{toPresentation_1 : Algebra.Presentation R S ι σ} {map_1 : σ → ι} {map_inj_1 : Function.Injective map_1},
{ toPresentation := toPresentation, map := map, map_inj := map_inj } =
{ toPresentation := toPresentation_1, map := map_1, map_inj := map_inj_1 } →
toPresentation = toPresentation_1 ∧ map = map_1
theorem Algebra.PreSubmersivePresentation.localizationAway.congr_simp E1 #
∀ {R : Type u} (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r r_1 : R) (e_r : r = r_1)
[inst_3 : IsLocalization.Away r S],
Algebra.PreSubmersivePresentation.localizationAway S r = Algebra.PreSubmersivePresentation.localizationAway S r_1
theorem Algebra.SubmersivePresentation.mk.injEq E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (toPreSubmersivePresentation : Algebra.PreSubmersivePresentation R S ι σ)
(jacobian_isUnit : IsUnit toPreSubmersivePresentation.jacobian)
(toPreSubmersivePresentation_1 : Algebra.PreSubmersivePresentation R S ι σ)
(jacobian_isUnit_1 : IsUnit toPreSubmersivePresentation_1.jacobian),
({ toPreSubmersivePresentation := toPreSubmersivePresentation, jacobian_isUnit := jacobian_isUnit } =
{ toPreSubmersivePresentation := toPreSubmersivePresentation_1, jacobian_isUnit := jacobian_isUnit_1 }) =
(toPreSubmersivePresentation = toPreSubmersivePresentation_1)
theorem Algebra.Presentation.comp.congr_simp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra S T]
(Q Q_1 : Algebra.Presentation S T ι' σ'),
Q = Q_1 →
∀ (P P_1 : Algebra.Presentation R S ι σ),
P = P_1 → ∀ [inst_5 : Algebra R T] [inst_6 : IsScalarTower R S T], Q.comp P = Q_1.comp P_1
theorem Algebra.PreSubmersivePresentation.basis.congr_simp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Finite σ], P.basis = P.basis
structure Algebra.PreSubmersivePresentation E3 #
(R : Type u) →
(S : Type v) →
Type w → Type t → [inst : CommRing R] → [inst_1 : CommRing S] → [Algebra R S] → Type (max (max (max t u) v) w)
A PreSubmersivePresentation of an R-algebra S is a Presentation
with relations equipped with an injective map : relations → vars.
This map determines how the differential of P is constructed. See
PreSubmersivePresentation.differential for details.
abbrev Algebra.PreSubmersivePresentation.toPresentation E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] → Algebra.PreSubmersivePresentation R S ι σ → Algebra.Presentation R S ι σ
ctor Algebra.PreSubmersivePresentation.mk E0 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
Algebra.Presentation R S ι σ →
(map : σ → ι) → Function.Injective map → Algebra.PreSubmersivePresentation R S ι σ
abbrev Algebra.PreSubmersivePresentation.map E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] → [inst_2 : Algebra R S] → Algebra.PreSubmersivePresentation R S ι σ → σ → ι
A map from the relations type to the variables type. Used to compute the differential.
theorem Algebra.PreSubmersivePresentation.map_inj E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(self : Algebra.PreSubmersivePresentation R S ι σ), Function.Injective self.map
theorem Algebra.PreSubmersivePresentation.card_relations_le_card_vars_of_isFinite E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [Finite ι], Nat.card σ ≤ Nat.card ι
abbrev Algebra.PreSubmersivePresentation.basis E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
(P : Algebra.PreSubmersivePresentation R S ι σ) → [Finite σ] → Module.Basis σ P.Ring (σ → P.Ring)
The standard basis of σ → P.ring.
def Algebra.PreSubmersivePresentation.differential E3 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
(P : Algebra.PreSubmersivePresentation R S ι σ) → [Finite σ] → (σ → P.Ring) →ₗ[P.Ring] σ → P.Ring
The differential of a P : PreSubmersivePresentation is a P.Ring-linear map on
σ → 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 : σ.
The determinant of this map is the Jacobian of P used to define when a PreSubmersivePresentation
is submersive. See PreSubmersivePresentation.jacobian.
def Algebra.PreSubmersivePresentation.aevalDifferential E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] → Algebra.PreSubmersivePresentation R S ι σ → [Finite σ] → (σ → S) →ₗ[S] σ → S
PreSubmersivePresentation.differential pushed forward to S via aeval P.val.
theorem Algebra.PreSubmersivePresentation.aevalDifferential_single E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Finite σ] [inst_4 : DecidableEq σ] (i j : σ),
P.aevalDifferential (Pi.single i 1) j = (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map j)) (P.relation i))
def Algebra.PreSubmersivePresentation.jacobian E3 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] → [inst_2 : Algebra R S] → Algebra.PreSubmersivePresentation R S ι σ → [Finite σ] → S
The Jacobian of a P : PreSubmersivePresentation is the determinant
of P.differential viewed as element of S.
def Algebra.PreSubmersivePresentation.jacobiMatrix E3 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
(P : Algebra.PreSubmersivePresentation R S ι σ) → [Fintype σ] → [DecidableEq σ] → Matrix σ σ P.Ring
If σ has a Fintype and DecidableEq instance, the differential of P
can be expressed in matrix form.
theorem Algebra.PreSubmersivePresentation.jacobian_eq_jacobiMatrix_det E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Fintype σ] [inst_4 : DecidableEq σ],
P.jacobian = (algebraMap P.Ring S) P.jacobiMatrix.det
theorem Algebra.PreSubmersivePresentation.jacobiMatrix_apply E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Fintype σ] [inst_4 : DecidableEq σ] (i j : σ),
P.jacobiMatrix i j = (MvPolynomial.pderiv (P.map i)) (P.relation j)
theorem Algebra.PreSubmersivePresentation.aevalDifferential_toMatrix'_eq_mapMatrix_jacobiMatrix E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Fintype σ] [inst_4 : DecidableEq σ],
LinearMap.toMatrix' P.aevalDifferential = (MvPolynomial.aeval P.val).mapMatrix P.jacobiMatrix
theorem Algebra.PreSubmersivePresentation.jacobian_eq_det_aevalDifferential E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Finite σ], P.jacobian = LinearMap.det P.aevalDifferential
theorem Algebra.PreSubmersivePresentation.isUnit_jacobian_iff_aevalDifferential_bijective E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Finite σ],
IsUnit P.jacobian ↔ Function.Bijective ⇑P.aevalDifferential
theorem Algebra.PreSubmersivePresentation.isUnit_jacobian_of_linearIndependent_of_span_eq_top E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_3 : Finite σ],
(LinearIndependent S fun j i ↦ (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map i)) (P.relation j))) →
Submodule.span S (Set.range fun j i ↦ (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map i)) (P.relation j))) =
⊤ →
IsUnit P.jacobian
def Algebra.PreSubmersivePresentation.ofAlgEquiv E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
Algebra.PreSubmersivePresentation R S ι σ →
{T : Type u_1} →
[inst_3 : CommRing T] →
[inst_4 : Algebra R T] → (S ≃ₐ[R] T) → Algebra.PreSubmersivePresentation R T ι σ
Transport a pre-submersive presentation along an algebra isomorphism.
theorem Algebra.PreSubmersivePresentation.ofAlgEquiv_map E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {T : Type u_1} [inst_3 : CommRing T] [inst_4 : Algebra R T]
(e : S ≃ₐ[R] T) (a : σ), (P.ofAlgEquiv e).map a = P.map a
theorem Algebra.PreSubmersivePresentation.ofAlgEquiv_toPresentation E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {T : Type u_1} [inst_3 : CommRing T] [inst_4 : Algebra R T]
(e : S ≃ₐ[R] T), (P.ofAlgEquiv e).toPresentation = P.ofAlgEquiv e
theorem Algebra.PreSubmersivePresentation.jacobiMatrix_ofAlgEquiv E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {T : Type u_1} [inst_3 : CommRing T] [inst_4 : Algebra R T]
(e : S ≃ₐ[R] T) [inst_5 : Fintype σ] [inst_6 : DecidableEq σ], (P.ofAlgEquiv e).jacobiMatrix = P.jacobiMatrix
theorem Algebra.PreSubmersivePresentation.jacobian_ofAlgEquiv E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {T : Type u_1} [inst_3 : CommRing T] [inst_4 : Algebra R T]
(e : S ≃ₐ[R] T) [inst_5 : Finite σ], (P.ofAlgEquiv e).jacobian = e P.jacobian
def Algebra.PreSubmersivePresentation.ofBijectiveAlgebraMap E1 #
{R : Type u} →
{S : Type v} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
Function.Bijective ⇑(algebraMap R S) → Algebra.PreSubmersivePresentation R S PEmpty.{w + 1} PEmpty.{t + 1}
If algebraMap R S is bijective, the empty generators are a pre-submersive
presentation with no relations.
theorem Algebra.PreSubmersivePresentation.ofBijectiveAlgebraMap_jacobian E0 #
∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(h : Function.Bijective ⇑(algebraMap R S)), (Algebra.PreSubmersivePresentation.ofBijectiveAlgebraMap h).jacobian = 1
def Algebra.PreSubmersivePresentation.mvPolynomial E3 #
(R : Type u) →
(ι : Type w) → [inst : CommRing R] → Algebra.PreSubmersivePresentation R (MvPolynomial ι R) ι PEmpty.{t + 1}
The canonical pre-submersive R-presentation of the polynomial algebra MvPolynomial ι R,
with generators X indexed by ι and no relations.
theorem Algebra.PreSubmersivePresentation.mvPolynomial_map E0 #
∀ (R : Type u) (ι : Type w) [inst : CommRing R], (Algebra.PreSubmersivePresentation.mvPolynomial R ι).map = PEmpty.elim
theorem Algebra.PreSubmersivePresentation.jacobian_mvPolynomial E0 #
∀ {R : Type u} {ι : Type w} [inst : CommRing R], (Algebra.PreSubmersivePresentation.mvPolynomial R ι).jacobian = 1
def Algebra.PreSubmersivePresentation.localizationAway E1 #
{R : Type u} →
(S : Type v) →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] → (r : R) → [IsLocalization.Away r S] → Algebra.PreSubmersivePresentation R S Unit Unit
If S is the localization of R at r, this is the canonical submersive presentation
of S as R-algebra.
theorem Algebra.PreSubmersivePresentation.localizationAway_map E0 #
∀ {R : Type u} (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
[inst_3 : IsLocalization.Away r S] (x : Unit), (Algebra.PreSubmersivePresentation.localizationAway S r).map x = ()
theorem Algebra.PreSubmersivePresentation.localizationAway_jacobiMatrix E0 #
∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
[inst_3 : IsLocalization.Away r S],
(Algebra.PreSubmersivePresentation.localizationAway S r).jacobiMatrix = Matrix.diagonal fun x ↦ MvPolynomial.C r
theorem Algebra.PreSubmersivePresentation.localizationAway_jacobian E0 #
∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (r : R)
[inst_3 : IsLocalization.Away r S],
(Algebra.PreSubmersivePresentation.localizationAway S r).jacobian = (algebraMap R S) r
def Algebra.PreSubmersivePresentation.comp E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
{ι' : Type u_1} →
{σ' : Type u_2} →
{T : Type u_3} →
[inst_3 : CommRing T] →
[inst_4 : Algebra R T] →
[inst_5 : Algebra S T] →
[IsScalarTower R S T] →
Algebra.PreSubmersivePresentation S T ι' σ' →
Algebra.PreSubmersivePresentation R S ι σ →
Algebra.PreSubmersivePresentation R T (ι' ⊕ ι) (σ' ⊕ σ)
Given an R-algebra S and an S-algebra T with pre-submersive presentations,
this is the canonical pre-submersive presentation of T as an R-algebra.
theorem Algebra.PreSubmersivePresentation.comp_map E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra R T] [inst_5 : Algebra S T]
[inst_6 : IsScalarTower R S T] (Q : Algebra.PreSubmersivePresentation S T ι' σ')
(P : Algebra.PreSubmersivePresentation R S ι σ) (a : σ' ⊕ σ),
(Q.comp P).map a = Sum.elim (fun rq ↦ Sum.inl (Q.map rq)) (fun rp ↦ Sum.inr (P.map rp)) a
theorem Algebra.PreSubmersivePresentation.toPresentation_comp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra R T] [inst_5 : Algebra S T]
[inst_6 : IsScalarTower R S T] (Q : Algebra.PreSubmersivePresentation S T ι' σ')
(P : Algebra.PreSubmersivePresentation R S ι σ), (Q.comp P).toPresentation = Q.comp P.toPresentation
theorem Algebra.PreSubmersivePresentation.toGenerators_comp E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra R T] [inst_5 : Algebra S T]
[inst_6 : IsScalarTower R S T] (Q : Algebra.PreSubmersivePresentation S T ι' σ')
(P : Algebra.PreSubmersivePresentation R S ι σ), (Q.comp P).toGenerators = Q.comp P.toGenerators
theorem Algebra.PreSubmersivePresentation.dimension_comp_eq_dimension_add_dimension E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra R T] [inst_5 : Algebra S T]
[inst_6 : IsScalarTower R S T] (Q : Algebra.PreSubmersivePresentation S T ι' σ')
(P : Algebra.PreSubmersivePresentation R S ι σ) [Finite ι] [Finite ι'] [Finite σ] [Finite σ'],
(Q.comp P).dimension = Q.dimension + P.dimension
The dimension of the composition of two finite submersive presentations is the sum of the dimensions.
theorem Algebra.PreSubmersivePresentation.comp_jacobian_eq_jacobian_smul_jacobian E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
{ι' : Type u_1} {σ' : Type u_2} {T : Type u_3} [inst_3 : CommRing T] [inst_4 : Algebra R T] [inst_5 : Algebra S T]
[inst_6 : IsScalarTower R S T] (Q : Algebra.PreSubmersivePresentation S T ι' σ')
(P : Algebra.PreSubmersivePresentation R S ι σ) [inst_7 : Finite σ] [inst_8 : Finite σ'],
(Q.comp P).jacobian = P.jacobian • Q.jacobian
The Jacobian of the composition of presentations is the product of the Jacobians.
def Algebra.PreSubmersivePresentation.baseChange E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
(T : Type u_1) →
[inst_3 : CommRing T] →
[inst_4 : Algebra R T] →
Algebra.PreSubmersivePresentation R S ι σ →
Algebra.PreSubmersivePresentation T (TensorProduct R T S) ι σ
If P is a pre-submersive presentation of S over R and T is an R-algebra, we
obtain a natural pre-submersive presentation of T ⊗[R] S over T.
theorem Algebra.PreSubmersivePresentation.baseChange_toPresentation E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ),
(Algebra.PreSubmersivePresentation.baseChange R P).toPresentation = Algebra.Presentation.baseChange R P.toPresentation
theorem Algebra.PreSubmersivePresentation.baseChange_ring E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ), (Algebra.PreSubmersivePresentation.baseChange R P).Ring = P.Ring
theorem Algebra.PreSubmersivePresentation.baseChange_jacobian E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(T : Type u_1) [inst_3 : CommRing T] [inst_4 : Algebra R T] (P : Algebra.PreSubmersivePresentation R S ι σ)
[inst_5 : Finite σ], (Algebra.PreSubmersivePresentation.baseChange T P).jacobian = 1 ⊗ₜ[R] P.jacobian
def Algebra.PreSubmersivePresentation.reindex E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
Algebra.PreSubmersivePresentation R S ι σ →
{ι' : Type u_1} → {σ' : Type u_2} → ι' ≃ ι → σ' ≃ σ → Algebra.PreSubmersivePresentation R S ι' σ'
Given a pre-submersive presentation P and equivalences ι' ≃ ι and
σ' ≃ σ, this is the induced pre-submersive presentation with variables indexed
by ι and relations indexed by κ.
theorem Algebra.PreSubmersivePresentation.reindex_toPresentation E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {ι' : Type u_1} {σ' : Type u_2} (e : ι' ≃ ι) (f : σ' ≃ σ),
(P.reindex e f).toPresentation = P.reindex e f
theorem Algebra.PreSubmersivePresentation.reindex_map E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {ι' : Type u_1} {σ' : Type u_2} (e : ι' ≃ ι) (f : σ' ≃ σ) (a : σ'),
(P.reindex e f).map a = (⇑e.symm ∘ P.map ∘ ⇑f) a
theorem Algebra.PreSubmersivePresentation.jacobiMatrix_reindex E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {ι' : Type u_1} {σ' : Type u_2} (e : ι' ≃ ι) (f : σ' ≃ σ)
[inst_3 : Fintype σ'] [inst_4 : DecidableEq σ'] [inst_5 : Fintype σ] [inst_6 : DecidableEq σ],
(P.reindex e f).jacobiMatrix = ((Matrix.reindex f.symm f.symm) P.jacobiMatrix).map ⇑(MvPolynomial.rename ⇑e.symm)
theorem Algebra.PreSubmersivePresentation.jacobian_reindex E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
(P : Algebra.PreSubmersivePresentation R S ι σ) {ι' : Type u_1} {σ' : Type u_2} (e : ι' ≃ ι) (f : σ' ≃ σ)
[inst_3 : Finite σ] [inst_4 : Finite σ'], (P.reindex e f).jacobian = P.jacobian
def Algebra.PreSubmersivePresentation.naive E1 #
{R : Type u} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
{v : ι → MvPolynomial σ R} →
(a : ι → σ) →
Function.Injective a →
(s : optParam (MvPolynomial σ R ⧸ Ideal.span (Set.range v) → MvPolynomial σ R) (Function.surjInv ⋯)) →
autoParam
(∀ (x : MvPolynomial σ R ⧸ Ideal.span (Set.range v)),
(Ideal.Quotient.mk (Ideal.span (Set.range v))) (s x) = x)
Algebra.PreSubmersivePresentation.naive._auto_1 →
Algebra.PreSubmersivePresentation R (MvPolynomial σ R ⧸ Ideal.span (Set.range v)) σ ι
The naive pre-submersive presentation of a quotient R[Xᵢ] ⧸ (vⱼ).
If the definitional equality of the section matters, it can be explicitly provided.
To construct the associated submersive presentation, use
PreSubmersivePresentation.jacobiMatrix_naive.
theorem Algebra.PreSubmersivePresentation.naive_toPresentation E0 #
∀ {R : Type u} {ι : Type w} {σ : Type t} [inst : CommRing R] {v : ι → MvPolynomial σ R} (a : ι → σ)
(ha : Function.Injective a)
(s : optParam (MvPolynomial σ R ⧸ Ideal.span (Set.range v) → MvPolynomial σ R) (Function.surjInv ⋯))
(hs :
autoParam
(∀ (x : MvPolynomial σ R ⧸ Ideal.span (Set.range v)), (Ideal.Quotient.mk (Ideal.span (Set.range v))) (s x) = x)
Algebra.PreSubmersivePresentation.naive._auto_1),
(Algebra.PreSubmersivePresentation.naive a ha s hs).toPresentation = Algebra.Presentation.naive s hs
theorem Algebra.PreSubmersivePresentation.jacobiMatrix_naive E0 #
∀ {R : Type u} {ι : Type w} {σ : Type t} [inst : CommRing R] {v : ι → MvPolynomial σ R} (a : ι → σ)
(ha : Function.Injective a) (s : MvPolynomial σ R ⧸ Ideal.span (Set.range v) → MvPolynomial σ R)
(hs : ∀ (x : MvPolynomial σ R ⧸ Ideal.span (Set.range v)), (Ideal.Quotient.mk (Ideal.span (Set.range v))) (s x) = x)
[inst_1 : Fintype ι] [inst_2 : DecidableEq ι] (i j : ι),
(Algebra.PreSubmersivePresentation.naive a ha s hs).jacobiMatrix i j = (MvPolynomial.pderiv (a i)) (v j)
structure Algebra.SubmersivePresentation E3 #
(R : Type u) →
(S : Type v) →
Type w →
(σ : Type t) →
[inst : CommRing R] → [inst_1 : CommRing S] → [Algebra R S] → [Finite σ] → Type (max (max (max t u) v) w)
A PreSubmersivePresentation is submersive if its Jacobian is a unit in S
and the presentation is finite.
ctor Algebra.SubmersivePresentation.mk E0 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] →
(toPreSubmersivePresentation : Algebra.PreSubmersivePresentation R S ι σ) →
IsUnit toPreSubmersivePresentation.jacobian → Algebra.SubmersivePresentation R S ι σ
abbrev Algebra.SubmersivePresentation.toPreSubmersivePresentation E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] → Algebra.SubmersivePresentation R S ι σ → Algebra.PreSubmersivePresentation R S ι σ
theorem Algebra.SubmersivePresentation.jacobian_isUnit E2 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (self : Algebra.SubmersivePresentation R S ι σ), IsUnit self.jacobian
def Algebra.SubmersivePresentation.ofAlgEquiv E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] →
Algebra.SubmersivePresentation R S ι σ →
{T : Type u_1} →
[inst_4 : CommRing T] →
[inst_5 : Algebra R T] → (S ≃ₐ[R] T) → Algebra.SubmersivePresentation R T ι σ
Transport a submersive presentation along an algebra isomorphism.
theorem Algebra.SubmersivePresentation.ofAlgEquiv_toPreSubmersivePresentation E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) {T : Type u_1} [inst_4 : CommRing T]
[inst_5 : Algebra R T] (e : S ≃ₐ[R] T), (P.ofAlgEquiv e).toPreSubmersivePresentation = P.ofAlgEquiv e
def Algebra.SubmersivePresentation.ofBijectiveAlgebraMap E1 #
{R : Type u} →
{S : Type v} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
Function.Bijective ⇑(algebraMap R S) → Algebra.SubmersivePresentation R S PEmpty.{w + 1} PEmpty.{t + 1}
If algebraMap R S is bijective, the empty generators are a submersive
presentation with no relations.
def Algebra.SubmersivePresentation.id E1 #
(R : Type u) → [inst : CommRing R] → Algebra.SubmersivePresentation R R PEmpty.{w + 1} PEmpty.{t + 1}
The canonical submersive R-presentation of R with no generators and no relations.
def Algebra.SubmersivePresentation.mvPolynomial E1 #
(R : Type u) → (ι : Type w) → [inst : CommRing R] → Algebra.SubmersivePresentation R (MvPolynomial ι R) ι PEmpty.{t + 1}
The canonical submersive R-presentation of the polynomial algebra MvPolynomial ι R,
with generators X indexed by ι and no relations.
def Algebra.SubmersivePresentation.comp E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] →
{T : Type u_1} →
{ι' : Type u_2} →
{σ' : Type u_3} →
[inst_4 : CommRing T] →
[inst_5 : Algebra R T] →
[inst_6 : Algebra S T] →
[IsScalarTower R S T] →
[inst_8 : Finite σ'] →
Algebra.SubmersivePresentation S T ι' σ' →
Algebra.SubmersivePresentation R S ι σ →
Algebra.SubmersivePresentation R T (ι' ⊕ ι) (σ' ⊕ σ)
Given an R-algebra S and an S-algebra T with submersive presentations,
this is the canonical submersive presentation of T as an R-algebra.
def Algebra.SubmersivePresentation.localizationAway E1 #
{R : Type u} →
(S : Type v) →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] → (r : R) → [IsLocalization.Away r S] → Algebra.SubmersivePresentation R S Unit Unit
If S is the localization of R at r, this is the canonical submersive presentation
of S as R-algebra.
def Algebra.SubmersivePresentation.baseChange E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] →
(T : Type u_1) →
[inst_4 : CommRing T] →
[inst_5 : Algebra R T] →
Algebra.SubmersivePresentation R S ι σ →
Algebra.SubmersivePresentation T (TensorProduct R T S) ι σ
If P is a submersive presentation of S over R and T is an R-algebra, we
obtain a natural submersive presentation of T ⊗[R] S over T.
def Algebra.SubmersivePresentation.reindex E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] →
Algebra.SubmersivePresentation R S ι σ →
{ι' : Type u_1} →
{σ' : Type u_2} → [inst_4 : Finite σ'] → ι' ≃ ι → σ' ≃ σ → Algebra.SubmersivePresentation R S ι' σ'
Given a submersive presentation P and equivalences ι' ≃ ι and
σ' ≃ σ, this is the induced submersive presentation with variables indexed
by ι' and relations indexed by σ'
theorem Algebra.SubmersivePresentation.reindex_toPreSubmersivePresentation E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) {ι' : Type u_1} {σ' : Type u_2} [inst_4 : Finite σ']
(e : ι' ≃ ι) (f : σ' ≃ σ), (P.reindex e f).toPreSubmersivePresentation = P.reindex e f
def Algebra.SubmersivePresentation.ofSubsingleton E1 #
(R : Type u) →
(S : Type v) →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] → [Subsingleton S] → Algebra.SubmersivePresentation R S PUnit.{u_2 + 1} PUnit.{u_1 + 1}
If S = 0, this is the submersive presentation on one generator and one relation.
theorem Algebra.SubmersivePresentation.ofSubsingleton_algebra_algebraMap E0 #
∀ (R : Type u) (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : Subsingleton S],
algebraMap (MvPolynomial PUnit.{u_2 + 1} R) S = (MvPolynomial.aeval fun x ↦ 1).toRingHom
theorem Algebra.SubmersivePresentation.ofSubsingleton_relation E0 #
∀ (R : Type u) (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : Subsingleton S]
(x : PUnit.{u_1 + 1}), (Algebra.SubmersivePresentation.ofSubsingleton R S).relation x = 1
theorem Algebra.SubmersivePresentation.ofSubsingleton_val E0 #
∀ (R : Type u) (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : Subsingleton S]
(x : PUnit.{u_2 + 1}), (Algebra.SubmersivePresentation.ofSubsingleton R S).val x = 1
theorem Algebra.SubmersivePresentation.ofSubsingleton_algebra_smul E0 #
∀ (R : Type u) (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : Subsingleton S]
(c : MvPolynomial PUnit.{u_2 + 1} R) (x : S), SMul.smul c x = (MvPolynomial.aeval fun x ↦ 1).toRingHom c * x
theorem Algebra.SubmersivePresentation.ofSubsingleton_σ' E0 #
∀ (R : Type u) (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : Subsingleton S]
(x : S), (Algebra.SubmersivePresentation.ofSubsingleton R S).σ' x = 1
theorem Algebra.SubmersivePresentation.ofSubsingleton_map E0 #
∀ (R : Type u) (S : Type v) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [inst_3 : Subsingleton S]
(x : PUnit.{u_1 + 1}), (Algebra.SubmersivePresentation.ofSubsingleton R S).map x = PUnit.unit
def Algebra.SubmersivePresentation.aevalDifferentialEquiv E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] → [inst_3 : Finite σ] → Algebra.SubmersivePresentation R S ι σ → (σ → S) ≃ₗ[S] σ → S
If P is submersive, PreSubmersivePresentation.aevalDifferential is an isomorphism.
theorem Algebra.SubmersivePresentation.aevalDifferentialEquiv_apply E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) (x : σ → S),
P.aevalDifferentialEquiv x = P.aevalDifferential x
def Algebra.SubmersivePresentation.basisDeriv E1 #
{R : Type u} →
{S : Type v} →
{ι : Type w} →
{σ : Type t} →
[inst : CommRing R] →
[inst_1 : CommRing S] →
[inst_2 : Algebra R S] →
[inst_3 : Finite σ] → Algebra.SubmersivePresentation R S ι σ → Module.Basis σ S (σ → S)
If P is a submersive presentation, the partial derivatives of P.relation i by
P.map j form a basis of σ → S.
theorem Algebra.SubmersivePresentation.basisDeriv_apply E0 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ) (i j : σ),
P.basisDeriv i j = (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map j)) (P.relation i))
theorem Algebra.SubmersivePresentation.linearIndependent_aeval_val_pderiv_relation E1 #
∀ {R : Type u} {S : Type v} {ι : Type w} {σ : Type t} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : Finite σ] (P : Algebra.SubmersivePresentation R S ι σ),
LinearIndependent S fun i j ↦ (MvPolynomial.aeval P.val) ((MvPolynomial.pderiv (P.map j)) (P.relation i))