Logarithmic Power Series #
This file defines the logarithmic power series log A = ∑ (-1)^(n+1)/n · Xⁿ
over ℚ-algebras and establishes its key properties.
Main definitions #
PowerSeries.log: The power serieslog(1+X) = X - X²/2 + X³/3 - ⋯.
Main results #
PowerSeries.coeff_log: The coefficient oflog Aatnis(-1)^(n+1)/nforn ≥ 1, and0forn = 0.PowerSeries.constantCoeff_log: The constant term oflog Ais0.PowerSeries.map_log:logis preserved by ring homomorphisms between ℚ-algebras.PowerSeries.coeff_one_log: The coefficient oflog Aat1is1.PowerSeries.order_log: The order oflog Ais1.PowerSeries.deriv_log: The derivative oflog(1+X)is the geometric series∑ (-1)^n · Xⁿ = 1/(1+X).
Power series for log(1 + X) = X - X²/2 + X³/3 - ⋯.
Equations
- PowerSeries.log A = PowerSeries.mk fun (n : ℕ) => if n = 0 then 0 else (algebraMap ℚ A) ((-1) ^ (n + 1) / ↑n)
Instances For
@[simp]
The derivative of log(1+X) is the geometric series 1 - X + X² - X³ + ⋯ = 1/(1+X).
Substitution #
logOf f is log(1+X) substituted at f - 1, i.e., (f-1) - (f-1)²/2 + (f-1)³/3 - ⋯.
Equations
- f.logOf = PowerSeries.subst (f - 1) (PowerSeries.log A)
Instances For
theorem
PowerSeries.constantCoeff_logOf
{A : Type u_1}
[CommRing A]
[Algebra ℚ A]
{f : PowerSeries A}
(hf : constantCoeff f = 1)
: