Download lean/OAI/NumberTheory/DukePrimeDegree/Dynamics/DiagonalRecurrence.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 3.46 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/DukePrimeDegree/Dynamics/DiagonalRecurrence.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/NumberTheory/DukePrimeDegree/Dynamics/DiagonalRecurrence.lean
-
curl -L -o DiagonalRecurrence.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/DukePrimeDegree/Dynamics/DiagonalRecurrence.lean
3.46 kB
Lean 4 · 6
declarations statementsfull
def boundedAbsCoordinate (x : ℝ) : ℝ := |x| / (1 + |x|) lemma boundedAbsCoordinate_nonneg (x : ℝ) : 0 ≤ boundedAbsCoordinate x := proof · 1 line
div_nonneg (abs_nonneg x) (by positivity)lemma boundedAbsCoordinate_le_one (x : ℝ) : boundedAbsCoordinate x ≤ 1 := by proof · 2 lines
apply (div_le_iff₀ (by positivity : 0 < 1 + |x|)).mpr
nlinarith [abs_nonneg x]lemma boundedAbsCoordinate_mono {x y : ℝ} (h : |x| ≤ |y|) :
boundedAbsCoordinate x ≤ boundedAbsCoordinate y := by proof · 3 lines
apply (div_le_div_iff₀ (by positivity : 0 < 1 + |x|)
(by positivity : 0 < 1 + |y|)).mpr
nlinarithlemma boundedAbsCoordinate_strictMono {x y : ℝ} (h : |x| < |y|) :
boundedAbsCoordinate x < boundedAbsCoordinate y := by proof · 3 lines
apply (div_lt_div_iff₀ (by positivity : 0 < 1 + |x|)
(by positivity : 0 < 1 + |y|)).mpr
nlinarith44An a.e. expanding scalar coordinate must vanish under a finite invariant measure. The scalar coordinate itself need not be integrable.
theorem ae_eq_zero_of_expanding_covariance
{Y : Type*} [MeasurableSpace Y]
(μ : Measure Y) [IsFiniteMeasure μ]
(T : Y → Y) (hT : MeasurePreserving T μ μ)
(f : Y → ℝ) (hf : Measurable f) (c : ℝ) (hc : 1 < c)
(hcov : (fun x => f (T x)) =ᵐ[μ] fun x => c * f x) :
f =ᵐ[μ] 0 := by proof · 35 lines
let g : Y → ℝ := fun x => boundedAbsCoordinate (f x)
have hc0 : 0 < c := zero_lt_one.trans hc
have habs : Measurable (fun x => |f x|) := continuous_abs.measurable.comp hf
have hgm : Measurable g := habs.div (measurable_const.add habs)
have hglp : MemLp g 1 μ :=
MemLp.of_bound hgm.aestronglyMeasurable 1 (ae_of_all _ fun x => by
rw [Real.norm_eq_abs, abs_of_nonneg (boundedAbsCoordinate_nonneg _)]
exact boundedAbsCoordinate_le_one _)
have hgi : Integrable g μ := memLp_one_iff_integrable.mp hglp
have hle : g ≤ᵐ[μ] fun x => g (T x) := by
filter_upwards [hcov] with x hx
change boundedAbsCoordinate (f x) ≤ boundedAbsCoordinate (f (T x))
rw [hx]
apply boundedAbsCoordinate_mono
rw [abs_mul, abs_of_pos hc0]
nlinarith [abs_nonneg (f x)]
have hi : (∫ x, g (T x) ∂μ) = ∫ x, g x ∂μ := by
have he := integral_map hT.measurable.aemeasurable
(show AEStronglyMeasurable g (μ.map T) from by
rw [hT.map_eq]
exact hgm.aestronglyMeasurable)
rw [hT.map_eq] at he
exact he.symm
have hgTi : Integrable (fun x => g (T x)) μ :=
memLp_one_iff_integrable.mp (hglp.comp_measurePreserving hT)
have he := (integral_eq_iff_of_ae_le hgi hgTi hle).mp hi.symm
filter_upwards [he, hcov] with x hx hxcov
change f x = 0
by_contra hne
have hlt : boundedAbsCoordinate (f x) < boundedAbsCoordinate (f (T x)) := by
rw [hxcov]
apply boundedAbsCoordinate_strictMono
rw [abs_mul, abs_of_pos hc0]
nlinarith [abs_pos.mpr hne]
exact (ne_of_lt hlt) hxOutline