lemmapositiveRunningSum_mono {Y : Type*} (T : Y→Y) (f : Y→ℝ)
(x : Y) : Monotone (fun n => positiveRunningSum T f n x) :=by
proof · 8
lines
sufficesh : ∀ n x, positiveRunningSum T f n x ≤ positiveRunningSum T f (n + 1) x
from monotone_nat_of_le_succ (fun n => h n x)
intro n
induction n with
| zero => exact fun x => positiveRunningSum_nonneg T f 1 x
| succ n ih =>
intro x
exact max_le_max le_rfl (add_le_add le_rfl (ih (T x)))
lemmabirkhoffSum_le_positiveRunningSum {Y : Type*} (T : Y→Y) (f : Y→ℝ)
(n : ℕ) (x : Y) : birkhoffSum T f n x ≤ positiveRunningSum T f n x :=by
proof · 5
lines
induction n generalizing x with
| zero => simp [positiveRunningSum]
| succ n ih =>
rw [birkhoffSum_succ_apply']
exact (add_le_add le_rfl (ih (T x))).trans (le_max_right _ _)
theoremfinite_hopf_maximal {Y : Type*} [MeasurableSpaceY]
{μ : MeasureY} {T : Y→Y} {f : Y→ℝ}
(hT : MeasurePreservingT μ μ) (hf : Integrable f μ)
(hfmeas : Measurable f) (n : ℕ) :
0≤∫ x in {x | 0 < positiveRunningSum T f n x}, f x ∂μ :=by
proof · 30
lines
let m := positiveRunningSum T f n
letE:= {x | 0 < m x}
havehm : Integrable m μ := integrable_positiveRunningSum hT hf n
havehmmeas : Measurable m := measurable_positiveRunningSum hT.measurable hfmeas n
havehE : MeasurableSetE:= measurableSet_lt measurable_const hmmeas
have hpoint (x : Y) : m x - m (T x) ≤E.indicator f x :=byby_cases hx : x ∈E
· rw [indicator_of_mem hx]
have hle := positiveRunningSum_mono T f x (Nat.le_succ n)
change m x ≤ max 0 (f x + m (T x)) at hle
havehpos : 0 < m x := hx
have hle' := (le_max_iff.mp hle).resolve_left (not_le_of_gt hpos)
linarith
· rw [indicator_of_notMem hx]
havehz : m x = 0:= le_antisymm (le_of_not_gt hx)
(positiveRunningSum_nonneg T f n x)
rw [hz]
linarith [positiveRunningSum_nonneg T f n (T x)]
havehcomp : ∫ x, m (T x) ∂μ = ∫ x, m x ∂μ :=byhavehmap : AEStronglyMeasurable m (μ.map T) :=by
simpa only [hT.map_eq] using hm.aestronglyMeasurable
exact (integral_map hT.measurable.aemeasurable hmap).symm.trans
(by rw [hT.map_eq])
have hle := integral_mono (hm.sub (hT.integrable_comp_of_integrable hm))
(hf.indicator hE) hpoint
simp only [Pi.sub_apply, Function.comp_apply] at hle
havehmt : Integrable (fun x => m (T x)) μ := hT.integrable_comp_of_integrable hm
rw [integral_sub hm hmt, hcomp, sub_self,
integral_indicator hE] at hle
exact hle