The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.PolynomialLaw.Basic
73 declarations. Mathlib docs · Source
Polynomial laws on modules
Let M and N be a modules over a commutative ring R.
A polynomial law f : PolynomialLaw R M N, with notation f : M →ₚₗₗ[R] N,
is a “law” that assigns a natural map PolynomialLaw.toFun' f S : S ⊗[R] M → S ⊗[R] N
for every R-algebra S.
For type-theoretic reasons, if R : Type u, then the definition of the polynomial map f
is restricted to R-algebras S such that S : Type u.
Using the fact that a module is the direct limit of its finitely generated submodules, that a
finitely generated subalgebra is a quotient of a polynomial ring in the universe u, plus
the commutation of tensor products with direct limits, we extend the functor
to all R-algebras.
The two fields involving the definition of PolynomialLaw,
PolynomialLaw.toFun' and PolynomialLaw.isCompat' are primed.
They are superseded by their universe-polymorphic counterparts,
the definition PolynomialLaw.toFun and the lemma PolynomialLaw.isCompat
which should be used once the theory is properly stated.
For constructions of general definitions of PolynomialLaw
at a universe-polymorphic level, one needs to lift
elements in a tensor product to smaller universes.
For this, one can make use of
PolynomialLaw.exists_lift or PolynomialLaw.exists_lift',
or establish appropriate generalizations.
Main definitions/lemmas
-
Instance :
Module R (M →ₚₗ[R] N)shows that polynomial laws form anR-module. -
PolynomialLaw.ground fis the mapM → Ncorresponding toPolynomialLaw.toFun' f Runder the isomorphismsR ⊗[R] M ≃ₗ[R] M, and similarly forN.
In further works, we construct the coefficients of a polynomial law and show the relation with
polynomials (when the module M is free and finite).
Implementation notes
In the literature, the theory is written for commutative rings, but this implementation
only assumes R is a commutative semiring.
References
- [Roby, Norbert. 1963. «Lois polynomes et lois formelles en théorie des modules». Annales scientifiques de l’École Normale Supérieure 80 (3): 213‑348][Roby-1963]
theorem PolynomialLaw.π.match_1.congr_eq_1 E1 #
∀ (R : Type u_1) [inst : CommSemiring R] (M : Type u_3) [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (S : Type u_2)
(motive : PolynomialLaw.lifts R M S → Sort u_4) (x : PolynomialLaw.lifts R M S)
(h_1 : (s : Finset S) → (p : TensorProduct R (MvPolynomial (Fin s.card) R) M) → motive ⟨s, p⟩) (s : Finset S)
(p : TensorProduct R (MvPolynomial (Fin s.card) R) M),
x = ⟨s, p⟩ →
(match x with
| ⟨s, p⟩ => h_1 s p) ≍
h_1 s p
def PolynomialLaw.ctorIdx E1 #
{R : Type u} →
{inst : CommSemiring R} →
{M : Type u_1} →
{inst_1 : AddCommMonoid M} →
{inst_2 : Module R M} → {N : Type u_2} → {inst_3 : AddCommMonoid N} → {inst_4 : Module R N} → (M →ₚₗ[R] N) → ℕ
theorem PolynomialLaw.mk.injEq E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N]
(toFun' :
(S : Type u) → [inst_5 : CommSemiring S] → [inst_6 : Algebra R S] → TensorProduct R S M → TensorProduct R S N)
(isCompat' :
autoParam
(∀ {S : Type u} [inst_5 : CommSemiring S] [inst_6 : Algebra R S] {S' : Type u} [inst_7 : CommSemiring S']
[inst_8 : Algebra R S'] (φ : S →ₐ[R] S'),
⇑(LinearMap.rTensor N φ.toLinearMap) ∘ toFun' S = toFun' S' ∘ ⇑(LinearMap.rTensor M φ.toLinearMap))
PolynomialLaw.isCompat'._autoParam)
(toFun'_1 :
(S : Type u) → [inst_5 : CommSemiring S] → [inst_6 : Algebra R S] → TensorProduct R S M → TensorProduct R S N)
(isCompat'_1 :
autoParam
(∀ {S : Type u} [inst_5 : CommSemiring S] [inst_6 : Algebra R S] {S' : Type u} [inst_7 : CommSemiring S']
[inst_8 : Algebra R S'] (φ : S →ₐ[R] S'),
⇑(LinearMap.rTensor N φ.toLinearMap) ∘ toFun'_1 S = toFun'_1 S' ∘ ⇑(LinearMap.rTensor M φ.toLinearMap))
PolynomialLaw.isCompat'._autoParam),
({ toFun' := toFun', isCompat' := isCompat' } = { toFun' := toFun'_1, isCompat' := isCompat'_1 }) =
(toFun' = toFun'_1)
theorem PolynomialLaw.mk.inj E1 #
∀ {R : Type u} {inst : CommSemiring R} {M : Type u_1} {inst_1 : AddCommMonoid M} {inst_2 : Module R M} {N : Type u_2}
{inst_3 : AddCommMonoid N} {inst_4 : Module R N}
{toFun' :
(S : Type u) → [inst_5 : CommSemiring S] → [inst_6 : Algebra R S] → TensorProduct R S M → TensorProduct R S N}
{isCompat' :
autoParam
(∀ {S : Type u} [inst_5 : CommSemiring S] [inst_6 : Algebra R S] {S' : Type u} [inst_7 : CommSemiring S']
[inst_8 : Algebra R S'] (φ : S →ₐ[R] S'),
⇑(LinearMap.rTensor N φ.toLinearMap) ∘ toFun' S = toFun' S' ∘ ⇑(LinearMap.rTensor M φ.toLinearMap))
PolynomialLaw.isCompat'._autoParam}
{toFun'_1 :
(S : Type u) → [inst_5 : CommSemiring S] → [inst_6 : Algebra R S] → TensorProduct R S M → TensorProduct R S N}
{isCompat'_1 :
autoParam
(∀ {S : Type u} [inst_5 : CommSemiring S] [inst_6 : Algebra R S] {S' : Type u} [inst_7 : CommSemiring S']
[inst_8 : Algebra R S'] (φ : S →ₐ[R] S'),
⇑(LinearMap.rTensor N φ.toLinearMap) ∘ toFun'_1 S = toFun'_1 S' ∘ ⇑(LinearMap.rTensor M φ.toLinearMap))
PolynomialLaw.isCompat'._autoParam},
{ toFun' := toFun', isCompat' := isCompat' } = { toFun' := toFun'_1, isCompat' := isCompat'_1 } → toFun' = toFun'_1
structure PolynomialLaw E1 #
(R : Type u) →
[inst : CommSemiring R] →
(M : Type u_1) →
[inst_1 : AddCommMonoid M] →
[Module R M] → (N : Type u_2) → [inst_3 : AddCommMonoid N] → [Module R N] → Type (max (max (u + 1) u_1) u_2)
A polynomial law M →ₚₗ[R] N between R-modules is a functorial family of maps
S ⊗[R] M → S ⊗[R] N, for all R-algebras S.
For universe reasons, S has to be restricted to the same universe as R.
theorem PolynomialLaw.ext_iff E0 #
∀ {R : Type u} {inst : CommSemiring R} {M : Type u_1} {inst_1 : AddCommMonoid M} {inst_2 : Module R M} {N : Type u_2}
{inst_3 : AddCommMonoid N} {inst_4 : Module R N} {x y : M →ₚₗ[R] N}, x = y ↔ x.toFun' = y.toFun'
theorem PolynomialLaw.ext E1 #
∀ {R : Type u} {inst : CommSemiring R} {M : Type u_1} {inst_1 : AddCommMonoid M} {inst_2 : Module R M} {N : Type u_2}
{inst_3 : AddCommMonoid N} {inst_4 : Module R N} {x y : M →ₚₗ[R] N}, x.toFun' = y.toFun' → x = y
ctor PolynomialLaw.mk E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
(toFun' :
(S : Type u) →
[inst_5 : CommSemiring S] → [inst_6 : Algebra R S] → TensorProduct R S M → TensorProduct R S N) →
autoParam
(∀ {S : Type u} [inst_5 : CommSemiring S] [inst_6 : Algebra R S] {S' : Type u}
[inst_7 : CommSemiring S'] [inst_8 : Algebra R S'] (φ : S →ₐ[R] S'),
⇑(LinearMap.rTensor N φ.toLinearMap) ∘ toFun' S =
toFun' S' ∘ ⇑(LinearMap.rTensor M φ.toLinearMap))
PolynomialLaw.isCompat'._autoParam →
M →ₚₗ[R] N
abbrev PolynomialLaw.toFun' E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
(M →ₚₗ[R] N) →
(S : Type u) →
[inst_5 : CommSemiring S] → [inst_6 : Algebra R S] → TensorProduct R S M → TensorProduct R S N
The functions S ⊗[R] M → S ⊗[R] N underlying a polynomial law
theorem PolynomialLaw.isCompat' E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (self : M →ₚₗ[R] N) {S : Type u} [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] {S' : Type u} [inst_7 : CommSemiring S'] [inst_8 : Algebra R S'] (φ : S →ₐ[R] S'),
⇑(LinearMap.rTensor N φ.toLinearMap) ∘ self.toFun' S = self.toFun' S' ∘ ⇑(LinearMap.rTensor M φ.toLinearMap)
The compatibility relations between the functions underlying a polynomial law
def «term_→ₚₗ[_]_» E1 #
Lean.TrailingParserDescr
M →ₚₗ[R] N is the type of R-polynomial laws from M to N.
theorem PolynomialLaw.isCompat_apply' E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {f : M →ₚₗ[R] N} {S : Type u} [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] {S' : Type u} [inst_7 : CommSemiring S'] [inst_8 : Algebra R S'] (φ : S →ₐ[R] S')
(x : TensorProduct R S M),
(LinearMap.rTensor N φ.toLinearMap) (f.toFun' S x) = f.toFun' S' ((LinearMap.rTensor M φ.toLinearMap) x)
instance PolynomialLaw.instZero E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → {N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → Zero (M →ₚₗ[R] N)
theorem PolynomialLaw.zero_def E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (S : Type u) [inst_5 : CommSemiring S] [inst_6 : Algebra R S],
PolynomialLaw.toFun' 0 S = 0
instance PolynomialLaw.instInhabited E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → Inhabited (M →ₚₗ[R] N)
def PolynomialLaw.id E1 #
{R : Type u} →
[inst : CommSemiring R] → {M : Type u_1} → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M →ₚₗ[R] M
The identity as a polynomial law
theorem PolynomialLaw.id_apply' E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type u}
[inst_3 : CommSemiring S] [inst_4 : Algebra R S], PolynomialLaw.id.toFun' S = id
def PolynomialLaw.add E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → (M →ₚₗ[R] N) → (M →ₚₗ[R] N) → M →ₚₗ[R] N
The sum of two polynomial laws
instance PolynomialLaw.instAdd E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] → {N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → Add (M →ₚₗ[R] N)
theorem PolynomialLaw.add_def E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f g : M →ₚₗ[R] N) (S : Type u) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], (f + g).toFun' S = f.toFun' S + g.toFun' S
theorem PolynomialLaw.add_def_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f g : M →ₚₗ[R] N) (S : Type u) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] (m : TensorProduct R S M), (f + g).toFun' S m = f.toFun' S m + g.toFun' S m
def PolynomialLaw.smul E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → R → (M →ₚₗ[R] N) → M →ₚₗ[R] N
External multiplication of a f : M →ₚₗ[R] N by r : R
instance PolynomialLaw.instSMul E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → SMul R (M →ₚₗ[R] N)
theorem PolynomialLaw.smul_def E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (r : R) (f : M →ₚₗ[R] N) (S : Type u) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], (r • f).toFun' S = r • f.toFun' S
theorem PolynomialLaw.smul_def_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (r : R) (f : M →ₚₗ[R] N) (S : Type u) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] (m : TensorProduct R S M), (r • f).toFun' S m = r • f.toFun' S m
theorem PolynomialLaw.add_smul E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (a b : R) (f : M →ₚₗ[R] N), (a + b) • f = a • f + b • f
theorem PolynomialLaw.zero_smul E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N), 0 • f = 0
theorem PolynomialLaw.one_smul E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N), 1 • f = f
instance PolynomialLaw.instMulAction E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → MulAction R (M →ₚₗ[R] N)
instance PolynomialLaw.instAddCommMonoid E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → AddCommMonoid (M →ₚₗ[R] N)
instance PolynomialLaw.instModule E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → Module R (M →ₚₗ[R] N)
def PolynomialLaw.neg E1 #
{R : Type u} →
[inst : CommRing R] →
{M : Type u_1} →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommGroup N] → [inst_4 : Module R N] → (M →ₚₗ[R] N) → M →ₚₗ[R] N
The opposite of a polynomial law
instance PolynomialLaw.instNeg E0 #
{R : Type u} →
[inst : CommRing R] →
{M : Type u_1} →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] → {N : Type u_2} → [inst_3 : AddCommGroup N] → [inst_4 : Module R N] → Neg (M →ₚₗ[R] N)
theorem PolynomialLaw.neg_def E0 #
∀ {R : Type u} [inst : CommRing R] {M : Type u_1} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommGroup N] [inst_4 : Module R N] (f : M →ₚₗ[R] N) (S : Type u) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], (-f).toFun' S = -1 • f.toFun' S
instance PolynomialLaw.instAddCommGroup E0 #
{R : Type u} →
[inst : CommRing R] →
{M : Type u_1} →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommGroup N] → [inst_4 : Module R N] → AddCommGroup (M →ₚₗ[R] N)
def PolynomialLaw.ground E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → (M →ₚₗ[R] N) → M → N
The map M → N associated with a f : M →ₚₗ[R] N (essentially, f.toFun' R)
theorem PolynomialLaw.ground_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N) (m : M),
f.ground m = (TensorProduct.lid R N) (f.toFun' R (1 ⊗ₜ[R] m))
instance PolynomialLaw.instCoeFunForall E0 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → CoeFun (M →ₚₗ[R] N) fun x ↦ M → N
theorem PolynomialLaw.one_tmul_ground_apply' E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N) {S : Type u} [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] (x : M), 1 ⊗ₜ[R] f.ground x = f.toFun' S (1 ⊗ₜ[R] x)
def PolynomialLaw.lground E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} → [inst_3 : AddCommMonoid N] → [inst_4 : Module R N] → (M →ₚₗ[R] N) →ₗ[R] M → N
The map ground assigning a function M → N to a polynomial map f : M →ₚₗ[R] N as a
linear map.
theorem PolynomialLaw.ground_id E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
PolynomialLaw.id.ground = id
theorem PolynomialLaw.ground_id_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (m : M),
PolynomialLaw.id.ground m = m
def PolynomialLaw.comp E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
{P : Type u_3} →
[inst_5 : AddCommMonoid P] → [inst_6 : Module R P] → (N →ₚₗ[R] P) → (M →ₚₗ[R] N) → M →ₚₗ[R] P
Composition of polynomial maps.
theorem PolynomialLaw.comp_toFun' E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {P : Type u_3} [inst_5 : AddCommMonoid P] [inst_6 : Module R P]
(f : M →ₚₗ[R] N) (g : N →ₚₗ[R] P) (S : Type u) [inst_7 : CommSemiring S] [inst_8 : Algebra R S],
(g.comp f).toFun' S = g.toFun' S ∘ f.toFun' S
theorem PolynomialLaw.comp_assoc E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {P : Type u_3} [inst_5 : AddCommMonoid P] [inst_6 : Module R P]
{Q : Type u_4} [inst_7 : AddCommMonoid Q] [inst_8 : Module R Q] (f : M →ₚₗ[R] N) (g : N →ₚₗ[R] P) (h : P →ₚₗ[R] Q),
h.comp (g.comp f) = (h.comp g).comp f
theorem PolynomialLaw.comp_id E1 #
∀ {R : Type u} [inst : CommSemiring R] {N : Type u_2} [inst_1 : AddCommMonoid N] [inst_2 : Module R N] {P : Type u_3}
[inst_3 : AddCommMonoid P] [inst_4 : Module R P] (g : N →ₚₗ[R] P), g.comp PolynomialLaw.id = g
theorem PolynomialLaw.id_comp E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N), PolynomialLaw.id.comp f = f
def PolynomialLaw.lifts E1 #
(R : Type u) →
[inst : CommSemiring R] →
(M : Type u_1) → [inst_1 : AddCommMonoid M] → [Module R M] → Type v → Type (max (max u_1 u) v)
The type of lifts of S ⊗[R] M to a polynomial ring.
def PolynomialLaw.φ E1 #
(R : Type u) →
[inst : CommSemiring R] →
{S : Type v} →
[inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → (s : Finset S) → MvPolynomial (Fin s.card) R →ₐ[R] S
The lift of f.toFun to the type lifts
theorem PolynomialLaw.range_φ E1 #
∀ (R : Type u) [inst : CommSemiring R] {S : Type v} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (s : Finset S),
(PolynomialLaw.φ R s).range = Algebra.adjoin R ↑s
def PolynomialLaw.π E1 #
(R : Type u) →
[inst : CommSemiring R] →
(M : Type u_1) →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
(S : Type v) →
[inst_3 : CommSemiring S] → [inst_4 : Algebra R S] → PolynomialLaw.lifts R M S → TensorProduct R S M
The projection from φ to S ⊗[R] M.
def PolynomialLaw.toFunLifted E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
(S : Type v) →
[inst_5 : CommSemiring S] →
[inst_6 : Algebra R S] → (M →ₚₗ[R] N) → PolynomialLaw.lifts R M S → TensorProduct R S N
The auxiliary lift of PolynomialLaw.toFun' on PolynomialLaw.lifts
def PolynomialLaw.toFun E1 #
{R : Type u} →
[inst : CommSemiring R] →
{M : Type u_1} →
[inst_1 : AddCommMonoid M] →
[inst_2 : Module R M] →
{N : Type u_2} →
[inst_3 : AddCommMonoid N] →
[inst_4 : Module R N] →
(S : Type v) →
[inst_5 : CommSemiring S] →
[inst_6 : Algebra R S] → (M →ₚₗ[R] N) → TensorProduct R S M → TensorProduct R S N
The extension of PolynomialLaw.toFun' to all universes.
theorem PolynomialLaw.exists_range_φ_eq_of_fg E1 #
∀ {R : Type u} [inst : CommSemiring R] {S : Type v} [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
{B : Subalgebra R S}, B.FG → ∃ s, (PolynomialLaw.φ R s).range = B
theorem PolynomialLaw.toFun'_eq_of_diagram E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type v} [inst_5 : CommSemiring S] [inst_6 : Algebra R S]
(f : M →ₚₗ[R] N) {A : Type u} [inst_7 : CommSemiring A] [inst_8 : Algebra R A] {φ : A →ₐ[R] S}
(p : TensorProduct R A M) {T : Type w} [inst_9 : CommSemiring T] [inst_10 : Algebra R T] {B : Type u}
[inst_11 : CommSemiring B] [inst_12 : Algebra R B] {ψ : B →ₐ[R] T} (q : TensorProduct R B M) (h : S →ₐ[R] T)
(h' : ↥φ.range →ₐ[R] ↥ψ.range),
ψ.range.val.comp h' = h.comp φ.range.val →
(LinearMap.rTensor M (h'.comp φ.rangeRestrict).toLinearMap) p =
(LinearMap.rTensor M ψ.rangeRestrict.toLinearMap) q →
(LinearMap.rTensor N (h.comp φ).toLinearMap) (f.toFun' A p) = (LinearMap.rTensor N ψ.toLinearMap) (f.toFun' B q)
Compare the values of PolynomialLaw.toFun' in a square diagram
theorem PolynomialLaw.toFun'_eq_of_inclusion E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type v} [inst_5 : CommSemiring S] [inst_6 : Algebra R S]
(f : M →ₚₗ[R] N) {A : Type u} [inst_7 : CommSemiring A] [inst_8 : Algebra R A] {φ : A →ₐ[R] S}
(p : TensorProduct R A M) {B : Type u} [inst_9 : CommSemiring B] [inst_10 : Algebra R B] (q : TensorProduct R B M)
{ψ : B →ₐ[R] S} (h : φ.range ≤ ψ.range),
(LinearMap.rTensor M ((Subalgebra.inclusion h).comp φ.rangeRestrict).toLinearMap) p =
(LinearMap.rTensor M ψ.rangeRestrict.toLinearMap) q →
(LinearMap.rTensor N φ.toLinearMap) (f.toFun' A p) = (LinearMap.rTensor N ψ.toLinearMap) (f.toFun' B q)
Compare the values of PolynomialLaw.toFun' in a square diagram,
when one of the maps is a subalgebra inclusion.
theorem PolynomialLaw.factorsThrough_toFunLifted_π E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type v} [inst_5 : CommSemiring S] [inst_6 : Algebra R S]
(f : M →ₚₗ[R] N), Function.FactorsThrough (PolynomialLaw.toFunLifted S f) (PolynomialLaw.π R M S)
theorem PolynomialLaw.toFun_eq_rTensor_φ_toFun' E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type v} [inst_5 : CommSemiring S] [inst_6 : Algebra R S]
(f : M →ₚₗ[R] N) {t : TensorProduct R S M} {s : Finset S} {p : TensorProduct R (MvPolynomial (Fin s.card) R) M},
PolynomialLaw.π R M S ⟨s, p⟩ = t →
PolynomialLaw.toFun S f t =
(LinearMap.rTensor N (PolynomialLaw.φ R s).toLinearMap) (f.toFun' (MvPolynomial (Fin s.card) R) p)
theorem PolynomialLaw.exists_lift_of_mem_range_rTensor E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type v}
[inst_3 : CommSemiring S] [inst_4 : Algebra R S] {T : Type u_3} [inst_5 : CommSemiring T] [inst_6 : Algebra R T]
(A : Subalgebra R T) {φ : S →ₐ[R] T},
A ≤ φ.range →
∀ {t : TensorProduct R T M},
t ∈ (LinearMap.rTensor M A.val.toLinearMap).range → ∃ s, (LinearMap.rTensor M φ.toLinearMap) s = t
theorem PolynomialLaw.π_surjective E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type v}
[inst_3 : CommSemiring S] [inst_4 : Algebra R S], Function.Surjective (PolynomialLaw.π R M S)
Tensor products in S ⊗[R] M can be lifted to some
MvPolynomial R n ⊗[R] M, for a finite n.
theorem PolynomialLaw.exists_lift E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type v}
[inst_3 : CommSemiring S] [inst_4 : Algebra R S] (t : TensorProduct R S M),
∃ n ψ p, (LinearMap.rTensor M ψ.toLinearMap) p = t
Lift an element of a tensor product
theorem PolynomialLaw.exists_lift' E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Type v}
[inst_3 : CommSemiring S] [inst_4 : Algebra R S] (t : TensorProduct R S M) (s : S),
∃ n ψ p q, (LinearMap.rTensor M ψ.toLinearMap) p = t ∧ ψ q = s
Lift an element of a tensor product and a scalar
theorem PolynomialLaw.toFun'_eq_toFun E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N) (S : Type u) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], f.toFun' S = PolynomialLaw.toFun S f
For semirings in the universe u, PolynomialLaw.toFun coincides
with PolynomialLaw.toFun'.
theorem PolynomialLaw.isCompat_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type v} [inst_5 : CommSemiring S] [inst_6 : Algebra R S]
(f : M →ₚₗ[R] N) {T : Type w} [inst_7 : CommSemiring T] [inst_8 : Algebra R T] (h : S →ₐ[R] T)
(t : TensorProduct R S M),
(LinearMap.rTensor N h.toLinearMap) (PolynomialLaw.toFun S f t) =
PolynomialLaw.toFun T f ((LinearMap.rTensor M h.toLinearMap) t)
Extends PolynomialLaw.isCompat_apply' to all universes.
theorem PolynomialLaw.isCompat E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_1} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_2}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type v} [inst_5 : CommSemiring S] [inst_6 : Algebra R S]
(f : M →ₚₗ[R] N) {T : Type w} [inst_7 : CommSemiring T] [inst_8 : Algebra R T] (h : S →ₐ[R] T),
⇑(LinearMap.rTensor N h.toLinearMap) ∘ PolynomialLaw.toFun S f =
PolynomialLaw.toFun T f ∘ ⇑(LinearMap.rTensor M h.toLinearMap)
Extends PolynomialLaw.isCompat to all universes
theorem PolynomialLaw.toFun_zero E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {S : Type u_5} [inst_5 : CommSemiring S] [inst_6 : Algebra R S],
PolynomialLaw.toFun S 0 = 0
Extension of PolynomialLaw.zero_def
theorem PolynomialLaw.toFun_add_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f g : M →ₚₗ[R] N) {S : Type u_5} [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] (t : TensorProduct R S M),
PolynomialLaw.toFun S (f + g) t = PolynomialLaw.toFun S f t + PolynomialLaw.toFun S g t
Extension of PolynomialLaw.add_def_apply
theorem PolynomialLaw.toFun_add E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f g : M →ₚₗ[R] N) {S : Type u_5} [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], PolynomialLaw.toFun S (f + g) = PolynomialLaw.toFun S f + PolynomialLaw.toFun S g
Extension of PolynomialLaw.add_def
theorem PolynomialLaw.toFun_neg E0 #
∀ {R : Type u} [inst : CommRing R] {M : Type u_6} [inst_1 : AddCommGroup M] [inst_2 : Module R M] {N : Type u_7}
[inst_3 : AddCommGroup N] [inst_4 : Module R N] (f : M →ₚₗ[R] N) (S : Type u_8) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], PolynomialLaw.toFun S (-f) = -1 • PolynomialLaw.toFun S f
theorem PolynomialLaw.toFun_smul E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (r : R) (f : M →ₚₗ[R] N) (S : Type u_5) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S], PolynomialLaw.toFun S (r • f) = r • PolynomialLaw.toFun S f
Extension of PolynomialLaw.smul_def
theorem PolynomialLaw.one_tmul_ground E1 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₚₗ[R] N) (S : Type u_5) [inst_5 : CommSemiring S]
[inst_6 : Algebra R S] (x : M), 1 ⊗ₜ[R] f.ground x = PolynomialLaw.toFun S f (1 ⊗ₜ[R] x)
theorem PolynomialLaw.toFun_comp E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {P : Type u_5} [inst_5 : AddCommMonoid P] [inst_6 : Module R P]
(f : M →ₚₗ[R] N) (g : N →ₚₗ[R] P) (S : Type u_7) [inst_7 : CommSemiring S] [inst_8 : Algebra R S],
PolynomialLaw.toFun S (g.comp f) = PolynomialLaw.toFun S g ∘ PolynomialLaw.toFun S f
Extension of MvPolynomial.comp_toFun'
theorem PolynomialLaw.toFun_comp_apply E0 #
∀ {R : Type u} [inst : CommSemiring R] {M : Type u_3} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_4}
[inst_3 : AddCommMonoid N] [inst_4 : Module R N] {P : Type u_5} [inst_5 : AddCommMonoid P] [inst_6 : Module R P]
(f : M →ₚₗ[R] N) (g : N →ₚₗ[R] P) (S : Type u_7) [inst_7 : CommSemiring S] [inst_8 : Algebra R S]
(m : TensorProduct R S M), PolynomialLaw.toFun S (g.comp f) m = PolynomialLaw.toFun S g (PolynomialLaw.toFun S f m)