Structured proof · Unit 150
lemma coeff_subst_tangent
What it saysFor a prime p, a power series Z over \mathbb{C}_p with X^{m+1} \mid Z - X, every k \le m + 1 and every power series g over \mathbb{C}_p: the k-th coefficient of g(Z) is g_k + g_1\cdot(Z - X)_k (first-order Taylor formula for a substitution tangent to the identity).
The argument in briefWrite Z = X + X^{m+1}W and induct on k, writing g = X\cdot \widetilde{g} + g(0).
Z = X + X^{m+1}\cdot W for some W.
Induction on k (for all g): write g = X\cdot(shift of g) + g(0) and substitute Z; the terms of degree \le m + 1 coming from X^{m+1}W\cdot(shift of g)(Z) are only W_0\cdot g_1 at degree m + 1 when k = m + 1; the coefficient identity follows (
simp,grind).