Skip to content

Commit 893e3a7

Browse files
authored
chore: bump mathlib (#274)
1 parent 948086a commit 893e3a7

File tree

6 files changed

+17
-29
lines changed

6 files changed

+17
-29
lines changed

Carleson/ToMathlib/HardyLittlewood.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ protected theorem HasWeakType.MB_one [BorelSpace X] (h𝓑 : 𝓑.Countable)
293293
intro f _
294294
use AEStronglyMeasurable.maximalFunction h𝓑
295295
let Bₗ (ℓ : ℝ≥0∞) := { i ∈ 𝓑 | ∫⁻ y in (ball (c i) (r i)), ‖f y‖₊ ∂μ ≥ ℓ * μ (ball (c i) (r i)) }
296-
simp only [wnorm, one_ne_top, wnorm', one_toReal, inv_one, ENNReal.rpow_one, reduceIte,
296+
simp only [wnorm, one_ne_top, wnorm', toReal_one, inv_one, ENNReal.rpow_one, reduceIte,
297297
ENNReal.coe_pow, eLpNorm, one_ne_zero, eLpNorm', ne_eq, not_false_eq_true, div_self,
298298
iSup_le_iff]
299299
intro t

Carleson/ToMathlib/MeasureReal.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ theorem measureReal_le_measureReal_union_right (h : μ s ≠ ∞ := by finitenes
153153

154154
theorem measureReal_union_le (s₁ s₂ : Set α) : μ.real (s₁ ∪ s₂) ≤ μ.real s₁ + μ.real s₂ := by
155155
rcases eq_top_or_lt_top (μ (s₁ ∪ s₂)) with h|h
156-
· simp only [Measure.real, h, ENNReal.top_toReal]
156+
· simp only [Measure.real, h, ENNReal.toReal_top]
157157
exact add_nonneg ENNReal.toReal_nonneg ENNReal.toReal_nonneg
158158
· have A : μ s₁ ≠ ∞ := measure_ne_top_of_subset subset_union_left h.ne
159159
have B : μ s₂ ≠ ∞ := measure_ne_top_of_subset subset_union_right h.ne
@@ -279,7 +279,7 @@ lemma measureReal_symmDiff_le (s t u : Set α)
279279
(h₁ : μ s ≠ ∞ := by finiteness) (h₂ : μ t ≠ ∞ := by finiteness) :
280280
μ.real (s ∆ u) ≤ μ.real (s ∆ t) + μ.real (t ∆ u) := by
281281
rcases eq_top_or_lt_top (μ u) with hu|hu
282-
· simp only [measureReal_def, measure_symmDiff_eq_top h₁ hu, ENNReal.top_toReal]
282+
· simp only [measureReal_def, measure_symmDiff_eq_top h₁ hu, ENNReal.toReal_top]
283283
exact add_nonneg ENNReal.toReal_nonneg ENNReal.toReal_nonneg
284284
· exact le_trans (measureReal_mono (symmDiff_triangle s t u) (measure_union_ne_top
285285
(measure_symmDiff_ne_top h₁ h₂) (measure_symmDiff_ne_top h₂ hu.ne)))

Carleson/ToMathlib/MeasureTheory/Group/LIntegral.lean

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,11 @@ open scoped ENNReal
77

88
variable {G : Type*} [MeasurableSpace G] {μ : Measure G}
99

10-
section MeasurableInv
11-
variable [Group G] [MeasurableInv G]
12-
13-
/-- If `μ` is invariant under inversion, then `∫⁻ x, f x ∂μ` is unchanged by replacing
14-
`x` with `x⁻¹` -/
15-
@[to_additive
16-
"If `μ` is invariant under negation, then `∫⁻ x, f x ∂μ` is unchanged by replacing `x` with `-x`"]
17-
theorem lintegral_inv_eq_self [μ.IsInvInvariant] (f : G → ℝ≥0∞) :
18-
∫⁻ (x : G), f x⁻¹ ∂μ = ∫⁻ (x : G), f x ∂μ := by
19-
simpa using (lintegral_map_equiv f (μ := μ) <| MeasurableEquiv.inv G).symm
20-
21-
end MeasurableInv
22-
2310
section MeasurableMul
2411

2512
variable [Group G] [MeasurableMul G]
2613

14+
/- Mathlib PR: https://github.com/leanprover-community/mathlib4/pull/23341 -/
2715
@[to_additive]
2816
theorem lintegral_div_left_eq_self [IsMulLeftInvariant μ] [MeasurableInv G] [IsInvInvariant μ]
2917
(f : G → ℝ≥0∞) (g : G) : (∫⁻ x, f (g / x) ∂μ) = ∫⁻ x, f x ∂μ := by

Carleson/ToMathlib/MeasureTheory/Integral/MeanInequalities.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,10 +394,10 @@ private theorem eLpNorm_convolution_le_of_norm_le_mul_aux {p q r : ℝ≥0∞}
394394
rw [← ENNReal.ofReal_toReal_eq_iff.mpr p_ne_top, ← ENNReal.ofReal_toReal_eq_iff.mpr q_ne_top,
395395
← ENNReal.ofReal_toReal_eq_iff.mpr r_top]
396396
refine eLpNorm_convolution_le_ofReal_aux ?_ ?_ ?_ ?_ hf hg hg'' c hL; rotate_right
397-
· simp_rw [← ENNReal.one_toReal, ← ENNReal.toReal_inv]
397+
· simp_rw [← ENNReal.toReal_one, ← ENNReal.toReal_inv]
398398
rw [← ENNReal.toReal_add _ ENNReal.one_ne_top, ← ENNReal.toReal_add, hpqr]
399399
all_goals exact ENNReal.inv_ne_top.mpr (fun h ↦ (h ▸ one_pos).not_le (by assumption))
400-
all_goals rwa [← ENNReal.one_toReal, ENNReal.toReal_le_toReal ENNReal.one_ne_top (by assumption)]
400+
all_goals rwa [← ENNReal.toReal_one, ENNReal.toReal_le_toReal ENNReal.one_ne_top (by assumption)]
401401

402402
variable (L)
403403

Carleson/ToMathlib/RealInterpolation.lean

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ lemma interp_exp_inv_ne_zero (ht : t ∈ Ioo 0 1) (hp₀ : p₀ > 0)
256256
lemma preservation_interpolation (ht : t ∈ Ioo 0 1) (hp₀ : p₀ > 0)
257257
(hp₁ : p₁ > 0) (hp : p⁻¹ = (1 - ENNReal.ofReal t) * p₀⁻¹ + ENNReal.ofReal t * p₁⁻¹) :
258258
p⁻¹.toReal = (1 - t) * (p₀⁻¹).toReal + t * (p₁⁻¹).toReal := by
259-
rw [← one_toReal, ← toReal_ofReal ht.1.le, ← ENNReal.toReal_sub_of_le]
259+
rw [← toReal_one, ← toReal_ofReal ht.1.le, ← ENNReal.toReal_sub_of_le]
260260
· rw [← toReal_mul, ← toReal_mul, ← toReal_add]
261261
· exact congrArg ENNReal.toReal hp
262262
· exact mul_ne_top (sub_ne_top (top_ne_one.symm)) (inv_ne_top.mpr hp₀.ne')
@@ -269,7 +269,7 @@ lemma preservation_positivity_inv_toReal (ht : t ∈ Ioo 0 1) (hp₀ : p₀ > 0)
269269
0 < (1 - t) * (p₀⁻¹).toReal + t * (p₁⁻¹).toReal := by
270270
rcases (eq_or_ne p₀ ⊤) with p₀eq_top | p₀ne_top
271271
· rw [p₀eq_top]
272-
simp only [inv_top, zero_toReal, mul_zero, zero_add]
272+
simp only [inv_top, toReal_zero, mul_zero, zero_add]
273273
apply mul_pos ht.1
274274
rw [toReal_inv]
275275
refine inv_pos_of_pos (exp_toReal_pos hp₁ ?_)
@@ -521,7 +521,7 @@ lemma ζ_equality₇ (ht : t ∈ Ioo 0 1) (hp₀ : p₀ > 0) (hq₀ : q₀ > 0)
521521
ζ p₀ q₀ p₁ q₁ t = p₀.toReal / (p₀.toReal - p.toReal) := by
522522
rw [ζ_equality₁ ht, ← preservation_interpolation ht hp₀ hp₁ hp,
523523
← preservation_interpolation ht hq₀ hq₁ hq, hq₀']
524-
simp only [inv_top, zero_toReal, sub_zero, mul_zero, zero_add]
524+
simp only [inv_top, toReal_zero, sub_zero, mul_zero, zero_add]
525525
have obs : p₀.toReal * p.toReal * q.toReal > 0 :=
526526
mul_pos (mul_pos (toReal_pos hp₀.ne' hp₀') (interp_exp_toReal_pos ht hp₀ hp₁ hp₀p₁ hp))
527527
(interp_exp_toReal_pos ht hq₀ hq₁ hq₀q₁ hq)
@@ -564,7 +564,7 @@ lemma ζ_eq_top_top (ht : t ∈ Ioo 0 1) (hp₀ : p₀ > 0) (hq₀ : q₀ > 0)
564564
ζ p₀ q₀ p₁ q₁ t = 1 := by
565565
rw [ζ_equality₂ ht, ← preservation_interpolation ht hp₀ hp₁ hp,
566566
← preservation_interpolation ht hq₀ hq₁ hq, hp₁', hq₁']
567-
simp only [inv_top, zero_toReal, sub_zero]
567+
simp only [inv_top, toReal_zero, sub_zero]
568568
rw [mul_comm, div_eq_mul_inv, mul_inv_cancel₀]
569569
exact (mul_pos (interp_exp_inv_pos ht hq₀ hq₁ hq₀q₁ hq)
570570
(interp_exp_inv_pos ht hp₀ hp₁ hp₀p₁ hp)).ne'
@@ -1124,7 +1124,7 @@ lemma d_eq_top₀ (hp₀ : p₀ > 0) (hq₁ : q₁ > 0) (hp₀' : p₀ ≠ ⊤)
11241124
(↑C₀ ^ p₀.toReal * eLpNorm f p μ ^ p.toReal).toReal ^ p₀.toReal⁻¹ := by
11251125
unfold d
11261126
rw [hq₀']
1127-
simp only [inv_top, zero_toReal, sub_zero, zero_div, ENNReal.rpow_zero, mul_zero, mul_one,
1127+
simp only [inv_top, toReal_zero, sub_zero, zero_div, ENNReal.rpow_zero, mul_zero, mul_one,
11281128
div_one]
11291129
rw [mul_div_cancel_right₀]
11301130
· rw [div_eq_mul_inv, mul_inv_cancel₀, ENNReal.rpow_one]
@@ -1141,7 +1141,7 @@ lemma d_eq_top₁ (hq₀ : q₀ > 0) (hp₁ : p₁ > 0) (hp₁' : p₁ ≠ ⊤)
11411141
(↑C₁ ^ p₁.toReal * eLpNorm f p μ ^ p.toReal).toReal ^ p₁.toReal⁻¹ := by
11421142
unfold d
11431143
rw [hq₁']
1144-
simp only [inv_top, zero_toReal, zero_sub, zero_div, ENNReal.rpow_zero, mul_zero, mul_one,
1144+
simp only [inv_top, toReal_zero, zero_sub, zero_div, ENNReal.rpow_zero, mul_zero, mul_one,
11451145
one_div]
11461146
rw [div_neg, div_neg]
11471147
rw [mul_div_cancel_right₀]
@@ -1172,7 +1172,7 @@ lemma d_eq_top_top (hq₀ : q₀ > 0) (hq₀q₁ : q₀ ≠ q₁) (hp₁' : p₁
11721172
@d α E₁ m p p₀ q₀ p₁ q₁ C₀ C₁ μ _ f = C₁ := by
11731173
unfold d
11741174
rw [hp₁', hq₁']
1175-
simp only [inv_top, zero_toReal, zero_sub, zero_div, ENNReal.rpow_zero, mul_zero, mul_one,
1175+
simp only [inv_top, toReal_zero, zero_sub, zero_div, ENNReal.rpow_zero, mul_zero, mul_one,
11761176
zero_mul, one_div]
11771177
rw [div_neg, div_eq_mul_inv, mul_inv_cancel₀]
11781178
· rw [ENNReal.rpow_neg, ENNReal.rpow_one, inv_inv, coe_toReal]
@@ -2894,7 +2894,7 @@ lemma weaktype_estimate_trunc_compl_top {C₀ : ℝ≥0} (hC₀ : C₀ > 0) {p p
28942894
have term_ne_top : (ENNReal.ofNNReal C₀) ^ p₀.toReal * eLpNorm f p μ ^ p.toReal ≠ ⊤
28952895
:= mul_ne_top (rpow_ne_top' (ENNReal.coe_ne_zero.mpr hC₀.ne') coe_ne_top)
28962896
(rpow_ne_top' snorm_p_pos (MemLp.eLpNorm_ne_top hf))
2897-
have d_pos : d > 0 := hdeq ▸ Real.rpow_pos_of_pos (zero_toReal
2897+
have d_pos : d > 0 := hdeq ▸ Real.rpow_pos_of_pos (toReal_zero
28982898
toReal_strict_mono term_ne_top term_pos) _
28992899
have a_pos : a > 0 := by rw [ha]; positivity
29002900
have obs : MemLp (f - trunc f a) p₀ μ := trunc_compl_Lp_Lq_lower hp ⟨hp₀, hp₀p⟩ a_pos hf
@@ -2970,7 +2970,7 @@ lemma weaktype_estimate_trunc_top {C₁ : ℝ≥0} (hC₁ : C₁ > 0) {p p₁ q
29702970
have term_ne_top : (ENNReal.ofNNReal C₁) ^ p₁.toReal * eLpNorm f p μ ^ p.toReal ≠ ⊤ :=
29712971
mul_ne_top (rpow_ne_top' (ENNReal.coe_ne_zero.mpr hC₁.ne') coe_ne_top)
29722972
(rpow_ne_top' snorm_p_pos (MemLp.eLpNorm_ne_top hf))
2973-
have d_pos : d > 0 := hdeq ▸ Real.rpow_pos_of_pos (zero_toReal
2973+
have d_pos : d > 0 := hdeq ▸ Real.rpow_pos_of_pos (toReal_zero
29742974
toReal_strict_mono term_ne_top term_pos) _
29752975
calc
29762976
_ ≤ ↑C₁ ^ p₁.toReal * ((ENNReal.ofReal (a ^ (p₁.toReal - p.toReal))) * eLpNorm f p μ ^ p.toReal) := by

lake-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"subDir": null,
1717
"scope": "",
18-
"rev": "88f302b1740f7ff57d9037e7f02b45049bcff58c",
18+
"rev": "cc40bfec1047f8c40fb3856921406f69431a735e",
1919
"name": "mathlib",
2020
"manifestFile": "lake-manifest.json",
2121
"inputRev": null,
@@ -85,7 +85,7 @@
8585
"type": "git",
8686
"subDir": null,
8787
"scope": "leanprover-community",
88-
"rev": "242359385321fb424299299300c688f697f7ba5b",
88+
"rev": "5a7f12e78c70159bbf4e7d538f9cb67abe562996",
8989
"name": "batteries",
9090
"manifestFile": "lake-manifest.json",
9191
"inputRev": "main",

0 commit comments

Comments
 (0)