The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.Polynomial.Module.Basic
84 declarations and 1 deprecated aliases. Mathlib docs · Source
Polynomial module
In this file, we define the polynomial module for an R-module M, i.e. the R[X]-module M[X].
This is defined as a type alias PolynomialModule R M := ℕ →₀ M, since there might be different
module structures on ℕ →₀ M of interest. See the docstring of PolynomialModule for details.
theorem PolynomialModule.ofCoeff.inj E1 #
∀ {R : Type u_1} {M : Type u_2} {inst : CommRing R} {inst_1 : AddCommGroup M} {inst_2 : Module R M}
{coeff coeff_1 : ℕ →₀ M}, { coeff := coeff } = { coeff := coeff_1 } → coeff = coeff_1
theorem PolynomialModule.ofCoeff.injEq E0 #
∀ (R : Type u_1) {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(coeff coeff_1 : ℕ →₀ M), ({ coeff := coeff } = { coeff := coeff_1 }) = (coeff = coeff_1)
def PolynomialModule.ctorIdx E1 #
{R : Type u_1} →
{M : Type u_2} → {inst : CommRing R} → {inst_1 : AddCommGroup M} → {inst_2 : Module R M} → PolynomialModule R M → ℕ
structure PolynomialModule E1 #
(R : Type u_1) → (M : Type u_2) → [inst : CommRing R] → [inst_1 : AddCommGroup M] → [Module R M] → Type u_2
The R[X]-module M[X] for an R-module M.
This is isomorphic (as an R-module) to M[X] when M is a ring.
We require all the module instances Module S (PolynomialModule R M) to factor through R except
Module R[X] (PolynomialModule R M).
In this constraint, we have the following instances for example :
Racts onPolynomialModule R R[X]R[X]acts onPolynomialModule R R[X]asR[Y]acting onR[X][Y]Racts onPolynomialModule R[X] R[X]R[X]acts onPolynomialModule R[X] R[X]asR[X]acting onR[X][Y]R[X][X]acts onPolynomialModule R[X] R[X]asR[X][Y]acting on itself
This is also the reason why R is included in the alias, or else there will be two different
instances of Module R[X] (PolynomialModule R[X]).
See https://leanprover.zulipchat.com/#narrow/stream/144837-PR-reviews/topic/.2315065.20polynomial.20modules for the full discussion.
ctor PolynomialModule.ofCoeff E0 #
(R : Type u_1) →
{M : Type u_2} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → (ℕ →₀ M) → PolynomialModule R M
Construct an element of the polynomial module M[[]] from its coefficients ℕ →₀ M.
abbrev PolynomialModule.coeff E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → PolynomialModule R M → ℕ →₀ M
The coefficients ℕ →₀ M of an element of the additive monoid algebra M[X].
theorem PolynomialModule.coeff_ofCoeff E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (x : ℕ →₀ M),
{ coeff := x }.coeff = x
theorem PolynomialModule.ofCoeff_coeff E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(x : PolynomialModule R M), { coeff := x.coeff } = x
def PolynomialModule.coeffEquiv E1 #
(R : Type u_2) →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → PolynomialModule R M ≃ (ℕ →₀ M)
PolynomialModule.coeff as an equiv.
theorem PolynomialModule.coeffEquiv_symm_apply E0 #
∀ (R : Type u_2) {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (coeff : ℕ →₀ M),
(PolynomialModule.coeffEquiv R).symm coeff = { coeff := coeff }
theorem PolynomialModule.coeffEquiv_apply E0 #
∀ (R : Type u_2) {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(self : PolynomialModule R M), (PolynomialModule.coeffEquiv R) self = self.coeff
theorem PolynomialModule.forall E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{P : PolynomialModule R M → Prop}, (∀ (p : PolynomialModule R M), P p) ↔ ∀ (q : ℕ →₀ M), P { coeff := q }
theorem PolynomialModule.exists E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{P : PolynomialModule R M → Prop}, (∃ p, P p) ↔ ∃ q, P { coeff := q }
theorem PolynomialModule.coeff_injective E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
Function.Injective PolynomialModule.coeff
theorem PolynomialModule.ofCoeff_injective E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
Function.Injective (PolynomialModule.ofCoeff R)
theorem PolynomialModule.coeff_inj E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{x y : PolynomialModule R M}, x.coeff = y.coeff ↔ x = y
theorem PolynomialModule.ofCoeff_inj E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x y : ℕ →₀ M},
{ coeff := x } = { coeff := y } ↔ x = y
theorem PolynomialModule.ext E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{x y : PolynomialModule R M}, x.coeff = y.coeff → x = y
Alias of the forward direction of PolynomialModule.coeff_inj.
theorem PolynomialModule.ext_iff E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{x y : PolynomialModule R M}, x = y ↔ x.coeff = y.coeff
instance PolynomialModule.instInhabited E0 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → Inhabited (PolynomialModule R M)
instance PolynomialModule.instNontrivial E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Nontrivial M],
Nontrivial (PolynomialModule R M)
instance PolynomialModule.instUnique E0 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] → [inst_2 : Module R M] → [Subsingleton M] → Unique (PolynomialModule R M)
instance PolynomialModule.instDecidableEq E0 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] → [inst_2 : Module R M] → [DecidableEq M] → DecidableEq (PolynomialModule R M)
instance PolynomialModule.instAddCommGroup E0 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → AddCommGroup (PolynomialModule R M)
def PolynomialModule.coeffAddEquiv E1 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → PolynomialModule R M ≃+ (ℕ →₀ M)
PolynomialModule.coeff as an AddEquiv.
theorem PolynomialModule.coeffAddEquiv_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(self : PolynomialModule R M), PolynomialModule.coeffAddEquiv self = self.coeff
theorem PolynomialModule.coeffAddEquiv_symm_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (coeff : ℕ →₀ M),
PolynomialModule.coeffAddEquiv.symm coeff = { coeff := coeff }
theorem PolynomialModule.coeff_zero E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M],
PolynomialModule.coeff 0 = 0
theorem PolynomialModule.ofCoeff_zero E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M], { coeff := 0 } = 0
theorem PolynomialModule.coeff_eq_zero E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{x : PolynomialModule R M}, x.coeff = 0 ↔ x = 0
theorem PolynomialModule.ofCoeff_eq_zero E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {x : ℕ →₀ M},
{ coeff := x } = 0 ↔ x = 0
theorem PolynomialModule.coeff_add E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(x y : PolynomialModule R M), (x + y).coeff = x.coeff + y.coeff
theorem PolynomialModule.ofCoeff_add E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (x y : ℕ →₀ M),
{ coeff := x + y } = { coeff := x } + { coeff := y }
theorem PolynomialModule.coeff_sum E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(s : Finset ι) (f : ι → PolynomialModule R M), (∑ i ∈ s, f i).coeff = ∑ i ∈ s, (f i).coeff
theorem PolynomialModule.ofCoeff_sum E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(s : Finset ι) (f : ι → ℕ →₀ M), { coeff := ∑ i ∈ s, f i } = ∑ i ∈ s, { coeff := f i }
theorem PolynomialModule.coeff_finsuppSum E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : CommRing R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] [inst_3 : AddCommMonoid N] (f : ι →₀ N) (g : ι → N → PolynomialModule R M),
(f.sum g).coeff = f.sum fun i n ↦ (g i n).coeff
theorem PolynomialModule.ofCoeff_finsuppSum E0 #
∀ {ι : Type u_1} {R : Type u_2} {M : Type u_3} {N : Type u_4} [inst : CommRing R] [inst_1 : AddCommGroup M]
[inst_2 : Module R M] [inst_3 : AddCommMonoid N] (f : ι →₀ N) (g : ι → N → ℕ →₀ M),
{ coeff := f.sum g } = f.sum fun i n ↦ { coeff := g i n }
def PolynomialModule.single E1 #
(R : Type u_2) →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → ℕ → M → PolynomialModule R M
MonoidAlgebra.single n m for m : M, r : R is the element rm : PolynomialModule R M.
theorem PolynomialModule.coeff_single E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (n : ℕ) (m : M),
(PolynomialModule.single R n m).coeff = fun₀ | n => m
theorem PolynomialModule.ofCoeff_single E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (n : ℕ) (m : M),
{ coeff := fun₀ | n => m } = PolynomialModule.single R n m
theorem PolynomialModule.single_zero E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (n : ℕ),
PolynomialModule.single R n 0 = 0
theorem PolynomialModule.single_add E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (n : ℕ) (m₁ m₂ : M),
PolynomialModule.single R n (m₁ + m₂) = PolynomialModule.single R n m₁ + PolynomialModule.single R n m₂
instance PolynomialModule.instModule E0 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{S : Type u_5} → [inst_3 : CommSemiring S] → [Module S M] → Module S (PolynomialModule R M)
This is required to have the IsScalarTower S R M instance to avoid diamonds.
instance PolynomialModule.instIsScalarTower E0 #
∀ {R : Type u_2} [inst : CommRing R] {S : Type u_5} [inst_1 : CommSemiring S] [inst_2 : Algebra S R] (M : Type u)
[inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : Module S M] [IsScalarTower S R M],
IsScalarTower S R (PolynomialModule R M)
def PolynomialModule.coeffLinearEquiv E1 #
(R : Type u_2) →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
(S : Type u_5) → [inst_3 : CommSemiring S] → [inst_4 : Module S M] → PolynomialModule R M ≃ₗ[S] ℕ →₀ M
PolynomialModule.coeff as a linear equiv.
theorem PolynomialModule.coeffLinearEquiv_apply E0 #
∀ (R : Type u_2) {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (S : Type u_5)
[inst_3 : CommSemiring S] [inst_4 : Module S M] (a : PolynomialModule R M),
(PolynomialModule.coeffLinearEquiv R S) a = a.coeff
theorem PolynomialModule.coeffLinearEquiv_symm_apply E0 #
∀ (R : Type u_2) {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (S : Type u_5)
[inst_3 : CommSemiring S] [inst_4 : Module S M] (a : ℕ →₀ M),
(PolynomialModule.coeffLinearEquiv R S).symm a = { coeff := a }
def PolynomialModule.lsingle E1 #
(R : Type u_2) →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → ℕ → M →ₗ[R] PolynomialModule R M
PolynomialModule.single as a linear map.
theorem PolynomialModule.lsingle_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (i : ℕ) (m : M)
(n : ℕ), ((PolynomialModule.lsingle R i) m).coeff n = if i = n then m else 0
theorem PolynomialModule.single_smul E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (i : ℕ) (r : R)
(m : M), PolynomialModule.single R i (r • m) = r • PolynomialModule.single R i m
theorem PolynomialModule.induction_linear E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{p : PolynomialModule R M → Prop} (x : PolynomialModule R M),
p 0 →
(∀ (x y : PolynomialModule R M), p x → p y → p (x + y)) →
(∀ (n : ℕ) (m : M), p (PolynomialModule.single R n m)) → p x
instance PolynomialModule.polynomialModule E0 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] → [inst_2 : Module R M] → Module (Polynomial R) (PolynomialModule R M)
theorem PolynomialModule.smul_def E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : Polynomial R)
(m : PolynomialModule R M),
f • m =
((Polynomial.aeval
(↑(PolynomialModule.coeffLinearEquiv R R).symm ∘ₗ
Finsupp.lmapDomain M R Nat.succ ∘ₗ ↑(PolynomialModule.coeffLinearEquiv R R)))
f)
m
instance PolynomialModule.isScalarTower' E0 #
∀ {R : Type u_2} [inst : CommRing R] {S : Type u_5} [inst_1 : CommSemiring S] [inst_2 : Algebra S R] (M : Type u)
[inst_3 : AddCommGroup M] [inst_4 : Module R M] [inst_5 : Module S M] [IsScalarTower S R M],
IsScalarTower S (Polynomial R) (PolynomialModule R M)
theorem PolynomialModule.monomial_smul_single E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (i : ℕ) (r : R)
(j : ℕ) (m : M), (Polynomial.monomial i) r • PolynomialModule.single R j m = PolynomialModule.single R (i + j) (r • m)
theorem PolynomialModule.monomial_smul_lsingle E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (i : ℕ) (r : R)
(j : ℕ) (m : M),
(Polynomial.monomial i) r • (PolynomialModule.lsingle R j) m = (PolynomialModule.lsingle R (i + j)) (r • m)
theorem PolynomialModule.monomial_smul_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (i : ℕ) (r : R)
(g : PolynomialModule R M) (n : ℕ), ((Polynomial.monomial i) r • g).coeff n = if i ≤ n then r • g.coeff (n - i) else 0
theorem PolynomialModule.smul_single_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (i : ℕ)
(f : Polynomial R) (m : M) (n : ℕ),
(f • PolynomialModule.single R i m).coeff n = if i ≤ n then f.coeff (n - i) • m else 0
theorem PolynomialModule.smul_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : Polynomial R)
(g : PolynomialModule R M) (n : ℕ),
(f • g).coeff n = ∑ x ∈ Finset.HasAntidiagonal.antidiagonal n, f.coeff x.1 • g.coeff x.2
def PolynomialModule.equivPolynomialSelf E1 #
{R : Type u_2} → [inst : CommRing R] → PolynomialModule R R ≃ₗ[Polynomial R] Polynomial R
PolynomialModule R R is isomorphic to R[X] as an R[X] module.
def PolynomialModule.equivPolynomial E1 #
{R : Type u_2} →
[inst : CommRing R] →
{S : Type u_6} → [inst_1 : CommRing S] → [inst_2 : Algebra R S] → PolynomialModule R S ≃ₗ[R] Polynomial S
PolynomialModule R S is isomorphic to S[X] as an R module.
theorem PolynomialModule.equivPolynomialSelf_apply_eq E0 #
∀ {R : Type u_2} [inst : CommRing R] (p : PolynomialModule R R),
PolynomialModule.equivPolynomialSelf p = PolynomialModule.equivPolynomial p
theorem PolynomialModule.equivPolynomial_single E0 #
∀ {R : Type u_2} [inst : CommRing R] {S : Type u_6} [inst_1 : CommRing S] [inst_2 : Algebra R S] (n : ℕ) (x : S),
PolynomialModule.equivPolynomial (PolynomialModule.single R n x) = (Polynomial.monomial n) x
theorem PolynomialModule.equivPolynomial_symm_monomial E0 #
∀ {R : Type u_2} [inst : CommRing R] {S : Type u_6} [inst_1 : CommRing S] [inst_2 : Algebra R S] (n : ℕ) (x : S),
PolynomialModule.equivPolynomial.symm ((Polynomial.monomial n) x) = PolynomialModule.single R n x
theorem PolynomialModule.equivPolynomial_symm_one E0 #
∀ {R : Type u_2} [inst : CommRing R] {S : Type u_6} [inst_1 : CommRing S] [inst_2 : Algebra R S],
PolynomialModule.equivPolynomial.symm 1 = PolynomialModule.single R 0 1
theorem PolynomialModule.hom_ext E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {M' : Type u_7}
[inst_3 : AddCommGroup M'] [inst_4 : Module R M'] {f g : PolynomialModule R M →ₗ[R] M'},
(∀ (a : ℕ), f ∘ₗ PolynomialModule.lsingle R a = g ∘ₗ PolynomialModule.lsingle R a) → f = g
Two R-linear maps from PolynomialModule R M which are equal
after pre-composition with every lsingle R a are equal.
theorem PolynomialModule.hom_ext_iff E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] {M' : Type u_7}
[inst_3 : AddCommGroup M'] [inst_4 : Module R M'] {f g : PolynomialModule R M →ₗ[R] M'},
f = g ↔ ∀ (a : ℕ), f ∘ₗ PolynomialModule.lsingle R a = g ∘ₗ PolynomialModule.lsingle R a
def PolynomialModule.map E1 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
(R' : Type u_6) →
{M' : Type u_7} →
[inst_3 : CommRing R'] →
[inst_4 : AddCommGroup M'] →
[inst_5 : Module R' M'] →
[inst_6 : Module R M'] → (M →ₗ[R] M') → PolynomialModule R M →ₗ[R] PolynomialModule R' M'
The image of a polynomial under a linear map.
theorem PolynomialModule.map_single E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (R' : Type u_6)
{M' : Type u_7} [inst_3 : CommRing R'] [inst_4 : AddCommGroup M'] [inst_5 : Module R' M'] [inst_6 : Module R M']
(f : M →ₗ[R] M') (i : ℕ) (m : M),
(PolynomialModule.map R' f) (PolynomialModule.single R i m) = PolynomialModule.single R' i (f m)
theorem PolynomialModule.map_lsingle E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (R' : Type u_6)
{M' : Type u_7} [inst_3 : CommRing R'] [inst_4 : AddCommGroup M'] [inst_5 : Module R' M'] [inst_6 : Module R M']
(f : M →ₗ[R] M') (i : ℕ) (m : M),
(PolynomialModule.map R' f) ((PolynomialModule.lsingle R i) m) = (PolynomialModule.lsingle R' i) (f m)
theorem PolynomialModule.map_smul E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (R' : Type u_6)
{M' : Type u_7} [inst_3 : CommRing R'] [inst_4 : AddCommGroup M'] [inst_5 : Module R' M'] [inst_6 : Module R M']
[inst_7 : Algebra R R'] [IsScalarTower R R' M'] (f : M →ₗ[R] M') (p : Polynomial R) (q : PolynomialModule R M),
(PolynomialModule.map R' f) (p • q) = Polynomial.map (algebraMap R R') p • (PolynomialModule.map R' f) q
def PolynomialModule.eval E1 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] → [inst_1 : AddCommGroup M] → [inst_2 : Module R M] → R → PolynomialModule R M →ₗ[R] M
Evaluate a polynomial p : PolynomialModule R M at r : R.
theorem PolynomialModule.eval_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (r : R)
(p : PolynomialModule R M), (PolynomialModule.eval r) p = p.coeff.sum fun i m ↦ r ^ i • m
theorem PolynomialModule.eval_single E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (r : R) (i : ℕ)
(m : M), (PolynomialModule.eval r) (PolynomialModule.single R i m) = r ^ i • m
theorem PolynomialModule.eval_lsingle E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (r : R) (i : ℕ)
(m : M), (PolynomialModule.eval r) ((PolynomialModule.lsingle R i) m) = r ^ i • m
theorem PolynomialModule.eval_smul E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (p : Polynomial R)
(q : PolynomialModule R M) (r : R),
(PolynomialModule.eval r) (p • q) = Polynomial.eval r p • (PolynomialModule.eval r) q
theorem PolynomialModule.eval_map E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (R' : Type u_6)
{M' : Type u_7} [inst_3 : CommRing R'] [inst_4 : AddCommGroup M'] [inst_5 : Module R' M'] [inst_6 : Module R M']
[inst_7 : Algebra R R'] [IsScalarTower R R' M'] (f : M →ₗ[R] M') (q : PolynomialModule R M) (r : R),
(PolynomialModule.eval ((algebraMap R R') r)) ((PolynomialModule.map R' f) q) = f ((PolynomialModule.eval r) q)
theorem PolynomialModule.eval_map' E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (f : M →ₗ[R] M)
(q : PolynomialModule R M) (r : R),
(PolynomialModule.eval r) ((PolynomialModule.map R f) q) = f ((PolynomialModule.eval r) q)
theorem PolynomialModule.aeval_equivPolynomial E0 #
∀ {R : Type u_2} [inst : CommRing R] {S : Type u_8} [inst_1 : CommRing S] [inst_2 : Algebra S R]
(f : PolynomialModule S S) (x : R),
(Polynomial.aeval x) (PolynomialModule.equivPolynomial f) =
(PolynomialModule.eval x) ((PolynomialModule.map R (Algebra.linearMap S R)) f)
def PolynomialModule.comp E1 #
{R : Type u_2} →
{M : Type u_3} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] → [inst_2 : Module R M] → Polynomial R → PolynomialModule R M →ₗ[R] PolynomialModule R M
comp p q is the composition of p : R[X] and q : M[X] as q(p(x)).
theorem PolynomialModule.comp_apply E0 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (p : Polynomial R)
(x : PolynomialModule R M),
(PolynomialModule.comp p) x =
(PolynomialModule.eval p) ((PolynomialModule.map (Polynomial R) (PolynomialModule.lsingle R 0)) x)
theorem PolynomialModule.comp_single E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (p : Polynomial R)
(i : ℕ) (m : M), (PolynomialModule.comp p) (PolynomialModule.single R i m) = p ^ i • PolynomialModule.single R 0 m
theorem PolynomialModule.comp_eval E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] (p : Polynomial R)
(q : PolynomialModule R M) (r : R),
(PolynomialModule.eval r) ((PolynomialModule.comp p) q) = (PolynomialModule.eval (Polynomial.eval r p)) q
theorem PolynomialModule.comp_smul E1 #
∀ {R : Type u_2} {M : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(p p' : Polynomial R) (q : PolynomialModule R M),
(PolynomialModule.comp p) (p' • q) = p'.comp p • (PolynomialModule.comp p) q
Deprecated aliases
| Name | New name | Since |
|---|---|---|
PolynomialModule.single_apply | PolynomialModule.coeff_single | 2026-06-18 |