1.9 Non-integer powers
1.9.1 Definition
An FPS \(f\in K[[x]]\) has constant term one if \([x^0]f=1\). We write \(f\in K[[x]]_1\) for this condition.
If \(f,g\in K[[x]]_1\), then \(fg\in K[[x]]_1\).
\([x^0](fg) = ([x^0]f)([x^0]g) = 1\cdot 1 = 1\).
\(1+x\in K[[x]]_1\).
\([x^0](1+x) = 1\).
The Log map
The logarithm series (or \(\overline{\log }\)) is the FPS
Its constant term is \(0\).
- AlgebraicCombinatorics.FPS.logSeries = PowerSeries.mk fun (n : ℕ) => if n = 0 then 0 else (algebraMap ℚ K) ((-1) ^ (n - 1) / ↑n)
\([x^0]\overline{\log } = 0\).
Immediate from the definition.
For \(f\in K[[x]]_1\), we define
Since \(f\) has constant term \(1\), the FPS \(f-1\) has constant term \(0\), so the substitution is well-defined.
\(\operatorname {Log}(1) = 0\).
\(\operatorname {Log}(1) = \overline{\log }\circ (1-1) = \overline{\log }\circ 0 = 0\), since every term in the substitution sum is zero.
For \(f\in K[[x]]_1\), we have \([x^0]\operatorname {Log}(f)=0\).
The constant term of a substitution \(g\circ h\) where both \([x^0]g=0\) and \([x^0]h=0\) is \(0\).
For \(f,g\in K[[x]]_1\),
Let \(h = \operatorname {Log}(fg) - \operatorname {Log}(f) - \operatorname {Log}(g)\). We show \(h'=0\) and \([x^0]h = 0\) using the derivative characterization: \((d/dx)\operatorname {Log}(f) = (d/dx \overline{\log })\circ (f-1)\cdot f'\), and the key identity \((d/dx\, \overline{\log })\circ (f-1)\cdot f = 1\) (since \(d/dx\, \overline{\log } = 1/(1+x)\) and substituting \(f-1\) gives \(1/f\)). The Leibniz rule for \((fg)'\) then shows \(h'=0\). Since \([x^0]h = 0-0-0 = 0\) and \(h'=0\), uniqueness gives \(h=0\).
The Exp map
For \(g\in K[[x]]_0\) (FPS with constant term \(0\)), we define
Since \(g\) has constant term \(0\), the substitution is well-defined.
\(\operatorname {Exp}(0)=1\).
Only the \(m=0\) term in the substitution sum is nonzero, giving \(1\).
For \(g\in K[[x]]_0\), we have \(\operatorname {Exp}(g)\in K[[x]]_1\).
The constant term of \(\operatorname {Exp}(g) = \exp \circ g\) is \([x^0]\exp = 1/0! = 1\), since all higher powers of \(g\) contribute \(0\) to the constant term.
For \(u,v\in K[[x]]_0\),
Follows from the multiplicativity of the exponential map, established in Mathlib’s Exp/Log theory for formal power series.
The power definition
Assume that \(K\) is a commutative \(\mathbb {Q}\)-algebra. Let \(f\in K\left[ \left[ x\right] \right] _{1}\) and \(c\in K\). Then, we define an FPS
For any \(f\in K[[x]]\), we have \(f^0 = 1\).
\(f^0 = \operatorname {Exp}(0\cdot \operatorname {Log}f) = \operatorname {Exp}(0) = 1\).
For \(f\in K[[x]]_1\) and \(c\in K\), we have \(f^c\in K[[x]]_1\).
Since \([x^0]\operatorname {Log}f = 0\), we have \([x^0](c\operatorname {Log}f) = 0\), so \(\operatorname {Exp}(c\operatorname {Log}f)\in K[[x]]_1\).
For \(f\in K[[x]]_1\), we have \(f^1 = f\).
\(f^1 = \operatorname {Exp}(1\cdot \operatorname {Log}f) = \operatorname {Exp}(\operatorname {Log}f) = f\), using the inverse property \(\operatorname {Exp}\circ \operatorname {Log} = \operatorname {id}\) on \(K[[x]]_1\). The formal proof bridges the local definitions of \(\operatorname {Log}\) and \(\operatorname {Exp}\) to Mathlib’s Exp/Log framework (via Lemmas 1.273 and 1.274) and then applies the inverse property.
1.9.2 Rules of exponents
Assume that \(K\) is a commutative \(\mathbb {Q}\)-algebra. For any \(a,b\in K\) and \(f,g\in K\left[ \left[ x\right] \right] _{1}\), we have
First rule (\(f^{a+b}=f^af^b\)):
Second rule (\((fg)^a = f^a g^a\)):
Third rule (\((f^a)^b = f^{ab}\)):
For \(f\in K[[x]]_1\) and \(n\in \mathbb {N}\), we have \(f^n = \underbrace{f\cdot f\cdots f}_{n\text{ times}}\). That is, our definition of \(f^c\) is consistent with the standard power when \(c\in \mathbb {N}\).
1.9.3 The Newton binomial formula for arbitrary exponents
Assume that \(K\) is a commutative \(\mathbb {Q}\)-algebra. Let \(c\in K\). Then,
The definition of \(\operatorname {Log}\) yields \(\operatorname {Log}(1+x) = \overline{\log }\circ x = \overline{\log }\). By Definition 1.258, we have
Expanding and collecting by powers of \(x\), we obtain
where \(\operatorname {Comp}(k)\) denotes the set of all compositions of \(k\).
It remains to show that the coefficient of \(x^k\) equals \(\binom {c}{k}\). We use the polynomial identity trick: for each \(k\in \mathbb {N}\), both sides of the coefficient equality
are polynomials in \(c\) with rational coefficients. (The left-hand side is a finite sum of “rational number times a power of \(c\)” expressions. The right-hand side is \(\frac{c(c-1)(c-2)\cdots (c-k+1)}{k!}\).)
For \(c = n\in \mathbb {N}\), the equality holds by the standard Newton binomial formula (Theorem 1.119), since both sides equal \(\binom {n}{k}\). Since two polynomials with rational coefficients that agree on all natural numbers must be equal (having infinitely many common values), the equality holds for all \(c\in K\).
In the formal proof:
The base case \(k=0\): both sides equal \(1\).
The inductive case \(k=k'+1\): both the LHS and the RHS are expressed as evaluations of explicit polynomials over \(\mathbb {Q}\), mapped to \(K\). The LHS polynomial is built by expanding \(\exp \circ (c\, \overline{\log })\) as \(\sum _{d\ge 0}\frac{1}{d!}(c\, \overline{\log })^d\); the scalar factoring \((c\, \overline{\log })^d = c^d\, \overline{\log }^d\) uses Lemma 1.275, and the truncation of the sum at \(d=k\) uses the vanishing \([x^k](\overline{\log }^d)=0\) for \(d{\gt}k\) (Lemma 1.276). The polynomial identity principle (Lemma 1.278) then shows these polynomials are equal, since they agree on all \(n\in \mathbb {N}\).
For any \(c\in K\) and \(k\in \mathbb {N}\),
Immediate from Theorem 1.264 by reading off coefficients.
For any \(n\in K\),
Apply Theorem 1.264 with \(c=-n\) and use the upper negation identity \(\binom {-n}{i} = (-1)^i\binom {n+i-1}{i}\).
1.9.4 Further rules of exponents
For any \(c\in K\), we have \(1^c = 1\).
\(1^c = \operatorname {Exp}(c\cdot \operatorname {Log}1) = \operatorname {Exp}(c\cdot 0) = \operatorname {Exp}(0) = 1\).
For \(f\in K[[x]]_1\) and \(c\in K\), we have \([x^0](f^c) = 1\).
Immediate from \(f^c\in K[[x]]_1\).
For \(f\in K'[[x]]_1\) (over a field \(K'\)) and \(c\in K'\),
We have \(f^{-c}\cdot f^c = f^{-c+c} = f^0 = 1\), so \(f^{-c}\) is the inverse of \(f^c\).
For integer exponents, \(f^c\) agrees with the standard power: for \(n\ge 0\), \(f^n = f^n\) (standard), and for \(n{\lt}0\), \(f^n = (f^{|n|})^{-1}\).
For \(n\ge 0\), use Lemma 1.263. For \(n{\lt}0\), combine \(f^{-c}\cdot f^c = 1\) with \(f^{|n|}\) computed via the natural-number case.
1.9.5 Another application
Let \(n\in \mathbb {C}\) and \(k\in \mathbb {N}\). Then,
Define two FPSs \(f,g\in \mathbb {C}\left[ \left[ x\right] \right] \) by
Multiplying and collecting by powers of \(x\), we find that
which is the left-hand side of our identity.
For \(g\), the generalized Newton formula (Theorem 1.264) gives \(g=(1+x)^n\). For \(f\), the anti-Newton binomial formula (Theorem 1.266) gives \((1+x)^{-n} = \sum _{i\in \mathbb {N}}(-1)^i\binom {n+i-1}{i}x^i\). Substituting \(-x^2\) for \(x\), we get \(f = (1-x^2)^{-n}\).
Thus
Substituting \(-x\) for \(x\) in the anti-Newton formula gives
Hence \([x^k](fg) = \binom {n+k-1}{k}\).
The formal proof establishes that \(fg = (1-x)^{-n}\) by first showing \(f = (1-x^2)^{-n}\). The identity \(f = (1-x^2)^{-n}\) is proved by comparing coefficients using the polynomial identity principle: for natural \(N\), both sides of the coefficient identity follow from the inverse of \((1-x^2)^N\) expressed via expansion of \((1-x)^{-N}\), and uniqueness of inverses gives agreement; the polynomial identity principle then extends the result to all \(n\in K\). The odd-coefficient vanishing is established by a pairing argument: for odd \(k\), each pair \((i,k-i)\) contributes terms with opposite signs (since \(i\) and \(k-i\) have opposite parities), giving a sum of \(0\).
1.9.6 Helper lemmas from the formalization
Our \(\overline{\log }\) series equals the logarithm series from Mathlib’s Exp/Log framework.
Coefficient comparison.
The definition of \(\operatorname {Log}\) from Definition 1.250 is equivalent to the definition from Mathlib’s Exp/Log framework for FPS with constant term one.
Unfold definitions and use Lemma 1.272.
For \(g\) with \([x^0]g=0\), the definition of \(\operatorname {Exp}(g)\) from Definition 1.254 is equivalent to the definition from Mathlib’s Exp/Log framework for FPS with constant term zero.
Unfold definitions.
\((c\cdot g)^m = c^m\cdot g^m\) for \(c\in K\), \(g\in K[[x]]\), \(m\in \mathbb {N}\).
Induction on \(m\).
For \(k {\lt} m\), we have \([x^k](\overline{\log }^m) = 0\) (since \(\overline{\log }\) has order \(\geq 1\), so \(\overline{\log }^m\) has order \(\geq m\)).
The order of \(\overline{\log }^m\) is at least \(m\) since \([x^0]\overline{\log }=0\).
Let \(R\) be a commutative domain of characteristic \(0\), and let \(p\in R[x]\) be a polynomial such that \(p(n)=0\) for all \(n\in \mathbb {N}\). Then \(p=0\).
The set of roots of \(p\) contains all natural numbers, which is an infinite subset of \(R\) (since \(R\) has characteristic \(0\)). A nonzero polynomial of degree \(d\) has at most \(d\) roots, so \(p\) must be zero.
If two polynomials over \(\mathbb {Q}\) agree when evaluated at all natural numbers (after mapping to \(K\) via the algebra map), then they are equal: if \(p(n) = q(n)\) for all \(n\in \mathbb {N}\), then \(p = q\).
Apply the polynomial identity trick to \(p - q\).
Pascal’s rule for generalized binomial coefficients:
Follows from the Pascal recurrence for generalized binomial coefficients.
The coefficients of \((1+x)^c\) satisfy Pascal’s recurrence:
Since \((1+x)^{c} = (1+x)^{c-1}\cdot (1+x)\), the coefficient \([x^{k+1}]\) of the product is \([x^k](1+x)^{c-1} + [x^{k+1}](1+x)^{c-1}\).
1.9.7 Helpers for Theorem 1.264
The generalized Newton binomial formula requires showing that both the LHS (coefficients of \((1+x)^c\)) and the RHS (\(\binom {c}{k}\)) are polynomial functions of \(c\) that agree on all natural numbers.
The generalized binomial coefficient \(\binom {c}{k}\) equals the evaluation of a polynomial in \(c\): there exists a polynomial \(p_k\in \mathbb {Q}[x]\) such that \(\binom {c}{k} = p_k(c)\) for all \(c\in K\).
The polynomial is \(p_k(x) = x(x-1)\cdots (x-k+1)/k!\), evaluated at \(c\) via the algebra map \(\mathbb {Q} \to K\).
The coefficient \([x^k](1+x)^c\) equals the evaluation of a polynomial in \(c\):
for some \(q_k\in \mathbb {Q}[x]\).
Expand \((1+x)^c = \operatorname {Exp}(c\cdot \overline{\log }) = \sum _{d\ge 0}\frac{1}{d!}(c\, \overline{\log })^d\). Using \((c\, \overline{\log })^d = c^d\, \overline{\log }^d\) and the vanishing \([x^k](\overline{\log }^d)=0\) for \(d{\gt}k\), the coefficient \([x^k]\) is a polynomial in \(c\) of degree \(\leq k\).
For \(n\in K\) and \(k\in \mathbb {N}\),
Use the upper negation identity \(\binom {-n}{k} = (-1)^k\binom {n+k-1}{k}\) and the sign cancellation \((-1)^k\cdot (-1)^k = 1\).
1.9.8 Helpers for Proposition 1.271
The proof of the binomial identity requires establishing that the product \(f\cdot g\) (where \(f = (1-x^2)^{-n}\) and \(g = (1+x)^n\)) equals \((1-x)^{-n}\). This is done in several steps:
Define \(f = \sum _{i\in \mathbb {N}} \binom {n+i-1}{i} x^{2i}\) and \(g = \sum _{j\in \mathbb {N}} \binom {n}{j} x^j\).
Show \(fg = (1-x)^{-n}\) (Lemma 1.290).
Read off coefficients.
Define two FPSs for the binomial identity:
- AlgebraicCombinatorics.FPS.f_series' n = PowerSeries.mk fun (m : ℕ) => if Even m then Ring.choose (n + ↑(m / 2) - 1) (m / 2) else 0
The coefficient of \(x^k\) in \(f(n)\cdot g(n)\) equals
By expanding the Cauchy product and using the fact that \(f\) has nonzero coefficients only at even positions.
For natural \(N\),
That is, \((1-x)^{-N}\cdot (1+x)^{-N}\) is the inverse of \((1-x^2)^N\).
Factor \((1-x^2)^N = (1-x)^N(1+x)^N\) and use the inverse relations \((1-x)^{-N}\cdot (1-x)^N = 1\) and \((1+x)^{-N}\cdot (1+x)^N = 1\).
For natural \(N\), \((1-x)^{-N}\big|_{x \mapsto x^2}\cdot (1-x^2)^N = 1\). That is, \((1-x)^{-N}\big|_{x \mapsto x^2}\) is also the inverse of \((1-x^2)^N\).
Since the substitution \(x \mapsto x^2\) is a ring homomorphism and \((1-x)\big|_{x \mapsto x^2} = 1-x^2\), we have \((1-x)^{-N}\big|_{x \mapsto x^2}\cdot (1-x)^N\big|_{x \mapsto x^2} = 1\big|_{x \mapsto x^2} = 1\).
For natural \(N\),
Both sides are inverses of \((1-x^2)^N\), so they are equal by uniqueness of inverses.
Both \(P := (1-x)^{-N}\cdot (1+x)^{-N}\) and \(E := (1-x)^{-N}\big|_{x \mapsto x^2}\) satisfy \((\cdot )\cdot (1-x^2)^N = 1\). Since \((1-x^2)^N\) is a unit, \(P = E\).
For natural \(N\ge 1\) and \(m\in \mathbb {N}\),
By Lemma 1.288, the product equals \((1-x)^{-N}\big|_{x \mapsto x^2}\), so the coefficient at \(2m\) is \([x^m](1-x)^{-N} = \binom {N+m-1}{m}\).
For all \(n\in K\),
In other words, \((1-x^2)^{-n}\cdot (1+x)^n = (1-x)^{-n}\).
First show \(f(n) = (1-x^2)^{-n}\) by establishing that \(f(n)\) equals \((1+x)^{-n} \cdot (1-x)^{-n}\). The even-coefficient identity uses Lemma 1.289 for natural \(N\) and then extends to all \(n\) by the polynomial identity principle (Theorem 1.277). The odd-coefficient vanishing follows from a pairing argument: for odd \(k\), each pair \((i,k-i)\) contributes terms with opposite signs. Then \(f(n)\cdot g(n) = (1-x^2)^{-n}\cdot (1+x)^n\), and the cancellation \((1+x)^{-n}\cdot (1+x)^n = 1\) gives the result.