OAI.ThreeTorus.exact_quantile_passage: intermediate lemma from OpenAI, A smooth three-torus diffeomorphism with simple Lebesgue spectrum
ProvedOAI.ThreeTorus.exact_quantile_passageAn intermediate lemma of the split of OpenAI's proof of OAI.ThreeTorus.simple_lebesgue_spectrum, carved from OpenAI's openai/math development for this platform. The statement and its proof are OpenAI's (OpenAI, A smooth three-torus diffeomorphism with simple Lebesgue spectrum, OpenAI Math Release, September 23, 2026, result family 144, github.com/openai/math, Apache License 2.0); in Lean it is the declaration OAI.ThreeTorus.exact_quantile_passage of lean/OAI/Dynamics/ThreeTorus/ThreeTorus/RetainedPackets.lean at commit adc7f12, ported to Lean 4.33.1 and Mathlib 0df444a.
The statement, as published (namespace OAI.ThreeTorus, with open MeasureTheory Set Function Filter, open scoped Topology BigOperators FourierTransform):
theorem exact_quantile_passage
{A : UnitAddCircle × UnitAddCircle → ℂ} {A₀ : UnitAddCircle → ℝ → ℂ}
{Pr V : ℝ → ℝ} {m : ℤ} {Δ : ℕ → ℝ} {H : ℕ → UnitAddCircle → UnitAddCircle}
{o l u R : ℝ}
(hm : m ≠ 0)
(hH : ∀ n (x : ℝ), H n (x : UnitAddCircle) = ((n:ℝ)*(Pr x+Δ n*x) : UnitAddCircle))
(hA : ∀ a x, x ∈ Ioc o (o+1) → A ((x : UnitAddCircle),a) = A₀ a x)
(hA₀ : ∀ a, ContDiff ℝ 2 (A₀ a)) (hAc : Continuous A₀.uncurry)
(hAd : Continuous (fun p : UnitAddCircle × ℝ => deriv (A₀ p.1) p.2))
(hAr : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞)
(fun p : ℝ × ℝ => A₀ (p.2 : UnitAddCircle) p.1))
(hsupp : ∀ a, support (A₀ a) ⊆ Ioc l u)
(hlo : o ≤ l) (huo : u ≤ o+1) (hlu : l ≤ u) (hR : 0 < R)
(hPr : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) Pr)
(hV : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) V) (hPV : deriv Pr = V)
(hdV : ∀ x ∈ Icc (l-2*R) (u+2*R), 0 < deriv V x)
(h0 : 0 ∉ (fun x => (m:ℝ)*V x) '' Icc l u)
(hHc : ∀ n, Continuous (H n)) (hAcont : Continuous A) (hΔt : Tendsto Δ atTop (𝓝 0))
(hmod : ∀ a x, ‖A₀ a x‖ = ‖A₀ 0 x‖)
(hmodA : ∀ u a, ‖A (u,a)‖ = ‖A (u,0)‖)
(hAs : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) (fun p : ℝ × ℝ => A (p.1,p.2)))
{ρ : ℝ → ℝ} (hρ : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) ρ) (hi : Integrable ρ)
(hp : ∀ y, 0 < ρ y) (hρm : ∫ y, ρ y = 1)
{C : ℝ} (hC : 0 ≤ C) (hb : ∀ y, |ρ y| ≤ C/(1+y^2)) {D : ℝ}
(hF : ∀ v, D < |v| → 𝓕 (fun y => (ρ y : ℂ)) v = 0)
{δ : ℝ} (c : LawCutoffs δ) (hδ : 0 < δ) (hδ' : δ < 1/8)
{χ : ℝ → UnitAddCircle → ℝ}
(hχs : CylinderSmooth χ.uncurry)
(hχc : Continuous χ.uncurry) (hcχ : HasCompactSupport χ.uncurry) (hzχ : ∀ a, χ 0 a = 0)
(hχ : ∀ s a, 0 ≤ χ s a ∧ χ s a ≤ 1)
(hχW : ∀ s a, stationaryWeight (Icc (l-R) (u+R)) (fun x => (m:ℝ)*V x) (A₀ a) s ≠ 0 → χ s a = 1)
{g : UnitAddCircle → ℝ} (hg : Continuous g) {ε : ℝ}
(hideal : ∀ s ∈ support (stationaryWeight (Icc (l-R) (u+R)) (fun x => (m:ℝ)*V x) (A₀ 0)),
∀ y, |foldCircleDensity (scaledDensity ρ s) y-g y| ≤ ε)
{η : ℝ} (hη : 0 < η) :
let w := stationaryWeight (Icc (l-R) (u+R)) (fun x => (m:ℝ)*V x) (A₀ 0)
∃ S : ℕ → Finset ℤ,
(∀ n, 0 < n → ∀ j ∈ S n, j ≠ 0) ∧
(∀ n, 0 < n → ∀ j ∉ S n, ∀ a, χ ((j:ℝ)/n) a = 0) ∧
∀ᶠ n : ℕ in atTop,
let ψ := neutralCircleCutoff c
let J := quantileCircleJitter ρ c
let φ := fun a => (((1+J a/n)/n:ℝ):UnitAddCircle)
let f := retainedPassage m (H n) A (S n) (fun j => χ ((j:ℝ)/n)) ψ
let p := exactRetainedPacketDensity (Ioo δ (1-δ)) (lawJitter ρ c) ψ χ m H A (S n) n
(∫ x : TripleTorus, ‖packet m A x-f (passageChart (H n) x)‖^2 ∂tripleVolume) <
8*δ*(∫ u, ‖A (u,0)‖^2 ∂AddCircle.haarAddCircle)+η ∧
(∫ z, |p z-foldCircleDensity w z*g ((n:ℤ) • z)| ∂AddCircle.haarAddCircle) <
(∫ s, w s)*(4*δ+ε)+η ∧
ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) (fun x : ℝ => p x) ∧
(∀ k : ℤ, (∫ x : TripleTorus, starRingEnd ℂ (f x)*f (twistIter φ k x) ∂tripleVolume) =
∫ z, (p z:ℂ)*fourier k z ∂AddCircle.haarAddCircle) ∧
(∀ j u a, ‖retainedAmplitude ψ χ m H A n j (u,a)‖ =
‖retainedAmplitude ψ χ m H A n j (u,0)‖)
Definitions. The statement is written with OAI.ThreeTorus.CylinderSmooth, OAI.ThreeTorus.LawCutoffs, OAI.ThreeTorus.TripleTorus, OAI.ThreeTorus.exactRetainedPacketDensity, OAI.ThreeTorus.foldCircleDensity, OAI.ThreeTorus.lawJitter, OAI.ThreeTorus.neutralCircleCutoff, OAI.ThreeTorus.packet, OAI.ThreeTorus.passageChart, OAI.ThreeTorus.quantileCircleJitter, OAI.ThreeTorus.retainedAmplitude, OAI.ThreeTorus.retainedPassage, OAI.ThreeTorus.scaledDensity, OAI.ThreeTorus.stationaryWeight, OAI.ThreeTorus.tripleVolume and OAI.ThreeTorus.twistIter (definitions bundle OAIQ13Tt000 of this split).
Used by. The proof of OAI.ThreeTorus.exists_signal_reflected_geometry_state of this split imports it.
import Mathlib import Definitions.Def_OAIQ13Tt000
section
attribute [-instance] _root_.OAI.ThreeTorus.tripleVolume_regular
set_option linter.all false
set_option linter.unusedVariables false
set_option linter.unusedTactic false
set_option linter.unreachableTactic false
namespace OAI
section
noncomputable section
open MeasureTheory Set Function Filter
open scoped Topology BigOperators FourierTransform
namespace ThreeTorus
theorem exact_quantile_passage
{A : UnitAddCircle × UnitAddCircle → ℂ} {A₀ : UnitAddCircle → ℝ → ℂ}
{Pr V : ℝ → ℝ} {m : ℤ} {Δ : ℕ → ℝ} {H : ℕ → UnitAddCircle → UnitAddCircle}
{o l u R : ℝ}
(hm : m ≠ 0)
(hH : ∀ n (x : ℝ), H n (x : UnitAddCircle) = ((n:ℝ)*(Pr x+Δ n*x) : UnitAddCircle))
(hA : ∀ a x, x ∈ Ioc o (o+1) → A ((x : UnitAddCircle),a) = A₀ a x)
(hA₀ : ∀ a, ContDiff ℝ 2 (A₀ a)) (hAc : Continuous A₀.uncurry)
(hAd : Continuous (fun p : UnitAddCircle × ℝ => deriv (A₀ p.1) p.2))
(hAr : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞)
(fun p : ℝ × ℝ => A₀ (p.2 : UnitAddCircle) p.1))
(hsupp : ∀ a, support (A₀ a) ⊆ Ioc l u)
(hlo : o ≤ l) (huo : u ≤ o+1) (hlu : l ≤ u) (hR : 0 < R)
(hPr : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) Pr)
(hV : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) V) (hPV : deriv Pr = V)
(hdV : ∀ x ∈ Icc (l-2*R) (u+2*R), 0 < deriv V x)
(h0 : 0 ∉ (fun x => (m:ℝ)*V x) '' Icc l u)
(hHc : ∀ n, Continuous (H n)) (hAcont : Continuous A) (hΔt : Tendsto Δ atTop (𝓝 0))
(hmod : ∀ a x, ‖A₀ a x‖ = ‖A₀ 0 x‖)
(hmodA : ∀ u a, ‖A (u,a)‖ = ‖A (u,0)‖)
(hAs : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) (fun p : ℝ × ℝ => A (p.1,p.2)))
{ρ : ℝ → ℝ} (hρ : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) ρ) (hi : Integrable ρ)
(hp : ∀ y, 0 < ρ y) (hρm : ∫ y, ρ y = 1)
{C : ℝ} (hC : 0 ≤ C) (hb : ∀ y, |ρ y| ≤ C/(1+y^2)) {D : ℝ}
(hF : ∀ v, D < |v| → 𝓕 (fun y => (ρ y : ℂ)) v = 0)
{δ : ℝ} (c : LawCutoffs δ) (hδ : 0 < δ) (hδ' : δ < 1/8)
{χ : ℝ → UnitAddCircle → ℝ}
(hχs : CylinderSmooth χ.uncurry)
(hχc : Continuous χ.uncurry) (hcχ : HasCompactSupport χ.uncurry) (hzχ : ∀ a, χ 0 a = 0)
(hχ : ∀ s a, 0 ≤ χ s a ∧ χ s a ≤ 1)
(hχW : ∀ s a, stationaryWeight (Icc (l-R) (u+R)) (fun x => (m:ℝ)*V x) (A₀ a) s ≠ 0 → χ s a = 1)
{g : UnitAddCircle → ℝ} (hg : Continuous g) {ε : ℝ}
(hideal : ∀ s ∈ support (stationaryWeight (Icc (l-R) (u+R)) (fun x => (m:ℝ)*V x) (A₀ 0)),
∀ y, |foldCircleDensity (scaledDensity ρ s) y-g y| ≤ ε)
{η : ℝ} (hη : 0 < η) :
let w := stationaryWeight (Icc (l-R) (u+R)) (fun x => (m:ℝ)*V x) (A₀ 0)
∃ S : ℕ → Finset ℤ,
(∀ n, 0 < n → ∀ j ∈ S n, j ≠ 0) ∧
(∀ n, 0 < n → ∀ j ∉ S n, ∀ a, χ ((j:ℝ)/n) a = 0) ∧
∀ᶠ n : ℕ in atTop,
let ψ := neutralCircleCutoff c
let J := quantileCircleJitter ρ c
let φ := fun a => (((1+J a/n)/n:ℝ):UnitAddCircle)
let f := retainedPassage m (H n) A (S n) (fun j => χ ((j:ℝ)/n)) ψ
let p := exactRetainedPacketDensity (Ioo δ (1-δ)) (lawJitter ρ c) ψ χ m H A (S n) n
(∫ x : TripleTorus, ‖packet m A x-f (passageChart (H n) x)‖^2 ∂tripleVolume) <
8*δ*(∫ u, ‖A (u,0)‖^2 ∂AddCircle.haarAddCircle)+η ∧
(∫ z, |p z-foldCircleDensity w z*g ((n:ℤ) • z)| ∂AddCircle.haarAddCircle) <
(∫ s, w s)*(4*δ+ε)+η ∧
ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) (fun x : ℝ => p x) ∧
(∀ k : ℤ, (∫ x : TripleTorus, starRingEnd ℂ (f x)*f (twistIter φ k x) ∂tripleVolume) =
∫ z, (p z:ℂ)*fourier k z ∂AddCircle.haarAddCircle) ∧
(∀ j u a, ‖retainedAmplitude ψ χ m H A n j (u,a)‖ =
‖retainedAmplitude ψ χ m H A n j (u,0)‖) := by
sorry
end ThreeTorus
end
end
end OAI
end