The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.MvPowerSeries.Substitution

99 declarations. Mathlib docs · Source

Substitutions in multivariate power series

Here we define the substitution of power series into other power series. We follow [Bourbaki, Algebra II, chap. 4, §4, n° 3][bourbaki1981] who present substitution of power series as an application of evaluation.

For an R-algebra S, f : MvPowerSeries σ R and a : σ → MvPowerSeries τ S, MvPowerSeries.subst a f is the substitution of X s by a s in f. It is only well defined under one of the two following conditions:

  • f is a polynomial, in which case it is the classical evaluation;
  • or the condition MvPowerSeries.HasSubst a holds, which means:
    • For every s, the constant coefficient of a s is nilpotent;
    • For every d : σ →₀ ℕ, all but finitely many of the coefficients (a s).coeff d vanish.

In the other cases, it is defined as 0 (dummy value).

When HasSubst a, MvPowerSeries.subst a gives rise to an algebra homomorphism MvPowerSeries.substAlgHom ha : MvPowerSeries σ R →ₐ[R] MvPowerSeries τ S.

We also define MvPowerSeries.rescale which rescales a multivariate power series f : MvPowerSeries σ R by a map a : σ → R and show its relation with substitution (under CommRing R). To stay in line with PowerSeries.rescale, this is defined by hand for commutative semirings.

Implementation notes

Evaluation of a power series at adequate elements has been defined in Mathlib/RingTheory/MvPowerSeries/Evaluation.lean. The goal here is to check the relevant hypotheses:

  • The ring of coefficients is endowed the discrete topology.
  • The main condition rewrites as having nilpotent constant coefficient
  • Multivariate power series have a linear topology

The function MvPowerSeries.subst is defined using an explicit invocation of the discrete uniformity (⊥). If users need to enter the API, they can use MvPowerSeries.subst_eq_eval₂ and similar lemmas that hold for whatever uniformity on the space as soon as it is discrete.

TODO

  • MvPowerSeries.IsNilpotent_subst asserts that the constant coefficient of a legit substitution is nilpotent; prove that the converse holds when the kernel of algebraMap R S is a nil ideal.

theorem MvPowerSeries.substAlgHom.congr_simp E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a a_1 : σ → MvPowerSeries τ S} (e_a : a = a_1) (ha : MvPowerSeries.HasSubst a),
  MvPowerSeries.substAlgHom ha = MvPowerSeries.substAlgHom ⋯

structure MvPowerSeries.HasSubst E1 #

{σ : Type u_1} → {τ : Type u_4} → {S : Type u_5} → [CommRing S] → (σ → MvPowerSeries τ S) → Prop

Families of power series which can be substituted

theorem MvPowerSeries.hasSubst_def E0 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] (a : σ → MvPowerSeries τ S),
  MvPowerSeries.HasSubst a ↔
    (∀ (s : σ), IsNilpotent (MvPowerSeries.constantCoeff (a s))) ∧
      ∀ (d : τ →₀ ℕ), {s | (MvPowerSeries.coeff d) (a s) ≠ 0}.Finite

ctor MvPowerSeries.HasSubst.mk E0 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S},
  (∀ (s : σ), IsNilpotent (MvPowerSeries.constantCoeff (a s))) →
    (∀ (d : τ →₀ ℕ), {s | (MvPowerSeries.coeff d) (a s) ≠ 0}.Finite) → MvPowerSeries.HasSubst a

theorem MvPowerSeries.HasSubst.const_coeff E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → ∀ (s : σ), IsNilpotent (MvPowerSeries.constantCoeff (a s))

theorem MvPowerSeries.HasSubst.coeff_zero E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → ∀ (d : τ →₀ ℕ), {s | (MvPowerSeries.coeff d) (a s) ≠ 0}.Finite

theorem MvPowerSeries.coeff_zero_iff E0 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S}
  [inst_1 : TopologicalSpace S] [DiscreteTopology S],
  Filter.Tendsto a Filter.cofinite (nhds 0) ↔ ∀ (d : τ →₀ ℕ), {s | (MvPowerSeries.coeff d) (a s) ≠ 0}.Finite

theorem MvPowerSeries.hasSubst_iff_hasEval_of_discreteTopology E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S}
  [inst_1 : TopologicalSpace S] [DiscreteTopology S], MvPowerSeries.HasSubst a ↔ MvPowerSeries.HasEval a

A multivariate power series can be substituted if and only if it can be evaluated when the topology on the coefficients ring is the discrete topology.

theorem MvPowerSeries.HasSubst.hasEval E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S}
  [inst_1 : TopologicalSpace S], MvPowerSeries.HasSubst a → MvPowerSeries.HasEval a

theorem MvPowerSeries.HasSubst.zero E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S], MvPowerSeries.HasSubst fun x ↦ 0

theorem MvPowerSeries.HasSubst.add E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a b : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst b → MvPowerSeries.HasSubst (a + b)

theorem MvPowerSeries.HasSubst.mul_left E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] (b : σ → MvPowerSeries τ S)
  {a : σ → MvPowerSeries τ S}, MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst (b * a)

theorem MvPowerSeries.HasSubst.mul_right E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] (b : σ → MvPowerSeries τ S)
  {a : σ → MvPowerSeries τ S}, MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst (a * b)

theorem MvPowerSeries.HasSubst.smul E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] (r : MvPowerSeries τ S) {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst (r • a)

theorem MvPowerSeries.HasSubst.X E1 #

∀ {σ : Type u_1} {S : Type u_5} [inst : CommRing S], MvPowerSeries.HasSubst fun s ↦ MvPowerSeries.X s

theorem MvPowerSeries.HasSubst.map E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  {a : σ → MvPowerSeries τ R},
  MvPowerSeries.HasSubst a → ∀ (h : R →+* S), MvPowerSeries.HasSubst fun i ↦ (MvPowerSeries.map h) (a i)

theorem MvPowerSeries.HasSubst.smul_X E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] (a : σ → R), MvPowerSeries.HasSubst (a • MvPowerSeries.X)

theorem MvPowerSeries.HasSubst.sumElim E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {γ : Type u_6} {a : σ → MvPowerSeries γ R}
  {b : τ → MvPowerSeries γ R},
  MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst b → MvPowerSeries.HasSubst (Sum.elim a b)

theorem MvPowerSeries.HasSubst.uncurry E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {γ : Type u_6} [Finite γ]
  {a : γ → σ → MvPowerSeries τ R},
  (∀ (k : γ), MvPowerSeries.HasSubst (a k)) → MvPowerSeries.HasSubst (Function.uncurry a)

Stacking finitely many substitutable families gives a substitutable family.

theorem MvPowerSeries.HasSubst.pair E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {x y : σ → MvPowerSeries τ R},
  MvPowerSeries.HasSubst x → MvPowerSeries.HasSubst y → MvPowerSeries.HasSubst (Function.uncurry ![x, y])

Two substitutable families combine to a substitutable family indexed by Fin 2 × σ.

def MvPowerSeries.hasSubstIdeal E1 #

{σ : Type u_1} → {τ : Type u_4} → {S : Type u_5} → [inst : CommRing S] → Ideal (σ → MvPowerSeries τ S)

Families of MvPowerSeries that can be substituted, as an Ideal

theorem MvPowerSeries.HasSubst.sub E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a b : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst b → MvPowerSeries.HasSubst (a - b)

theorem MvPowerSeries.HasSubst.neg E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst (-a)

theorem MvPowerSeries.hasSubst_of_constantCoeff_nilpotent E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] [Finite σ] {a : σ → MvPowerSeries τ S},
  (∀ (s : σ), IsNilpotent (MvPowerSeries.constantCoeff (a s))) → MvPowerSeries.HasSubst a

If σ is finite, then the nilpotent condition is enough for HasSubst

theorem MvPowerSeries.hasSubst_of_constantCoeff_zero E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] [Finite σ] {a : σ → MvPowerSeries τ S},
  (∀ (s : σ), MvPowerSeries.constantCoeff (a s) = 0) → MvPowerSeries.HasSubst a

If σ is finite, then having zero constant coefficient is enough for HasSubst

theorem MvPowerSeries.HasSubst.X_X E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {i j : σ},
  MvPowerSeries.HasSubst ![MvPowerSeries.X i, MvPowerSeries.X j]

theorem MvPowerSeries.HasSubst.X_zero E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {i : σ}, MvPowerSeries.HasSubst ![MvPowerSeries.X i, 0]

theorem MvPowerSeries.HasSubst.zero_X E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {i : σ}, MvPowerSeries.HasSubst ![0, MvPowerSeries.X i]

theorem MvPowerSeries.HasSubst.pow E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {n : ℕ},
  n ≠ 0 → ∀ {a : σ → MvPowerSeries τ S}, MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst (a ^ n)

theorem MvPowerSeries.HasSubst.X_pow E1 #

∀ {σ : Type u_1} {S : Type u_5} [inst : CommRing S] {n : ℕ},
  n ≠ 0 → MvPowerSeries.HasSubst fun s ↦ MvPowerSeries.X s ^ n

theorem MvPowerSeries.HasSubst.truncTotal E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S} {x : σ → ℕ}
  [inst_1 : Finite τ],
  MvPowerSeries.HasSubst a → MvPowerSeries.HasSubst fun i ↦ ↑((MvPowerSeries.truncTotal (x i)) (a i))

def MvPowerSeries.subst E1 #

{σ : Type u_1} →
  {R : Type u_3} →
    [inst : CommRing R] →
      {τ : Type u_4} →
        {S : Type u_5} →
          [inst_1 : CommRing S] → [Algebra R S] → (σ → MvPowerSeries τ S) → MvPowerSeries σ R → MvPowerSeries τ S

Substitution of power series into a power series

It coincides with evaluation when f is a polynomial, or under HasSubst a. Otherwise, it is given the dummy value 0.

theorem MvPowerSeries.subst_eq_eval₂ E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] [inst_3 : UniformSpace R] [DiscreteUniformity R] [inst_5 : UniformSpace S]
  [DiscreteUniformity S], MvPowerSeries.subst = MvPowerSeries.eval₂ (algebraMap R (MvPowerSeries τ S))

theorem MvPowerSeries.subst_coe E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (p : MvPolynomial σ R),
  MvPowerSeries.subst a ↑p = (MvPolynomial.aeval a) p

def MvPowerSeries.substAlgHom E1 #

{σ : Type u_1} →
  {R : Type u_3} →
    [inst : CommRing R] →
      {τ : Type u_4} →
        {S : Type u_5} →
          [inst_1 : CommRing S] →
            [inst_2 : Algebra R S] →
              {a : σ → MvPowerSeries τ S} → MvPowerSeries.HasSubst a → MvPowerSeries σ R →ₐ[R] MvPowerSeries τ S

For HasSubst a, MvPowerSeries.subst is an algebra morphism.

theorem MvPowerSeries.substAlgHom_eq_aeval E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} [inst_3 : UniformSpace R] [inst_4 : DiscreteUniformity R]
  [inst_5 : UniformSpace S] [inst_6 : DiscreteUniformity S] (ha : MvPowerSeries.HasSubst a),
  ⇑(MvPowerSeries.substAlgHom ha) = ⇑(MvPowerSeries.aeval ⋯)

Rewrite MvPowerSeries.substAlgHom as MvPowerSeries.aeval.

Its use is discouraged because it introduces a topology and might lead into awkward comparisons.

theorem MvPowerSeries.coe_substAlgHom E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (ha : MvPowerSeries.HasSubst a),
  ⇑(MvPowerSeries.substAlgHom ha) = MvPowerSeries.subst a

theorem MvPowerSeries.subst_self E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R], MvPowerSeries.subst MvPowerSeries.X = id

theorem MvPowerSeries.substAlgHom_apply E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (ha : MvPowerSeries.HasSubst a) (f : MvPowerSeries σ R),
  (MvPowerSeries.substAlgHom ha) f = MvPowerSeries.subst a f

theorem MvPowerSeries.subst_add E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f g : MvPowerSeries σ R), MvPowerSeries.subst a (f + g) = MvPowerSeries.subst a f + MvPowerSeries.subst a g

theorem MvPowerSeries.subst_sub E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f g : MvPowerSeries σ R), MvPowerSeries.subst a (f - g) = MvPowerSeries.subst a f - MvPowerSeries.subst a g

theorem MvPowerSeries.subst_mul E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f g : MvPowerSeries σ R), MvPowerSeries.subst a (f * g) = MvPowerSeries.subst a f * MvPowerSeries.subst a g

theorem MvPowerSeries.subst_pow E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f : MvPowerSeries σ R) (n : ℕ), MvPowerSeries.subst a (f ^ n) = MvPowerSeries.subst a f ^ n

theorem MvPowerSeries.subst_smul E1 #

∀ {σ : Type u_1} {A : Type u_2} [inst : CommSemiring A] {R : Type u_3} [inst_1 : CommRing R] [inst_2 : Algebra A R]
  {τ : Type u_4} {S : Type u_5} [inst_3 : CommRing S] [inst_4 : Algebra A S] [inst_5 : Algebra R S]
  [IsScalarTower A R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (r : A) (f : MvPowerSeries σ R), MvPowerSeries.subst a (r • f) = r • MvPowerSeries.subst a f

theorem MvPowerSeries.substAlgHom_coe E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (ha : MvPowerSeries.HasSubst a) (p : MvPolynomial σ R),
  (MvPowerSeries.substAlgHom ha) ↑p = (MvPolynomial.aeval a) p

theorem MvPowerSeries.substAlgHom_X E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (ha : MvPowerSeries.HasSubst a) (s : σ),
  (MvPowerSeries.substAlgHom ha) (MvPowerSeries.X s) = a s

theorem MvPowerSeries.substAlgHom_monomial E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (ha : MvPowerSeries.HasSubst a) (e : σ →₀ ℕ) (r : R),
  (MvPowerSeries.substAlgHom ha) ((MvPowerSeries.monomial e) r) =
    (algebraMap R (MvPowerSeries τ S)) r * e.prod fun s n ↦ a s ^ n

theorem MvPowerSeries.subst_C E0 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S} (r : S),
  MvPowerSeries.subst a (MvPowerSeries.C r) = MvPowerSeries.C r

theorem MvPowerSeries.subst_X E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → ∀ (s : σ), MvPowerSeries.subst a (MvPowerSeries.X s) = a s

theorem MvPowerSeries.subst_monomial E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (e : σ →₀ ℕ) (r : R),
      MvPowerSeries.subst a ((MvPowerSeries.monomial e) r) =
        (algebraMap R (MvPowerSeries τ S)) r * e.prod fun s n ↦ a s ^ n

theorem MvPowerSeries.continuous_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ [inst_3 : UniformSpace R] [DiscreteUniformity R] [inst_5 : UniformSpace S] [DiscreteUniformity S],
      Continuous (MvPowerSeries.subst a)

theorem MvPowerSeries.coeff_subst_finite E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f : MvPowerSeries σ R) (e : τ →₀ ℕ),
      Function.HasFiniteSupport fun d ↦ (MvPowerSeries.coeff d) f • (MvPowerSeries.coeff e) (d.prod fun s e ↦ a s ^ e)

theorem MvPowerSeries.coeff_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f : MvPowerSeries σ R) (e : τ →₀ ℕ),
      (MvPowerSeries.coeff e) (MvPowerSeries.subst a f) =
        ∑ᶠ (d : σ →₀ ℕ), (MvPowerSeries.coeff d) f • (MvPowerSeries.coeff e) (d.prod fun s e ↦ a s ^ e)

theorem MvPowerSeries.constantCoeff_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ (f : MvPowerSeries σ R),
      MvPowerSeries.constantCoeff (MvPowerSeries.subst a f) =
        ∑ᶠ (d : σ →₀ ℕ), (MvPowerSeries.coeff d) f • MvPowerSeries.constantCoeff (d.prod fun s e ↦ a s ^ e)

theorem MvPowerSeries.constantCoeff_subst_eq_zero E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
      ∀ {f : MvPowerSeries σ R},
        MvPowerSeries.constantCoeff f = 0 → MvPowerSeries.constantCoeff (MvPowerSeries.subst a f) = 0

theorem MvPowerSeries.map_algebraMap_eq_subst_X E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {S : Type u_5} [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (f : MvPowerSeries σ R), (MvPowerSeries.map (algebraMap R S)) f = MvPowerSeries.subst MvPowerSeries.X f

theorem MvPowerSeries.map_subst E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  {a : σ → MvPowerSeries τ R},
  MvPowerSeries.HasSubst a →
    ∀ {h : R →+* S} (f : MvPowerSeries σ R),
      (MvPowerSeries.map h) (MvPowerSeries.subst a f) =
        MvPowerSeries.subst (fun i ↦ (MvPowerSeries.map h) (a i)) ((MvPowerSeries.map h) f)

theorem MvPowerSeries.subst_zero_eq_C_constantCoeff E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {f : MvPowerSeries σ R},
  MvPowerSeries.subst 0 f = (MvPowerSeries.map (algebraMap R S)) (MvPowerSeries.C (MvPowerSeries.constantCoeff f))

theorem MvPowerSeries.subst_zero_of_constantCoeff_zero E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {f : MvPowerSeries σ R}, MvPowerSeries.constantCoeff f = 0 → MvPowerSeries.subst 0 f = 0

theorem MvPowerSeries.HasSubst.cons_subst_zero_left E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {f : MvPowerSeries (Fin 2) R} (i j k : σ),
  MvPowerSeries.constantCoeff f = 0 →
    MvPowerSeries.HasSubst ![MvPowerSeries.subst ![MvPowerSeries.X i, MvPowerSeries.X j] f, MvPowerSeries.X k]

theorem MvPowerSeries.HasSubst.cons_subst_zero_right E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {f : MvPowerSeries (Fin 2) R} (i j k : σ),
  MvPowerSeries.constantCoeff f = 0 →
    MvPowerSeries.HasSubst ![MvPowerSeries.X i, MvPowerSeries.subst ![MvPowerSeries.X j, MvPowerSeries.X k] f]

theorem MvPowerSeries.comp_substAlgHom E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {T : Type u_6} [inst_3 : CommRing T] [inst_4 : UniformSpace T]
  [inst_5 : T2Space T] [inst_6 : CompleteSpace T] [inst_7 : IsUniformAddGroup T] [inst_8 : IsTopologicalRing T]
  [inst_9 : IsLinearTopology T T] [inst_10 : Algebra R T] {ε : MvPowerSeries τ S →ₐ[R] T} [inst_11 : UniformSpace R]
  [inst_12 : DiscreteUniformity R] [inst_13 : UniformSpace S] [DiscreteUniformity S] (ha : MvPowerSeries.HasSubst a)
  (hε : Continuous ⇑ε), ε.comp (MvPowerSeries.substAlgHom ha) = MvPowerSeries.aeval ⋯

theorem MvPowerSeries.comp_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {T : Type u_6} [inst_3 : CommRing T] [inst_4 : UniformSpace T]
  [inst_5 : T2Space T] [inst_6 : CompleteSpace T] [inst_7 : IsUniformAddGroup T] [inst_8 : IsTopologicalRing T]
  [inst_9 : IsLinearTopology T T] [inst_10 : Algebra R T] {ε : MvPowerSeries τ S →ₐ[R] T} [inst_11 : UniformSpace R]
  [inst_12 : DiscreteUniformity R] [inst_13 : UniformSpace S] [DiscreteUniformity S] (ha : MvPowerSeries.HasSubst a)
  (hε : Continuous ⇑ε), ⇑ε ∘ MvPowerSeries.subst a = ⇑(MvPowerSeries.aeval ⋯)

theorem MvPowerSeries.comp_subst_apply E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {T : Type u_6} [inst_3 : CommRing T] [inst_4 : UniformSpace T]
  [inst_5 : T2Space T] [inst_6 : CompleteSpace T] [inst_7 : IsUniformAddGroup T] [inst_8 : IsTopologicalRing T]
  [inst_9 : IsLinearTopology T T] [inst_10 : Algebra R T] {ε : MvPowerSeries τ S →ₐ[R] T} [inst_11 : UniformSpace R]
  [inst_12 : DiscreteUniformity R] [inst_13 : UniformSpace S] [DiscreteUniformity S] (ha : MvPowerSeries.HasSubst a)
  (hε : Continuous ⇑ε) (f : MvPowerSeries σ R), ε (MvPowerSeries.subst a f) = (MvPowerSeries.aeval ⋯) f

theorem MvPowerSeries.eval₂_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {T : Type u_6} [inst_3 : CommRing T] [inst_4 : UniformSpace T]
  [T2Space T] [CompleteSpace T] [IsUniformAddGroup T] [IsTopologicalRing T] [IsLinearTopology T T]
  [inst_10 : Algebra R T] [inst_11 : Algebra S T] [IsScalarTower R S T] [inst_13 : UniformSpace R]
  [DiscreteUniformity R] [inst_15 : UniformSpace S] [DiscreteUniformity S],
  MvPowerSeries.HasSubst a →
    ∀ {b : τ → T},
      MvPowerSeries.HasEval b →
        ∀ (f : MvPowerSeries σ R),
          MvPowerSeries.eval₂ (algebraMap S T) b (MvPowerSeries.subst a f) =
            MvPowerSeries.eval₂ (algebraMap R T) (fun s ↦ MvPowerSeries.eval₂ (algebraMap S T) b (a s)) f

theorem MvPowerSeries.IsNilpotent_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a →
    ∀ {f : MvPowerSeries σ R},
      IsNilpotent (MvPowerSeries.constantCoeff f) → IsNilpotent (MvPowerSeries.constantCoeff (MvPowerSeries.subst a f))

theorem MvPowerSeries.IsNilpotent_substAlgHom E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (ha : MvPowerSeries.HasSubst a) {f : MvPowerSeries σ R},
  IsNilpotent (MvPowerSeries.constantCoeff f) →
    IsNilpotent (MvPowerSeries.constantCoeff ((MvPowerSeries.substAlgHom ha) f))

theorem MvPowerSeries.HasSubst.comp E1 #

∀ {σ : Type u_1} {τ : Type u_4} {S : Type u_5} [inst : CommRing S] {a : σ → MvPowerSeries τ S} {υ : Type u_7}
  {T : Type u_8} [inst_1 : CommRing T] [inst_2 : Algebra S T] {b : τ → MvPowerSeries υ T},
  MvPowerSeries.HasSubst a →
    ∀ (hb : MvPowerSeries.HasSubst b), MvPowerSeries.HasSubst fun s ↦ (MvPowerSeries.substAlgHom hb) (a s)

theorem MvPowerSeries.substAlgHom_comp_substAlgHom E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {υ : Type u_7} {T : Type u_8} [inst_3 : CommRing T]
  [inst_4 : Algebra R T] [inst_5 : Algebra S T] [inst_6 : IsScalarTower R S T] {b : τ → MvPowerSeries υ T}
  (ha : MvPowerSeries.HasSubst a) (hb : MvPowerSeries.HasSubst b),
  (AlgHom.restrictScalars R (MvPowerSeries.substAlgHom hb)).comp (MvPowerSeries.substAlgHom ha) =
    MvPowerSeries.substAlgHom ⋯

theorem MvPowerSeries.substAlgHom_comp_substAlgHom_apply E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {υ : Type u_7} {T : Type u_8} [inst_3 : CommRing T]
  [inst_4 : Algebra R T] [inst_5 : Algebra S T] [IsScalarTower R S T] {b : τ → MvPowerSeries υ T}
  (ha : MvPowerSeries.HasSubst a) (hb : MvPowerSeries.HasSubst b) (f : MvPowerSeries σ R),
  (MvPowerSeries.substAlgHom hb) ((MvPowerSeries.substAlgHom ha) f) = (MvPowerSeries.substAlgHom ⋯) f

theorem MvPowerSeries.subst_comp_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {υ : Type u_7} {T : Type u_8} [inst_3 : CommRing T]
  [inst_4 : Algebra R T] [inst_5 : Algebra S T] [IsScalarTower R S T] {b : τ → MvPowerSeries υ T},
  MvPowerSeries.HasSubst a →
    MvPowerSeries.HasSubst b →
      MvPowerSeries.subst b ∘ MvPowerSeries.subst a = MvPowerSeries.subst fun s ↦ MvPowerSeries.subst b (a s)

theorem MvPowerSeries.subst_comp_subst_apply E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {υ : Type u_7} {T : Type u_8} [inst_3 : CommRing T]
  [inst_4 : Algebra R T] [inst_5 : Algebra S T] [IsScalarTower R S T] {b : τ → MvPowerSeries υ T},
  MvPowerSeries.HasSubst a →
    MvPowerSeries.HasSubst b →
      ∀ (f : MvPowerSeries σ R),
        MvPowerSeries.subst b (MvPowerSeries.subst a f) = MvPowerSeries.subst (fun s ↦ MvPowerSeries.subst b (a s)) f

theorem MvPowerSeries.le_weightedOrder_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (w : τ → ℕ),
  MvPowerSeries.HasSubst a →
    ∀ (f : MvPowerSeries σ R),
      ⨅ d, ⨅ (_ : (MvPowerSeries.coeff d) f ≠ 0), (Finsupp.weight (MvPowerSeries.weightedOrder w ∘ a)) d ≤
        MvPowerSeries.weightedOrder w (MvPowerSeries.subst a f)

theorem MvPowerSeries.le_weightedOrder_subst_of_forall_ne_zero E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} (w : τ → ℕ),
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), a i ≠ 0) →
      ∀ (f : MvPowerSeries σ R),
        MvPowerSeries.weightedOrder (ENat.toNat ∘ MvPowerSeries.weightedOrder w ∘ a) f ≤
          MvPowerSeries.weightedOrder w (MvPowerSeries.subst a f)

theorem MvPowerSeries.le_order_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S},
  MvPowerSeries.HasSubst a → ∀ (f : MvPowerSeries σ R), (⨅ i, (a i).order) * f.order ≤ (MvPowerSeries.subst a f).order

theorem MvPowerSeries.truncTotal_subst_eq_truncTotal_subst_truncTotal_of_le E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {x : σ → ℕ} {k : ℕ},
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), k ≤ x i) →
      (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
        (MvPowerSeries.truncTotal k) (MvPowerSeries.subst (fun i ↦ ↑((MvPowerSeries.truncTotal (x i)) (a i))) f)

theorem MvPowerSeries.truncTotal_subst_eq_truncTotal_subst_sum E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {k : ℕ},
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
      (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
        (MvPowerSeries.truncTotal k)
          (MvPowerSeries.subst a (∑ i ∈ Finset.range k, (MvPowerSeries.homogeneousComponent i) f))

theorem MvPowerSeries.truncTotal_subst_eq_truncTotal_sum_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {k : ℕ},
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
      (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
        (MvPowerSeries.truncTotal k)
          (∑ i ∈ Finset.range k, MvPowerSeries.subst a ((MvPowerSeries.homogeneousComponent i) f))

theorem MvPowerSeries.truncTotal_subst_eq_truncTotal_truncTotal_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {k : ℕ}
  [inst_4 : Finite σ],
  (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
    (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
      (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a ↑((MvPowerSeries.truncTotal k) f))

theorem MvPowerSeries.truncTotal_subst_eq_truncTotal_sum_subst_truncTotal_of_le E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {x : σ → ℕ} {k : ℕ},
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
      (∀ (i : σ), k ≤ x i) →
        (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
          (MvPowerSeries.truncTotal k)
            (∑ i ∈ Finset.range k,
              MvPowerSeries.subst (fun i ↦ ↑((MvPowerSeries.truncTotal (x i)) (a i)))
                ((MvPowerSeries.homogeneousComponent i) f))

theorem MvPowerSeries.truncTotal_subst_of_le E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {x : σ → ℕ} {k : ℕ}
  [inst_4 : Finite σ],
  (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
    (∀ (i : σ), k ≤ x i) →
      (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
        (MvPowerSeries.truncTotal k)
          (MvPowerSeries.subst (fun i ↦ ↑((MvPowerSeries.truncTotal (x i)) (a i))) ↑((MvPowerSeries.truncTotal k) f))

theorem MvPowerSeries.truncTotal_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {k : ℕ}
  [inst_4 : Finite σ],
  (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
    (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
      (MvPowerSeries.truncTotal k)
        (MvPowerSeries.subst (fun i ↦ ↑((MvPowerSeries.truncTotal k) (a i))) ↑((MvPowerSeries.truncTotal k) f))

theorem MvPowerSeries.truncTotal_subst_eq_truncTotal_sum_subst_truncTotal E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {f : MvPowerSeries σ R} [inst_3 : Finite τ] {k : ℕ},
  MvPowerSeries.HasSubst a →
    (∀ (i : σ), MvPowerSeries.constantCoeff (a i) = 0) →
      (MvPowerSeries.truncTotal k) (MvPowerSeries.subst a f) =
        (MvPowerSeries.truncTotal k)
          (∑ i ∈ Finset.range k,
            MvPowerSeries.subst (fun i ↦ ↑((MvPowerSeries.truncTotal k) (a i)))
              ((MvPowerSeries.homogeneousComponent i) f))

def MvPowerSeries.rescale E1 #

{σ : Type u_1} → {R : Type u_9} → [inst : CommSemiring R] → (σ → R) → MvPowerSeries σ R →+* MvPowerSeries σ R

The ring homomorphism taking a multivariate power series f(X) to f(aX).

theorem MvPowerSeries.coeff_rescale E0 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R] (f : MvPowerSeries σ R) (a : σ → R) (n : σ →₀ ℕ),
  (MvPowerSeries.coeff n) ((MvPowerSeries.rescale a) f) = (n.prod fun s m ↦ a s ^ m) * (MvPowerSeries.coeff n) f

theorem MvPowerSeries.rescale_zero E0 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R],
  MvPowerSeries.rescale 0 = MvPowerSeries.C.comp MvPowerSeries.constantCoeff

theorem MvPowerSeries.rescale_zero_apply E0 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R] (f : MvPowerSeries σ R),
  (MvPowerSeries.rescale 0) f = MvPowerSeries.C (MvPowerSeries.constantCoeff f)

theorem MvPowerSeries.rescale_one E0 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R], MvPowerSeries.rescale 1 = RingHom.id (MvPowerSeries σ R)

theorem MvPowerSeries.rescale_rescale E1 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R] (f : MvPowerSeries σ R) (a b : σ → R),
  (MvPowerSeries.rescale b) ((MvPowerSeries.rescale a) f) = (MvPowerSeries.rescale (a * b)) f

theorem MvPowerSeries.rescale_mul E1 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R] (a b : σ → R),
  MvPowerSeries.rescale (a * b) = (MvPowerSeries.rescale b).comp (MvPowerSeries.rescale a)

theorem MvPowerSeries.rescale_homogeneous_eq_smul E1 #

∀ {σ : Type u_1} {R : Type u_9} [inst : CommSemiring R] {n : ℕ} {r : R} {f : MvPowerSeries σ R},
  (∀ d ∈ Function.support f, Finsupp.degree d = n) → (MvPowerSeries.rescale (Function.const σ r)) f = r ^ n • f

Rescaling a homogeneous power series

def MvPowerSeries.rescaleMonoidHom E1 #

{σ : Type u_1} → {R : Type u_9} → [inst : CommSemiring R] → (σ → R) →* MvPowerSeries σ R →+* MvPowerSeries σ R

Rescale a multivariate power series, as a MonoidHom in the scaling parameters.

theorem MvPowerSeries.rescale_eq_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] (a : σ → R) (f : MvPowerSeries σ R),
  (MvPowerSeries.rescale a) f = MvPowerSeries.subst (a • MvPowerSeries.X) f

def MvPowerSeries.rescaleAlgHom E1 #

{σ : Type u_1} → {R : Type u_3} → [inst : CommRing R] → (σ → R) → MvPowerSeries σ R →ₐ[R] MvPowerSeries σ R

Rescale a multivariate power series, as an AlgHom in the scaling parameters, by multiplying each variable x by the value a x.

theorem MvPowerSeries.rescaleAlgHom_apply E0 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] (a : σ → R) (f : MvPowerSeries σ R),
  (MvPowerSeries.rescaleAlgHom a) f = (MvPowerSeries.rescale a) f

theorem MvPowerSeries.rescaleAlgHom_mul E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] (a b : σ → R),
  MvPowerSeries.rescaleAlgHom (a * b) = (MvPowerSeries.rescaleAlgHom b).comp (MvPowerSeries.rescaleAlgHom a)

theorem MvPowerSeries.rescaleAlgHom_one E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R], MvPowerSeries.rescaleAlgHom 1 = AlgHom.id R (MvPowerSeries σ R)

theorem MvPowerSeries.subst_tsum E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {x : ℕ → MvPowerSeries σ R} [inst_3 : UniformSpace R]
  [DiscreteUniformity R] [inst_5 : UniformSpace S] [DiscreteUniformity S],
  Summable x →
    MvPowerSeries.HasSubst a → MvPowerSeries.subst a (∑' (i : ℕ), x i) = ∑' (i : ℕ), MvPowerSeries.subst a (x i)

theorem MvPowerSeries.summable_subst E1 #

∀ {σ : Type u_1} {R : Type u_3} [inst : CommRing R] {τ : Type u_4} {S : Type u_5} [inst_1 : CommRing S]
  [inst_2 : Algebra R S] {a : σ → MvPowerSeries τ S} {x : ℕ → MvPowerSeries σ R} [inst_3 : UniformSpace R]
  [DiscreteUniformity R] [inst_5 : UniformSpace S] [DiscreteUniformity S],
  Summable x → MvPowerSeries.HasSubst a → Summable fun i ↦ MvPowerSeries.subst a (x i)