lemmaconditionalField_le {u : Ω →TFSpace→ℝ}
(hm : Measurable (Function.uncurry u)) (hb : DeterministicLocalBound u)
(c b : ℝ) (d : D) (x : TFSpace) (h : ∀ sample, c+u sample x ≤ b) :
c+conditionalField PX u d x ≤ b :=by
proof · 5
lines
rw [conditionalField_plus_const PX hm hb c d x]
calc
_ ≤∫_ : Ω, b ∂condDistrib id XP d := integral_mono
((integrable_const c).add (deterministicBound_integrable_section hm hb x)) (integrable_const b) h
_ = b :=by simp
lemmale_conditionalField {u : Ω →TFSpace→ℝ}
(hm : Measurable (Function.uncurry u)) (hb : DeterministicLocalBound u)
(c b : ℝ) (d : D) (x : TFSpace) (h : ∀ sample, b ≤ c+u sample x) :
b ≤ c+conditionalField PX u d x :=by
proof · 5
lines
rw [conditionalField_plus_const PX hm hb c d x]
calc
b = ∫_ : Ω, b ∂condDistrib id XP d :=by simp
_ ≤ _ := integral_mono (integrable_const b)
((integrable_const c).add (deterministicBound_integrable_section hm hb x)) h
lemmaIsNuclearBarrier.congr_density {Ω : Type*} [MeasurableSpace Ω] {P : Measure Ω}
{μ ν a p : Ω →TFSpace→ℝ} {Z κ BCRTη : ℝ}
(old : IsNuclearBarrierP μ Z κ BCRT η a p) (he : ∀ᵐ sample ∂P, ∀ x, μ sample x = ν sample x) :
IsNuclearBarrierP ν Z κ BCRT η a p :=by
proof · 7
lines
refine ⟨old.measurable_offset,old.uniform_lipschitz_offset,old.bound_offset,
old.measurable_error,old.nonneg_error,old.bounded_error,old.support_error,?_,
old.lower,old.upper,old.tail,old.mass⟩
filter_upwards [old.weak,he] with sample hw he
apply hw.congr_source
intro x _
simp only [innerSource,he x]