# mathlibdocumentation

analysis.analytic.inverse

# Inverse of analytic functions #

We construct the left and right inverse of a formal multilinear series with invertible linear term, we prove that they coincide and study their properties (notably convergence).

## Main statements #

• p.left_inv i: the formal left inverse of the formal multilinear series p, for i : E ≃L[𝕜] F which coincides with p₁.
• p.right_inv i: the formal right inverse of the formal multilinear series p, for i : E ≃L[𝕜] F which coincides with p₁.
• p.left_inv_comp says that p.left_inv i is indeed a left inverse to p when p₁ = i.
• p.right_inv_comp says that p.right_inv i is indeed a right inverse to p when p₁ = i.
• p.left_inv_eq_right_inv: the two inverses coincide.
• p.radius_right_inv_pos_of_radius_pos: if a power series has a positive radius of convergence, then so does its inverse.

### The left inverse of a formal multilinear series #

def formal_multilinear_series.left_inv {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :

The left inverse of a formal multilinear series, where the n-th term is defined inductively in terms of the previous ones to make sure that (left_inv p i) ∘ p = id. For this, the linear term p₁ in p should be invertible. In the definition, i is a linear isomorphism that should coincide with p₁, so that one can use its inverse in the construction. The definition does not use that i = p₁, but proofs that the definition is well-behaved do.

The n-th term in q ∘ p is ∑ qₖ (p_{j₁}, ..., p_{jₖ}) over j₁ + ... + jₖ = n. In this expression, qₙ appears only once, in qₙ (p₁, ..., p₁). We adjust the definition so that this term compensates the rest of the sum, using i⁻¹ as an inverse to p₁.

These formulas only make sense when the constant term p₀ vanishes. The definition we give is general, but it ignores the value of p₀.

Equations
@[simp]
theorem formal_multilinear_series.left_inv_coeff_zero {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :
p.left_inv i 0 = 0
@[simp]
theorem formal_multilinear_series.left_inv_coeff_one {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :
theorem formal_multilinear_series.left_inv_remove_zero {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :
= p.left_inv i

The left inverse does not depend on the zeroth coefficient of a formal multilinear series.

theorem formal_multilinear_series.left_inv_comp {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) (h : p 1 = .symm) i) :
(p.left_inv i).comp p =

The left inverse to a formal multilinear series is indeed a left inverse, provided its linear term is invertible.

### The right inverse of a formal multilinear series #

def formal_multilinear_series.right_inv {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :

The right inverse of a formal multilinear series, where the n-th term is defined inductively in terms of the previous ones to make sure that p ∘ (right_inv p i) = id. For this, the linear term p₁ in p should be invertible. In the definition, i is a linear isomorphism that should coincide with p₁, so that one can use its inverse in the construction. The definition does not use that i = p₁, but proofs that the definition is well-behaved do.

The n-th term in p ∘ q is ∑ pₖ (q_{j₁}, ..., q_{jₖ}) over j₁ + ... + jₖ = n. In this expression, qₙ appears only once, in p₁ (qₙ). We adjust the definition of qₙ so that this term compensates the rest of the sum, using i⁻¹ as an inverse to p₁.

These formulas only make sense when the constant term p₀ vanishes. The definition we give is general, but it ignores the value of p₀.

Equations
@[simp]
theorem formal_multilinear_series.right_inv_coeff_zero {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :
p.right_inv i 0 = 0
@[simp]
theorem formal_multilinear_series.right_inv_coeff_one {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :
theorem formal_multilinear_series.right_inv_remove_zero {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) :

The right inverse does not depend on the zeroth coefficient of a formal multilinear series.

theorem formal_multilinear_series.comp_right_inv_aux1 {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] {n : } (hn : 0 < n) (p : F) (q : E) (v : fin n → F) :
(p.comp q n) v = ∑ (c : in {c : | 1 < c.length}.to_finset, (p c.length) v) + (p 1) (λ (i : fin 1), (q n) v)
theorem formal_multilinear_series.comp_right_inv_aux2 {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) (n : ) (v : fin (n + 2) → F) :
∑ (c : composition (n + 2)) in {c : composition (n + 2) | 1 < c.length}.to_finset, (p c.length) (formal_multilinear_series.apply_composition (λ (k : ), ite (k < n + 2) (p.right_inv i k) 0) c v) = ∑ (c : composition (n + 2)) in {c : composition (n + 2) | 1 < c.length}.to_finset, (p c.length) ((p.right_inv i).apply_composition c v)
theorem formal_multilinear_series.comp_right_inv {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) (h : p 1 = .symm) i) (h0 : p 0 = 0) :
p.comp (p.right_inv i) =

The right inverse to a formal multilinear series is indeed a right inverse, provided its linear term is invertible and its constant term vanishes.

theorem formal_multilinear_series.right_inv_coeff {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) (n : ) (hn : 2 n) :

### Coincidence of the left and the right inverse #

theorem formal_multilinear_series.left_inv_eq_right_inv {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) (h : p 1 = .symm) i) :

The left inverse and the right inverse of a formal multilinear series coincide. This is not at all obvious from their definition, but it follows from uniqueness of inverses (which comes from the fact that composition is associative on formal multilinear series).

### Convergence of the inverse of a power series #

Assume that p is a convergent multilinear series, and let q be its (left or right) inverse. Using the left-inverse formula gives $$q_n = - (p_1)^{-n} \sum_{k=0}^{n-1} \sum_{i_1 + \dotsc + i_k = n} q_k (p_{i_1}, \dotsc, p_{i_k}).$$ Assume for simplicity that we are in dimension 1 and p₁ = 1. In the formula for qₙ, the term q_{n-1} appears with a multiplicity of n-1 (choosing the index i_j for which i_j = 2 while all the other indices are equal to 1), which indicates that qₙ might grow like n!. This is bad for summability properties.

It turns out that the right-inverse formula is better behaved, and should instead be used for this kind of estimate. It reads $$q_n = - (p_1)^{-1} \sum_{k=2}^n \sum_{i_1 + \dotsc + i_k = n} p_k (q_{i_1}, \dotsc, q_{i_k}).$$ Here, q_{n-1} can only appear in the term with k = 2, and it only appears twice, so there is hope this formula can lead to an at most geometric behavior.

Let Qₙ = ∥qₙ∥. Bounding ∥pₖ∥ with C r^k gives an inequality $$Q_n ≤ C' \sum_{k=2}^n r^k \sum_{i_1 + \dotsc + i_k = n} Q_{i_1} \dotsm Q_{i_k}.$$

This formula is not enough to prove by naive induction on n a bound of the form Qₙ ≤ D R^n. However, assuming that the inequality above were an equality, one could get a formula for the generating series of the Qₙ:

\begin{align} Q(z) & := \sum Q_n z^n = Q_1 z + C' \sum_{2 \leq k \leq n} \sum_{i_1 + \dotsc + i_k = n} (r z^{i_1} Q_{i_1}) \dotsm (r z^{i_k} Q_{i_k}) \\ & = Q_1 z + C' \sum_{k = 2}^\infty (\sum_{i_1 \geq 1} r z^{i_1} Q_{i_1}) \dotsm (\sum_{i_k \geq 1} r z^{i_k} Q_{i_k}) \\ & = Q_1 z + C' \sum_{k = 2}^\infty (r Q(z))^k = Q_1 z + C' (r Q(z))^2 / (1 - r Q(z)). \end{align}

One can solve this formula explicitly. The solution is analytic in a neighborhood of 0 in ℂ, hence its coefficients grow at most geometrically (by a contour integral argument), and therefore the original Qₙ, which are bounded by these ones, are also at most geometric.

This classical argument is not really satisfactory, as it requires an a priori bound on a complex analytic function. Another option would be to compute explicitly its terms (with binomial coefficients) to obtain an explicit geometric bound, but this would be very painful.

Instead, we will use the above intuition, but in a slightly different form, with finite sums and an induction. I learnt this trick in [Pos17]. Let $S_n = \sum_{k=1}^n Q_k a^k$ (where a is a positive real parameter to be chosen suitably small). The above computation but with finite sums shows that

$$S_n \leq Q_1 a + C' \sum_{k=2}^n (r S_{n-1})^k.$$

In particular, $S_n \leq Q_1 a + C' (r S_{n-1})^2 / (1- r S_{n-1})$. Assume that $S_{n-1} \leq K a$, where K > Q₁ is fixed and a is small enough so that r K a ≤ 1/2 (to control the denominator). Then this equation gives a bound $S_n \leq Q_1 a + 2 C' r^2 K^2 a^2$. If a is small enough, this is bounded by K a as the second term is quadratic in a, and therefore negligible.

By induction, we deduce Sₙ ≤ K a for all n, which gives in particular the fact that aⁿ Qₙ remains bounded.

theorem formal_multilinear_series.radius_right_inv_pos_of_radius_pos_aux1 (n : ) (p : ) (hp : ∀ (k : ), 0 p k) {r a : } (hr : 0 r) (ha : 0 a) :
∑ (k : ) in (n + 1), (a ^ k) * ∑ (c : in {c : | 1 < c.length}.to_finset, (r ^ c.length) * ∏ (j : fin c.length), p (c.blocks_fun j) ∑ (j : ) in (n + 1), (r ^ j) * (∑ (k : ) in n, (a ^ k) * p k) ^ j

First technical lemma to control the growth of coefficients of the inverse. Bound the explicit expression for ∑_{k<n+1} aᵏ Qₖ in terms of a sum of powers of the same sum one step before, in a general abstract setup.

theorem formal_multilinear_series.radius_right_inv_pos_of_radius_pos_aux2 {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] {n : } (hn : 2 n + 1) (p : F) (i : E ≃L[𝕜] F) {r a C : } (hr : 0 r) (ha : 0 a) (hC : 0 C) (hp : ∀ (n : ), p n C * r ^ n) :
∑ (k : ) in (n + 1), (a ^ k) * p.right_inv i k (i.symm) * a + ((i.symm) * C) * ∑ (k : ) in (n + 1), (r * ∑ (j : ) in n, (a ^ j) * p.right_inv i j) ^ k

Second technical lemma to control the growth of coefficients of the inverse. Bound the explicit expression for ∑_{k<n+1} aᵏ Qₖ in terms of a sum of powers of the same sum one step before, in the specific setup we are interesting in, by reducing to the general bound in radius_right_inv_pos_of_radius_pos_aux1.

theorem formal_multilinear_series.radius_right_inv_pos_of_radius_pos {𝕜 : Type u_1} {E : Type u_2} [normed_group E] [ E] {F : Type u_3} [normed_group F] [ F] (p : F) (i : E ≃L[𝕜] F) (hp : 0 < p.radius) :

If a a formal multilinear series has a positive radius of convergence, then its right inverse also has a positive radius of convergence.