Skip to content

Commit 068f68e

Browse files
chore: bump to v4.26.0 (#522)
1 parent 76fba78 commit 068f68e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+194
-294
lines changed

Carleson/Antichain/AntichainOperator.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ lemma dens1_antichain_sq (h𝔄 : IsAntichain (· ≤ ·) 𝔄)
264264
_ ≤ Tile.C6_1_5 a * 2 ^ (6 * a + 1) * ∑ p with p ∈ 𝔄,
265265
∫⁻ y in E p, C6_1_6 a * dens₁ 𝔄 ^ (p₆ a)⁻¹ * M14 𝔄 (q₆ a) g y * ‖g y‖ₑ := by
266266
gcongr with p mp; rw [← lintegral_const_mul _ hg.enorm]
267-
refine setLIntegral_mono' measurableSet_E fun x mx ↦ mul_le_mul_right' ?_ _
267+
refine setLIntegral_mono' measurableSet_E fun x mx ↦ mul_le_mul_left ?_ _
268268
rw [Finset.mem_filter_univ] at mp
269269
refine dach_bound h𝔄 mp hg hgG <|
270270
((E_subset_𝓘.trans Grid_subset_ball).trans (ball_subset_ball ?_)) mx

Carleson/Antichain/AntichainTileCount.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ lemma stack_density (𝔄 : Set (𝔓 X)) (ϑ : Θ X) (N : ℕ) (L : Grid X) :
286286
gcongr
287287
norm_cast
288288
calc 𝔄'.toFinset.card * 2 ^ a
289-
_ ≤ 2 ^ (a * (N + 4)) * 2 ^ a := mul_le_mul_right' hcard _
289+
_ ≤ 2 ^ (a * (N + 4)) * 2 ^ a := mul_le_mul_left hcard _
290290
_ = 2 ^ (a * (N + 5)) := by ring
291291
_ ≤ 2 ^ (a * (N + 5)) * dens₁ (𝔄 : Set (𝔓 X)) * volume (L : Set X) := by
292292
have hss : 𝔄' ⊆ 𝔄 := by

Carleson/Antichain/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ lemma maximal_bound_antichain {𝔄 : Set (𝔓 X)} (h𝔄 : IsAntichain (· ≤
217217
· exact lt_of_le_of_lt hdist_cp
218218
(mul_lt_mul_of_nonneg_of_pos (by linarith) (le_refl _) (by linarith) hDpow_pos)
219219
_ ≤ C6_1_2 a * MB volume 𝔄 𝔠 (8 * D ^ 𝔰 ·) f x := by
220-
rw [mul_le_mul_left (C6_1_2_ne_zero a) coe_ne_top, MB, maximalFunction,
220+
rw [ENNReal.mul_le_mul_iff_right (C6_1_2_ne_zero a) coe_ne_top, MB, maximalFunction,
221221
inv_one, ENNReal.rpow_one, le_iSup_iff]
222222
simp only [iSup_le_iff, ENNReal.rpow_one]
223223
exact (fun _ hc ↦ hc p.1 p.2)

Carleson/Antichain/TileCorrelation.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ lemma uncertainty' (ha : 1 ≤ a) {p₁ p₂ : 𝔓 X} (hle : 𝔰 p₁ ≤ 𝔰
269269
have hpow : (2 : ℝ) + 2 ^ (6 * a) ≤ 2 ^ (a * 8) :=
270270
calc
271271
_ ≤ (2 : ℝ) ^ (6 * a) + 2 ^ (6 * a) := by
272-
apply add_le_add_right
272+
apply add_le_add_left
273273
norm_cast
274274
nth_rw 1 [← pow_one 2]
275275
exact Nat.pow_le_pow_right zero_lt_two (by cutsat)
@@ -430,7 +430,7 @@ lemma bound_6_2_29 (ha : 4 ≤ a) {p p' : 𝔓 X} (x2 : E p) :
430430
C6_1_5 a *
431431
(1 + edist_(p') (𝒬 p') (𝒬 p)) ^ (-(2 * a ^ 2 + a ^ 3 : ℝ)⁻¹) / volume (𝓘 p : Set X) := by
432432
rw [mul_comm, mul_div_assoc, mul_comm (C6_1_5 a : ℝ≥0∞), mul_div_assoc]
433-
refine mul_le_mul_left' ?_ _
433+
refine mul_le_mul_right ?_ _
434434
calc
435435
_ = 2 ^ ((2 * 𝕔 + 6 + 𝕔 / 4) * a ^ 3 + 1) * 2 ^ (11 * a) * 2 ^ (-(3 : ℤ) * a) /
436436
volume (ball x2.1 (D ^ 𝔰 p)) := by

Carleson/Classical/Approximation.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ lemma int_sum_nat {β : Type*} [AddCommGroup β] [TopologicalSpace β] [Continuo
158158
have : Icc (- Int.ofNat (N.succ)) (N.succ) = insert (↑(N.succ)) (insert (-Int.ofNat (N.succ)) (Icc (-Int.ofNat N) N)) := by
159159
rw [←Ico_insert_right, ←Ioo_insert_left]
160160
· congr 2 with n
161-
simp only [Int.ofNat_eq_coe, mem_Ioo, mem_Icc]
161+
simp only [Int.ofNat_eq_natCast, mem_Ioo, mem_Icc]
162162
push_cast
163163
rw [Int.lt_add_one_iff, neg_add, ←sub_eq_add_neg, Int.sub_one_lt_iff]
164164
· norm_num
@@ -169,7 +169,7 @@ lemma int_sum_nat {β : Type*} [AddCommGroup β] [TopologicalSpace β] [Continuo
169169
· symm
170170
rw [sum_range_succ, add_comm, ←add_assoc, add_comm]
171171
simp only [Nat.cast_add, Nat.cast_one, neg_add_rev, Int.reduceNeg, Nat.succ_eq_add_one,
172-
Int.ofNat_eq_coe, add_comm]
172+
Int.ofNat_eq_natCast, add_comm]
173173
· simp
174174
· norm_num
175175
linarith

Carleson/Classical/Basic.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ theorem fourierCoeff_eq_fourierCoeff_of_aeeq {T : ℝ} [hT : Fact (0 < T)] {n :
2020
apply integral_congr_ae
2121
change @DFunLike.coe C(AddCircle T, ℂ) (AddCircle T) (fun x ↦ ℂ) ContinuousMap.instFunLike (fourier (-n)) * f =ᶠ[ae haarAddCircle] @DFunLike.coe C(AddCircle T, ℂ) (AddCircle T) (fun x ↦ ℂ) ContinuousMap.instFunLike (fourier (-n)) * g
2222
have fourier_measurable : AEStronglyMeasurable (⇑(@fourier T (-n))) haarAddCircle := (ContinuousMap.measurable _).aestronglyMeasurable
23-
2423
rw [← AEEqFun.mk_eq_mk (hf := fourier_measurable.mul hf) (hg := fourier_measurable.mul hg),
2524
← AEEqFun.mk_mul_mk _ _ fourier_measurable hf, ← AEEqFun.mk_mul_mk _ _ fourier_measurable hg]
2625
congr 1
@@ -37,7 +36,7 @@ lemma partialFourierSum_eq_partialFourierSum' [hT : Fact (0 < 2 * Real.pi)] (N :
3736
ext x
3837
unfold partialFourierSum partialFourierSum' liftIoc
3938
simp only [
40-
Function.comp_apply, Set.restrict_apply, Int.ofNat_eq_coe, ContinuousMap.coe_sum,
39+
Function.comp_apply, Set.restrict_apply, Int.ofNat_eq_natCast, ContinuousMap.coe_sum,
4140
ContinuousMap.coe_smul, Finset.sum_apply, Pi.smul_apply, smul_eq_mul]
4241
congr
4342
ext n

Carleson/Classical/CarlesonOnTheRealLine.lean

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,6 @@ lemma integer_ball_cover {x : ℝ} {R R' : ℝ} {f : WithFunctionDistance x R} :
250250
set m₁ := Int.floor (f - R' / (2 * R)) with m₁def
251251
set! m₂ := f with m₂def
252252
set m₃ := Int.ceil (f + R' / (2 * R)) with m₃def
253-
254253
/- classical is necessary to be able to build a Finset of WithFunctionDistance. -/
255254
classical
256255
set balls : Finset (WithFunctionDistance x R) := {m₁, m₂, m₃} with balls_def

Carleson/Classical/ClassicalCarleson.lean

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ theorem exceptional_set_carleson {f : ℝ → ℂ}
1919
set ε' := ε / 4 / C_control_approximation_effect ε with ε'def
2020
have ε'pos : ε' > 0 := div_pos (div_pos εpos (by norm_num))
2121
(C_control_approximation_effect_pos εpos)
22-
2322
/- Approximate f by a smooth f₀. -/
2423
have unicont_f : UniformContinuous f := periodic_f.uniformContinuous_of_continuous
2524
Real.two_pi_pos cont_f.continuousOn
@@ -33,19 +32,17 @@ theorem exceptional_set_carleson {f : ℝ → ℂ}
3332
have h_bound : ∀ x, ‖h x‖ ≤ ε' := by
3433
intro x
3534
simpa only [hdef, Pi.sub_apply, norm_sub_rev] using hf₀ x
36-
3735
/- Control approximation effect: Get a bound on the partial Fourier sums of h. -/
3836
obtain ⟨E, Esubset, Emeasurable, Evolume, hE⟩ := control_approximation_effect εpos ε'pos
3937
h_measurable h_periodic h_bound
40-
4138
/- This is a classical "epsilon third" argument. -/
4239
use E, Esubset, Emeasurable, Evolume, N₀
4340
intro x hx N NgtN₀
4441
calc ‖f x - S_ N f x‖
4542
_ = ‖(f x - f₀ x) + (f₀ x - S_ N f₀ x) + (S_ N f₀ x - S_ N f x)‖ := by ring_nf
4643
_ ≤ ‖(f x - f₀ x) + (f₀ x - S_ N f₀ x)‖ + ‖S_ N f₀ x - S_ N f x‖ := norm_add_le ..
4744
_ ≤ ‖f x - f₀ x‖ + ‖f₀ x - S_ N f₀ x‖ + ‖S_ N f₀ x - S_ N f x‖ :=
48-
add_le_add_right (norm_add_le ..) _
45+
add_le_add_left (norm_add_le ..) _
4946
_ ≤ ε' + (ε / 4) + (ε / 4) := by
5047
gcongr
5148
· exact hf₀ x
@@ -66,17 +63,14 @@ theorem exceptional_set_carleson {f : ℝ → ℂ}
6663
theorem carleson_interval {f : ℝ → ℂ} (cont_f : Continuous f) (periodic_f : f.Periodic (2 * π)) :
6764
∀ᵐ x ∂volume.restrict (Set.Icc 0 (2 * π)),
6865
Filter.Tendsto (S_ · f x) Filter.atTop (nhds (f x)) := by
69-
7066
let δ (k : ℕ) : ℝ := 1 / (k + 1) --arbitrary sequence tending to zero
7167
have δconv : Filter.Tendsto δ Filter.atTop (nhds 0) := tendsto_one_div_add_atTop_nhds_zero_nat
7268
have δpos (k : ℕ) : 0 < δ k := by apply div_pos zero_lt_one (by linarith)
73-
7469
-- ENNReal version to be comparable to volumes
7570
let δ' (k : ℕ) := ENNReal.ofReal (δ k)
7671
have δ'conv : Filter.Tendsto δ' Filter.atTop (nhds 0) := by
7772
rw [← ENNReal.ofReal_zero]
7873
exact ENNReal.tendsto_ofReal δconv
79-
8074
set ε := fun k n ↦ (1 / 2) ^ n * 2⁻¹ * δ k with εdef
8175
have εpos (k n : ℕ) : 0 < ε k n := by positivity
8276
have εsmall (k : ℕ) {e : ℝ} (epos : 0 < e) : ∃ n, ε k n < e := by
@@ -91,7 +85,6 @@ theorem carleson_interval {f : ℝ → ℂ} (cont_f : Continuous f) (periodic_f
9185
use n
9286
convert (hn n (by simp))
9387
simp_rw [dist_zero_right, Real.norm_eq_abs, abs_of_nonneg (εpos k n).le]
94-
9588
have δ'_eq {k : ℕ} : δ' k = ∑' n, ENNReal.ofReal (ε k n) := by
9689
rw [εdef]
9790
conv => rhs; pattern ENNReal.ofReal _; rw [ENNReal.ofReal_mul' (δpos k).le,
@@ -102,43 +95,35 @@ theorem carleson_interval {f : ℝ → ℂ} (cont_f : Continuous f) (periodic_f
10295
conv => pattern ENNReal.ofReal _; ring_nf; rw [ENNReal.ofReal_one]
10396
· rw [one_mul]
10497
norm_num
105-
10698
-- Main step: Apply exceptional_set_carleson to get a family of exceptional sets parameterized by ε.
10799
choose Eε hEε_subset _ hEε_measure hEε using (@exceptional_set_carleson f cont_f periodic_f)
108-
109100
have Eεmeasure {ε : ℝ} (hε : 0 < ε) : volume (Eε hε) ≤ ENNReal.ofReal ε := by
110101
rw [ENNReal.le_ofReal_iff_toReal_le _ hε.le]
111102
· exact hEε_measure hε
112103
· rw [← lt_top_iff_ne_top]
113104
apply lt_of_le_of_lt (measure_mono (hEε_subset hε)) measure_Icc_lt_top
114-
115105
-- Define exceptional sets parameterized by δ.
116106
let Eδ (k : ℕ) := ⋃ (n : ℕ), Eε (εpos k n)
117107
have Eδmeasure (k : ℕ) : volume (Eδ k) ≤ δ' k := by
118108
apply le_trans (measure_iUnion_le _)
119109
rw [δ'_eq]
120110
exact ENNReal.tsum_le_tsum (fun n ↦ Eεmeasure (εpos k n))
121-
122111
-- Define final exceptional set.
123112
let E := ⋂ (k : ℕ), Eδ k
124-
125113
-- Show that it has the desired property.
126114
have hE : ∀ x ∈ (Set.Icc 0 (2 * π)) \ E, Filter.Tendsto (S_ · f x) Filter.atTop (nhds (f x)) := by
127115
intro x hx
128116
rw [Set.diff_iInter, Set.mem_iUnion] at hx
129117
rcases hx with ⟨k,hk⟩
130118
rw [Set.diff_iUnion, Set.mem_iInter] at hk
131-
132119
rw [Metric.tendsto_atTop']
133120
intro e epos
134121
rcases (εsmall k epos) with ⟨n, lt_e⟩
135-
136122
rcases (hEε (εpos k n)) with ⟨N₀,hN₀⟩
137123
use N₀
138124
intro N hN
139125
rw [dist_comm, dist_eq_norm]
140126
exact (hN₀ x (hk n) N hN).trans_lt lt_e
141-
142127
-- Show that is has measure zero.
143128
have Emeasure : volume E ≤ 0 := by
144129
have : ∀ k, volume E ≤ δ' k := by
@@ -147,7 +132,6 @@ theorem carleson_interval {f : ℝ → ℂ} (cont_f : Continuous f) (periodic_f
147132
apply measure_mono
148133
apply Set.iInter_subset
149134
exact ge_of_tendsto' δ'conv this
150-
151135
-- Use results to prove the statement.
152136
rw [ae_restrict_iff' measurableSet_Icc]
153137
apply le_antisymm _ (zero_le _)

Carleson/Classical/ControlApproximationEffect.lean

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ lemma le_CarlesonOperatorReal {g : ℝ → ℂ} (hg : IntervalIntegrable g volum
288288
congr
289289
rw [Dirichlet_Hilbert_eq]
290290
simp only [ofReal_sub, mul_comm, mul_neg, ← mul_assoc, k, map_mul, ← exp_conj, map_neg,
291-
conj_I, map_sub, conj_ofReal, map_natCast, neg_neg, map_div₀, map_one, Int.ofNat_eq_coe,
291+
conj_I, map_sub, conj_ofReal, map_natCast, neg_neg, map_div₀, map_one, Int.ofNat_eq_natCast,
292292
Int.cast_natCast, K, ← exp_add, map_add]
293293
ring_nf
294294
_ ≤ ⨆ (n : ℤ) (r : ℝ) (_ : 0 < r) (_ : r < 1), ‖∫ y in {y | dist x y ∈ Set.Ioo r 1}, g y * (exp (I * (-n * x)) * K x y * exp (I * n * y) + conj (exp (I * (-n * x)) * K x y * exp (I * n * y)))‖ₑ := by
@@ -330,12 +330,12 @@ lemma le_CarlesonOperatorReal {g : ℝ → ℂ} (hg : IntervalIntegrable g volum
330330
have integrable₁ := integrable_annulus hx hg rpos.le rle1
331331
rw [integral_add]
332332
· conv => pattern ((g _) * _); rw [mul_comm]
333-
apply Integrable.bdd_mul' integrable₁ measurable₁.aestronglyMeasurable
333+
apply Integrable.bdd_mul integrable₁ measurable₁.aestronglyMeasurable
334334
· rw [ae_restrict_iff' annulus_measurableSet]
335335
on_goal 1 => apply Eventually.of_forall
336336
exact fun _ hy ↦ boundedness₁ hy.1.le
337337
· conv => pattern ((g _) * _); rw [mul_comm]
338-
apply Integrable.bdd_mul' integrable₁ (by fun_prop)
338+
apply Integrable.bdd_mul integrable₁ (by fun_prop)
339339
· rw [ae_restrict_iff' annulus_measurableSet]
340340
· apply Eventually.of_forall
341341
intro y hy
@@ -397,7 +397,6 @@ lemma partialFourierSum_bound {δ : ℝ} (hδ : 0 < δ) {g : ℝ → ℂ} (measu
397397
rw [← intervalIntegral.integral_add (intervalIntegrable_mul_dirichletKernel'_max hx intervalIntegrable_g) (intervalIntegrable_mul_dirichletKernel'_max' hx intervalIntegrable_g)]
398398
congr with y
399399
ring
400-
401400
calc
402401
_ ≤ (‖∫ y in (x - π)..(x + π), g y * ((max (1 - |x - y|) 0) * dirichletKernel' N (x - y))‖ₑ
403402
+ ‖∫ y in (x - π)..(x + π), g y * (dirichletKernel' N (x - y) - (max (1 - |x - y|) 0) * dirichletKernel' N (x - y))‖ₑ) / ENNReal.ofReal (2 * π) := by
@@ -413,7 +412,6 @@ lemma partialFourierSum_bound {δ : ℝ} (hδ : 0 < δ) {g : ℝ → ℂ} (measu
413412
norm_cast
414413
apply NNReal.le_toNNReal_of_coe_le
415414
rw [coe_nnnorm]
416-
417415
calc ‖∫ (y : ℝ) in x - π..x + π, g y * (dirichletKernel' N (x - y) - (max (1 - |x - y|) 0) * dirichletKernel' N (x - y))‖
418416
_ ≤ (δ * π) * |(x + π) - (x - π)| := by
419417
apply intervalIntegral.norm_integral_le_of_norm_le_const
@@ -560,7 +558,6 @@ lemma control_approximation_effect {ε : ℝ} (εpos : 0 < ε) {δ : ℝ} (hδ :
560558
intro x
561559
simp only [RCLike.star_def, Function.comp_apply, RingHomIsometric.norm_map]
562560
exact h_bound x
563-
564561
have le_operator_add : ∀ x ∈ E, ENNReal.ofReal ((ε' - π * δ) * (2 * π)) ≤ T h x + T (conj ∘ h) x := by
565562
intro x hx
566563
obtain ⟨xIcc, N, hN⟩ := hx

Carleson/Classical/DirichletKernel.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ lemma continuous_dirichletKernel : Continuous (dirichletKernel N) := by
2626

2727
lemma dirichletKernel_periodic : Function.Periodic (dirichletKernel N) (2 * π) := by
2828
intro x
29-
simp only [dirichletKernel, Int.ofNat_eq_coe, AddSubgroup.mem_zmultiples,
29+
simp only [dirichletKernel, Int.ofNat_eq_natCast, AddSubgroup.mem_zmultiples,
3030
QuotientAddGroup.mk_add_of_mem, fourier_apply, fourier_coe_apply', ofReal_mul, ofReal_ofNat]
3131

3232
lemma dirichletKernel'_periodic : Function.Periodic (dirichletKernel' N) (2 * π) := by

0 commit comments

Comments
 (0)