Download lean/OAI/Analysis/CoulombIonization/Localization/BarrierConditionalBarrier.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
theoremoffset_condExp {u : Ω →ℝ} (hu : Integrable u P) (V : ℝ) :
(fun sample =>V + P[fun sample => u sample - V | m] sample) =ᵐ[P] P[u | m] :=by
proof · 6
lines
have he := condExp_sub hu (integrable_const V) m
rw [condExp_const hm] at he
filter_upwards [he] with sample hω
change (P[fun sample => u sample - V | m]) sample = (P[u | m]) sample - V at hω
rw [hω]
ring
theoremoffset_condExp_bounds {u : Ω →ℝ} (hu : Integrable u P)
{a b : ℝ} (ha : ∀ᵐ sample ∂P, a ≤ u sample) (hb : ∀ᵐ sample ∂P, u sample ≤ b) (V : ℝ) :
∀ᵐ sample ∂P, a ≤V + P[fun sample => u sample-V | m] sample ∧V + P[fun sample => u sample-V | m] sample ≤ b :=by
proof · 6
lines
have h1 := condExp_mono (integrable_const a) hu ha (m := m)
have h2 := condExp_mono hu (integrable_const b) hb (m := m)
rw [condExp_const hm] at h1 h2
filter_upwards [offset_condExp hm hu V,h1,h2] with sample he h1 h2
rw [he]
exact ⟨h1,h2⟩