lemmatargetUniform_le_midpoint {t C : ℝ} (ht : 0<t) (hC : 0≤C) (y z : Point)
{A : SetPoint} (hA : MeasurableSetA) (hbound : ∀x∈A,‖x-(fun j ↦ (y j+z j)/2)‖≤C) :
targetUniform A≤((volume A)⁻¹*(midpointLower t C)⁻¹) • midpointLaw t y z :=by
proof · 10
lines
have h := gaussian_dominates_local (v:=Real.toNNReal t) (by simpa [Real.toNNReal_eq_zero] using not_le.mpr ht)
(fun j ↦ (y j+z j)/2) hC hA hbound
rw [←midpointLaw_gaussian ht.le y z,Real.coe_toNNReal t ht.le] at h
change midpointLower t C • volume.restrict A≤ midpointLaw t y z at h
have hd0 := ne_of_gt (midpointLower_pos ht C)
intro Bhave hh := mul_le_mul_right (h B) ((volume A)⁻¹*(midpointLower t C)⁻¹)
havehe : (volume A)⁻¹*(midpointLower t C)⁻¹*midpointLower t C=(volume A)⁻¹:=by
rw [mul_assoc,ENNReal.inv_mul_cancel hd0 (midpointLower_ne_top t C),mul_one]
simpa only [targetUniform,Measure.smul_apply,smul_eq_mul,←mul_assoc,he] using hh
lemmaphysical_trial_le_reference {t C : ℝ} (ht : 0<t) (hC : 0≤C) (y z : Point)
{A : SetPoint} (hA : MeasurableSetA) (hAfinite : volume A≠⊤)
(hbound : ∀x∈A,‖x-(fun j ↦ (y j+z j)/2)‖≤C)
(S : SetC(Time,Point)) (hS : MeasurableSetS) {c : ℝ≥0∞}
(hc : ∀ᵐu ∂targetUniform A,c≤trialKernel t y z u S) :
((targetUniform A).compProd (successKernel (trialKernel t y z) S hS)).map Prod.snd ≤
(c⁻¹*((volume A)⁻¹*(midpointLower t C)⁻¹)) • individualReference t y z S:=by
proof · 11
lines
let : IsFiniteMeasure (volume.restrict A) := ⟨by simp [hAfinite.lt_top]⟩
let : IsFiniteMeasure (targetUniform A) :=byby_cases h0 : volume A=0
· havehz : targetUniform A=0:=by simp [targetUniform,Measure.restrict_eq_zero.mpr h0]
rw [hz]
infer_instance
· let : IsProbabilityMeasure (targetUniform A) := targetUniform_probability h0 hAfinite
infer_instance
have h := successful_marginal_le_reference (targetUniform A) (midpointLaw t y z)
(trialKernel t y z) S hS (targetUniform_le_midpoint ht hC y z hA hbound) hc
simpa only [full_bridge_midpoint ht.le,individualReference] using h
lemmaindividualReference_probability {t C : ℝ} (ht : 0<t) (hC : 0≤C) (y z : Point)
{A : SetPoint} (hA : MeasurableSetA) (hA0 : volume A≠0) (hAfinite : volume A≠⊤)
(hbound : ∀u∈A,‖u-(fun j ↦ (y j+z j)/2)‖≤C)
(S : SetC(Time,Point)) (hS : MeasurableSetS) {c : ℝ≥0∞} (hc0 : 0<c)
(hc : ∀ᵐu ∂targetUniform A,c≤trialKernel t y z u S) :
IsProbabilityMeasure (individualReference t y z S) :=by
proof · 10
lines
let_ : IsProbabilityMeasure (targetUniform A) := targetUniform_probability hA0 hAfinite
have hp := normalizer_positive_of_uniform_success (targetUniform A) (midpointLaw t y z)
(trialKernel t y z) S hS hc0 (ENNReal.mul_ne_top (ENNReal.inv_ne_top.mpr hA0)
(ENNReal.inv_ne_top.mpr (midpointLower_pos ht C).ne'))
(targetUniform_le_midpoint ht hC y z hA hbound) hc
rw [full_bridge_midpoint ht.le y z] at hp
let_ : IsProbabilityMeasure (law.map (leg (2*t) y z)) := inferInstance
constructor
simp only [individualReference,Measure.smul_apply,Measure.restrict_apply_univ,smul_eq_mul]
exact ENNReal.inv_mul_cancel hp.ne' (measure_ne_top _ _)
lemmapairedTrialLaw_fst (t : ℝ) (y z y' z' : Point) (A : SetPoint)
(hA0 : volume A≠0) (hAfinite : volume A≠⊤)
(ST : SetC(Time,Point)) (hS : MeasurableSetS) (hT : MeasurableSetT)
(hη : ∀ᵐu ∂targetUniform A,0<trialKernel t y' z' u T) :
(pairedTrialLaw t y z y' z' AST hS hT).fst=
((targetUniform A).compProd (successKernel (trialKernel t y z) S hS)).map Prod.snd :=by
proof · 7
lines
let_ : IsProbabilityMeasure (targetUniform A) := targetUniform_probability hA0 hAfinite
have h := congrArg (funμ : Measure (Point×C(Time,Point)) ↦ μ.map Prod.snd)
(pairedFactor_fst (targetUniform A) (trialKernel t y z) (trialKernel t y' z') ST hS hT hη)
rw [Measure.map_map measurable_snd (by fun_prop)] at h
unfold pairedTrialLaw Measure.fst
rw [Measure.map_map measurable_fst (by fun_prop)]
exact h
lemmapairedTrialLaw_midpoint (t : ℝ) (y z y' z' : Point) (A : SetPoint)
(hA0 : volume A≠0) (hAfinite : volume A≠⊤)
(ST : SetC(Time,Point)) (hS : MeasurableSetS) (hT : MeasurableSetT) :
∀ᵐp ∂pairedTrialLaw t y z y' z' AST hS hT,
p.1 midpointTime=p.2.1∧ p.2.2 midpointTime=p.2.1:=by
proof · 4
lines
let_ : IsProbabilityMeasure (targetUniform A) := targetUniform_probability hA0 hAfinite
rw [pairedTrialLaw]
apply (ae_map_iff (by fun_prop) (by measurability)).mpr
exact paired_trial_midpoint (targetUniform A) t y z y' z' ST hS hT
lemmapairedTrial_auxiliary {t C : ℝ} (ht : 0<t) (hC : 0≤C) (y z y' z' : Point)
{A : SetPoint} (hA : MeasurableSetA) (hA0 : volume A≠0) (hAfinite : volume A≠⊤)
(hbound : ∀u∈A,‖u-(fun j ↦ (y j+z j)/2)‖≤C)
(ST : SetC(Time,Point)) (hS : MeasurableSetS) (hT : MeasurableSetT)
{c : ℝ≥0∞} (hc0 : 0<c) (hc : ∀ᵐu ∂targetUniform A,c≤trialKernel t y z u S)
(hη : ∀ᵐu ∂targetUniform A,0<trialKernel t y' z' u T) :
∃κ : KernelC(Time,Point) (Point×C(Time,Point)),IsFiniteKernel κ ∧
(individualReference t y z S).compProd κ=pairedTrialLaw t y z y' z' AST hS hT ∧
(∀f,κ f univ≤c⁻¹*((volume A)⁻¹*(midpointLower t C)⁻¹)) ∧
(∫⁻f,κ f univ ∂individualReference t y z S)=1:=by
proof · 9
lines
let_ : IsProbabilityMeasure (individualReference t y z S) :=
individualReference_probability ht hC y z hA hA0 hAfinite hbound S hS hc0 hc
let_ : IsProbabilityMeasure (pairedTrialLaw t y z y' z' AST hS hT) :=
pairedTrialLaw_probability t y z y' z' A hA0 hAfinite ST hS hT (hc.mono (fun _ hu ↦ hc0.trans_le hu)) hη
apply exists_bounded_auxiliary_kernel
· exact ENNReal.mul_ne_top (ENNReal.inv_ne_top.mpr hc0.ne')
(ENNReal.mul_ne_top (ENNReal.inv_ne_top.mpr hA0) (ENNReal.inv_ne_top.mpr (midpointLower_pos ht C).ne'))
· rw [pairedTrialLaw_fst t y z y' z' A hA0 hAfinite ST hS hT hη]
exact physical_trial_le_reference ht hC y z hA hAfinite hbound S hS hc