cfahlgren1's picture
download
raw
3.47 kB
import OAI.MeasureTheory.SelfSimilar.BallLimits
namespace OAI
universe uι
section
open scoped BigOperators ENNReal
open MeasureTheory
open MeasureTheory Metric Set Filter
open scoped Topology ENNReal
open MeasureTheory Filter Set ProbabilityTheory
open scoped Topology
open MeasureTheory Metric Set Filter
open scoped ENNReal Topology
open MeasureTheory Filter Set
open scoped Topology BigOperators
namespace EntropyRateDimension.Coding
open MeasureTheory Metric Set Filter
open EntropyRateDimension.ErgodicAux
open scoped Topology BigOperators
variable {ι : Type uι} [Fintype ι] [Nonempty ι]
local instance : MeasurableSpace ι := ⊤
local instance : MeasurableSingletonClass ι := ⟨fun _ => trivial⟩
omit [Fintype ι] [Nonempty ι] in
theorem shift_iterate (n : ℕ) (ω : ℕ → ι) (k : ℕ) : shift^[n] ω k = ω (k+n) :=
Bernoulli.shift_iterate n ω k
omit [Nonempty ι] in
theorem contraction_integral (S : System ι) :
(∫ ω, contractionObs S ω ∂addressMeasure S) = S.lyapunov * Real.log 2 := by
change (∫ ω, -Real.log |S.ratio (ω 0)| ∂addressMeasure S) = _
rw [head_integral S (fun i => -Real.log |S.ratio i|)]
unfold System.lyapunov
rw [neg_mul,Finset.sum_mul]
simp only [mul_assoc,div_mul_cancel₀ _ (Real.log_pos (by norm_num : (1 : ℝ)<2)).ne',
mul_neg,Finset.sum_neg_distrib]
omit [Nonempty ι] in
theorem slope_log_sum (S : System ι) (ω : ℕ → ι) (n : ℕ) :
-Real.log |slope S ω n| = birkhoffSum shift (contractionObs S) n ω := by
induction n with
| zero => simp [slope_zero,birkhoffSum]
| succ n ih =>
rw [slope_succ,abs_mul,Real.log_mul (abs_slope_pos S ω n).ne' (S.ratio_pos _).ne',
neg_add,ih,birkhoffSum_succ_apply]
simp only [contractionObs,shift_iterate,zero_add]
omit [Nonempty ι] in
theorem ae_slope_log_limit (S : System ι) : ∀ᵐ ω ∂addressMeasure S,
Tendsto (fun n => -Real.log |slope S ω n| / (n : ℝ)) atTop
(𝓝 (S.lyapunov * Real.log 2)) := by
have hT : Ergodic shift (addressMeasure S) := Bernoulli.shift_ergodic (symbolMeasure S)
have hm : Measurable (contractionObs S) :=
(measurable_of_finite (fun i => -Real.log |S.ratio i|)).comp (measurable_pi_apply 0)
have hi : Integrable (contractionObs S) (addressMeasure S) := head_integrable S (fun i => -Real.log |S.ratio i|)
have hh := ae_tendsto_average hT hm hi
rw [contraction_integral] at hh
simpa only [slope_log_sum] using hh
noncomputable def exponent (S : System ι) : ℝ := infoRate S / (S.lyapunov * Real.log 2)
theorem infoRate_nonneg (S : System ι) : 0 ≤ infoRate S := by
obtain ⟨ω,hω⟩ := (ae_prefixInfo_limit S).exists
exact ge_of_tendsto' hω (fun n => div_nonneg
(BallRatios.information_nonneg _ _ _) (Nat.cast_nonneg n))
theorem exponent_nonneg (S : System ι) : 0 ≤ exponent S :=
div_nonneg (infoRate_nonneg S) (mul_pos S.lyapunov_pos (Real.log_pos (by norm_num))).le
theorem ae_prefix_exponent (S : System ι) : ∀ᵐ ω ∂addressMeasure S,
Tendsto (fun n => prefixInfo S n ω / -Real.log |slope S ω n|) atTop (𝓝 (exponent S)) := by
filter_upwards [ae_prefixInfo_limit S,ae_slope_log_limit S] with ω hI hR
have hh := hI.div hR (mul_pos S.lyapunov_pos (Real.log_pos (by norm_num))).ne'
apply hh.congr'
filter_upwards [eventually_gt_atTop (0 : ℕ)] with n hn
have hn0 : (n : ℝ) ≠ 0 := by exact_mod_cast hn.ne'
dsimp only [Pi.div_apply]
field_simp
end EntropyRateDimension.Coding
end
end OAI

Xet Storage Details

Size:
3.47 kB
·
Xet hash:
f221c30bf5f0c8971b34aa36d51f7ff4d786b90acce53d12b57a516c977e9b34

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.