/- Copyright (c) 2026 Marcel Morgenstern. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Marcel Morgenstern -/ module public import ErgodicTheory.Lyapunov.Singular.Filtration /-! # The one-sided Oseledets theorem for possibly-singular cocycles Let `T` be an ergodic measure-preserving transformation of a probability space and `A : X → Matrix (Fin d) (Fin d) ℝ` a measurable generator with `log⁺‖A‖ ∈ L¹`. No invertibility of `A` and no integrability of `log‖A⁻¹‖` is assumed. Then (Raghunathan; Ruelle; see Viana, *Lectures on Lyapunov Exponents*, Theorem 4.1) there are exponents `λ₀ > λ₁ > ⋯ > λ_{k−1}` in `[−∞, ∞)` (only the last one can be `−∞`) and a measurable filtration `ℝᵈ = V₀(x) ⊋ V₁(x) ⊋ ⋯ ⊋ V_k(x) = 0`, defined almost everywhere, with `A(x) Vᵢ(x) ⊆ Vᵢ(Tx)`, such that for every `v ∈ Vᵢ(x) \ Vᵢ₊₁(x)` `(1/n) log ‖A⁽ⁿ⁾(x) v‖ ⟶ λᵢ` in `EReal`, with `log 0 = −∞`. This is `ErgodicTheory.oseledets_filtration_singular`. ## Construction The exponents are the distinct values of the per-index singular exponents (`ErgodicTheory.exists_tendsto_logSingularTermE`). The space `Vᵢ(x)` (`i < k`) is the slow space of the limit band projector at a cut `cᵢ` with `λᵢ < log cᵢ < λᵢ₋₁` (`ErgodicTheory.singularLimitProjector`, whose existence is Raghunathan's argument, `Lyapunov/Singular/BandLimit.lean`); it coincides almost everywhere with the sublevel set `{v | λ̄(v) ≤ log cᵢ}` of the growth function (`Lyapunov/Singular/Filtration.lean`), which gives the equivariance. The exact growth rates come from Ruelle's graded estimates (`Lyapunov/Singular/GradedOverlap.lean`) for the upper bound and from the fast band for the lower bound. ## Main results * `ErgodicTheory.oseledets_filtration_singular` — the theorem. * `ErgodicTheory.exists_distinct_exponents` — the distinct exponents and the cuts between them. -/ @[expose] public section open MeasureTheory Filter Topology Matrix open scoped Matrix.Norms.L2Operator RealInnerProductSpace noncomputable section namespace ErgodicTheory variable {X : Type*} [MeasurableSpace X] {T : X → X} {d : ℕ} /-! ### The distinct exponents and the cuts between them -/ /-- The distinct values `λ'₀ > ⋯ > λ'_{k−1}` of an antitone family `λ₀, …, λ_{d−1}` of exponents in `[−∞, ∞)`, together with real cuts `tᵢ` with `λ'ᵢ < tᵢ < λ'ₗ` for all `l < i`. -/ theorem exists_distinct_exponents [NeZero d] (lam : ℕ → EReal) (htop : ∀ j, lam j < ⊤) : ∃ (k : ℕ) (lam' : Fin k → EReal) (t : Fin k → ℝ), 0 < k ∧ StrictAnti lam' ∧ (∀ j < d, ∃ i, lam' i = lam j) ∧ (∀ i, ∃ j < d, lam j = lam' i) ∧ (∀ i, lam' i < t i) ∧ (∀ i l : Fin k, l < i → (t i : EReal) < lam' l) := by classical set S : Finset EReal := (Finset.range d).image lam with hS set k := S.card with hk set e := S.orderEmbOfFin hk.symm with he set lam' : Fin k → EReal := fun i => e (Fin.rev i) with hlam' have hanti' : StrictAnti lam' := fun i l hil => e.strictMono (Fin.rev_lt_rev.2 hil) have hmem : ∀ i, lam' i ∈ S := fun i => S.orderEmbOfFin_mem hk.symm _ have hrange : ∀ y ∈ S, ∃ i, lam' i = y := by intro y hy have : y ∈ Set.range e := by rw [he, Finset.range_orderEmbOfFin]; exact hy obtain ⟨i, hi⟩ := this exact ⟨Fin.rev i, by simp [hlam', hi]⟩ have hkpos : 0 < k := by rw [hk, Finset.card_pos] exact ⟨lam 0, Finset.mem_image_of_mem _ (Finset.mem_range.2 (Nat.pos_of_ne_zero (NeZero.ne d)))⟩ have hcut : ∀ i : Fin k, ∃ t : ℝ, lam' i < t ∧ ∀ l : Fin k, l < i → (t : EReal) < lam' l := by intro i by_cases hi : (i : ℕ) = 0 · obtain ⟨j, -, hj⟩ := Finset.mem_image.1 (hmem i) obtain ⟨t, ht, -⟩ := EReal.lt_iff_exists_real_btwn.1 (hj ▸ htop j) refine ⟨t, ht, fun l hl => absurd hl ?_⟩ rw [Fin.lt_def, hi]; exact Nat.not_lt_zero _ · set l0 : Fin k := ⟨(i : ℕ) - 1, by omega⟩ have hl0 : l0 < i := by rw [Fin.lt_def]; simp only [l0]; omega obtain ⟨t, ht1, ht2⟩ := EReal.lt_iff_exists_real_btwn.1 (hanti' hl0) refine ⟨t, ht1, fun l hl => lt_of_lt_of_le ht2 (hanti'.antitone ?_)⟩ rw [Fin.le_def]; simp only [l0]; rw [Fin.lt_def] at hl; omega choose t ht1 ht2 using hcut refine ⟨k, lam', t, hkpos, hanti', fun j hj => hrange _ (Finset.mem_image_of_mem _ (Finset.mem_range.2 hj)), fun i => ?_, ht1, ht2⟩ obtain ⟨j, hj, hji⟩ := Finset.mem_image.1 (hmem i) exact ⟨j, Finset.mem_range.1 hj, hji⟩ /-- Bundled output of `exists_distinct_exponents`: the distinct exponents `λ'` of `λ₀, …, λ_{d−1}` and real cuts `tᵢ` with `λ'ᵢ < tᵢ < λ'ₗ` (`l < i`). -/ structure IsExponentCuts (d : ℕ) (lam : ℕ → EReal) {k : ℕ} (lam' : Fin k → EReal) (t : Fin k → ℝ) : Prop where pos : 0 < k strictAnti : StrictAnti lam' exists_eq : ∀ j < d, ∃ i, lam' i = lam j exists_eq' : ∀ i, ∃ j < d, lam j = lam' i lt_cut : ∀ i, lam' i < t i cut_lt : ∀ i l, l < i → (t i : EReal) < lam' l namespace IsExponentCuts variable {lam : ℕ → EReal} {k : ℕ} {lam' : Fin k → EReal} {t : Fin k → ℝ} theorem ne_cut (h : IsExponentCuts d lam lam' t) (i : Fin k) : ∀ j < d, lam j ≠ (Real.log (Real.exp (t i)) : EReal) := by intro j hj heq rw [Real.log_exp] at heq obtain ⟨l, hl⟩ := h.exists_eq j hj rcases lt_or_ge l i with hli | hil · have := h.cut_lt i l hli; rw [hl, heq] at this; exact lt_irrefl _ this · have := (h.strictAnti.antitone hil).trans_lt (h.lt_cut i); rw [hl, heq] at this exact lt_irrefl _ this theorem le_of_lt_cut (h : IsExponentCuts d lam lam' t) (i : Fin k) {j : ℕ} (hj : j < d) (hlt : lam j < t i) : lam j ≤ lam' i := by obtain ⟨l, hl⟩ := h.exists_eq j hj rw [← hl] at hlt ⊢ rcases lt_or_ge l i with hli | hil · exact absurd (h.cut_lt i l hli) (not_lt.2 hlt.le) · exact h.strictAnti.antitone hil theorem le_of_cut_succ_lt (h : IsExponentCuts d lam lam' t) (i : Fin k) (hi : (i : ℕ) + 1 < k) {j : ℕ} (hj : j < d) (hlt : (t ⟨i + 1, hi⟩ : EReal) < lam j) : lam' i ≤ lam j := by obtain ⟨l, hl⟩ := h.exists_eq j hj rw [← hl] at hlt ⊢ rcases le_or_gt l i with hli | hil · exact h.strictAnti.antitone hli · have hle : (⟨i + 1, hi⟩ : Fin k) ≤ l := by rw [Fin.le_def]; change (i : ℕ) + 1 ≤ l; rw [Fin.lt_def] at hil; omega exact absurd ((h.strictAnti.antitone hle).trans_lt (h.lt_cut _)) (not_lt.2 hlt.le) theorem card_cut_zero (h : IsExponentCuts d lam lam' t) : ((Finset.range d).filter fun j => (t ⟨0, h.pos⟩ : EReal) < lam j).card = 0 := by rw [Finset.card_eq_zero, Finset.filter_eq_empty_iff] intro j hj hlt obtain ⟨l, hl⟩ := h.exists_eq j (Finset.mem_range.1 hj) rw [← hl] at hlt exact absurd ((h.strictAnti.antitone (show (⟨0, h.pos⟩ : Fin k) ≤ l by rw [Fin.le_def]; exact Nat.zero_le _)).trans_lt (h.lt_cut _)) (not_lt.2 hlt.le) theorem card_cut_lt_succ (h : IsExponentCuts d lam lam' t) (i : Fin k) (hi : (i : ℕ) + 1 < k) : ((Finset.range d).filter fun j => (t i : EReal) < lam j).card < ((Finset.range d).filter fun j => (t ⟨i + 1, hi⟩ : EReal) < lam j).card := by have hti : (t ⟨i + 1, hi⟩ : EReal) < t i := (h.cut_lt ⟨i + 1, hi⟩ i (by rw [Fin.lt_def]; simp)).trans (h.lt_cut i) obtain ⟨j0, hj0, hj0i⟩ := h.exists_eq' i refine Finset.card_lt_card ⟨fun j hj => ?_, fun hsub => ?_⟩ · rw [Finset.mem_filter] at hj ⊢; exact ⟨hj.1, hti.trans hj.2⟩ · have hmem : j0 ∈ (Finset.range d).filter fun j => (t ⟨i + 1, hi⟩ : EReal) < lam j := by rw [Finset.mem_filter, hj0i] exact ⟨Finset.mem_range.2 hj0, h.cut_lt _ i (by rw [Fin.lt_def]; simp)⟩ have := (Finset.mem_filter.1 (hsub hmem)).2 rw [hj0i] at this exact lt_asymm this (h.lt_cut i) theorem card_cut_last_lt (h : IsExponentCuts d lam lam' t) : ((Finset.range d).filter fun j => (t ⟨k - 1, by have := h.pos; omega⟩ : EReal) < lam j).card < d := by obtain ⟨j0, hj0, hj0i⟩ := h.exists_eq' ⟨k - 1, by have := h.pos; omega⟩ calc _ < (Finset.range d).card := by refine Finset.card_lt_card ⟨Finset.filter_subset _ _, fun hsub => ?_⟩ have := (Finset.mem_filter.1 (hsub (Finset.mem_range.2 hj0))).2 rw [hj0i] at this exact lt_asymm this (h.lt_cut _) _ = d := Finset.card_range d theorem last_le (h : IsExponentCuts d lam lam' t) {j : ℕ} (hj : j < d) : lam' ⟨k - 1, by have := h.pos; omega⟩ ≤ lam j := by obtain ⟨l, hl⟩ := h.exists_eq j hj rw [← hl] exact h.strictAnti.antitone (by rw [Fin.le_def]; simp; omega) end IsExponentCuts /-! ### The filtration -/ /-- The singular Oseledets filtration attached to cuts `t`: `Vᵢ(x)` (`i < k`) is the slow space of the limit band projector at `e^{tᵢ}`, and `V_k(x) = 0`. -/ def singularFiltration (A : X → Matrix (Fin d) (Fin d) ℝ) (T : X → X) {k : ℕ} (t : Fin k → ℝ) (i : Fin (k + 1)) (x : X) : Submodule ℝ (EuclideanSpace ℝ (Fin d)) := if h : (i : ℕ) < k then LinearMap.range (Matrix.toEuclideanCLM (𝕜 := ℝ) (1 - singularLimitProjector A T (Real.exp (t ⟨i, h⟩)) x)).toLinearMap else ⊥ omit [MeasurableSpace X] in theorem singularFiltration_of_lt (A : X → Matrix (Fin d) (Fin d) ℝ) (T : X → X) {k : ℕ} (t : Fin k → ℝ) (i : Fin k) (x : X) : singularFiltration A T t i.castSucc x = LinearMap.range (Matrix.toEuclideanCLM (𝕜 := ℝ) (1 - singularLimitProjector A T (Real.exp (t i)) x)).toLinearMap := by simp [singularFiltration] omit [MeasurableSpace X] in theorem singularFiltration_last (A : X → Matrix (Fin d) (Fin d) ℝ) (T : X → X) {k : ℕ} (t : Fin k → ℝ) (x : X) : singularFiltration A T t (Fin.last k) x = ⊥ := by simp [singularFiltration] /-- The filtration is measurable. -/ theorem measurableSubspace_singularFiltration {A : X → Matrix (Fin d) (Fin d) ℝ} (hA : Measurable A) (hT : Measurable T) {k : ℕ} (t : Fin k → ℝ) (i : Fin (k + 1)) : MeasurableSubspace fun x => singularFiltration A T t i x := by by_cases h : (i : ℕ) < k · simp only [singularFiltration, h, ↓reduceDIte] have hm := measurable_singularLimitProjector hA hT (Real.exp (t ⟨i, h⟩)) refine measurableSubspace_range_of_measurable _ ?_ (fun x => ?_) (fun x => ?_) · exact Matrix.measurable_iff.2 fun a b => measurable_const.sub (hm.eval_matrix (i := a) (j := b)) · exact (IsSelfAdjoint.one _).sub (isSelfAdjoint_singularLimitProjector A T _ x) · have hP := singularLimitProjector_mul_self A T (Real.exp (t ⟨i, h⟩)) x rw [Matrix.sub_mul, Matrix.mul_sub, Matrix.mul_sub, Matrix.one_mul, Matrix.mul_one, Matrix.one_mul, hP] abel · simp only [singularFiltration, h, ↓reduceDIte] exact measurable_const /-! ### Properties at a regular point -/ variable {A : X → Matrix (Fin d) (Fin d) ℝ} {lam : ℕ → EReal} {k : ℕ} {lam' : Fin k → EReal} {t : Fin k → ℝ} {x : X} omit [MeasurableSpace X] in /-- At a regular point, `Vᵢ(x)` is the sublevel `{v | λ̄(v) ≤ tᵢ}` of the growth function. -/ theorem mem_singularFiltration_iff [NeZero d] (hx : IsSingularRegular A T lam x) (hanti : Antitone lam) (htop : ∀ j, lam j < ⊤) (h : IsExponentCuts d lam lam' t) (i : Fin k) (v : EuclideanSpace ℝ (Fin d)) : v ∈ singularFiltration A T t i.castSucc x ↔ lambdaBarE A T x v ≤ t i := by rw [singularFiltration_of_lt, hx.mem_range_one_sub_iff hanti htop (Real.exp_pos _) (h.ne_cut i), Real.log_exp] theorem exists_toEuclideanLin_apply_ne_zero {M : Matrix (Fin d) (Fin d) ℝ} (hM : M ≠ 0) : ∃ w, Matrix.toEuclideanLin M w ≠ 0 := by by_contra hcon push Not at hcon exact hM (Matrix.toEuclideanLin.map_eq_zero_iff.1 (LinearMap.ext hcon)) omit [MeasurableSpace X] in /-- At a regular point the top space is everything. -/ theorem singularFiltration_zero (hx : IsSingularRegular A T lam x) (hanti : Antitone lam) (h : IsExponentCuts d lam lam' t) : singularFiltration A T t 0 x = ⊤ := by have h0 : (0 : Fin (k + 1)) = (⟨0, h.pos⟩ : Fin k).castSucc := rfl set P := singularLimitProjector A T (Real.exp (t ⟨0, h.pos⟩)) x have htr : P.trace = 0 := by rw [hx.trace_singularLimitProjector hanti (Real.exp_pos _) (h.ne_cut _), Real.log_exp, h.card_cut_zero, Nat.cast_zero] have hP0 : P = 0 := eq_zero_of_transpose_eq_of_mul_self_of_trace_zero P (transpose_singularLimitProjector A T _ x) (singularLimitProjector_mul_self A T _ x) htr rw [h0, singularFiltration_of_lt, eq_top_iff] intro v _ rw [mem_range_one_sub_iff (singularLimitProjector_mul_self A T _ x)] change Matrix.toEuclideanLin P v = 0 rw [hP0, map_zero, LinearMap.zero_apply] omit [MeasurableSpace X] in /-- At a regular point the filtration is strictly decreasing. -/ theorem singularFiltration_succ_lt (hx : IsSingularRegular A T lam x) (hanti : Antitone lam) (h : IsExponentCuts d lam lam' t) (i : Fin k) : singularFiltration A T t i.succ x < singularFiltration A T t i.castSucc x := by set P := singularLimitProjector A T (Real.exp (t i)) x with hPdef have hPP : P * P = P := singularLimitProjector_mul_self A T _ x have hmemP : ∀ v, v ∈ singularFiltration A T t i.castSucc x ↔ Matrix.toEuclideanLin P v = 0 := fun v => by rw [singularFiltration_of_lt, mem_range_one_sub_iff hPP] by_cases hi : (i : ℕ) + 1 < k · set i' : Fin k := ⟨i + 1, hi⟩ have hsucc : i.succ = i'.castSucc := Fin.ext (by simp [i']) set P' := singularLimitProjector A T (Real.exp (t i')) x with hP'def have hP'P' : P' * P' = P' := singularLimitProjector_mul_self A T _ x have hmemP' : ∀ v, v ∈ singularFiltration A T t i.succ x ↔ Matrix.toEuclideanLin P' v = 0 := fun v => by rw [hsucc, singularFiltration_of_lt, mem_range_one_sub_iff hP'P'] have hlt : t i' < t i := EReal.coe_lt_coe_iff.1 ((h.cut_lt i' i (by rw [Fin.lt_def]; simp [i'])).trans (h.lt_cut i)) obtain ⟨hPP', hP'P⟩ := hx.singularLimitProjector_mul hanti (Real.exp_pos (t i')) (Real.exp_le_exp.2 hlt.le) (h.ne_cut i) (h.ne_cut i') rw [← hPdef, ← hP'def] at hPP' hP'P have htr : P.trace ≠ P'.trace := by rw [hPdef, hP'def, hx.trace_singularLimitProjector hanti (Real.exp_pos _) (h.ne_cut _), hx.trace_singularLimitProjector hanti (Real.exp_pos _) (h.ne_cut _), Real.log_exp, Real.log_exp] exact_mod_cast (h.card_cut_lt_succ i hi).ne have hne : P' - P ≠ 0 := fun h0 => htr (by rw [sub_eq_zero.1 h0]) obtain ⟨w, hw⟩ := exists_toEuclideanLin_apply_ne_zero hne rw [IsConcreteLE.lt_iff_le_and_exists] refine ⟨fun v hv => ?_, Matrix.toEuclideanLin (P' - P) w, ?_, ?_⟩ · rw [hmemP] ; rw [hmemP'] at hv rw [← hPP', toEuclideanLin_mul_apply, hv, map_zero] · rw [hmemP, ← toEuclideanLin_mul_apply, Matrix.mul_sub, hPP', hPP, sub_self, map_zero, LinearMap.zero_apply] · rw [hmemP', ← toEuclideanLin_mul_apply, Matrix.mul_sub, hP'P', hP'P] exact hw · have hlast : i.succ = Fin.last k := Fin.ext (by simp; omega) have hik : i = ⟨k - 1, by have := h.pos; omega⟩ := Fin.ext (by simp; omega) rw [hlast, singularFiltration_last, bot_lt_iff_ne_bot] intro hbot have htr : P.trace ≠ (1 : Matrix (Fin d) (Fin d) ℝ).trace := by rw [hPdef, hx.trace_singularLimitProjector hanti (Real.exp_pos _) (h.ne_cut _), Real.log_exp, Matrix.trace_one, Fintype.card_fin, hik] exact_mod_cast h.card_cut_last_lt.ne have hne : (1 : Matrix (Fin d) (Fin d) ℝ) - P ≠ 0 := fun h0 => htr (by rw [sub_eq_zero.1 h0]) obtain ⟨w, hw⟩ := exists_toEuclideanLin_apply_ne_zero hne have hmem : Matrix.toEuclideanLin (1 - P) w ∈ singularFiltration A T t i.castSucc x := by rw [hmemP, ← toEuclideanLin_mul_apply, Matrix.mul_sub, Matrix.mul_one, hPP, sub_self, map_zero, LinearMap.zero_apply] rw [hbot, Submodule.mem_bot] at hmem exact hw hmem omit [MeasurableSpace X] in /-- **Equivariance.** At a point `x` with `x` and `Tx` regular, `A(x) Vᵢ(x) ⊆ Vᵢ(Tx)`. -/ theorem map_singularFiltration_le [NeZero d] (hx : IsSingularRegular A T lam x) (hTx : IsSingularRegular A T lam (T x)) (hanti : Antitone lam) (htop : ∀ j, lam j < ⊤) (h : IsExponentCuts d lam lam' t) (i : Fin (k + 1)) : Submodule.map (Matrix.toEuclideanCLM (𝕜 := ℝ) (A x)).toLinearMap (singularFiltration A T t i x) ≤ singularFiltration A T t i (T x) := by by_cases hi : (i : ℕ) < k · have hcast : i = (⟨i, hi⟩ : Fin k).castSucc := rfl rw [hcast] rintro _ ⟨v, hv, rfl⟩ rw [SetLike.mem_coe, mem_singularFiltration_iff hx hanti htop h] at hv rw [mem_singularFiltration_iff hTx hanti htop h] exact (lambdaBarE_apply_le A T x v).trans hv · have hlast : i = Fin.last k := Fin.ext (by simp; omega) rw [hlast, singularFiltration_last, Submodule.map_bot] exact bot_le omit [MeasurableSpace X] in /-- **The exact growth rate.** At a regular point, a vector of `Vᵢ(x) \ Vᵢ₊₁(x)` grows exactly at the exponent `λ'ᵢ`. -/ theorem tendsto_growthTermE_of_mem_singularFiltration [NeZero d] (hx : IsSingularRegular A T lam x) (hanti : Antitone lam) (htop : ∀ j, lam j < ⊤) (h : IsExponentCuts d lam lam' t) (i : Fin k) {v : EuclideanSpace ℝ (Fin d)} (hv : v ∈ singularFiltration A T t i.castSucc x) (hv' : v ∉ singularFiltration A T t i.succ x) : Tendsto (growthTermE A T x v) atTop (𝓝 (lam' i)) := by -- upper bound have hup : limsup (growthTermE A T x v) atTop ≤ lam' i := by refine EReal.le_of_forall_lt_iff_le.1 fun τ hτ => ?_ rw [singularFiltration_of_lt, mem_range_one_sub_iff (singularLimitProjector_mul_self A T _ x)] at hv refine lambdaBarE_le_of_limit_slow hanti htop hx.tendsto hx.temp (Real.exp_pos (t i)) (h.ne_cut i) (hx.tendsto_bandProjector hanti (Real.exp_pos _) (h.ne_cut i)) hv ?_ intro j hj hlt rw [Real.log_exp] at hlt exact (h.le_of_lt_cut i hj hlt).trans_lt hτ -- lower bound have hlow : lam' i ≤ liminf (growthTermE A T x v) atTop := by by_cases hi : (i : ℕ) + 1 < k · set i' : Fin k := ⟨i + 1, hi⟩ have hsucc : i.succ = i'.castSucc := Fin.ext (by simp [i']) rw [hsucc, singularFiltration_of_lt, mem_range_one_sub_iff (singularLimitProjector_mul_self A T _ x)] at hv' obtain ⟨j, hj, hjc, hjl⟩ := hx.exists_le_liminf hanti (Real.exp_pos (t i')) (h.ne_cut i') hv' rw [Real.log_exp] at hjc exact (h.le_of_cut_succ_lt i hi hj hjc).trans hjl · have hlast : i.succ = Fin.last k := Fin.ext (by simp; omega) have hik : i = ⟨k - 1, by have := h.pos; omega⟩ := Fin.ext (by simp; omega) rw [hlast, singularFiltration_last, Submodule.mem_bot] at hv' have hd : d - 1 < d := Nat.sub_lt (Nat.pos_of_ne_zero (NeZero.ne d)) one_pos refine (hik ▸ h.last_le hd).trans (le_liminf_growthTermE (hx.tendsto (d - 1)) (norm_pos_iff.2 hv') (Eventually.of_forall fun n => ?_)) rw [mul_comm] exact singularValue_last_mul_norm_le A n x v exact tendsto_of_le_liminf_of_limsup_le hlow hup (by isBoundedDefault) (by isBoundedDefault) /-! ### The theorem -/ /-- **The one-sided Oseledets theorem for possibly-singular cocycles** (Raghunathan; Ruelle). Let `T` be ergodic for the probability measure `μ` and let `A` be a measurable generator with `log⁺‖A‖ ∈ L¹` — `A(x)` may be singular, and nothing is assumed about `log‖A⁻¹‖`. There are exponents `λ₀ > λ₁ > ⋯ > λ_{k−1}` in `[−∞, ∞)` (only the last one can be `−∞`) and measurable subspaces `Vᵢ(x)` such that for `μ`-a.e. `x`: * `ℝᵈ = V₀(x) ⊋ V₁(x) ⊋ ⋯ ⊋ V_k(x) = 0`; * `A(x) Vᵢ(x) ⊆ Vᵢ(Tx)`; * for `v ∈ Vᵢ(x) \ Vᵢ₊₁(x)`, `(1/n) log‖A⁽ⁿ⁾(x) v‖ → λᵢ` in `EReal`, with `log 0 = −∞`. -/ theorem oseledets_filtration_singular {μ : Measure X} [IsProbabilityMeasure μ] (hT : Ergodic T μ) {A : X → Matrix (Fin d) (Fin d) ℝ} (hAmeas : Measurable A) (hint : IntegrableLogNorm A μ) : ∃ (k : ℕ) (lam : Fin k → EReal) (V : Fin (k + 1) → X → Submodule ℝ (EuclideanSpace ℝ (Fin d))), StrictAnti lam ∧ (∀ i, lam i < ⊤) ∧ (∀ i, MeasurableSubspace fun x => V i x) ∧ ∀ᵐ x ∂μ, V 0 x = ⊤ ∧ V (Fin.last k) x = ⊥ ∧ (∀ i : Fin k, V i.succ x < V i.castSucc x) ∧ (∀ i : Fin (k + 1), Submodule.map (Matrix.toEuclideanCLM (𝕜 := ℝ) (A x)).toLinearMap (V i x) ≤ V i (T x)) ∧ (∀ i : Fin k, ∀ v ∈ V i.castSucc x, v ∉ V i.succ x → Tendsto (fun n : ℕ => (((n : ℝ)⁻¹ : ℝ) : EReal) * ENNReal.log (ENNReal.ofReal ‖Matrix.toEuclideanCLM (𝕜 := ℝ) (cocycle A T n x) v‖)) atTop (𝓝 (lam i))) := by rcases Nat.eq_zero_or_pos d with hd | hd · subst hd refine ⟨0, Fin.elim0, fun _ _ => ⊤, fun i => i.elim0, fun i => i.elim0, fun _ => (measurable_const : Measurable fun _ : X => orthProjMatrix ⊤), Eventually.of_forall fun x => ⟨rfl, Subsingleton.elim _ _, fun i => i.elim0, fun _ => le_top, fun i => i.elim0⟩⟩ · have : NeZero d := ⟨hd.ne'⟩ obtain ⟨lamI, hanti, htop, hlam⟩ := exists_tendsto_logSingularTermE hT hAmeas hint obtain ⟨k, lam', t, hk, hs, he, he', ht1, ht2⟩ := exists_distinct_exponents (d := d) lamI htop have h : IsExponentCuts d lamI lam' t := ⟨hk, hs, he, he', ht1, ht2⟩ refine ⟨k, lam', singularFiltration A T t, hs, fun i => ?_, fun i => measurableSubspace_singularFiltration hAmeas hT.toMeasurePreserving.measurable t i, ?_⟩ · obtain ⟨j, -, hj⟩ := he' i exact hj ▸ htop j have hreg : ∀ᵐ x ∂μ, IsSingularRegular A T lamI x := by filter_upwards [hlam, ae_tendsto_orbit_div_atTop_zero hT.toMeasurePreserving hint] with x h1 h2 exact ⟨h1, h2⟩ have hregT : ∀ᵐ x ∂μ, IsSingularRegular A T lamI (T x) := hT.toMeasurePreserving.quasiMeasurePreserving.ae hreg filter_upwards [hreg, hregT] with x hx hTx exact ⟨singularFiltration_zero hx hanti h, singularFiltration_last A T t x, fun i => singularFiltration_succ_lt hx hanti h i, fun i => map_singularFiltration_le hx hTx hanti htop h i, fun i v hv hv' => tendsto_growthTermE_of_mem_singularFiltration hx hanti htop h i hv hv'⟩ end ErgodicTheory