The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.Normed.Algebra.Logarithm
20 declarations. Mathlib docs Β· Source
The logarithm in a topological algebra
In this file we define NormedSpace.log : πΈ β πΈ, the logarithm
log x = ββ ((-1) ^ (n + 1) / n) β’ (x - 1) ^ n in a topological ring πΈ, following the
development style of NormedSpace.exp (see Mathlib/Analysis/Normed/Algebra/Exponential.lean).
It is the value at x - 1 of the FormalMultilinearSeries NormedSpace.logSeries β πΈ, where the
β-algebra structure on πΈ is chosen using Classical.choice. It takes the junk value 0
if the series does not converge or if πΈ has no β-algebra structure (equivalently,
if 1 / n doesn't correspond to what a mathematician thinks).
This file only contains the definition and its immediate algebraic properties; convergence of
the series and the relation to NormedSpace.exp are left to later files.
Main definitions
NormedSpace.logSeries π πΈ: the formal multilinear series whosen-th term is(xα΅’) β¦ ((-1) ^ (n + 1) / n : π) β’ β xα΅’; its sum atx - 1islog x.NormedSpace.log: the logarithmπΈ β πΈ.
Main results
NormedSpace.log_eq_tsum:logas atsum.NormedSpace.log_one,NormedSpace.log_op,NormedSpace.star_log,NormedSpace.log_mem,Commute.log: immediate properties.
TODO
- Ultrametric convergence: if
Kis a complete ultrametric normed field of characteristic zero then the series converges on the whole discβx - 1β < 1(no choice of prime is needed: the natural numbers of norm< 1form a prime ideal ofβ, and if it ispβthenβnβ = βpβ ^ padicValNat p n). - If moreover
β(p : K)β < 1for a primep, Iwasawa's formulalog x = lim (x ^ p ^ k - 1) / p ^ kgiveslog (x * y) = log x + log yon that disc, hencelog_inv,log_pow,log_zpowetc. - The formal identity
log ((1 + X) * (1 + Y)) = log (1 + X) + log (1 + Y)inββ¦X, Yβ§. - Relation with
NormedSpace.exp:exp (log x) = xandlog (exp x) = xwhenever both series converge. - In the ultrametric case, the computation of where the series for exp and log converge
(
βx - 1β ^ (p - 1) < β(p : K)βfor log). βlog xβ = βx - 1βwhen the series converges- Analyticity:
HasFPowerSeriesOnBall log (logSeries π πΈ) 1 (logSeries π πΈ).radiusand its consequences, mirroringNormedSpace.analyticAt_exp_of_mem_ball. - Over
βandβ,NormedSpace.logagrees withReal.logandComplex.logonβx - 1β < 1. - Analytic continuation of
login the ultrametric case (probably best to be opinionated and definelog p = 0so we get a "canonical branch" analogous to how mathlib has chosen a branch ofComplex.log).
theorem NormedSpace.logSeries.congr_simp E1 #
β (π : Type u_1) (πΈ : Type u_2) [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] (n : β), NormedSpace.logSeries π πΈ n = NormedSpace.logSeries π πΈ n
theorem NormedSpace.log.congr_simp E1 #
β {πΈ : Type u_2} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] (x x_1 : πΈ),
x = x_1 β NormedSpace.log x = NormedSpace.log x_1
def NormedSpace.logSeries E1 #
(π : Type u_1) β
(πΈ : Type u_2) β
[inst : Field π] β
[inst_1 : Ring πΈ] β
[inst_2 : Algebra π πΈ] β
[inst_3 : TopologicalSpace πΈ] β [inst_4 : IsTopologicalRing πΈ] β FormalMultilinearSeries π πΈ πΈ
logSeries π πΈ is the FormalMultilinearSeries whose n-th term is the map
(xα΅’) : πΈβΏ β¦ ((-1) ^ (n + 1) / n : π) β’ β xα΅’; its 0-th term is 0 since 1 / 0 = 0.
The corresponding sum evaluated at x - 1 is the logarithm NormedSpace.log x.
theorem NormedSpace.logSeries_eq_ofScalars E1 #
β (π : Type u_1) (πΈ : Type u_2) [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ],
NormedSpace.logSeries π πΈ = FormalMultilinearSeries.ofScalars πΈ fun n β¦ (-1) ^ (n + 1) / βn
def NormedSpace.log E3 #
{πΈ : Type u_2} β [inst : Ring πΈ] β [inst_1 : TopologicalSpace πΈ] β [IsTopologicalRing πΈ] β πΈ β πΈ
NormedSpace.log : πΈ β πΈ is the logarithm log x = ββ ((-1) ^ (n + 1) / n) β’ (x - 1) ^ n.
It is defined as the sum of the FormalMultilinearSeries logSeries β πΈ at x - 1, in the same
way as NormedSpace.exp, and takes the junk value 0 where the series does not converge.
If πΈ can't be equipped with a β-algebra structure, we use the junk value 0.
theorem NormedSpace.log_of_isEmpty_algebra_rat E0 #
β {πΈ : Type u_2} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] [IsEmpty (Algebra β πΈ)]
(x : πΈ), NormedSpace.log x = 0
The junk value when πΈ can't be equipped with a β-algebra structure.
theorem NormedSpace.logSeries_apply_eq E0 #
β {π : Type u_1} {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] (x : πΈ) (n : β),
((NormedSpace.logSeries π πΈ n) fun x_1 β¦ x) = ((-1) ^ (n + 1) / βn) β’ x ^ n
theorem NormedSpace.logSeries_sum_eq E0 #
β {π : Type u_1} {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] (x : πΈ), (NormedSpace.logSeries π πΈ).sum x = β' (n : β), ((-1) ^ (n + 1) / βn) β’ x ^ n
theorem NormedSpace.logSeries_sum_eq_rat E1 #
β {π : Type u_1} {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] [inst_5 : Algebra β πΈ],
(NormedSpace.logSeries π πΈ).sum = (NormedSpace.logSeries β πΈ).sum
theorem NormedSpace.logSeries_eq_logSeries_rat E1 #
β {π : Type u_1} {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] [inst_5 : Algebra β πΈ] (n : β),
β(NormedSpace.logSeries π πΈ n) = β(NormedSpace.logSeries β πΈ n)
theorem NormedSpace.log_eq_logSeries_sum E1 #
β (π : Type u_1) {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] [CharZero π], NormedSpace.log = fun x β¦ (NormedSpace.logSeries π πΈ).sum (x - 1)
theorem NormedSpace.log_eq_tsum E3 #
β (π : Type u_1) {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] [CharZero π], NormedSpace.log = fun x β¦ β' (n : β), ((-1) ^ (n + 1) / βn) β’ (x - 1) ^ n
theorem NormedSpace.logSeries_apply_zero E1 #
β {π : Type u_1} {πΈ : Type u_2} [inst : Field π] [inst_1 : Ring πΈ] [inst_2 : Algebra π πΈ] [inst_3 : TopologicalSpace πΈ]
[inst_4 : IsTopologicalRing πΈ] (n : β), ((NormedSpace.logSeries π πΈ n) fun x β¦ 0) = 0
theorem NormedSpace.log_one E3 #
β {πΈ : Type u_2} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ], NormedSpace.log 1 = 0
theorem NormedSpace.log_op E3 #
β {πΈ : Type u_2} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] [T2Space πΈ] (x : πΈ),
NormedSpace.log (MulOpposite.op x) = MulOpposite.op (NormedSpace.log x)
theorem NormedSpace.star_log E3 #
β {πΈ : Type u_2} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] [T2Space πΈ]
[inst_4 : StarRing πΈ] [ContinuousStar πΈ] (x : πΈ), star (NormedSpace.log x) = NormedSpace.log (star x)
theorem NormedSpace.log_mem E3 #
β {πΈ : Type u_2} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] {R : Type u_3}
{S : Type u_4} [inst_3 : Monoid R] [inst_4 : SMul β R] [inst_5 : MulAction R πΈ] [inst_6 : Algebra β πΈ]
[IsScalarTower β R πΈ] [inst_8 : SetLike S πΈ] [SubringClass S πΈ] [SMulMemClass S R πΈ] {s : S},
IsClosed βs β β {x : πΈ}, x β s β NormedSpace.log x β s
A subring of πΈ that is closed topologically and under β-scaling is closed under log.
theorem Commute.log_right E1 #
β {πΈ : Type u_1} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] [T2Space πΈ] {x y : πΈ},
Commute x y β Commute x (NormedSpace.log y)
theorem Commute.log_left E1 #
β {πΈ : Type u_1} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] [T2Space πΈ] {x y : πΈ},
Commute x y β Commute (NormedSpace.log x) y
theorem Commute.log E3 #
β {πΈ : Type u_1} [inst : Ring πΈ] [inst_1 : TopologicalSpace πΈ] [inst_2 : IsTopologicalRing πΈ] [T2Space πΈ] {x y : πΈ},
Commute x y β Commute (NormedSpace.log x) (NormedSpace.log y)