@@ -161,7 +161,7 @@ private lemma exists_split_pow_comp [IsMarkovKernel κ] [IsProbabilityMeasure π
161161 induction i with
162162 | zero =>
163163 refine ⟨0 , a, a Set.univ • π, inferInstance, ?_, ?_, ha, ?_, ?_, ?_⟩
164- · rw [Nat.mul_zero, pow_zero_comp , zero_add]
164+ · rw [Nat.mul_zero, pow_zero, one_eq_id, Measure.id_comp , zero_add]
165165 · simp
166166 · refine Measure.le_iff.mpr fun s _ ↦ ?_
167167 simp only [Measure.smul_apply, smul_eq_mul]
@@ -189,7 +189,7 @@ private lemma exists_split_pow_comp [IsMarkovKernel κ] [IsProbabilityMeasure π
189189 have hcν : IsFiniteMeasure (c • ν) := isFiniteMeasure_of_le _ hca
190190 refine ⟨(κ ^ j) ∘ₘ g + c • ν, (κ ^ j) ∘ₘ a' - c • ν, (κ ^ j) ∘ₘ b' - c • ν, inferInstance,
191191 ?_, ?_, ?_, ?_, ?_, ?_⟩
192- · rw [Nat.mul_succ, add_comm, pow_add_comp , hag, Measure.comp_add, add_assoc,
192+ · rw [Nat.mul_succ, add_comm, pow_add, ← Measure.comp_assoc , hag, Measure.comp_add, add_assoc,
193193 add_comm (c • ν), Measure.sub_add_cancel_of_le hca]
194194 · calc a Set.univ • π = (κ ^ j) ∘ₘ (a Set.univ • π) := ((hπ.smul _).pow j).def.symm
195195 _ = (κ ^ j) ∘ₘ g + c • ν + ((κ ^ j) ∘ₘ b' - c • ν) := by
@@ -241,7 +241,7 @@ lemma antitone_etvDist_pow_comp [IsMarkovKernel κ] (hπ : κ.Invariant π) (a :
241241 refine antitone_nat_of_succ_le fun n ↦ ?_
242242 calc etvDist ((κ ^ (n + 1 )) ∘ₘ a) (c • π)
243243 _ = etvDist (κ ∘ₘ ((κ ^ n) ∘ₘ a)) (κ ∘ₘ (c • π)) := by
244- rw [pow_succ_comp' , Measure.comp_smul, hπ.def]
244+ rw [pow_add_one', ← Measure.comp_assoc , Measure.comp_smul, hπ.def]
245245 _ ≤ etvDist ((κ ^ n) ∘ₘ a) (c • π) := etvDist_comp_le κ _ _
246246
247247/-- If a measure `a` is dominated by a multiple of the invariant probability measure `π` of a
@@ -379,7 +379,7 @@ private lemma excess_add_apply_univ_le (hπ : κ.Invariant π) (m i : ℕ) (x :
379379 refine Measure.le_iff.mpr fun s _ ↦ ?_
380380 rw [Measure.smul_apply, smul_eq_mul]
381381 exact mul_le_of_le_one_left' (excess_apply_univ_le_one i x)
382- calc (κ ^ (m + i)) x = η ∘ₘ (κ ^ i) x := pow_add_apply κ m i x
382+ calc (κ ^ (m + i)) x = η ∘ₘ (κ ^ i) x := by rw [pow_add]; rfl
383383 _ ≤ η ∘ₘ (excess κ π i x + (i : ℝ≥0 ) • π) :=
384384 Measure.comp_le_comp_right (pow_apply_le_excess_add i x) _
385385 _ = η ∘ₘ (excess κ π i x) + (i : ℝ≥0 ) • π := by rw [Measure.comp_add, h_inv]
@@ -442,7 +442,7 @@ private lemma excessMass_lt_one (hπ : κ.Invariant π) {c : ℝ≥0} (hνc : ν
442442 exact (Nat.le_ceil c).trans (by exact_mod_cast Nat.le_add_right ⌈c⌉₊ n)
443443 have h_inv : η ∘ₘ (c • π) = c • π := ((hπ.smul c).pow p).def
444444 have h_le : (κ ^ (p + n)) x ≤ η ∘ₘ ((κ ^ n) x - w • ν) + ((p + n : ℕ) : ℝ≥0 ) • π := by
445- calc (κ ^ (p + n)) x = η ∘ₘ (κ ^ n) x := pow_add_apply κ p n x
445+ calc (κ ^ (p + n)) x = η ∘ₘ (κ ^ n) x := by rw [pow_add]; rfl
446446 _ = η ∘ₘ ((κ ^ n) x - w • ν) + η ∘ₘ (w • ν) := by
447447 rw [← Measure.comp_add, Measure.sub_add_cancel_of_le h]
448448 _ ≤ η ∘ₘ ((κ ^ n) x - w • ν) + η ∘ₘ (c • π) := by
@@ -537,7 +537,7 @@ private lemma tendsto_etvDist_pow_comp_of_lintegral_excessMass_eq_zero [IsProbab
537537 refine eventually_atTop.mpr ⟨N + i, fun n hn ↦ ?_⟩
538538 obtain ⟨n', rfl⟩ : ∃ n', n = n' + i := ⟨n - i, (Nat.sub_add_cancel (by omega)).symm⟩
539539 have hN' := hN n' (by omega)
540- rw [hθ, ← pow_add_comp ] at hN'
540+ rw [hθ, Measure.comp_assoc, ← pow_add ] at hN'
541541 calc etvDist ((κ ^ (n' + i)) ∘ₘ μ) π ≤ 2 * ξ Set.univ + ε / 2 := hN'
542542 _ ≤ 2 * (ε / 2 / 2 ) + ε / 2 := by
543543 rw [hξ_univ]
@@ -574,14 +574,14 @@ private lemma excessMass_eq_zero_of_isHarrisRecurrent {φ : Measure α} (hφ :
574574 induction n with
575575 | zero =>
576576 intro y
577- rw [pow_zero_apply , lintegral_dirac' _ measurable_excessMass]
577+ rw [pow_zero, one_eq_id, Kernel.id_apply , lintegral_dirac' _ measurable_excessMass]
578578 | succ n ih =>
579579 intro y
580580 calc excessMass κ π y ≤ ∫⁻ z, excessMass κ π z ∂((κ.restrict hG.compl) ^ n) y := ih y
581581 _ ≤ ∫⁻ z, ∫⁻ z', excessMass κ π z' ∂(κ.restrict hG.compl z)
582582 ∂((κ.restrict hG.compl) ^ n) y := lintegral_mono h_step
583583 _ = ∫⁻ z, excessMass κ π z ∂((κ.restrict hG.compl) ^ (n + 1 )) y := by
584- rw [pow_succ_apply' , Measure.lintegral_bind (Kernel.aemeasurable _)
584+ rw [pow_add_one', comp_apply , Measure.lintegral_bind (Kernel.aemeasurable _)
585585 measurable_excessMass.aemeasurable]
586586 refine le_antisymm (ge_of_tendsto' (hH hG hφG x) fun n ↦ ?_) bot_le
587587 calc excessMass κ π x ≤ ∫⁻ z, excessMass κ π z ∂((κ.restrict hG.compl) ^ n) x := h_pow n x
0 commit comments