Skip to content

Commit 9753f57

Browse files
committed
fix warnings
1 parent 9d28854 commit 9753f57

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Mathlib/Dynamics/BirkhoffSum/Maximal.lean

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ lemma birkhoffMax_pos_of_mem_support {g n x}
8787
| inr h => exact h
8888

8989
-- TODO: move elsewhere
90-
@[measurability]
90+
@[fun_prop]
9191
lemma birkhoffSum_measurable [MeasurableSpace α] {f : α → α} (hf : Measurable f) {g : α → ℝ}
9292
(hg : Measurable g) {n} : Measurable (birkhoffSum f g n) := by
9393
apply Finset.measurable_sum
9494
measurability
9595

9696
-- TODO: move elsewhere
97-
@[measurability]
97+
@[fun_prop]
9898
lemma birkhoffMax_measurable [MeasurableSpace α] (hf : Measurable f) {g : α → ℝ}
9999
(hg : Measurable g) {n} : Measurable (birkhoffMax f g n) := by
100100
unfold birkhoffMax
@@ -108,14 +108,14 @@ variable {f : α → α} [MeasurableSpace α] (μ : Measure α := by volume_tac)
108108
include hf
109109

110110
-- todo: move elsewhere
111-
@[measurability]
111+
@[fun_prop]
112112
lemma birkhoffSum_aestronglyMeasurable (hg : AEStronglyMeasurable g μ) :
113113
AEStronglyMeasurable (birkhoffSum f g n) μ := by
114114
apply Finset.aestronglyMeasurable_fun_sum
115115
exact fun i _ => hg.comp_measurePreserving (hf.iterate i)
116116

117117
-- todo: move elsewhere
118-
@[measurability]
118+
@[fun_prop]
119119
lemma birkhoffMax_aestronglyMeasurable (hg : AEStronglyMeasurable g μ) :
120120
AEStronglyMeasurable (birkhoffMax f g n) μ := by
121121
unfold birkhoffMax
@@ -125,7 +125,7 @@ include hg
125125

126126
-- todo: move elsewhere
127127
lemma birkhoffSum_integrable : Integrable (birkhoffSum f g n) μ :=
128-
integrable_finset_sum _ fun _ _ ↦ (hf.iterate _).integrable_comp_of_integrable hg
128+
integrable_finsetSum _ fun _ _ ↦ (hf.iterate _).integrable_comp_of_integrable hg
129129

130130
-- todo: move elsewhere
131131
lemma birkhoffMax_integrable : Integrable (birkhoffMax f g n) μ := by

0 commit comments

Comments
 (0)