-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathExponential.lean
More file actions
417 lines (323 loc) Β· 20.2 KB
/
Exponential.lean
File metadata and controls
417 lines (323 loc) Β· 20.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
/-
Copyright (c) 2021 Anatole Dedecker. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anatole Dedecker, Eric Wieser
-/
module
public import Mathlib.Analysis.Normed.Algebra.Exponential
public import Mathlib.Analysis.Calculus.FDeriv.Analytic
public import Mathlib.Analysis.Complex.Exponential
public import Mathlib.Topology.MetricSpace.CauSeqFilter
/-!
# Calculus results on exponential in a Banach algebra
In this file, we prove basic properties about the derivative of the exponential map `exp`
in a Banach algebra `πΈ` over a field `π`. We keep them separate from the main file
`Analysis.Normed.Algebra.Exponential` in order to minimize dependencies.
## Main results
We prove most results for an arbitrary field `π`, and then specialize to `π = β` or `π = β`.
### General case
- `hasStrictFDerivAt_exp_zero_of_radius_pos` : `NormedSpace.exp` has strict FrΓ©chet derivative
`1 : πΈ βL[π] πΈ` at zero, as long as it converges on a neighborhood of zero
(see also `hasStrictDerivAt_exp_zero_of_radius_pos` for the case `πΈ = π`)
- `hasStrictFDerivAt_exp_of_lt_radius` : if `π` has characteristic zero and `πΈ` is commutative,
then given a point `x` in the disk of convergence, `NormedSpace.exp` has strict FrΓ©chet
derivative `NormedSpace.exp x β’ 1 : πΈ βL[π] πΈ` at x
(see also `hasStrictDerivAt_exp_of_lt_radius` for the case `πΈ = π`)
- `hasStrictFDerivAt_exp_smul_const_of_mem_ball`: even when `πΈ` is non-commutative,
if we have an intermediate algebra `π` which is commutative, the function
`(u : π) β¦ NormedSpace.exp (u β’ x)`, still has strict FrΓ©chet derivative
`NormedSpace.exp (t β’ x) β’ (1 : π βL[π] π).smulRight x` at `t` if
`t β’ x` is in the radius of convergence.
### `π = β` or `π = β`
- `hasStrictFDerivAt_exp_zero` : `NormedSpace.exp` has strict FrΓ©chet derivative `1 : πΈ βL[π] πΈ`
at zero (see also `hasStrictDerivAt_exp_zero` for the case `πΈ = π`)
- `hasStrictFDerivAt_exp` : if `πΈ` is commutative, then given any point `x`, `NormedSpace.exp`
has strict FrΓ©chet derivative `NormedSpace.exp x β’ 1 : πΈ βL[π] πΈ` at x
(see also `hasStrictDerivAt_exp` for the case `πΈ = π`)
- `hasStrictFDerivAt_exp_smul_const`: even when `πΈ` is non-commutative, if we have
an intermediate algebra `π` which is commutative, the function
`(u : π) β¦ NormedSpace.exp (u β’ x)` still has strict FrΓ©chet derivative
`NormedSpace.exp (t β’ x) β’ (1 : πΈ βL[π] πΈ).smulRight x` at `t`.
### Compatibility with `Real.exp` and `Complex.exp`
- `Complex.exp_eq_exp_β` : `Complex.exp = NormedSpace.exp β β`
- `Real.exp_eq_exp_β` : `Real.exp = NormedSpace.exp β β`
-/
public section
open Filter RCLike ContinuousMultilinearMap NormedField NormedSpace Asymptotics
open scoped Nat Topology ENNReal
section AnyFieldAnyAlgebra
variable {π πΈ : Type*} [NontriviallyNormedField π] [NormedRing πΈ] [CharZero π] [NormedAlgebra π πΈ]
[CompleteSpace πΈ]
/-- The exponential in a Banach algebra `πΈ` over a normed field `π` has strict FrΓ©chet derivative
`1 : πΈ βL[π] πΈ` at zero, as long as it converges on a neighborhood of zero. -/
theorem hasStrictFDerivAt_exp_zero_of_radius_pos (h : 0 < (expSeries π πΈ).radius) :
HasStrictFDerivAt exp (1 : πΈ βL[π] πΈ) 0 := by
convert (hasFPowerSeriesAt_exp_zero_of_radius_pos h).hasStrictFDerivAt
ext x
change x = expSeries π πΈ 1 fun _ => x
simp [expSeries_apply_eq, Nat.factorial]
/-- The exponential in a Banach algebra `πΈ` over a normed field `π` has FrΓ©chet derivative
`1 : πΈ βL[π] πΈ` at zero, as long as it converges on a neighborhood of zero. -/
theorem hasFDerivAt_exp_zero_of_radius_pos (h : 0 < (expSeries π πΈ).radius) :
HasFDerivAt exp (1 : πΈ βL[π] πΈ) 0 :=
(hasStrictFDerivAt_exp_zero_of_radius_pos h).hasFDerivAt
end AnyFieldAnyAlgebra
section AnyFieldCommAlgebra
variable {π πΈ : Type*} [NontriviallyNormedField π] [NormedCommRing πΈ] [NormedAlgebra π πΈ]
[CompleteSpace πΈ] [CharZero π]
/-- The exponential map in a commutative Banach algebra `πΈ` over a normed field `π` of
characteristic zero has FrΓ©chet derivative `NormedSpace.exp x β’ 1 : πΈ βL[π] πΈ`
at any point `x` in the disk of convergence. -/
theorem hasFDerivAt_exp_of_mem_ball {x : πΈ}
(hx : x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasFDerivAt exp (exp x β’ (1 : πΈ βL[π] πΈ)) x := by
have hpos : 0 < (expSeries π πΈ).radius := (zero_le _).trans_lt hx
rw [hasFDerivAt_iff_isLittleO_nhds_zero]
suffices
(fun h => exp x * (exp (0 + h) - exp 0 - ContinuousLinearMap.id π πΈ h)) =αΆ [π 0] fun h =>
exp (x + h) - exp x - exp x β’ ContinuousLinearMap.id π πΈ h by
refine (IsLittleO.const_mul_left ?_ _).congr' this (EventuallyEq.refl _ _)
rw [β hasFDerivAt_iff_isLittleO_nhds_zero]
exact hasFDerivAt_exp_zero_of_radius_pos hpos
have : βαΆ h in π (0 : πΈ), h β Metric.eball (0 : πΈ) (expSeries π πΈ).radius :=
Metric.eball_mem_nhds _ hpos
filter_upwards [this] with _ hh
rw [exp_add_of_mem_ball hx hh, exp_zero, zero_add, ContinuousLinearMap.id_apply, smul_eq_mul]
ring
/-- The exponential map in a commutative Banach algebra `πΈ` over a normed field `π` of
characteristic zero has strict FrΓ©chet derivative `NormedSpace.exp x β’ 1 : πΈ βL[π] πΈ`
at any point `x` in the disk of convergence. -/
theorem hasStrictFDerivAt_exp_of_mem_ball {x : πΈ}
(hx : x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasStrictFDerivAt exp (exp x β’ (1 : πΈ βL[π] πΈ)) x :=
let β¨_, hpβ© := analyticAt_exp_of_mem_ball x hx
hp.hasFDerivAt.unique (hasFDerivAt_exp_of_mem_ball hx) βΈ hp.hasStrictFDerivAt
end AnyFieldCommAlgebra
section deriv
variable {π : Type*} [NontriviallyNormedField π] [CompleteSpace π] [CharZero π]
/-- The exponential map in a complete normed field `π` of characteristic zero has strict derivative
`NormedSpace.exp x` at any point `x` in the disk of convergence. -/
theorem hasStrictDerivAt_exp_of_mem_ball {x : π}
(hx : x β Metric.eball (0 : π) (expSeries π π).radius) :
HasStrictDerivAt exp (exp x) x := by
simpa using (hasStrictFDerivAt_exp_of_mem_ball hx).hasStrictDerivAt
/-- The exponential map in a complete normed field `π` of characteristic zero has derivative
`NormedSpace.exp x` at any point `x` in the disk of convergence. -/
theorem hasDerivAt_exp_of_mem_ball {x : π}
(hx : x β Metric.eball (0 : π) (expSeries π π).radius) : HasDerivAt exp (exp x) x :=
(hasStrictDerivAt_exp_of_mem_ball hx).hasDerivAt
/-- The exponential map in a complete normed field `π` of characteristic zero has strict derivative
`1` at zero, as long as it converges on a neighborhood of zero. -/
theorem hasStrictDerivAt_exp_zero_of_radius_pos (h : 0 < (expSeries π π).radius) :
HasStrictDerivAt exp (1 : π) 0 :=
(hasStrictFDerivAt_exp_zero_of_radius_pos h).hasStrictDerivAt
/-- The exponential map in a complete normed field `π` of characteristic zero has derivative
`1` at zero, as long as it converges on a neighborhood of zero. -/
theorem hasDerivAt_exp_zero_of_radius_pos (h : 0 < (expSeries π π).radius) :
HasDerivAt exp (1 : π) 0 :=
(hasStrictDerivAt_exp_zero_of_radius_pos h).hasDerivAt
end deriv
section RCLikeAnyAlgebra
variable {π πΈ : Type*} [RCLike π] [NormedRing πΈ] [NormedAlgebra π πΈ] [CompleteSpace πΈ]
/-- The exponential in a Banach algebra `πΈ` over `π = β` or `π = β` has strict FrΓ©chet derivative
`1 : πΈ βL[π] πΈ` at zero. -/
theorem hasStrictFDerivAt_exp_zero : HasStrictFDerivAt exp (1 : πΈ βL[π] πΈ) 0 :=
hasStrictFDerivAt_exp_zero_of_radius_pos (expSeries_radius_pos π πΈ)
/-- The exponential in a Banach algebra `πΈ` over `π = β` or `π = β` has FrΓ©chet derivative
`1 : πΈ βL[π] πΈ` at zero. -/
theorem hasFDerivAt_exp_zero : HasFDerivAt exp (1 : πΈ βL[π] πΈ) 0 :=
hasStrictFDerivAt_exp_zero.hasFDerivAt
end RCLikeAnyAlgebra
section RCLikeCommAlgebra
variable {π πΈ : Type*} [RCLike π] [NormedCommRing πΈ] [NormedAlgebra π πΈ] [CompleteSpace πΈ]
/-- The exponential map in a commutative Banach algebra `πΈ` over `π = β` or `π = β` has strict
FrΓ©chet derivative `NormedSpace.exp x β’ 1 : πΈ βL[π] πΈ` at any point `x`. -/
theorem hasStrictFDerivAt_exp {x : πΈ} : HasStrictFDerivAt exp (exp x β’ (1 : πΈ βL[π] πΈ)) x :=
hasStrictFDerivAt_exp_of_mem_ball ((expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _)
/-- The exponential map in a commutative Banach algebra `πΈ` over `π = β` or `π = β` has
FrΓ©chet derivative `NormedSpace.exp x β’ 1 : πΈ βL[π] πΈ` at any point `x`. -/
theorem hasFDerivAt_exp {x : πΈ} : HasFDerivAt exp (exp x β’ (1 : πΈ βL[π] πΈ)) x :=
hasStrictFDerivAt_exp.hasFDerivAt
end RCLikeCommAlgebra
section DerivRCLike
variable {π : Type*} [RCLike π]
/-- The exponential map in `π = β` or `π = β` has strict derivative `NormedSpace.exp x`
at any point `x`. -/
theorem hasStrictDerivAt_exp {x : π} : HasStrictDerivAt exp (exp x) x :=
hasStrictDerivAt_exp_of_mem_ball ((expSeries_radius_eq_top π π).symm βΈ edist_lt_top _ _)
/-- The exponential map in `π = β` or `π = β` has derivative `NormedSpace.exp x`
at any point `x`. -/
theorem hasDerivAt_exp {x : π} : HasDerivAt exp (exp x) x :=
hasStrictDerivAt_exp.hasDerivAt
/-- The exponential map in `π = β` or `π = β` has strict derivative `1` at zero. -/
theorem hasStrictDerivAt_exp_zero : HasStrictDerivAt exp (1 : π) 0 :=
hasStrictDerivAt_exp_zero_of_radius_pos (expSeries_radius_pos π π)
/-- The exponential map in `π = β` or `π = β` has derivative `1` at zero. -/
theorem hasDerivAt_exp_zero : HasDerivAt exp (1 : π) 0 :=
hasStrictDerivAt_exp_zero.hasDerivAt
end DerivRCLike
theorem Complex.exp_eq_exp_β : Complex.exp = NormedSpace.exp := by
refine funext fun x => ?_
rw [Complex.exp, exp_eq_tsum_div]
exact tendsto_nhds_unique x.exp'.tendsto_limit (expSeries_div_summable x).hasSum.tendsto_sum_nat
theorem Real.exp_eq_exp_β : Real.exp = NormedSpace.exp := by
ext x; exact mod_cast congr_fun Complex.exp_eq_exp_β x
/-! ### Derivative of $\exp (ux)$ by $u$
Note that since for `x : πΈ` we have `NormedRing πΈ` not `NormedCommRing πΈ`, we cannot deduce
these results from `hasFDerivAt_exp_of_mem_ball` applied to the algebra `πΈ`.
One possible solution for that would be to apply `hasFDerivAt_exp_of_mem_ball` to the
commutative algebra `Algebra.elementalAlgebra π x`. Unfortunately we don't have all the required
API, so we leave that to a future refactor (see https://github.com/leanprover-community/mathlib3/pull/19062 for discussion).
We could also go the other way around and deduce `hasFDerivAt_exp_of_mem_ball` from
`hasFDerivAt_exp_smul_const_of_mem_ball` applied to `π := πΈ`, `x := (1 : πΈ)`, and `t := x`.
However, doing so would make the aforementioned `elementalAlgebra` refactor harder, so for now we
just prove these two lemmas independently.
A last strategy would be to deduce everything from the more general non-commutative case,
$$\frac{d}{dt}e^{x(t)} = \int_0^1 e^{sx(t)} \left(\frac{d}{dt}e^{x(t)}\right) e^{(1-s)x(t)} ds$$
but this is harder to prove, and typically is shown by going via these results first.
TODO: prove this result too!
-/
section exp_smul
variable {π π πΈ : Type*}
variable (π)
open scoped Topology
open Asymptotics Filter
section MemBall
variable [NontriviallyNormedField π] [CharZero π]
variable [NormedCommRing π] [NormedRing πΈ]
variable [NormedSpace π π] [NormedAlgebra π πΈ] [Algebra π πΈ] [ContinuousSMul π πΈ]
variable [IsScalarTower π π πΈ]
variable [CompleteSpace πΈ]
theorem hasFDerivAt_exp_smul_const_of_mem_ball (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasFDerivAt (fun u : π => exp (u β’ x)) (exp (t β’ x) β’ (1 : π βL[π] π).smulRight x) t := by
-- TODO: prove this via `hasFDerivAt_exp_of_mem_ball` using the commutative ring
-- `Algebra.elementalAlgebra π x`. See https://github.com/leanprover-community/mathlib3/pull/19062 for discussion.
have hpos : 0 < (expSeries π πΈ).radius := (zero_le _).trans_lt htx
rw [hasFDerivAt_iff_isLittleO_nhds_zero]
suffices (fun (h : π) => exp (t β’ x) *
(exp ((0 + h) β’ x) - exp ((0 : π) β’ x) - ((1 : π βL[π] π).smulRight x) h)) =αΆ [π 0]
fun h =>
exp ((t + h) β’ x) - exp (t β’ x) - (exp (t β’ x) β’ (1 : π βL[π] π).smulRight x) h by
apply (IsLittleO.const_mul_left _ _).congr' this (EventuallyEq.refl _ _)
rw [β hasFDerivAt_iff_isLittleO_nhds_zero (f := fun u => exp (u β’ x))
(f' := (1 : π βL[π] π).smulRight x) (x := 0)]
have : HasFDerivAt exp (1 : πΈ βL[π] πΈ) ((1 : π βL[π] π).smulRight x 0) := by
rw [ContinuousLinearMap.smulRight_apply, ContinuousLinearMap.one_apply, zero_smul]
exact hasFDerivAt_exp_zero_of_radius_pos hpos
exact this.comp 0 ((1 : π βL[π] π).smulRight x).hasFDerivAt
have : Tendsto (fun h : π => h β’ x) (π 0) (π 0) := by
rw [β zero_smul π x]
exact tendsto_id.smul_const x
have : βαΆ h in π (0 : π), h β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius :=
this.eventually (Metric.eball_mem_nhds _ hpos)
filter_upwards [this] with h hh
have : Commute (t β’ x) (h β’ x) := ((Commute.refl x).smul_left t).smul_right h
rw [add_smul t h, exp_add_of_commute_of_mem_ball this htx hh, zero_add, zero_smul, exp_zero,
ContinuousLinearMap.smulRight_apply, ContinuousLinearMap.one_apply,
ContinuousLinearMap.smul_apply, ContinuousLinearMap.smulRight_apply,
ContinuousLinearMap.one_apply, smul_eq_mul, mul_sub_left_distrib, mul_sub_left_distrib, mul_one]
theorem hasFDerivAt_exp_smul_const_of_mem_ball' (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasFDerivAt (fun u : π => exp (u β’ x))
(((1 : π βL[π] π).smulRight x).smulRight (exp (t β’ x))) t := by
convert hasFDerivAt_exp_smul_const_of_mem_ball π _ _ htx using 1
ext t'
change Commute (t' β’ x) (exp (t β’ x))
exact (((Commute.refl x).smul_left t').smul_right t).exp_right
theorem hasStrictFDerivAt_exp_smul_const_of_mem_ball (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasStrictFDerivAt (fun u : π => exp (u β’ x))
(exp (t β’ x) β’ (1 : π βL[π] π).smulRight x) t :=
let β¨_, hpβ© := analyticAt_exp_of_mem_ball (t β’ x) htx
have derivβ : HasStrictFDerivAt (fun u : π => exp (u β’ x)) _ t :=
hp.hasStrictFDerivAt.comp t ((ContinuousLinearMap.id π π).smulRight x).hasStrictFDerivAt
have derivβ : HasFDerivAt (fun u : π => exp (u β’ x)) _ t :=
hasFDerivAt_exp_smul_const_of_mem_ball π x t htx
derivβ.hasFDerivAt.unique derivβ βΈ derivβ
theorem hasStrictFDerivAt_exp_smul_const_of_mem_ball' (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasStrictFDerivAt (fun u : π => exp (u β’ x))
(((1 : π βL[π] π).smulRight x).smulRight (exp (t β’ x))) t := by
let β¨_, _β© := analyticAt_exp_of_mem_ball (t β’ x) htx
convert hasStrictFDerivAt_exp_smul_const_of_mem_ball π _ _ htx using 1
ext t'
change Commute (t' β’ x) (exp (t β’ x))
exact (((Commute.refl x).smul_left t').smul_right t).exp_right
variable {π}
theorem hasStrictDerivAt_exp_smul_const_of_mem_ball (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasStrictDerivAt (fun u : π => exp (u β’ x)) (exp (t β’ x) * x) t := by
simpa using (hasStrictFDerivAt_exp_smul_const_of_mem_ball π x t htx).hasStrictDerivAt
theorem hasStrictDerivAt_exp_smul_const_of_mem_ball' (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasStrictDerivAt (fun u : π => exp (u β’ x)) (x * exp (t β’ x)) t := by
simpa using (hasStrictFDerivAt_exp_smul_const_of_mem_ball' π x t htx).hasStrictDerivAt
theorem hasDerivAt_exp_smul_const_of_mem_ball (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasDerivAt (fun u : π => exp (u β’ x)) (exp (t β’ x) * x) t :=
(hasStrictDerivAt_exp_smul_const_of_mem_ball x t htx).hasDerivAt
theorem hasDerivAt_exp_smul_const_of_mem_ball' (x : πΈ) (t : π)
(htx : t β’ x β Metric.eball (0 : πΈ) (expSeries π πΈ).radius) :
HasDerivAt (fun u : π => exp (u β’ x)) (x * exp (t β’ x)) t :=
(hasStrictDerivAt_exp_smul_const_of_mem_ball' x t htx).hasDerivAt
end MemBall
section RCLike
variable [RCLike π]
variable [NormedCommRing π] [NormedRing πΈ]
variable [NormedAlgebra π π] [NormedAlgebra π πΈ] [Algebra π πΈ] [ContinuousSMul π πΈ]
variable [IsScalarTower π π πΈ]
variable [CompleteSpace πΈ]
theorem hasFDerivAt_exp_smul_const (x : πΈ) (t : π) :
HasFDerivAt (fun u : π => exp (u β’ x)) (exp (t β’ x) β’ (1 : π βL[π] π).smulRight x) t :=
hasFDerivAt_exp_smul_const_of_mem_ball π _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
theorem hasFDerivAt_exp_smul_const' (x : πΈ) (t : π) :
HasFDerivAt (fun u : π => exp (u β’ x))
(((1 : π βL[π] π).smulRight x).smulRight (exp (t β’ x))) t :=
hasFDerivAt_exp_smul_const_of_mem_ball' π _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
theorem hasStrictFDerivAt_exp_smul_const (x : πΈ) (t : π) :
HasStrictFDerivAt (fun u : π => exp (u β’ x))
(exp (t β’ x) β’ (1 : π βL[π] π).smulRight x) t :=
hasStrictFDerivAt_exp_smul_const_of_mem_ball π _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
theorem hasStrictFDerivAt_exp_smul_const' (x : πΈ) (t : π) :
HasStrictFDerivAt (fun u : π => exp (u β’ x))
(((1 : π βL[π] π).smulRight x).smulRight (exp (t β’ x))) t :=
hasStrictFDerivAt_exp_smul_const_of_mem_ball' π _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
variable {π}
theorem hasStrictDerivAt_exp_smul_const (x : πΈ) (t : π) :
HasStrictDerivAt (fun u : π => exp (u β’ x)) (exp (t β’ x) * x) t :=
hasStrictDerivAt_exp_smul_const_of_mem_ball _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
theorem hasStrictDerivAt_exp_smul_const' (x : πΈ) (t : π) :
HasStrictDerivAt (fun u : π => exp (u β’ x)) (x * exp (t β’ x)) t :=
hasStrictDerivAt_exp_smul_const_of_mem_ball' _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
theorem hasDerivAt_exp_smul_const (x : πΈ) (t : π) :
HasDerivAt (fun u : π => exp (u β’ x)) (exp (t β’ x) * x) t :=
hasDerivAt_exp_smul_const_of_mem_ball _ _ <| (expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
theorem hasDerivAt_exp_smul_const' (x : πΈ) (t : π) :
HasDerivAt (fun u : π => exp (u β’ x)) (x * exp (t β’ x)) t :=
hasDerivAt_exp_smul_const_of_mem_ball' _ _ <|
(expSeries_radius_eq_top π πΈ).symm βΈ edist_lt_top _ _
variable (π) in
@[fun_prop]
lemma differentiable_exp_smul_const (x : πΈ) :
Differentiable π (fun t : π β¦ exp (t β’ x)) :=
(β¨_, hasDerivAt_exp_smul_const x Β·β©)
@[fun_prop]
lemma differentiableAt_exp_smul_const (x : πΈ) (r : π) :
DifferentiableAt π (fun t : π β¦ exp (t β’ x)) r :=
differentiable_exp_smul_const π x |>.differentiableAt
end RCLike
end exp_smul
section tsum_tprod
variable {πΈ : Type*} [NormedCommRing πΈ] [NormedAlgebra β πΈ] [CompleteSpace πΈ]
/-- If `f` has sum `a`, then `NormedSpace.exp β f` has product `NormedSpace.exp a`. -/
lemma HasSum.exp {ΞΉ : Type*} {f : ΞΉ β πΈ} {a : πΈ} (h : HasSum f a) :
HasProd (exp β f) (exp a) :=
Tendsto.congr (fun s β¦ exp_sum s f) <| Tendsto.exp h
end tsum_tprod