Buckets:
| import Mathlib | |
| import OAI.Probability.SKValue.Equations.Cutoff | |
| namespace OAI | |
| section | |
| open MeasureTheory ProbabilityTheory Set | |
| open scoped ENNReal NNReal BigOperators | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| open scoped BigOperators Topology | |
| open MeasureTheory ProbabilityTheory Set Filter | |
| open scoped Topology BigOperators | |
| open MeasureTheory ProbabilityTheory Set Filter | |
| open scoped Topology ENNReal NNReal | |
| open Filter Set | |
| open scoped Topology BigOperators | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| open scoped Topology | |
| open MeasureTheory Set Filter | |
| open scoped Topology BigOperators | |
| open MeasureTheory Set Filter Finset | |
| open scoped Topology BigOperators | |
| namespace SKValue | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| open scoped Topology NNReal ENNReal BigOperators | |
| noncomputable def controlIntegral (γ : OrderParameter) (t : ℝ) | |
| {Ω : Type*} (α : ℝ≥0 → Ω → ℝ) (n : ℕ) (ω : Ω) : ℝ := | |
| ∫ s in (0 : ℝ)..(1-t), γ.cutoff (t+s)*(limitedControl α s ω)^n | |
| lemma controlIntegral_eq (W : BrownianSpace) (γ : OrderParameter) {t : ℝ} | |
| (ht : t∈Icc (0 : ℝ) 1) (α : ℝ≥0 → W.Ω → ℝ) (n : ℕ) (ω : W.Ω) : | |
| controlIntegral γ t α n ω = | |
| ∫ s in (0 : ℝ)..(1-t), γ.coeff (t+s)*(α (Real.toNNReal s) ω)^n := by | |
| unfold controlIntegral | |
| apply intervalIntegral.integral_congr_Ioo_of_le (sub_nonneg.mpr ht.2) | |
| intro s hs | |
| have hts : t+s∈Ico (0 : ℝ) 1 := ⟨by linarith [hs.1,ht.1],by linarith [hs.2]⟩ | |
| change γ.cutoff (t+s) * (limitedControl α s ω)^n = γ.coeff (t+s) * (α (Real.toNNReal s) ω)^n | |
| unfold OrderParameter.cutoff | |
| rw [Set.indicator_of_mem hts, limitedControl_eq α (by linarith [hs.2,ht.1]) ω] | |
| lemma controlIntegral_measurable {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| {α : ℝ≥0 → W.Ω → ℝ} (hα : Admissible W t α) (n : ℕ) : | |
| Measurable (controlIntegral γ t α n) := by | |
| have hm : Measurable (fun p : ℝ×W.Ω ↦ γ.cutoff (t+p.1)*(limitedControl α p.1 p.2)^n) := | |
| (γ.cutoff_measurable.comp (measurable_const.add measurable_fst)).mul (hα.limited_measurable.pow_const n) | |
| unfold controlIntegral intervalIntegral | |
| exact (hm.stronglyMeasurable.integral_prod_left.measurable).sub | |
| (hm.stronglyMeasurable.integral_prod_left.measurable) | |
| lemma controlIntegral_integrand_bound {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| {α : ℝ≥0 → W.Ω → ℝ} (hα : Admissible W t α) (n : ℕ) (s : ℝ) (ω : W.Ω) : | |
| |γ.cutoff (t+s)*(limitedControl α s ω)^n|≤γ.cutoff (t+s) := by | |
| rw [abs_mul, abs_of_nonneg (γ.cutoff_nonneg _), abs_pow] | |
| exact (mul_le_mul_of_nonneg_left (pow_le_one₀ (abs_nonneg _) (hα.limited_bound s ω)) (γ.cutoff_nonneg _)).trans_eq (mul_one _) | |
| lemma controlIntegral_bound {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| (ht : t∈Icc (0 : ℝ) 1) {α : ℝ≥0 → W.Ω → ℝ} (hα : Admissible W t α) | |
| (n : ℕ) (ω : W.Ω) : | |
| |controlIntegral γ t α n ω|≤∫ s in t..1, γ.cutoff s := by | |
| have hi : IntervalIntegrable (fun s ↦ γ.cutoff (t+s)) volume 0 (1-t) := by | |
| simpa only [sub_self] using (γ.cutoff_integrable.intervalIntegrable (a := t) (b := 1)).comp_add_left t | |
| have hh := intervalIntegral.norm_integral_le_of_norm_le | |
| (f := fun s ↦ γ.cutoff (t+s)*(limitedControl α s ω)^n) (sub_nonneg.mpr ht.2) | |
| (Eventually.of_forall (fun s _ ↦ by simpa only [Real.norm_eq_abs] using controlIntegral_integrand_bound γ hα n s ω)) hi | |
| simpa [Real.norm_eq_abs, controlIntegral, intervalIntegral.integral_comp_add_left] using hh | |
| lemma controlIntegral_integrable {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| (ht : t∈Icc (0 : ℝ) 1) {α : ℝ≥0 → W.Ω → ℝ} (hα : Admissible W t α) (n : ℕ) : | |
| Integrable (controlIntegral γ t α n) W.μ := by | |
| apply Integrable.of_bound (controlIntegral_measurable γ hα n).aestronglyMeasurable (∫ s in t..1, γ.cutoff s) | |
| exact Eventually.of_forall (fun ω ↦ by simpa only [Real.norm_eq_abs] using controlIntegral_bound γ ht hα n ω) | |
| lemma controlIntegral_nonneg_even {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| (ht : t∈Icc (0 : ℝ) 1) (α : ℝ≥0 → W.Ω → ℝ) (ω : W.Ω) : | |
| 0≤controlIntegral γ t α 2 ω := by | |
| exact intervalIntegral.integral_nonneg_of_forall (sub_nonneg.mpr ht.2) | |
| (fun s ↦ mul_nonneg (γ.cutoff_nonneg _) (sq_nonneg _)) | |
| end SKValue | |
| namespace SKValue | |
| open MeasureTheory ProbabilityTheory Filter Set | |
| open scoped Topology NNReal ENNReal BigOperators | |
| lemma controlIntegrand_intervalIntegrable {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| {α : ℝ≥0 → W.Ω → ℝ} (hα : Admissible W t α) (n : ℕ) (ω : W.Ω) : | |
| IntervalIntegrable (fun s ↦ γ.cutoff (t+s)*(limitedControl α s ω)^n) volume 0 (1-t) := by | |
| have hi : IntervalIntegrable (fun s ↦ γ.cutoff (t+s)) volume 0 (1-t) := by | |
| have hg := (γ.cutoff_integrable.intervalIntegrable (a := t) (b := 1)).comp_add_left t | |
| simpa only [sub_self] using hg | |
| apply hi.mono_fun' | |
| · exact ((γ.cutoff_measurable.comp (measurable_const.add measurable_id)).mul | |
| ((hα.limited_measurable.comp (measurable_id.prodMk measurable_const)).pow_const n)).aestronglyMeasurable | |
| · exact Eventually.of_forall (fun s ↦ by simpa only [Real.norm_eq_abs] using controlIntegral_integrand_bound γ hα n s ω) | |
| lemma control_cost_bound {W : BrownianSpace} (γ : OrderParameter) {t : ℝ} | |
| (ht : t∈Icc (0 : ℝ) 1) {α : ℝ≥0 → W.Ω → ℝ} (hα : Admissible W t α) (ω : W.Ω) : | |
| |controlIntegral γ t α 1 ω|-(1/2 : ℝ)*controlIntegral γ t α 2 ω≤ | |
| (1/2 : ℝ)*∫ s in t..1, γ.cutoff s := by | |
| have h1 := controlIntegrand_intervalIntegrable γ hα 1 ω | |
| have h2 := controlIntegrand_intervalIntegrable γ hα 2 ω | |
| have hγ : IntervalIntegrable (fun s ↦ γ.cutoff (t+s)) volume 0 (1-t) := by | |
| simpa only [sub_self] using (γ.cutoff_integrable.intervalIntegrable (a := t) (b := 1)).comp_add_left t | |
| have hpoint (s : ℝ) : |γ.cutoff (t+s)*(limitedControl α s ω)^1|- | |
| (1/2 : ℝ)*(γ.cutoff (t+s)*(limitedControl α s ω)^2)≤(1/2 : ℝ)*γ.cutoff (t+s) := by | |
| rw [pow_one, abs_mul, abs_of_nonneg (γ.cutoff_nonneg _)] | |
| have hscalar : |limitedControl α s ω|-(1/2 : ℝ)*(limitedControl α s ω)^2≤1/2 := by | |
| nlinarith [sq_nonneg (|limitedControl α s ω|-1),sq_abs (limitedControl α s ω)] | |
| nlinarith [mul_le_mul_of_nonneg_left hscalar (γ.cutoff_nonneg (t+s))] | |
| calc | |
| _ ≤ (∫ s in (0 : ℝ)..(1-t), |γ.cutoff (t+s)*(limitedControl α s ω)^1|)- | |
| (1/2 : ℝ)*(∫ s in (0 : ℝ)..(1-t), γ.cutoff (t+s)*(limitedControl α s ω)^2) := | |
| sub_le_sub_right (intervalIntegral.abs_integral_le_integral_abs (sub_nonneg.mpr ht.2)) _ | |
| _ = ∫ s in (0 : ℝ)..(1-t), |γ.cutoff (t+s)*(limitedControl α s ω)^1|- | |
| (1/2 : ℝ)*(γ.cutoff (t+s)*(limitedControl α s ω)^2) := by | |
| rw [intervalIntegral.integral_sub h1.abs (h2.const_mul _), intervalIntegral.integral_const_mul] | |
| _ ≤ ∫ s in (0 : ℝ)..(1-t), (1/2 : ℝ)*γ.cutoff (t+s) := | |
| intervalIntegral.integral_mono (sub_nonneg.mpr ht.2) | |
| (h1.abs.sub (h2.const_mul _)) (hγ.const_mul _) hpoint | |
| _ = _ := by rw [intervalIntegral.integral_const_mul, intervalIntegral.integral_comp_add_left]; simp | |
| end SKValue | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 7.3 kB
- Xet hash:
- c9ed17e10a11a1bd8a6f5a59484943c729cdb5dc7913d0042e885a1173c4a671
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.