The areas / V17. Differential calculus in normed spaces
Mathlib.Analysis.Analytic.Composition
79 declarations and 2 deprecated aliases. Mathlib docs · Source
Composition of analytic functions
In this file we prove that the composition of analytic functions is analytic.
The argument is the following. Assume g z = ∑' qₙ (z, ..., z) and f y = ∑' pₖ (y, ..., y). Then
g (f y) = ∑' qₙ (∑' pₖ (y, ..., y), ..., ∑' pₖ (y, ..., y)) = ∑' qₙ (p_{i₁} (y, ..., y), ..., p_{iₙ} (y, ..., y)).
For each n and i₁, ..., iₙ, define a i₁ + ... + iₙ multilinear function mapping
(y₀, ..., y_{i₁ + ... + iₙ - 1}) to
qₙ (p_{i₁} (y₀, ..., y_{i₁-1}), p_{i₂} (y_{i₁}, ..., y_{i₁ + i₂ - 1}), ..., p_{iₙ} (....))).
Then g ∘ f is obtained by summing all these multilinear functions.
To formalize this, we use compositions of an integer N, i.e., its decompositions into
a sum i₁ + ... + iₙ of positive integers. Given such a composition c and two formal
multilinear series q and p, let q.compAlongComposition p c be the above multilinear
function. Then the N-th coefficient in the power series expansion of g ∘ f is the sum of these
terms over all c : Composition N.
To complete the proof, we need to show that this power series has a positive radius of convergence.
This follows from the fact that Composition N has cardinality 2^(N-1) and estimates on
the norm of qₙ and pₖ, which give summability. We also need to show that it indeed converges to
g ∘ f. For this, we note that the composition of partial sums converges to g ∘ f, and that it
corresponds to a part of the whole sum, on a subset that increases to the whole space. By
summability of the norms, this implies the overall convergence.
Main results
q.comp pis the formal composition of the formal multilinear seriesqandp.HasFPowerSeriesAt.compstates that if two functionsgandfadmit power series expansionsqandp, theng ∘ fadmits a power series expansion given byq.comp p.AnalyticAt.compstates that the composition of analytic functions is analytic.FormalMultilinearSeries.comp_assocstates that composition is associative on formal multilinear series.
Implementation notes
The main technical difficulty is to write down things. In particular, we need to define precisely
q.compAlongComposition p c and to show that it is indeed a continuous multilinear
function. This requires a whole interface built on the class Composition. Once this is set,
the main difficulty is to reorder the sums, writing the composition of the partial sums as a sum
over some subset of Σ n, Composition n. We need to check that the reordering is a bijection,
running over difficulties due to the dependent nature of the types under consideration, that are
controlled thanks to the interface for Composition.
The associativity of composition on formal multilinear series is a nontrivial result: it does not
follow from the associativity of composition of analytic functions, as there is no uniqueness for
the formal multilinear series representing a function (and also, it holds even when the radius of
convergence of the series is 0). Instead, we give a direct proof, which amounts to reordering
double sums in a careful way. The change of variables is a canonical (combinatorial) bijection
Composition.sigmaEquivSigmaPi between (Σ (a : Composition n), Composition a.length) and
(Σ (c : Composition n), Π (i : Fin c.length), Composition (c.blocksFun i)), and is described
in more details below in the paragraph on associativity.
Composing formal multilinear series
In this paragraph, we define the composition of formal multilinear series, by summing over all
possible compositions of n.
The identity formal power series
We will now define the identity power series, and show that it is a neutral element for left and right composition.
Summability properties of the composition of formal power series
Composing analytic functions
Now, we will prove that the composition of the partial sums of q and p up to order N is
given by a sum over some large subset of Σ n, Composition n of q.compAlongComposition p, to
deduce that the series for q.comp p indeed converges to g ∘ f when q is a power series for
g and p is a power series for f.
This proof is a big reindexing argument of a sum. Since it is a bit involved, we define first
the source of the change of variables (compPartialSumSource), its target
(compPartialSumTarget) and the change of variables itself (compChangeOfVariables) before
giving the main statement in comp_partialSum.
Associativity of the composition of formal multilinear series
In this paragraph, we prove the associativity of the composition of formal power series. By definition,
(r.comp q).comp p n v
= ∑_{i₁ + ... + iₖ = n} (r.comp q)ₖ (p_{i₁} (v₀, ..., v_{i₁ -1}), p_{i₂} (...), ..., p_{iₖ}(...))
= ∑_{a : Composition n} (r.comp q) a.length (applyComposition p a v)
decomposing r.comp q in the same way, we get
(r.comp q).comp p n v
= ∑_{a : Composition n} ∑_{b : Composition a.length}
r b.length (applyComposition q b (applyComposition p a v))
On the other hand,
r.comp (q.comp p) n v = ∑_{c : Composition n} r c.length (applyComposition (q.comp p) c v)
Here, applyComposition (q.comp p) c v is a vector of length c.length, whose i-th term is
given by (q.comp p) (c.blocksFun i) (v_l, v_{l+1}, ..., v_{m-1}) where {l, ..., m-1} is the
i-th block in the composition c, of length c.blocksFun i by definition. To compute this term,
we expand it as ∑_{dᵢ : Composition (c.blocksFun i)} q dᵢ.length (applyComposition p dᵢ v'),
where v' = (v_l, v_{l+1}, ..., v_{m-1}). Therefore, we get
r.comp (q.comp p) n v =
∑_{c : Composition n} ∑_{d₀ : Composition (c.blocksFun 0),
..., d_{c.length - 1} : Composition (c.blocksFun (c.length - 1))}
r c.length (fun i ↦ q dᵢ.length (applyComposition p dᵢ v'ᵢ))
To show that these terms coincide, we need to explain how to reindex the sums to put them in
bijection (and then the terms we are summing will correspond to each other). Suppose we have a
composition a of n, and a composition b of a.length. Then b indicates how to group
together some blocks of a, giving altogether b.length blocks of blocks. These blocks of blocks
can be called d₀, ..., d_{a.length - 1}, and one obtains a composition c of n by saying that
each dᵢ is one single block. Conversely, if one starts from c and the dᵢs, one can concatenate
the dᵢs to obtain a composition a of n, and register the lengths of the dᵢs in a composition
b of a.length.
An example might be enlightening. Suppose a = [2, 2, 3, 4, 2]. It is a composition of
length 5 of 13. The content of the blocks may be represented as 0011222333344.
Now take b = [2, 3] as a composition of a.length = 5. It says that the first 2 blocks of a
should be merged, and the last 3 blocks of a should be merged, giving a new composition of 13
made of two blocks of length 4 and 9, i.e., c = [4, 9]. But one can also remember that
the new first block was initially made of two blocks of size 2, so d₀ = [2, 2], and the new
second block was initially made of three blocks of size 3, 4 and 2, so d₁ = [3, 4, 2].
This equivalence is called Composition.sigmaEquivSigmaPi n below.
We start with preliminary results on compositions, of a very specialized nature, then define the
equivalence Composition.sigmaEquivSigmaPi n, and we deduce finally the associativity of
composition of formal multilinear series in FormalMultilinearSeries.comp_assoc.
theorem FormalMultilinearSeries.compChangeOfVariables.congr_simp E1 #
∀ (m m_1 : ℕ) (e_m : m = m_1) (M M_1 : ℕ) (e_M : M = M_1) (N N_1 : ℕ) (e_N : N = N_1) (i i_1 : (n : ℕ) × (Fin n → ℕ))
(e_i : i = i_1) (hi : i ∈ FormalMultilinearSeries.compPartialSumSource m M N),
FormalMultilinearSeries.compChangeOfVariables m M N i hi =
FormalMultilinearSeries.compChangeOfVariables m_1 M_1 N_1 i_1 ⋯
theorem Composition.blocks.hcongr_2 E1 #
∀ (n n' : ℕ), n = n' → ∀ (self : Composition n) (self' : Composition n'), self ≍ self' → self.blocks ≍ self'.blocks
theorem Composition.blocksFun.hcongr_3 E1 #
∀ (n n' : ℕ),
n = n' →
∀ (c : Composition n) (c' : Composition n'),
c ≍ c' → ∀ (a : Fin c.length) (a' : Fin c'.length), a ≍ a' → c.blocksFun a ≍ c'.blocksFun a'
def FormalMultilinearSeries.applyComposition E1 #
{𝕜 : Type u_1} →
{E : Type u_2} →
{F : Type u_3} →
[inst : CommRing 𝕜] →
[inst_1 : AddCommGroup E] →
[inst_2 : AddCommGroup F] →
[inst_3 : Module 𝕜 E] →
[inst_4 : Module 𝕜 F] →
[inst_5 : TopologicalSpace E] →
[inst_6 : TopologicalSpace F] →
[inst_7 : IsTopologicalAddGroup E] →
[inst_8 : ContinuousConstSMul 𝕜 E] →
[inst_9 : IsTopologicalAddGroup F] →
[inst_10 : ContinuousConstSMul 𝕜 F] →
FormalMultilinearSeries 𝕜 E F →
{n : ℕ} → (c : Composition n) → (Fin n → E) → Fin c.length → F
Given a formal multilinear series p, a composition c of n and the index i of a
block of c, we may define a function on Fin n → E by picking the variables in the i-th block
of n, and applying the corresponding coefficient of p to these variables. This function is
called p.applyComposition c v i for v : Fin n → E and i : Fin c.length.
theorem FormalMultilinearSeries.applyComposition_ones E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E] [inst_2 : AddCommGroup F]
[inst_3 : Module 𝕜 E] [inst_4 : Module 𝕜 F] [inst_5 : TopologicalSpace E] [inst_6 : TopologicalSpace F]
[inst_7 : IsTopologicalAddGroup E] [inst_8 : ContinuousConstSMul 𝕜 E] [inst_9 : IsTopologicalAddGroup F]
[inst_10 : ContinuousConstSMul 𝕜 F] (p : FormalMultilinearSeries 𝕜 E F) (n : ℕ),
p.applyComposition (Composition.ones n) = fun v i ↦ (p 1) fun x ↦ v (Fin.castLE ⋯ i)
theorem FormalMultilinearSeries.applyComposition_single E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E] [inst_2 : AddCommGroup F]
[inst_3 : Module 𝕜 E] [inst_4 : Module 𝕜 F] [inst_5 : TopologicalSpace E] [inst_6 : TopologicalSpace F]
[inst_7 : IsTopologicalAddGroup E] [inst_8 : ContinuousConstSMul 𝕜 E] [inst_9 : IsTopologicalAddGroup F]
[inst_10 : ContinuousConstSMul 𝕜 F] (p : FormalMultilinearSeries 𝕜 E F) {n : ℕ} (hn : 0 < n) (v : Fin n → E),
p.applyComposition (Composition.single n hn) v = fun _j ↦ (p n) v
theorem FormalMultilinearSeries.removeZero_applyComposition E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E] [inst_2 : AddCommGroup F]
[inst_3 : Module 𝕜 E] [inst_4 : Module 𝕜 F] [inst_5 : TopologicalSpace E] [inst_6 : TopologicalSpace F]
[inst_7 : IsTopologicalAddGroup E] [inst_8 : ContinuousConstSMul 𝕜 E] [inst_9 : IsTopologicalAddGroup F]
[inst_10 : ContinuousConstSMul 𝕜 F] (p : FormalMultilinearSeries 𝕜 E F) {n : ℕ} (c : Composition n),
p.removeZero.applyComposition c = p.applyComposition c
theorem FormalMultilinearSeries.applyComposition_update E2 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E] [inst_2 : AddCommGroup F]
[inst_3 : Module 𝕜 E] [inst_4 : Module 𝕜 F] [inst_5 : TopologicalSpace E] [inst_6 : TopologicalSpace F]
[inst_7 : IsTopologicalAddGroup E] [inst_8 : ContinuousConstSMul 𝕜 E] [inst_9 : IsTopologicalAddGroup F]
[inst_10 : ContinuousConstSMul 𝕜 F] (p : FormalMultilinearSeries 𝕜 E F) {n : ℕ} (c : Composition n) (j : Fin n)
(v : Fin n → E) (z : E),
p.applyComposition c (Function.update v j z) =
Function.update (p.applyComposition c v) (c.index j)
((p (c.blocksFun (c.index j))) (Function.update (v ∘ ⇑(c.embedding (c.index j))) (c.invEmbedding j) z))
Technical lemma stating how p.applyComposition commutes with updating variables. This
will be the key point to show that functions constructed from applyComposition retain
multilinearity.
theorem FormalMultilinearSeries.compContinuousLinearMap_applyComposition E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G] {n : ℕ}
(p : FormalMultilinearSeries 𝕜 F G) (f : E →L[𝕜] F) (c : Composition n) (v : Fin n → E),
(p.compContinuousLinearMap f).applyComposition c v = p.applyComposition c (⇑f ∘ v)
theorem FormalMultilinearSeries.applyComposition_apply_prod E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E] [inst_2 : Module 𝕜 E]
[inst_3 : TopologicalSpace E] [inst_4 : IsTopologicalAddGroup E] [inst_5 : ContinuousConstSMul 𝕜 E] {H : Type u_6}
[inst_6 : CommRing H] [inst_7 : Algebra 𝕜 H] [inst_8 : TopologicalSpace H] [inst_9 : IsTopologicalRing H]
(p : FormalMultilinearSeries 𝕜 E H) {n : ℕ} (c : Composition n) (v : Fin n → E),
∏ i, p.applyComposition c v i = ∏ i, (p (c.blocksFun i)) (v ∘ ⇑(c.embedding i))
def ContinuousMultilinearMap.compAlongComposition E1 #
{𝕜 : Type u_1} →
{E : Type u_2} →
{F : Type u_3} →
{G : Type u_4} →
[inst : CommRing 𝕜] →
[inst_1 : AddCommGroup E] →
[inst_2 : AddCommGroup F] →
[inst_3 : AddCommGroup G] →
[inst_4 : Module 𝕜 E] →
[inst_5 : Module 𝕜 F] →
[inst_6 : Module 𝕜 G] →
[inst_7 : TopologicalSpace E] →
[inst_8 : TopologicalSpace F] →
[inst_9 : TopologicalSpace G] →
[inst_10 : IsTopologicalAddGroup E] →
[inst_11 : ContinuousConstSMul 𝕜 E] →
[inst_12 : IsTopologicalAddGroup F] →
[inst_13 : ContinuousConstSMul 𝕜 F] →
{n : ℕ} →
FormalMultilinearSeries 𝕜 E F →
(c : Composition n) → (F [×c.length]→L[𝕜] G) → E [×n]→L[𝕜] G
Given a formal multilinear series p, a composition c of n and a continuous multilinear
map f in c.length variables, one may form a continuous multilinear map in n variables by
applying the right coefficient of p to each block of the composition, and then applying f to
the resulting vector. It is called f.compAlongComposition p c.
theorem ContinuousMultilinearMap.compAlongComposition_apply E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] {n : ℕ} (p : FormalMultilinearSeries 𝕜 E F) (c : Composition n)
(f : F [×c.length]→L[𝕜] G) (v : Fin n → E),
(ContinuousMultilinearMap.compAlongComposition p c f) v = f (p.applyComposition c v)
def FormalMultilinearSeries.compAlongComposition E1 #
{𝕜 : Type u_1} →
{E : Type u_2} →
{F : Type u_3} →
{G : Type u_4} →
[inst : CommRing 𝕜] →
[inst_1 : AddCommGroup E] →
[inst_2 : AddCommGroup F] →
[inst_3 : AddCommGroup G] →
[inst_4 : Module 𝕜 E] →
[inst_5 : Module 𝕜 F] →
[inst_6 : Module 𝕜 G] →
[inst_7 : TopologicalSpace E] →
[inst_8 : TopologicalSpace F] →
[inst_9 : TopologicalSpace G] →
[inst_10 : IsTopologicalAddGroup E] →
[inst_11 : ContinuousConstSMul 𝕜 E] →
[inst_12 : IsTopologicalAddGroup F] →
[inst_13 : ContinuousConstSMul 𝕜 F] →
[inst_14 : IsTopologicalAddGroup G] →
[inst_15 : ContinuousConstSMul 𝕜 G] →
{n : ℕ} →
FormalMultilinearSeries 𝕜 F G →
FormalMultilinearSeries 𝕜 E F → Composition n → E [×n]→L[𝕜] G
Given two formal multilinear series q and p and a composition c of n, one may
form a continuous multilinear map in n variables by applying the right coefficient of p to each
block of the composition, and then applying q c.length to the resulting vector. It is
called q.compAlongComposition p c.
theorem FormalMultilinearSeries.compAlongComposition_apply E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G] {n : ℕ}
(q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F) (c : Composition n) (v : Fin n → E),
(q.compAlongComposition p c) v = (q c.length) (p.applyComposition c v)
def FormalMultilinearSeries.comp E1 #
{𝕜 : Type u_1} →
{E : Type u_2} →
{F : Type u_3} →
{G : Type u_4} →
[inst : CommRing 𝕜] →
[inst_1 : AddCommGroup E] →
[inst_2 : AddCommGroup F] →
[inst_3 : AddCommGroup G] →
[inst_4 : Module 𝕜 E] →
[inst_5 : Module 𝕜 F] →
[inst_6 : Module 𝕜 G] →
[inst_7 : TopologicalSpace E] →
[inst_8 : TopologicalSpace F] →
[inst_9 : TopologicalSpace G] →
[inst_10 : IsTopologicalAddGroup E] →
[inst_11 : ContinuousConstSMul 𝕜 E] →
[inst_12 : IsTopologicalAddGroup F] →
[inst_13 : ContinuousConstSMul 𝕜 F] →
[inst_14 : IsTopologicalAddGroup G] →
[inst_15 : ContinuousConstSMul 𝕜 G] →
FormalMultilinearSeries 𝕜 F G →
FormalMultilinearSeries 𝕜 E F → FormalMultilinearSeries 𝕜 E G
Formal composition of two formal multilinear series. The n-th coefficient in the composition
is defined to be the sum of q.compAlongComposition p c over all compositions of
n. In other words, this term (as a multilinear function applied to v_0, ..., v_{n-1}) is
∑'_{k} ∑'_{i₁ + ... + iₖ = n} qₖ (p_{i_1} (...), ..., p_{i_k} (...)), where one puts all variables
v_0, ..., v_{n-1} in increasing order in the dots.
In general, the composition q ∘ p only makes sense when the constant coefficient of p vanishes.
We give a general formula but which ignores the value of p 0 instead.
theorem FormalMultilinearSeries.comp_coeff_zero E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G]
(q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F) (v : Fin 0 → E) (v' : Fin 0 → F),
(q.comp p 0) v = (q 0) v'
The 0-th coefficient of q.comp p is q 0. Since these maps are multilinear maps in zero
variables, but on different spaces, we cannot state this directly, so we state it when applied to
arbitrary vectors (which have to be the zero vector).
theorem FormalMultilinearSeries.comp_coeff_zero' E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G]
(q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F) (v : Fin 0 → E),
(q.comp p 0) v = (q 0) fun _i ↦ 0
theorem FormalMultilinearSeries.comp_coeff_zero'' E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E] [inst_2 : AddCommGroup F]
[inst_3 : Module 𝕜 E] [inst_4 : Module 𝕜 F] [inst_5 : TopologicalSpace E] [inst_6 : TopologicalSpace F]
[inst_7 : IsTopologicalAddGroup E] [inst_8 : ContinuousConstSMul 𝕜 E] [inst_9 : IsTopologicalAddGroup F]
[inst_10 : ContinuousConstSMul 𝕜 F] (q : FormalMultilinearSeries 𝕜 E F) (p : FormalMultilinearSeries 𝕜 E E),
q.comp p 0 = q 0
The 0-th coefficient of q.comp p is q 0. When p goes from E to E, this can be
expressed as a direct equality
theorem FormalMultilinearSeries.comp_coeff_one E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G]
(q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F) (v : Fin 1 → E),
(q.comp p 1) v = (q 1) fun _i ↦ (p 1) v
The first coefficient of a composition of formal multilinear series is the composition of the first coefficients seen as continuous linear maps.
theorem FormalMultilinearSeries.removeZero_comp_of_pos E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G]
(q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F) {n : ℕ},
0 < n → q.removeZero.comp p n = q.comp p n
Only 0-th coefficient of q.comp p depends on q 0.
theorem FormalMultilinearSeries.comp_removeZero E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : CommRing 𝕜] [inst_1 : AddCommGroup E]
[inst_2 : AddCommGroup F] [inst_3 : AddCommGroup G] [inst_4 : Module 𝕜 E] [inst_5 : Module 𝕜 F] [inst_6 : Module 𝕜 G]
[inst_7 : TopologicalSpace E] [inst_8 : TopologicalSpace F] [inst_9 : TopologicalSpace G]
[inst_10 : IsTopologicalAddGroup E] [inst_11 : ContinuousConstSMul 𝕜 E] [inst_12 : IsTopologicalAddGroup F]
[inst_13 : ContinuousConstSMul 𝕜 F] [inst_14 : IsTopologicalAddGroup G] [inst_15 : ContinuousConstSMul 𝕜 G]
(q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F), q.comp p.removeZero = q.comp p
theorem FormalMultilinearSeries.compAlongComposition_bound E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {n : ℕ} (p : FormalMultilinearSeries 𝕜 E F)
(c : Composition n) (f : F [×c.length]→L[𝕜] G) (v : Fin n → E),
‖(ContinuousMultilinearMap.compAlongComposition p c f) v‖ ≤ (‖f‖ * ∏ i, ‖p (c.blocksFun i)‖) * ∏ i, ‖v i‖
The norm of f.compAlongComposition p c is controlled by the product of
the norms of the relevant bits of f and p.
theorem FormalMultilinearSeries.compAlongComposition_norm E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {n : ℕ} (q : FormalMultilinearSeries 𝕜 F G)
(p : FormalMultilinearSeries 𝕜 E F) (c : Composition n),
‖q.compAlongComposition p c‖ ≤ ‖q c.length‖ * ∏ i, ‖p (c.blocksFun i)‖
The norm of q.compAlongComposition p c is controlled by the product of
the norms of the relevant bits of q and p.
theorem FormalMultilinearSeries.compAlongComposition_nnNorm E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {n : ℕ} (q : FormalMultilinearSeries 𝕜 F G)
(p : FormalMultilinearSeries 𝕜 E F) (c : Composition n),
‖q.compAlongComposition p c‖₊ ≤ ‖q c.length‖₊ * ∏ i, ‖p (c.blocksFun i)‖₊
def FormalMultilinearSeries.id E1 #
(𝕜 : Type u_1) →
(E : Type u_2) →
[inst : NontriviallyNormedField 𝕜] →
[inst_1 : NormedAddCommGroup E] → [inst_2 : NormedSpace 𝕜 E] → E → FormalMultilinearSeries 𝕜 E E
The identity formal multilinear series, with all coefficients equal to 0 except for n = 1
where it is (the continuous multilinear version of) the identity. We allow an arbitrary
constant coefficient x.
theorem FormalMultilinearSeries.id_apply_zero E0 #
∀ (𝕜 : Type u_1) (E : Type u_2) [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] (x : E) (v : Fin 0 → E), (FormalMultilinearSeries.id 𝕜 E x 0) v = x
theorem FormalMultilinearSeries.id_apply_one E0 #
∀ (𝕜 : Type u_1) (E : Type u_2) [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] (x : E) (v : Fin 1 → E), (FormalMultilinearSeries.id 𝕜 E x 1) v = v 0
The first coefficient of id 𝕜 E is the identity.
theorem FormalMultilinearSeries.id_apply_one' E1 #
∀ (𝕜 : Type u_1) (E : Type u_2) [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] (x : E) {n : ℕ} (h : n = 1) (v : Fin n → E),
(FormalMultilinearSeries.id 𝕜 E x n) v = v ⟨0, ⋯⟩
The nth coefficient of id 𝕜 E is the identity when n = 1. We state this in a dependent
way, as it will often appear in this form.
theorem FormalMultilinearSeries.id_apply_of_one_lt E0 #
∀ (𝕜 : Type u_1) (E : Type u_2) [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] (x : E) {n : ℕ}, 1 < n → FormalMultilinearSeries.id 𝕜 E x n = 0
For n ≠ 1, the n-th coefficient of id 𝕜 E is zero, by definition.
theorem FormalMultilinearSeries.comp_id E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
(p : FormalMultilinearSeries 𝕜 E F) (x : E), p.comp (FormalMultilinearSeries.id 𝕜 E x) = p
theorem FormalMultilinearSeries.id_comp E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
(p : FormalMultilinearSeries 𝕜 E F) (v0 : Fin 0 → E), (FormalMultilinearSeries.id 𝕜 F ((p 0) v0)).comp p = p
theorem FormalMultilinearSeries.id_comp' E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} [inst : NontriviallyNormedField 𝕜] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
(p : FormalMultilinearSeries 𝕜 E F) (x : F) (v0 : Fin 0 → E),
x = (p 0) v0 → (FormalMultilinearSeries.id 𝕜 F x).comp p = p
Variant of id_comp in which the zero coefficient is given by an equality hypothesis instead
of a definitional equality. Useful for rewriting or simplifying out in some situations.
theorem FormalMultilinearSeries.comp_summable_nnreal E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] (q : FormalMultilinearSeries 𝕜 F G)
(p : FormalMultilinearSeries 𝕜 E F),
0 < q.radius → 0 < p.radius → ∃ r > 0, Summable fun i ↦ ‖q.compAlongComposition p i.snd‖₊ * r ^ i.fst
If two formal multilinear series have positive radius of convergence, then the terms appearing in the definition of their composition are also summable (when multiplied by a suitable positive geometric term).
theorem FormalMultilinearSeries.le_comp_radius_of_summable E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] (q : FormalMultilinearSeries 𝕜 F G)
(p : FormalMultilinearSeries 𝕜 E F) (r : NNReal),
(Summable fun i ↦ ‖q.compAlongComposition p i.snd‖₊ * r ^ i.fst) → ↑r ≤ (q.comp p).radius
Bounding below the radius of the composition of two formal multilinear series assuming summability over all compositions.
def FormalMultilinearSeries.compPartialSumSource E1 #
ℕ → ℕ → ℕ → Finset ((n : ℕ) × (Fin n → ℕ))
Source set in the change of variables to compute the composition of partial sums of formal
power series.
See also comp_partialSum.
theorem FormalMultilinearSeries.mem_compPartialSumSource_iff E0 #
∀ (m M N : ℕ) (i : (n : ℕ) × (Fin n → ℕ)),
i ∈ FormalMultilinearSeries.compPartialSumSource m M N ↔
(m ≤ i.fst ∧ i.fst < M) ∧ ∀ (a : Fin i.fst), 1 ≤ i.snd a ∧ i.snd a < N
def FormalMultilinearSeries.compChangeOfVariables E1 #
(m M N : ℕ) →
(i : (n : ℕ) × (Fin n → ℕ)) → i ∈ FormalMultilinearSeries.compPartialSumSource m M N → (n : ℕ) × Composition n
Change of variables appearing to compute the composition of partial sums of formal power series
theorem FormalMultilinearSeries.compChangeOfVariables_length E0 #
∀ (m M N : ℕ) {i : (n : ℕ) × (Fin n → ℕ)} (hi : i ∈ FormalMultilinearSeries.compPartialSumSource m M N),
(FormalMultilinearSeries.compChangeOfVariables m M N i hi).snd.length = i.fst
theorem FormalMultilinearSeries.compChangeOfVariables_blocksFun E1 #
∀ (m M N : ℕ) {i : (n : ℕ) × (Fin n → ℕ)} (hi : i ∈ FormalMultilinearSeries.compPartialSumSource m M N) (j : Fin i.fst),
(FormalMultilinearSeries.compChangeOfVariables m M N i hi).snd.blocksFun ⟨↑j, ⋯⟩ = i.snd j
def FormalMultilinearSeries.compPartialSumTargetSet E1 #
ℕ → ℕ → ℕ → Set ((n : ℕ) × Composition n)
Target set in the change of variables to compute the composition of partial sums of formal power series, here given a a set.
theorem FormalMultilinearSeries.compPartialSumTargetSet_image_compPartialSumSource E1 #
∀ (m M N : ℕ),
∀ i ∈ FormalMultilinearSeries.compPartialSumTargetSet m M N,
∃ j,
∃ (hj : j ∈ FormalMultilinearSeries.compPartialSumSource m M N),
FormalMultilinearSeries.compChangeOfVariables m M N j hj = i
def FormalMultilinearSeries.compPartialSumTarget E1 #
ℕ → ℕ → ℕ → Finset ((n : ℕ) × Composition n)
Target set in the change of variables to compute the composition of partial sums of formal
power series, here given a a finset.
See also comp_partialSum.
theorem FormalMultilinearSeries.mem_compPartialSumTarget_iff E0 #
∀ {m M N : ℕ} {a : (n : ℕ) × Composition n},
a ∈ FormalMultilinearSeries.compPartialSumTarget m M N ↔
m ≤ a.snd.length ∧ a.snd.length < M ∧ ∀ (j : Fin a.snd.length), a.snd.blocksFun j < N
theorem FormalMultilinearSeries.compChangeOfVariables_sum E1 #
∀ {α : Type u_6} [inst : AddCommMonoid α] (m M N : ℕ) (f : (n : ℕ) × (Fin n → ℕ) → α) (g : (n : ℕ) × Composition n → α),
(∀ (e : (n : ℕ) × (Fin n → ℕ)) (he : e ∈ FormalMultilinearSeries.compPartialSumSource m M N),
f e = g (FormalMultilinearSeries.compChangeOfVariables m M N e he)) →
∑ e ∈ FormalMultilinearSeries.compPartialSumSource m M N, f e =
∑ e ∈ FormalMultilinearSeries.compPartialSumTarget m M N, g e
compChangeOfVariables m M N is a bijection between compPartialSumSource m M N
and compPartialSumTarget m M N, yielding equal sums for functions that correspond to each
other under the bijection. As compChangeOfVariables m M N is a dependent function, stating
that it is a bijection is not directly possible, but the consequence on sums can be stated
more easily.
theorem FormalMultilinearSeries.compPartialSumTarget_tendsto_prod_atTop E1 #
Filter.Tendsto (fun p ↦ FormalMultilinearSeries.compPartialSumTarget 0 p.1 p.2) Filter.atTop Filter.atTop
The auxiliary set corresponding to the composition of partial sums asymptotically contains all possible compositions.
theorem FormalMultilinearSeries.compPartialSumTarget_tendsto_atTop E1 #
Filter.Tendsto (fun N ↦ FormalMultilinearSeries.compPartialSumTarget 0 N N) Filter.atTop Filter.atTop
The auxiliary set corresponding to the composition of partial sums asymptotically contains all possible compositions.
theorem FormalMultilinearSeries.comp_partialSum E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] (q : FormalMultilinearSeries 𝕜 F G)
(p : FormalMultilinearSeries 𝕜 E F) (M N : ℕ) (z : E),
q.partialSum M (∑ i ∈ Finset.Ico 1 N, (p i) fun _j ↦ z) =
∑ i ∈ FormalMultilinearSeries.compPartialSumTarget 0 M N, (q.compAlongComposition p i.snd) fun _j ↦ z
Composing the partial sums of two multilinear series coincides with the sum over all
compositions in compPartialSumTarget 0 N N. This is precisely the motivation for the
definition of compPartialSumTarget.
theorem HasFPowerSeriesWithinAt.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {q : FormalMultilinearSeries 𝕜 F G}
{p : FormalMultilinearSeries 𝕜 E F} {x : E} {t : Set F} {s : Set E},
HasFPowerSeriesWithinAt g q t (f x) →
HasFPowerSeriesWithinAt f p s x → Set.MapsTo f s t → HasFPowerSeriesWithinAt (g ∘ f) (q.comp p) s x
If two functions g and f have power series q and p respectively at f x and x, within
two sets s and t such that f maps s to t, then g ∘ f admits the power
series q.comp p at x within s.
theorem HasFPowerSeriesAt.comp E3 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {q : FormalMultilinearSeries 𝕜 F G}
{p : FormalMultilinearSeries 𝕜 E F} {x : E},
HasFPowerSeriesAt g q (f x) → HasFPowerSeriesAt f p x → HasFPowerSeriesAt (g ∘ f) (q.comp p) x
If two functions g and f have power series q and p respectively at f x and x,
then g ∘ f admits the power series q.comp p at x.
theorem AnalyticWithinAt.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E} {t : Set F} {s : Set E},
AnalyticWithinAt 𝕜 g t (f x) → AnalyticWithinAt 𝕜 f s x → Set.MapsTo f s t → AnalyticWithinAt 𝕜 (g ∘ f) s x
If two functions g and f are analytic respectively at f x and x, within
two sets s and t such that f maps s to t, then g ∘ f is analytic at x within s.
theorem AnalyticWithinAt.comp_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {y : F} {x : E} {t : Set F}
{s : Set E},
AnalyticWithinAt 𝕜 g t y → AnalyticWithinAt 𝕜 f s x → Set.MapsTo f s t → f x = y → AnalyticWithinAt 𝕜 (g ∘ f) s x
Version of AnalyticWithinAt.comp where point equality is a separate hypothesis.
theorem AnalyticOn.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {f : F → G} {g : E → F} {s : Set F} {t : Set E},
AnalyticOn 𝕜 f s → AnalyticOn 𝕜 g t → Set.MapsTo g t s → AnalyticOn 𝕜 (f ∘ g) t
theorem AnalyticAt.comp E3 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E},
AnalyticAt 𝕜 g (f x) → AnalyticAt 𝕜 f x → AnalyticAt 𝕜 (g ∘ f) x
If two functions g and f are analytic respectively at f x and x, then g ∘ f is
analytic at x.
theorem AnalyticAt.fun_comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E},
AnalyticAt 𝕜 g (f x) → AnalyticAt 𝕜 f x → AnalyticAt 𝕜 (fun x ↦ g (f x)) x
Eta-expanded form of AnalyticAt.comp
If two functions g and f are analytic respectively at f x and x, then g ∘ f is
analytic at x.
theorem AnalyticAt.comp_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {y : F} {x : E},
AnalyticAt 𝕜 g y → AnalyticAt 𝕜 f x → f x = y → AnalyticAt 𝕜 (g ∘ f) x
Version of AnalyticAt.comp where point equality is a separate hypothesis.
theorem AnalyticAt.fun_comp_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {y : F} {x : E},
AnalyticAt 𝕜 g y → AnalyticAt 𝕜 f x → f x = y → AnalyticAt 𝕜 (fun x ↦ g (f x)) x
Eta-expanded form of AnalyticAt.comp_of_eq
Version of AnalyticAt.comp where point equality is a separate hypothesis.
theorem AnalyticAt.comp_analyticWithinAt E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E} {s : Set E},
AnalyticAt 𝕜 g (f x) → AnalyticWithinAt 𝕜 f s x → AnalyticWithinAt 𝕜 (g ∘ f) s x
theorem AnalyticAt.comp_analyticWithinAt_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E} {y : F} {s : Set E},
AnalyticAt 𝕜 g y → AnalyticWithinAt 𝕜 f s x → f x = y → AnalyticWithinAt 𝕜 (g ∘ f) s x
theorem AnalyticOnNhd.comp' E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {s : Set E} {g : F → G} {f : E → F},
AnalyticOnNhd 𝕜 g (f '' s) → AnalyticOnNhd 𝕜 f s → AnalyticOnNhd 𝕜 (g ∘ f) s
If two functions g and f are analytic respectively on s.image f and s, then g ∘ f is
analytic on s.
theorem AnalyticOnNhd.fun_comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {s : Set E} {t : Set F} {g : F → G} {f : E → F},
AnalyticOnNhd 𝕜 g t → AnalyticOnNhd 𝕜 f s → Set.MapsTo f s t → AnalyticOnNhd 𝕜 (fun x ↦ g (f x)) s
Eta-expanded form of AnalyticOnNhd.comp
theorem AnalyticOnNhd.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {s : Set E} {t : Set F} {g : F → G} {f : E → F},
AnalyticOnNhd 𝕜 g t → AnalyticOnNhd 𝕜 f s → Set.MapsTo f s t → AnalyticOnNhd 𝕜 (g ∘ f) s
theorem AnalyticOnNhd.comp_analyticOn E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {f : F → G} {g : E → F} {s : Set F} {t : Set E},
AnalyticOnNhd 𝕜 f s → AnalyticOn 𝕜 g t → Set.MapsTo g t s → AnalyticOn 𝕜 (f ∘ g) t
theorem HasFiniteFPowerSeriesAt.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {m n : ℕ} {g : F → G} {f : E → F}
{q : FormalMultilinearSeries 𝕜 F G} {p : FormalMultilinearSeries 𝕜 E F} {x : E},
HasFiniteFPowerSeriesAt g q (f x) m →
HasFiniteFPowerSeriesAt f p x n → 0 < n → HasFiniteFPowerSeriesAt (g ∘ f) (q.comp p) x (m * n)
If two functions g and f have finite power series q and p respectively at f x and x,
then g ∘ f admits the finite power series q.comp p at x.
theorem CPolynomialAt.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E},
CPolynomialAt 𝕜 g (f x) → CPolynomialAt 𝕜 f x → CPolynomialAt 𝕜 (g ∘ f) x
If two functions g and f are continuously polynomial respectively at f x and x,
then g ∘ f is continuously polynomial at x.
theorem CPolynomialAt.fun_comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {x : E},
CPolynomialAt 𝕜 g (f x) → CPolynomialAt 𝕜 f x → CPolynomialAt 𝕜 (fun x ↦ g (f x)) x
Eta-expanded form of CPolynomialAt.comp
If two functions g and f are continuously polynomial respectively at f x and x,
then g ∘ f is continuously polynomial at x.
theorem CPolynomialAt.comp_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {y : F} {x : E},
CPolynomialAt 𝕜 g y → CPolynomialAt 𝕜 f x → f x = y → CPolynomialAt 𝕜 (g ∘ f) x
Version of CPolynomialAt.comp where point equality is a separate hypothesis.
theorem CPolynomialAt.fun_comp_of_eq E0 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {g : F → G} {f : E → F} {y : F} {x : E},
CPolynomialAt 𝕜 g y → CPolynomialAt 𝕜 f x → f x = y → CPolynomialAt 𝕜 (fun x ↦ g (f x)) x
Eta-expanded form of CPolynomialAt.comp_of_eq
Version of CPolynomialAt.comp where point equality is a separate hypothesis.
theorem CPolynomialOn.comp' E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {s : Set E} {g : F → G} {f : E → F},
CPolynomialOn 𝕜 g (f '' s) → CPolynomialOn 𝕜 f s → CPolynomialOn 𝕜 (g ∘ f) s
If two functions g and f are continuously polynomial respectively on s.image f and s,
then g ∘ f is continuously polynomial on s.
theorem CPolynomialOn.comp E1 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] {s : Set E} {t : Set F} {g : F → G} {f : E → F},
CPolynomialOn 𝕜 g t → CPolynomialOn 𝕜 f s → Set.MapsTo f s t → CPolynomialOn 𝕜 (g ∘ f) s
theorem Composition.sigma_composition_eq_iff E0 #
∀ {n : ℕ} (i j : (a : Composition n) × Composition a.length),
i = j ↔ i.fst.blocks = j.fst.blocks ∧ i.snd.blocks = j.snd.blocks
Rewriting equality in the dependent type Σ (a : Composition n), Composition a.length in
non-dependent terms with lists, requiring that the blocks coincide.
theorem Composition.sigma_pi_composition_eq_iff E0 #
∀ {n : ℕ} (u v : (c : Composition n) × ((i : Fin c.length) → Composition (c.blocksFun i))),
u = v ↔ (List.ofFn fun i ↦ (u.snd i).blocks) = List.ofFn fun i ↦ (v.snd i).blocks
Rewriting equality in the dependent type
Σ (c : Composition n), Π (i : Fin c.length), Composition (c.blocksFun i) in
non-dependent terms with lists, requiring that the lists of blocks coincide.
def Composition.gather E1 #
{n : ℕ} → (a : Composition n) → Composition a.length → Composition n
When a is a composition of n and b is a composition of a.length, a.gather b is the
composition of n obtained by gathering all the blocks of a corresponding to a block of b.
For instance, if a = [6, 5, 3, 5, 2] and b = [2, 3], one should gather together
the first two blocks of a and its last three blocks, giving a.gather b = [11, 10].
theorem Composition.length_gather E1 #
∀ {n : ℕ} (a : Composition n) (b : Composition a.length), (a.gather b).length = b.length
def Composition.sigmaCompositionAux E0 #
{n : ℕ} →
(a : Composition n) →
(b : Composition a.length) → (i : Fin (a.gather b).length) → Composition ((a.gather b).blocksFun i)
An auxiliary function used in the definition of sigmaEquivSigmaPi below, associating to
two compositions a of n and b of a.length, and an index i bounded by the length of
a.gather b, the subcomposition of a made of those blocks belonging to the i-th block of
a.gather b.
theorem Composition.length_sigmaCompositionAux E0 #
∀ {n : ℕ} (a : Composition n) (b : Composition a.length) (i : Fin b.length),
(a.sigmaCompositionAux b ⟨↑i, ⋯⟩).length = b.blocksFun i
theorem Composition.blocksFun_sigmaCompositionAux E0 #
∀ {n : ℕ} (a : Composition n) (b : Composition a.length) (i : Fin b.length) (j : Fin (b.blocksFun i)),
(a.sigmaCompositionAux b ⟨↑i, ⋯⟩).blocksFun ⟨↑j, ⋯⟩ = a.blocksFun ((b.embedding i) j)
theorem Composition.sizeUpTo_sizeUpTo_add E2 #
∀ {n : ℕ} (a : Composition n) (b : Composition a.length) {i j : ℕ} (hi : i < b.length),
j < b.blocksFun ⟨i, hi⟩ →
a.sizeUpTo (b.sizeUpTo i + j) = (a.gather b).sizeUpTo i + (a.sigmaCompositionAux b ⟨i, ⋯⟩).sizeUpTo j
Auxiliary lemma to prove that the composition of formal multilinear series is associative.
Consider a composition a of n and a composition b of a.length. Grouping together some
blocks of a according to b as in a.gather b, one can compute the total size of the blocks
of a up to an index sizeUpTo b i + j (where the j corresponds to a set of blocks of a
that do not fill a whole block of a.gather b). The first part corresponds to a sum of blocks
in a.gather b, and the second one to a sum of blocks in the next block of
sigmaCompositionAux a b. This is the content of this lemma.
def Composition.sigmaEquivSigmaPi E1 #
(n : ℕ) →
(a : Composition n) × Composition a.length ≃ (c : Composition n) × ((i : Fin c.length) → Composition (c.blocksFun i))
Natural equivalence between (Σ (a : Composition n), Composition a.length) and
(Σ (c : Composition n), Π (i : Fin c.length), Composition (c.blocksFun i)), that shows up as a
change of variables in the proof that composition of formal multilinear series is associative.
Consider a composition a of n and a composition b of a.length. Then b indicates how to
group together some blocks of a, giving altogether b.length blocks of blocks. These blocks of
blocks can be called d₀, ..., d_{a.length - 1}, and one obtains a composition c of n by
saying that each dᵢ is one single block. The map ⟨a, b⟩ → ⟨c, (d₀, ..., d_{a.length - 1})⟩ is
the direct map in the equiv.
Conversely, if one starts from c and the dᵢs, one can join the dᵢs to obtain a composition
a of n, and register the lengths of the dᵢs in a composition b of a.length. This is the
inverse map of the equiv.
theorem FormalMultilinearSeries.comp_assoc E3 #
∀ {𝕜 : Type u_1} {E : Type u_2} {F : Type u_3} {G : Type u_4} {H : Type u_5} [inst : NontriviallyNormedField 𝕜]
[inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace 𝕜 E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F]
[inst_5 : NormedAddCommGroup G] [inst_6 : NormedSpace 𝕜 G] [inst_7 : NormedAddCommGroup H] [inst_8 : NormedSpace 𝕜 H]
(r : FormalMultilinearSeries 𝕜 G H) (q : FormalMultilinearSeries 𝕜 F G) (p : FormalMultilinearSeries 𝕜 E F),
(r.comp q).comp p = r.comp (q.comp p)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
AnalyticAt.comp_of_eq' | AnalyticAt.fun_comp_of_eq | 2026-05-18 |
FormalMultilinearSeries.compAlongComposition_nnnorm | FormalMultilinearSeries.compAlongComposition_nnNorm | 2026-10-31 |