The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.Algebra.MvPolynomial.Expand
34 declarations and 2 deprecated aliases. Mathlib docs · Source
Expand multivariate polynomials
Given a multivariate polynomial φ, one may replace every occurrence of X i by X i ^ n,
for some natural number n.
This operation is called MvPolynomial.expand and it is an algebra homomorphism.
Main declaration
MvPolynomial.expand: expand a polynomial by a factor of p, so∑ aₙ xⁿbecomes∑ aₙ xⁿᵖ.
def MvPolynomial.expand E3 #
{σ : Type u_1} → {R : Type u_3} → [inst : CommSemiring R] → ℕ → MvPolynomial σ R →ₐ[R] MvPolynomial σ R
Expand the polynomial by a factor of p, so ∑ aₙ xⁿ becomes ∑ aₙ xⁿᵖ.
See also Polynomial.expand.
theorem MvPolynomial.coe_expand E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ),
⇑(MvPolynomial.expand p) = MvPolynomial.eval₂ MvPolynomial.C ((fun s ↦ MvPolynomial.X s) ^ p)
theorem MvPolynomial.expand_C E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (r : R),
(MvPolynomial.expand p) (MvPolynomial.C r) = MvPolynomial.C r
theorem MvPolynomial.expand_X E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (i : σ),
(MvPolynomial.expand p) (MvPolynomial.X i) = MvPolynomial.X i ^ p
theorem MvPolynomial.expand_monomial E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (d : σ →₀ ℕ) (r : R),
(MvPolynomial.expand p) ((MvPolynomial.monomial d) r) = (MvPolynomial.monomial (p • d)) r
theorem MvPolynomial.expand_zero E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R],
MvPolynomial.expand 0 = (Algebra.ofId R (MvPolynomial σ R)).comp (MvPolynomial.aeval 1)
theorem MvPolynomial.expand_zero_apply E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (f : MvPolynomial σ R),
(MvPolynomial.expand 0) f = MvPolynomial.C ((MvPolynomial.eval 1) f)
theorem MvPolynomial.expand_one E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R], MvPolynomial.expand 1 = AlgHom.id R (MvPolynomial σ R)
theorem MvPolynomial.expand_one_apply E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (f : MvPolynomial σ R), (MvPolynomial.expand 1) f = f
theorem MvPolynomial.expand_mul_eq_comp E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p q : ℕ),
MvPolynomial.expand (p * q) = (MvPolynomial.expand p).comp (MvPolynomial.expand q)
theorem MvPolynomial.expand_mul E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p q : ℕ) (φ : MvPolynomial σ R),
(MvPolynomial.expand (p * q)) φ = (MvPolynomial.expand p) ((MvPolynomial.expand q) φ)
theorem MvPolynomial.coeff_expand_smul E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ),
p ≠ 0 → ∀ (φ : MvPolynomial σ R) (m : σ →₀ ℕ), ((MvPolynomial.expand p) φ).coeff (p • m) = φ.coeff m
theorem MvPolynomial.coeff_expand_zero E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ),
p ≠ 0 → ∀ (φ : MvPolynomial σ R), ((MvPolynomial.expand p) φ).coeff 0 = φ.coeff 0
theorem MvPolynomial.expand_injective E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {n : ℕ}, 0 < n → Function.Injective ⇑(MvPolynomial.expand n)
Expansion is injective.
theorem MvPolynomial.expand_inj E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ},
0 < p → ∀ {f g : MvPolynomial σ R}, (MvPolynomial.expand p) f = (MvPolynomial.expand p) g ↔ f = g
theorem MvPolynomial.expand_eq_zero E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ},
0 < p → ∀ {f : MvPolynomial σ R}, (MvPolynomial.expand p) f = 0 ↔ f = 0
theorem MvPolynomial.expand_ne_zero E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ},
0 < p → ∀ {f : MvPolynomial σ R}, (MvPolynomial.expand p) f ≠ 0 ↔ f ≠ 0
theorem MvPolynomial.expand_eq_C E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ},
0 < p → ∀ {f : MvPolynomial σ R} {r : R}, (MvPolynomial.expand p) f = MvPolynomial.C r ↔ f = MvPolynomial.C r
theorem MvPolynomial.expand_comp_aeval E1 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (f : σ → MvPolynomial τ R),
(MvPolynomial.expand p).comp (MvPolynomial.aeval f) = MvPolynomial.aeval fun i ↦ (MvPolynomial.expand p) (f i)
theorem MvPolynomial.expand_aeval E1 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (f : σ → MvPolynomial τ R)
(φ : MvPolynomial σ R),
(MvPolynomial.expand p) ((MvPolynomial.aeval f) φ) = (MvPolynomial.aeval fun i ↦ (MvPolynomial.expand p) (f i)) φ
theorem MvPolynomial.map_expand E0 #
∀ {σ : Type u_1} {R : Type u_3} {S : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S] (p : ℕ) (f : R →+* S)
(φ : MvPolynomial σ R),
(MvPolynomial.map f) ((MvPolynomial.expand p) φ) = (MvPolynomial.expand p) ((MvPolynomial.map f) φ)
theorem MvPolynomial.rename_comp_expand E0 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (f : σ → τ),
(MvPolynomial.rename f).comp (MvPolynomial.expand p) = (MvPolynomial.expand p).comp (MvPolynomial.rename f)
theorem MvPolynomial.rename_expand E0 #
∀ {σ : Type u_1} {τ : Type u_2} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (f : σ → τ) (φ : MvPolynomial σ R),
(MvPolynomial.rename f) ((MvPolynomial.expand p) φ) = (MvPolynomial.expand p) ((MvPolynomial.rename f) φ)
theorem MvPolynomial.eval₂Hom_comp_expand E1 #
∀ {σ : Type u_1} {R : Type u_3} {S : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S] (p : ℕ) (f : R →+* S)
(g : σ → S), (MvPolynomial.eval₂Hom f g).comp ↑(MvPolynomial.expand p) = MvPolynomial.eval₂Hom f (g ^ p)
theorem MvPolynomial.eval₂_expand E0 #
∀ {σ : Type u_1} {R : Type u_3} {S : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S] (p : ℕ) (f : R →+* S)
(g : σ → S) (φ : MvPolynomial σ R),
MvPolynomial.eval₂ f g ((MvPolynomial.expand p) φ) = MvPolynomial.eval₂ f (g ^ p) φ
theorem MvPolynomial.aeval_comp_expand E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) {A : Type u_5} [inst_1 : CommSemiring A]
[inst_2 : Algebra R A] (f : σ → A), (MvPolynomial.aeval f).comp (MvPolynomial.expand p) = MvPolynomial.aeval (f ^ p)
theorem MvPolynomial.aeval_expand E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) {A : Type u_5} [inst_1 : CommSemiring A]
[inst_2 : Algebra R A] (f : σ → A) (φ : MvPolynomial σ R),
(MvPolynomial.aeval f) ((MvPolynomial.expand p) φ) = (MvPolynomial.aeval (f ^ p)) φ
theorem MvPolynomial.eval_expand E0 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] (p : ℕ) (f : σ → R) (φ : MvPolynomial σ R),
(MvPolynomial.eval f) ((MvPolynomial.expand p) φ) = (MvPolynomial.eval (f ^ p)) φ
theorem MvPolynomial.support_expand_subset E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ} (φ : MvPolynomial σ R) [inst_1 : DecidableEq σ],
((MvPolynomial.expand p) φ).support ⊆ Finset.image (fun x ↦ p • x) φ.support
theorem MvPolynomial.coeff_expand_of_not_dvd E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ} (φ : MvPolynomial σ R) {m : σ →₀ ℕ} {i : σ},
¬p ∣ m i → ((MvPolynomial.expand p) φ).coeff m = 0
theorem MvPolynomial.support_expand E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ} (φ : MvPolynomial σ R) [inst_1 : DecidableEq σ],
p ≠ 0 → ((MvPolynomial.expand p) φ).support = Finset.image (fun x ↦ p • x) φ.support
theorem MvPolynomial.totalDegree_expand E1 #
∀ {σ : Type u_1} {R : Type u_3} [inst : CommSemiring R] {p : ℕ} (f : MvPolynomial σ R),
((MvPolynomial.expand p) f).totalDegree = f.totalDegree * p
theorem MvPolynomial.isLocalHom_expand E1 #
∀ (R : Type u_1) (σ : Type u_2) [inst : CommRing R] {p : ℕ}, p ≠ 0 → IsLocalHom (MvPolynomial.expand p)
theorem MvPolynomial.of_irreducible_expand E1 #
∀ {R : Type u_1} (σ : Type u_2) [inst : CommRing R] {p : ℕ},
p ≠ 0 → ∀ {f : MvPolynomial σ R}, Irreducible ((MvPolynomial.expand p) f) → Irreducible f
Deprecated aliases
| Name | New name | Since |
|---|---|---|
MvPolynomial.expand_bind₁ | MvPolynomial.expand_aeval | 2026-09-02 |
MvPolynomial.expand_comp_bind₁ | MvPolynomial.expand_comp_aeval | 2026-09-02 |