forked from leanprover-community/mathlib4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLogMeromorphic.lean
More file actions
219 lines (189 loc) · 8.78 KB
/
Copy pathLogMeromorphic.lean
File metadata and controls
219 lines (189 loc) · 8.78 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
/-
Copyright (c) 2025 Stefan Kebekus. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Stefan Kebekus
-/
module
public import Mathlib.Analysis.Meromorphic.FactorizedRational
public import Mathlib.Analysis.Normed.Module.Connected
public import Mathlib.Analysis.SpecialFunctions.Integrability.Basic
public import Mathlib.Analysis.SpecialFunctions.Log.PosLog
public import Mathlib.LinearAlgebra.Complex.FiniteDimensional
public import Mathlib.MeasureTheory.Integral.CircleIntegral
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv
/-!
# Integrability for Logarithms of Meromorphic Functions
We establish integrability for functions of the form `log ‖meromorphic‖`. In the real setting, these
functions are interval integrable over every interval of the real line. This implies in particular
that logarithms of trigonometric functions are interval integrable. In the complex setting, the
functions are circle integrable over every circle in the complex plane.
-/
public section
open Filter Interval MeasureTheory MeromorphicOn Metric Real
/-!
## Interval Integrability for Logarithms of Real Meromorphic Functions
-/
section IntervalIntegrable
variable
{E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
{f : ℝ → E} {a b : ℝ}
/--
If `f` is real-meromorphic on a compact interval, then `log ‖f ·‖` is interval integrable on this
interval.
-/
theorem MeromorphicOn.intervalIntegrable_log_norm (hf : MeromorphicOn f [[a, b]]) :
IntervalIntegrable (log ‖f ·‖) volume a b := by
by_cases t₀ : ∀ u : [[a, b]], meromorphicOrderAt f u ≠ ⊤
· obtain ⟨g, h₁g, h₂g, h₃g⟩ := hf.extract_zeros_poles t₀
((MeromorphicOn.divisor f [[a, b]]).finiteSupport isCompact_uIcc)
have h₄g := MeromorphicOn.extract_zeros_poles_log h₂g h₃g
rw [intervalIntegrable_congr_codiscreteWithin
(h₄g.filter_mono (Filter.codiscreteWithin.mono Set.uIoc_subset_uIcc))]
apply IntervalIntegrable.add
· apply IntervalIntegrable.finsum
intro i
apply IntervalIntegrable.const_mul
rw [(by ring : a = ((a - i) + i)), (by ring : b = ((b - i) + i))]
apply IntervalIntegrable.comp_sub_right (f := (log ‖·‖)) _ i
simp [norm_eq_abs, log_abs]
· apply ContinuousOn.intervalIntegrable
apply h₁g.continuousOn.norm.log
simp_all
· rw [← hf.exists_meromorphicOrderAt_ne_top_iff_forall (isConnected_Icc inf_le_sup)] at t₀
push Not at t₀
have : (log ‖f ·‖) =ᶠ[Filter.codiscreteWithin (Ι a b)] 0 := by
apply Filter.EventuallyEq.filter_mono _ (Filter.codiscreteWithin.mono Set.uIoc_subset_uIcc)
filter_upwards [hf.meromorphicNFAt_mem_codiscreteWithin,
Filter.self_mem_codiscreteWithin [[a, b]]] with x h₁x h₂x
simp only [Pi.zero_apply, log_eq_zero, norm_eq_zero]
left
by_contra hCon
simp_all [← h₁x.meromorphicOrderAt_eq_zero_iff, t₀ ⟨x, h₂x⟩]
rw [intervalIntegrable_congr_codiscreteWithin this]
apply Iff.mpr _root_.intervalIntegrable_const_iff
tauto
@[deprecated (since := "2026-03-28")]
alias intervalIntegrable_log_norm_meromorphicOn := MeromorphicOn.intervalIntegrable_log_norm
/--
If `f` is real-meromorphic on a compact interval, then `log ‖f ·‖` is interval integrable on this
interval.
-/
theorem MeromorphicOn.intervalIntegrable_posLog_norm (hf : MeromorphicOn f [[a, b]]) :
IntervalIntegrable (log⁺ ‖f ·‖) volume a b := by
simp_rw [← half_mul_log_add_log_abs, mul_add]
apply IntervalIntegrable.add
· apply hf.intervalIntegrable_log_norm.const_mul
· apply hf.intervalIntegrable_log_norm.abs.const_mul
@[deprecated (since := "2026-03-28")]
alias MeromorphicOn.intervalIntegrable_posLog_norm_meromorphicOn := intervalIntegrable_posLog_norm
/--
If `f` is real-meromorphic on a compact interval, then `log ∘ f` is interval integrable on this
interval.
-/
theorem _root_.MeromorphicOn.intervalIntegrable_log {f : ℝ → ℝ} (hf : MeromorphicOn f [[a, b]]) :
IntervalIntegrable (log ∘ f) volume a b := by
rw [(by aesop : log ∘ f = (log ‖f ·‖))]
exact hf.intervalIntegrable_log_norm
/--
Special case of `MeromorphicOn.intervalIntegrable_log`: The function `log ∘ sin` is interval
integrable over every interval.
-/
theorem intervalIntegrable_log_sin : IntervalIntegrable (log ∘ sin) volume a b :=
analyticOnNhd_sin.meromorphicOn.intervalIntegrable_log
/--
Special case of `MeromorphicOn.intervalIntegrable_log`: The function `log ∘ cos` is interval
integrable over every interval.
-/
theorem intervalIntegrable_log_cos : IntervalIntegrable (log ∘ cos) volume a b :=
analyticOnNhd_cos.meromorphicOn.intervalIntegrable_log
end IntervalIntegrable
/-!
## Circle Integrability for Logarithms of Complex Meromorphic Functions
-/
section CircleIntegrable
variable
{E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
{c : ℂ} {R : ℝ} {f : ℂ → E}
/--
If `f` is complex meromorphic on a circle in the complex plane, then `log ‖f ·‖` is circle
integrable over that circle.
-/
theorem MeromorphicOn.circleIntegrable_log_norm (hf : MeromorphicOn f (sphere c |R|)) :
CircleIntegrable (log ‖f ·‖) c R := by
by_cases t₀ : ∀ u : (sphere c |R|), meromorphicOrderAt f u ≠ ⊤
· obtain ⟨g, h₁g, h₂g, h₃g⟩ := hf.extract_zeros_poles t₀
((divisor f (sphere c |R|)).finiteSupport (isCompact_sphere c |R|))
have h₄g := MeromorphicOn.extract_zeros_poles_log h₂g h₃g
apply CircleIntegrable.congr_codiscreteWithin h₄g.symm
apply CircleIntegrable.add
· apply CircleIntegrable.finsum
intro i
apply IntervalIntegrable.const_mul
apply MeromorphicOn.intervalIntegrable_log_norm
apply AnalyticOnNhd.meromorphicOn
apply AnalyticOnNhd.sub _ analyticOnNhd_const
apply (analyticOnNhd_circleMap c R).mono (by tauto)
· apply ContinuousOn.intervalIntegrable
apply ContinuousOn.log
· apply ContinuousOn.norm
apply h₁g.continuousOn.comp (t := sphere c |R|) (continuous_circleMap c R).continuousOn
intro x hx
simp
· intro x hx
rw [ne_eq, norm_eq_zero]
apply h₂g ⟨circleMap c R x, circleMap_mem_sphere' c R x⟩
· rw [← hf.exists_meromorphicOrderAt_ne_top_iff_forall (isConnected_sphere (by simp) c
(abs_nonneg R))] at t₀
push Not at t₀
have : (log ‖f ·‖) =ᶠ[codiscreteWithin (sphere c |R|)] 0 := by
filter_upwards [hf.meromorphicNFAt_mem_codiscreteWithin,
self_mem_codiscreteWithin (sphere c |R|)] with x h₁x h₂x
simp only [Pi.zero_apply, log_eq_zero, norm_eq_zero]
left
by_contra hCon
simp_all [← h₁x.meromorphicOrderAt_eq_zero_iff, t₀ ⟨x, h₂x⟩]
apply CircleIntegrable.congr_codiscreteWithin this.symm (circleIntegrable_const 0 c R)
@[deprecated (since := "2026-03-28")]
alias circleIntegrable_log_norm_meromorphicOn := MeromorphicOn.circleIntegrable_log_norm
/--
Variant of `MeromorphicOn.circleIntegrable_log_norm` for non-negative radii.
-/
theorem MeromorphicOn.circleIntegrable_log_norm_of_nonneg (hf : MeromorphicOn f (sphere c R))
(hR : 0 ≤ R) :
CircleIntegrable (log ‖f ·‖) c R := by
rw [← abs_of_nonneg hR] at hf
exact hf.circleIntegrable_log_norm
@[deprecated (since := "2026-03-28")]
alias circleIntegrable_log_norm_meromorphicOn_of_nonneg :=
MeromorphicOn.circleIntegrable_log_norm_of_nonneg
/--
Variant of `MeromorphicOn.circleIntegrable_log_norm` for factorized rational functions.
-/
theorem circleIntegrable_log_norm_factorizedRational {R : ℝ} {c : ℂ} (D : ℂ → ℤ) :
CircleIntegrable (∑ᶠ u, ((D u) * log ‖· - u‖)) c R :=
CircleIntegrable.finsum (fun _ ↦
((analyticOnNhd_id.sub analyticOnNhd_const).meromorphicOn.circleIntegrable_log_norm).const_smul)
/--
If `f` is complex meromorphic on a circle in the complex plane, then `log⁺ ‖f ·‖` is circle
integrable over that circle.
-/
theorem MeromorphicOn.circleIntegrable_posLog_norm (hf : MeromorphicOn f (sphere c |R|)) :
CircleIntegrable (log⁺ ‖f ·‖) c R := by
simp_rw [← half_mul_log_add_log_abs, mul_add]
apply CircleIntegrable.add
· apply hf.circleIntegrable_log_norm.const_mul
· apply hf.circleIntegrable_log_norm.abs.const_mul
@[deprecated (since := "2026-03-28")]
alias circleIntegrable_posLog_norm_meromorphicOn := MeromorphicOn.circleIntegrable_posLog_norm
/--
Variant of `MeromorphicOn.circleIntegrable_posLog_norm` for non-negative radii.
-/
theorem MeromorphicOn.circleIntegrable_posLog_norm_of_nonneg (hf : MeromorphicOn f (sphere c R))
(hR : 0 ≤ R) :
CircleIntegrable (log⁺ ‖f ·‖) c R := by
rw [← abs_of_nonneg hR] at hf
exact hf.circleIntegrable_posLog_norm
@[deprecated (since := "2026-03-28")]
alias circleIntegrable_posLog_norm_meromorphicOn_of_nonneg :=
MeromorphicOn.circleIntegrable_posLog_norm_of_nonneg
end CircleIntegrable