OAI/Dynamics/ThreeTorus/Jitter.lean
56 declarations, 0 contain sorry, 0 declared as axioms
Cumulative distribution, smooth quantile inverse, and positive smooth neutral jitter laws.
- def
OAI.ThreeTorus.cumulativeline 33Source documentation
The manuscript's distribution function, without a normalization convention for non-probability inputs.
def cumulative (ρ : ℝ → ℝ) (y : ℝ) : ℝ := ∫ x in Iic y, ρ x
- lemma
OAI.ThreeTorus.cumulative_subline 35 - lemma
OAI.ThreeTorus.cumulative_eq_primitiveline 39 - lemma
OAI.ThreeTorus.hasDerivAt_cumulativeline 44 - lemma
OAI.ThreeTorus.contDiff_cumulativeline 51 - lemma
OAI.ThreeTorus.strictMono_cumulativeline 61 - lemma
OAI.ThreeTorus.cumulative_atBotline 65 - lemma
OAI.ThreeTorus.cumulative_atTopline 69 - lemma
OAI.ThreeTorus.cumulative_mem_Iooline 75 - lemma
OAI.ThreeTorus.range_cumulativeline 85 - def
OAI.ThreeTorus.quantileline 100Source documentation
The inverse is only used on (0,1); its arbitrary values elsewhere are killed by a smooth compactly supported cutoff.
def quantile (ρ : ℝ → ℝ) : ℝ → ℝ := invFun (cumulative ρ)
Mentions: OAI.ThreeTorus.cumulative
- lemma
OAI.ThreeTorus.cumulative_quantileline 102 - lemma
OAI.ThreeTorus.quantile_cumulativeline 110 - lemma
OAI.ThreeTorus.contDiffAt_invFun_of_deriv_ne_zeroline 115 - lemma
OAI.ThreeTorus.contDiffOn_quantileline 135 - lemma
OAI.ThreeTorus.hasDerivAt_quantileline 146 - def
OAI.ThreeTorus.periodizeline 158Source documentation
Periodize by a locally finite sum. Unlike a raw
fractexpression this also makes smoothness at the identified endpoints explicit.def periodize (f : ℝ → ℝ) (x : ℝ) : ℝ := ∑ᶠ k : ℤ, f (x + k)
- lemma
OAI.ThreeTorus.periodize_periodicline 160 - lemma
OAI.ThreeTorus.contDiff_periodizeline 165 - lemma
OAI.ThreeTorus.periodize_eq_on_unitline 197 - lemma
OAI.ThreeTorus.periodize_eq_fractline 211 - lemma
OAI.ThreeTorus.contDiff_cutoff_quantileline 219 - structure
OAI.ThreeTorus.LawCutoffsline 236Source documentation
The two actual smooth cutoffs used by the manuscript's quantile construction.
structure LawCutoffs (δ : ℝ) where …
- def
OAI.ThreeTorus.lawCutoffsline 250 - def
OAI.ThreeTorus.lawJitterline 278 - def
OAI.ThreeTorus.lawPsiline 281 - def
OAI.ThreeTorus.lawDensityline 283 - lemma
OAI.ThreeTorus.lawJitter_smoothline 286 - lemma
OAI.ThreeTorus.lawJitter_eq_quantileline 293 - lemma
OAI.ThreeTorus.lawJitter_deriv_posline 300 - lemma
OAI.ThreeTorus.lawPsi_smoothline 312 - lemma
OAI.ThreeTorus.lawPsi_eqline 316 - lemma
OAI.ThreeTorus.lawPsi_boundsline 323 - lemma
OAI.ThreeTorus.lawDensity_smoothline 331 - lemma
OAI.ThreeTorus.lawDensity_boundsline 336 - lemma
OAI.ThreeTorus.lawDensity_compactline 344 - lemma
OAI.ThreeTorus.lawDensity_integrableline 368 - lemma
OAI.ThreeTorus.integral_lawDensityline 376 - lemma
OAI.ThreeTorus.integral_cutoff_lowerline 389 - lemma
OAI.ThreeTorus.lawDensity_errorline 409 - lemma
OAI.ThreeTorus.lawDensity_pushforwardline 425Source documentation
Exact weighted pushforward, in a unit-interval representative of the circle. The cutoff is not renormalized.
lemma lawDensity_pushforward {ρ : ℝ → ℝ} {δ : ℝ} (c : LawCutoffs δ) (hρ : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) ρ) (hi : Integrable ρ) (hp : ∀ y, 0 < ρ y) (hm : ∫ y, ρ y = 1) (hδ : 0 < δ) : Measure.map (lawJitter ρ c) ((volume.restrict (Ioo (0 : ℝ) 1)).withDensity (fun a => ENNReal.ofReal (c.ψ a^2))) = volume.withDensity (fun y => ENNReal.ofReal (lawDensity ρ c y)) := by …Mentions: OAI.ThreeTorus.LawCutoffs, OAI.ThreeTorus.lawJitter, OAI.ThreeTorus.lawDensity
- lemma
OAI.ThreeTorus.missing_cutoff_massline 459 - theorem
OAI.ThreeTorus.realize_jitter_lawline 476Source documentation
Source Lemma
law-approx, using a compactly supported representative ψ of its circle cutoff on (0,1). Its smooth periodic extension isperiodize ψ;periodize_eq_on_unitproves that this does not change the weighted measure. The output density is deliberately a subprobability, not normalized.theorem realize_jitter_law (ρ : ℝ → ℝ) (hρ : ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) ρ) (hi : Integrable ρ) (hp : ∀ y, 0 < ρ y) (hm : ∫ y, ρ y = 1) {ε : ℝ} (hε : 0 < ε) : ∃ (δ : ℝ) (J ψ ρ' : ℝ → ℝ), 0 < δ ∧ δ < 1/8 ∧ 2*δ < ε ∧ ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) J ∧ Periodic J 1 ∧ (∀ a ∈ Ioo δ (1-δ), 0 < deriv J a) ∧ ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) ψ ∧ HasCompactSupport ψ ∧ tsupport ψ ⊆ Ioo δ (1-δ) ∧ (∀ a, 0 ≤ ψ a ∧ ψ a ≤ 1) ∧ ContDiff ℝ ((⊤ : ℕ∞) : WithTop ℕ∞) ρ' ∧ HasCompactSupport ρ' ∧ (∀ y, 0 ≤ ρ' y ∧ ρ' y ≤ ρ y) ∧ Integrable ρ' ∧ Measure.map J ((volume.restrict (Ioo (0 : ℝ) 1)).withDensity … - def
OAI.ThreeTorus.neutralJitterRealline 517Source documentation
A bounded smooth periodic jitter that is exactly affine on the fixed large good arc. The cutoff and good arc do not depend on the slope.
def neutralJitterReal {δ : ℝ} (c : LawCutoffs δ) (L β : ℝ) : ℝ → ℝ := …Mentions: OAI.ThreeTorus.LawCutoffs
- lemma
OAI.ThreeTorus.neutralJitterReal_smoothline 520 - lemma
OAI.ThreeTorus.neutralJitterReal_periodicline 525 - lemma
OAI.ThreeTorus.neutralJitterReal_affineline 528 - lemma
OAI.ThreeTorus.neutralJitterReal_derivline 534 - def
OAI.ThreeTorus.neutralJitterline 542 - lemma
OAI.ThreeTorus.neutralJitter_coeline 545 - lemma
OAI.ThreeTorus.continuous_neutralJitterline 548 - def
OAI.ThreeTorus.neutralCircleCutoffline 554 - lemma
OAI.ThreeTorus.neutralCircleCutoff_coeline 557 - lemma
OAI.ThreeTorus.continuous_neutralCircleCutoffline 560 - lemma
OAI.ThreeTorus.neutralCircleCutoff_boundsline 566 - lemma
OAI.ThreeTorus.neutralCircleCutoff_errorline 571