Actual PBPS finite first-event density and post-bounce law
AutoSamplingTheory.ExampleCases.ProximalBPS.ActualFiniteFirstEventLaw.actual_finite_first_event_law · theorem · Teaching coverage
Mathematical statement
Let E be any finite-dimensional real inner-product Borel space, including dimension zero. Let V:E→ℝ be C². Let α,β≥0 and η∈ℝ satisfy α>0, α≤β, α‖v‖²≤D²V(x)[v,v]≤β‖v‖² for every x,v∈E, η>0 and βη≤1. Fix arbitrary y,r∈E and z=(x,p)∈E×E. Define c=y−η∇V(r), Φ_s(z)=(c+cos(s)(x−c)+√η sin(s)p, −sin(s)(x−c)/√η+cos(s)p), g_r(x)=∇V(x)−∇V(r), S_r(x,p)=(x,p−2〈p,g_r(x)〉g_r(x)/‖g_r(x)‖²), and λ_r(x,p)=√η max{0,〈p,g_r(x)〉}. Total real division makes S_r the identity when g_r(x)=0. For t≥0 set Λ_z(t)=∫₀ᵗλ_r(Φ_s(z))ds and τ_z(e)=inf{t≥0:Λ_z(t)≥e}∈[0,∞], with inf empty=∞. Let Ω=ℝ^ℕ, P=⊗_(k≥0)Exp(1), ε_k(sample)=max{sample_k,0}, and U(sample)=τ_z(ε_0(sample)). Thus the authors first threshold is canonical coordinate0, not a supplied clock or law. Set F(sample)=untopD_0(U(sample)), viewed as a real number; it is the finite waiting time when U is finite and zero at infinity. For every finite T≥0 define A_T={sample:0<U(sample)≤T}, d_z(s)=λ_r(Φ_s(z))exp(−Λ_z(max{s,0})), ρ_T=(Lebesgue restricted to (0,T]).withDensity(ofReal(d_z)), and J_z(s)=(max{s,0},S_r(Φ_s(z)))∈[0,∞)×(E×E), for all real s. Then U,F,J_z are Borel measurable. For every finite T, A_T is measurable, F_*(P restricted to A_T)=ρ_T, and (J_z∘F)_*(P restricted to A_T)=(J_z)_*ρ_T. Moreover ρ_T is a finite subprobability measure, ρ_T(ℝ)=1−exp(−Λ_z(T))≤1. For every Borel real h on [0,∞)×(E×E), every M≥0 with |h(a)|≤M for all a, h∈L¹((J_z)_*ρ_T), h∘J_z∘F∈L¹(P restricted to A_T), and s↦h(J_z(s))d_z(s)∈L¹(Lebesgue restricted to (0,T]); their exact integral identity is ∫_(A_T)h(J_z(F(sample)))P(dsample)=∫₀ᵀh(s,S_r(Φ_s(z)))λ_r(Φ_s(z))exp(−Λ_z(s))ds, with the right-hand side understood over (0,T]. All assertions hold for every y,r,z,T, with E,V,α,β,η fixed. Infinity is excluded by A_T before the default finite projection is used; zero thresholds and zero waiting times are excluded by its positive guard and have zero P-mass by the derived survival law at0. The finite-event mass is not renormalized; the missing mass is exp(−Λ_z(T)) and includes waits beyond T and infinite waits. No strict hazard increase, positive rate, almost-sure finite wait, uniform cap, supplied measurability, density or integrability assumption is added. T=0, M=0, rank0, zero normals and flat hazards are included. This is an attributed ASTIS measure-theoretic completion of the actual first-event density factor implicit in the authors AppendixA.1(A.1),(A.2),(A.7), using their actual dynamics and iid clocks. It does not prove the successive conditional factors, full finite-event path expansion, path reversal, invariance, process Markovness, all-L² contraction, mixing, implemented error/cost, actual-input composition or complete main results.
Lean statement · actual_finite_first_event_law
Let E be any finite-dimensional real inner-product Borel space, including dimension zero. Let V:E→ℝ be C². Let α,β≥0 and η∈ℝ satisfy α>0, α≤β, α‖v‖²≤D²V(x)[v,v]≤β‖v‖² for every x,v∈E, η>0 and βη≤1. Fix arbitrary y,r∈E and z=(x,p)∈E×E. Define c=y−η∇V(r), Φ_s(z)=(c+cos(s)(x−c)+√η sin(s)p, −sin(s)(x−c)/√η+cos(s)p), g_r(x)=∇V(x)−∇V(r), S_r(x,p)=(x,p−2〈p,g_r(x)〉g_r(x)/‖g_r(x)‖²), and λ_r(x,p)=√η max{0,〈p,g_r(x)〉}. Total real division makes S_r the identity when g_r(x)=0. For t≥0 set Λ_z(t)=∫₀ᵗλ_r(Φ_s(z))ds and τ_z(e)=inf{t≥0:Λ_z(t)≥e}∈[0,∞], with inf empty=∞. Let Ω=ℝ^ℕ, P=⊗_(k≥0)Exp(1), ε_k(sample)=max{sample_k,0}, and U(sample)=τ_z(ε_0(sample)). Thus the authors first threshold is canonical coordinate0, not a supplied clock or law. Set F(sample)=untopD_0(U(sample)), viewed as a real number; it is the finite waiting time when U is finite and zero at infinity. For every finite T≥0 define A_T={sample:0<U(sample)≤T}, d_z(s)=λ_r(Φ_s(z))exp(−Λ_z(max{s,0})), ρ_T=(Lebesgue restricted to (0,T]).withDensity(ofReal(d_z)), and J_z(s)=(max{s,0},S_r(Φ_s(z)))∈[0,∞)×(E×E), for all real s. Then U,F,J_z are Borel measurable. For every finite T, A_T is measurable, F_*(P restricted to A_T)=ρ_T, and (J_z∘F)_*(P restricted to A_T)=(J_z)_*ρ_T. Moreover ρ_T is a finite subprobability measure, ρ_T(ℝ)=1−exp(−Λ_z(T))≤1. For every Borel real h on [0,∞)×(E×E), every M≥0 with |h(a)|≤M for all a, h∈L¹((J_z)_*ρ_T), h∘J_z∘F∈L¹(P restricted to A_T), and s↦h(J_z(s))d_z(s)∈L¹(Lebesgue restricted to (0,T]); their exact integral identity is ∫_(A_T)h(J_z(F(sample)))P(dsample)=∫₀ᵀh(s,S_r(Φ_s(z)))λ_r(Φ_s(z))exp(−Λ_z(s))ds, with the right-hand side understood over (0,T]. All assertions hold for every y,r,z,T, with E,V,α,β,η fixed. Infinity is excluded by A_T before the default finite projection is used; zero thresholds and zero waiting times are excluded by its positive guard and have zero P-mass by the derived survival law at0. The finite-event mass is not renormalized; the missing mass is exp(−Λ_z(T)) and includes waits beyond T and infinite waits. No strict hazard increase, positive rate, almost-sure finite wait, uniform cap, supplied measurability, density or integrability assumption is added. T=0, M=0, rank0, zero normals and flat hazards are included. This is an attributed ASTIS measure-theoretic completion of the actual first-event density factor implicit in the authors AppendixA.1(A.1),(A.2),(A.7), using their actual dynamics and iid clocks. It does not prove the successive conditional factors, full finite-event path expansion, path reversal, invariance, process Markovness, all-L² contraction, mixing, implemented error/cost, actual-input composition or complete main results.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem actual_finite_first_event_law
{E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
{V : E → ℝ} {α β : ℝ≥0} {η : ℝ}
(hα : 0 < (α : ℝ)) (hαβ : α ≤ β) (hV : ContDiff ℝ 2 V)
(hH : ∀ x v : E,
(α : ℝ) * ‖v‖ ^ 2 ≤ (fderiv ℝ (fderiv ℝ V) x v) v ∧
(fderiv ℝ (fderiv ℝ V) x v) v ≤ (β : ℝ) * ‖v‖ ^ 2)
(hη : 0 < η) (hβη : (β : ℝ) * η ≤ 1) :
actual_finite_first_event_law_statement hα hαβ hV hH hη hβηFull Lean proposition (definition) · actual_finite_first_event_law_statement
This literal definition stores the complete proposition asserted above. It supplies no mathematical proof or additional hypothesis; the theorem proof must establish its value.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
private def actual_finite_first_event_law_statement
{E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
{V : E → ℝ} {α β : ℝ≥0} {η : ℝ}
(hα : 0 < (α : ℝ)) (hαβ : α ≤ β) (hV : ContDiff ℝ 2 V)
(hH : ∀ x v : E,
(α : ℝ) * ‖v‖ ^ 2 ≤ (fderiv ℝ (fderiv ℝ V) x v) v ∧
(fderiv ℝ (fderiv ℝ V) x v) v ≤ (β : ℝ) * ‖v‖ ^ 2)
(hη : 0 < η) (hβη : (β : ℝ) * η ≤ 1) : Prop :=
let P : Measure (ℕ → ℝ) := Measure.infinitePi (fun _ : ℕ => expMeasure (1 : ℝ))
let ε : (ℕ → ℝ) → ℕ → ℝ≥0 := fun sample k => Real.toNNReal (sample k)
let c : E → E → E := fun y xRef => y - η • gradient V xRef
let Φ : E → E → ℝ → (E × E) → (E × E) := fun y xRef t z =>
(c y xRef + Real.cos t • (z.1 - c y xRef) +
(Real.sqrt η * Real.sin t) • z.2,
(-Real.sin t / Real.sqrt η) • (z.1 - c y xRef) + Real.cos t • z.2)
let S : E → (E × E) → (E × E) := fun xRef z =>
(z.1, z.2 - (2 * inner ℝ z.2 (gradient V z.1 - gradient V xRef) /
‖gradient V z.1 - gradient V xRef‖ ^ 2) • (gradient V z.1 - gradient V xRef))
let rate : E → (E × E) → ℝ := fun xRef z =>
Real.sqrt η * max 0 (inner ℝ z.2 (gradient V z.1 - gradient V xRef))
let Λ : E → E → (E × E) → ℝ≥0 → ℝ := fun y xRef z t =>
∫ s in (0 : ℝ)..(t : ℝ), rate xRef (Φ y xRef s z)
let τ : E → E → (E × E) → ℝ≥0 → WithTop ℝ≥0 := fun y xRef z e =>
MeasureTheory.hittingAfter
(fun t : ℝ≥0 => fun a : (E × E) × (E × E) × ℝ≥0 =>
Λ a.1.1 a.1.2 a.2.1 t - (a.2.2 : ℝ))
(Set.Ici (0 : ℝ)) 0 ((y, xRef), z, e)
let U : E → E → (E × E) → (ℕ → ℝ) → WithTop ℝ≥0 :=
fun y xRef z sample => τ y xRef z (ε sample 0)
let F : E → E → (E × E) → (ℕ → ℝ) → ℝ :=
fun y xRef z sample => ((U y xRef z sample).untopD 0 : ℝ≥0)
let A : E → E → (E × E) → ℝ≥0 → Set (ℕ → ℝ) :=
fun y xRef z T => {sample | (0 : WithTop ℝ≥0) < U y xRef z sample ∧
U y xRef z sample ≤ (T : WithTop ℝ≥0)}
let d : E → E → (E × E) → ℝ → ℝ := fun y xRef z s =>
rate xRef (Φ y xRef s z) * Real.exp (-Λ y xRef z (Real.toNNReal s))
let ρ : E → E → (E × E) → ℝ≥0 → Measure ℝ := fun y xRef z T =>
(volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))).withDensity
(fun s => ENNReal.ofReal (d y xRef z s))
let J : E → E → (E × E) → ℝ → (ℝ≥0 × (E × E)) :=
fun y xRef z s => (Real.toNNReal s, S xRef (Φ y xRef s z))
∀ y xRef : E, ∀ z : E × E,
Measurable (U y xRef z) ∧ Measurable (F y xRef z) ∧
Measurable (J y xRef z) ∧
(∀ T : ℝ≥0,
MeasurableSet (A y xRef z T) ∧
Measure.map (F y xRef z) (P.restrict (A y xRef z T)) = ρ y xRef z T ∧
Measure.map (fun sample => J y xRef z (F y xRef z sample))
(P.restrict (A y xRef z T)) = Measure.map (J y xRef z) (ρ y xRef z T) ∧
IsFiniteMeasure (ρ y xRef z T) ∧
(ρ y xRef z T).real Set.univ = 1 - Real.exp (-Λ y xRef z T) ∧
ρ y xRef z T Set.univ ≤ 1 ∧
(∀ h : (ℝ≥0 × (E × E)) → ℝ, Measurable h →
∀ M : ℝ, 0 ≤ M → (∀ a, |h a| ≤ M) →
Integrable h (Measure.map (J y xRef z) (ρ y xRef z T)) ∧
Integrable (fun sample => h (J y xRef z (F y xRef z sample)))
(P.restrict (A y xRef z T)) ∧
Integrable (fun s => h (J y xRef z s) * d y xRef z s)
(volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))) ∧
(∫ sample, h (J y xRef z (F y xRef z sample))
∂P.restrict (A y xRef z T)) =
∫ s, h (J y xRef z s) * d y xRef z s
∂volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))))
-- Internal FTC ingredient of the sealed finite-density anchor; not the public result.Proof roadmap
- 1Key lemma: integrate the first-event density
For any continuous real function l, put L(s)=∫₀ˢl(u)du. The fundamental theorem gives L′=l. The chain rule yields (1−exp(−L))′=l exp(−L). The derivative is continuous, so integrating from0 to t≥0 gives the endpoint difference; L(0)=0 removes the lower endpoint. Nonnegativity is not needed for this identity; the actual nonnegative rate will supply it for the measure.
- 2Key lemma: turn the integral into finite density mass
Now assume l(s)≥0 for every real s. The exponential is positive and the density continuous, hence integrable on every bounded (0,t]. The integral of ofReal(density) equals ofReal of its real integral. Evaluating withDensity on the whole line and using the preceding identity gives the exact ENNReal mass, including t=0.
- 3Key lemma: determine the density CDF on a finite window
For a≥0 and t≥0, intersect the window (0,t] with (−∞,a]. This is (0,min(t,a)]. Restriction composition and the previous mass formula give the left-half-line mass. This step uses only measurable interval identities and preserves the finite-window cutoff.
- 4Key lemma: compute the positive finite clock mass
For a measurable extended nonnegative wait U under a probability measure, assume the already derived survival P(U>t)=exp(−L(t)) and L(0)=0. Then P(U>0)=1. The event 0<U≤t is {U>0} minus its measurable subset {U>t}; finite-measure subtraction gives mass1−exp(−L(t)). This includes infinite waits correctly in the subtracted tail.
- 5Key lemma: the projected clock has the same CDF
On 0<U≤t the wait is finite. For a≥0, the preimage of (−∞,a] under untopD0 intersected with that event equals {0<U≤min(t,toNNReal(a))}. The proof splits U=∞ and finite U explicitly; the infinite case cannot satisfy either finite cutoff. Pushforward evaluation, restriction and the preceding mass formula give the CDF. The zero default outside the restricted event never creates an atom.
- 6Retain the actual definitions and consume their compiled producers
Use the literal actual clocks, flow, zero-normal-safe reflection, nonnegative rate, stopped hazard clock, positive finite event, density and mark. Consume the actual hazard/flow/bounce producers with exactly the six original analytic assumptions. UnitExponentialProduct supplies P probability. These are internal proof dependencies, not premises supplied by the theorem caller.
- 7Derive actual rate continuity, clock law and Borel mark
The compiled jointly continuous harmonic flow and bounce-rate continuity give the continuous free-arc rate l(s)≥0 for all real s. The jointly measurable stopped clock composed with real threshold truncation and coordinate0 gives U; untopD0 and inclusion give F. The compiled Borel reflection composed with the flow gives J. Map composition identifies U under P with the Exp(1) stopped-clock law, hence P(U>t)=exp(−Λ(t)). Joint continuity of Λ and truncation also give continuous nonnegative d.
- 8Identify the actual finite density and its entire measure
Fix T. A_T is the intersection of two Borel clock events. On (0,T], toNNReal(s) has real value s, so the literal d agrees almost everywhere on this support with l(s)exp(−∫₀ˢl). For a≥0, the two CDF lemmas agree after converting min(T,toNNReal(a)) to min(T,a). For a<0, F is nonnegative and (0,T] has empty intersection with (−∞,a], so both masses vanish. The left pushforward is finite; equality on every left half-line therefore identifies the whole measures.
- 9Map the same finite law through the actual post-bounce mark
The equality with the restricted-clock pushforward proves ρ finite. Borel J and measurable map composition then give the marked law using the very same J, F and restricted P. Evaluating the density on the whole line gives1−exp(−Λ(T)); Λ(T)≥0 makes this a nonnegative number and positivity of exp makes it at most1. No division by that mass occurs.
- 10Derive all three integrability statements
For any displayed Borel h with |h|≤M, finiteness of the marked measure gives h∈L¹; the measurable composed clock test is bounded under the finite restriction of P and is also L¹. The same bound gives h∘J∈L¹(ρ). The withDensity integrability equivalence transfers this last fact to (ofReal(d)).toReal·h∘J under restricted Lebesgue measure. Since d≥0 and ofReal(d)<∞, that function is exactly h(J(s))d(s). Thus weighted integrability is derived, including M=0.
- 11Transfer the bounded-test integral exactly
Rewrite the marked law as the measurable pushforward of restricted P and apply the Bochner integral-map identity. Apply integral-map once more through J to integrate h∘J under ρ. Finally the withDensity integral identity and nonnegative d replace the ENNReal weight by its real value. This yields the stated weighted finite-event integral. Successive conditional factors and the final-survival/path expansion require additional proofs.
Full assumptions and notation
All objects and hypotheses
- E is a finite-dimensional real inner-product Borel space, including dimension zero. V:E→ℝ is real-valued and C².
- The six original analytic hypotheses are α>0; α≤β; V∈C²; α‖v‖²≤D²V(x)[v,v]≤β‖v‖² for every x,v; η>0; βη≤1. α,β are nonnegative. No higher derivative bound is assumed.
- Standing E,V,α,β,η are fixed. Every deterministic y,r,z and finite T≥0 is allowed. P is the canonical countable product of real rate-one exponential measures; U uses ε_0. All fourteen P,ε,c,Φ,S,λ,Λ,τ,U,F,A,d,ρ,J definitions are literal.
- F defaults to0 at U=∞; the actual law uses the restriction 0<U≤T first. No conditioning normalization, guaranteed finite wait or strict hazard increase is imposed. Zero normal reflection is the identity; flat hazard, T=0 and rank0 are allowed.
- Tests are all Borel real h on nonnegative time×full phase, with every M≥0 satisfying a global absolute bound. The three displayed L¹ facts are conclusions. M=0 is included. No unbounded expectation or oracle-cost transfer follows.
Mathematical proof
1. Key lemma: integrate the first-event density
For any continuous real function l, put L(s)=∫₀ˢl(u)du. The fundamental theorem gives L′=l. The chain rule yields (1−exp(−L))′=l exp(−L). The derivative is continuous, so integrating from0 to t≥0 gives the endpoint difference; L(0)=0 removes the lower endpoint. Nonnegativity is not needed for this identity; the actual nonnegative rate will supply it for the measure.
Corresponding Lean step
private theorem first_density_setIntegral
(l : ℝ → ℝ) (hl : Continuous l) (t : ℝ) (ht : 0 ≤ t) :
(∫ s in Set.Ioc 0 t, l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u))) =
1 - Real.exp (-(∫ u in (0 : ℝ)..t, l u)) := by
let L : ℝ → ℝ := fun s => ∫ u in (0 : ℝ)..s, l u
have hL (s : ℝ) : HasDerivAt L (l s) s :=
intervalIntegral.integral_hasDerivAt_right (hl.intervalIntegrable _ _)
hl.stronglyMeasurable.stronglyMeasurableAtFilter hl.continuousAt
have hcL : Continuous L := continuous_iff_continuousAt.mpr fun s => (hL s).continuousAt
have hd (s : ℝ) :
HasDerivAt (fun s => 1 - Real.exp (-L s))
(l s * Real.exp (-L s)) s := by
simpa only [Pi.neg_apply, mul_neg, neg_mul, neg_neg, mul_comm]
using (hL s).neg.exp.const_sub 1
have hdC : Continuous (fun s => l s * Real.exp (-L s)) :=
hl.mul hcL.neg.rexp
have hf := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le ht
((continuous_const.sub hcL.neg.rexp).continuousOn)
(fun s _ => hd s) (hdC.intervalIntegrable _ _)
rw [intervalIntegral.integral_of_le ht] at hf
simpa [L] using hf
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
2. Key lemma: turn the integral into finite density mass
Now assume l(s)≥0 for every real s. The exponential is positive and the density continuous, hence integrable on every bounded (0,t]. The integral of ofReal(density) equals ofReal of its real integral. Evaluating withDensity on the whole line and using the preceding identity gives the exact ENNReal mass, including t=0.
Corresponding Lean step
private theorem first_density_measure_mass
(l : ℝ → ℝ) (hl : Continuous l) (hn : ∀ s, 0 ≤ l s)
(t : ℝ) (ht : 0 ≤ t) :
((volume.restrict (Set.Ioc 0 t)).withDensity
(fun s => ENNReal.ofReal (l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u)))))
Set.univ = ENNReal.ofReal (1 - Real.exp (-(∫ u in (0 : ℝ)..t, l u))) := by
have hL : Continuous (fun s => ∫ u in (0 : ℝ)..s, l u) :=
continuous_iff_continuousAt.mpr fun s =>
(intervalIntegral.integral_hasDerivAt_right (hl.intervalIntegrable _ _)
hl.stronglyMeasurable.stronglyMeasurableAtFilter hl.continuousAt).continuousAt
have hd : Continuous (fun s => l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u))) :=
hl.mul hL.neg.rexp
rw [withDensity_apply _ MeasurableSet.univ, Measure.restrict_univ,
← ofReal_integral_eq_lintegral_ofReal
((intervalIntegrable_iff_integrableOn_Ioc_of_le ht).mp (hd.intervalIntegrable _ _))
(Filter.Eventually.of_forall fun s => mul_nonneg (hn s) (Real.exp_pos _).le),
first_density_setIntegral l hl t ht]
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
3. Key lemma: determine the density CDF on a finite window
For a≥0 and t≥0, intersect the window (0,t] with (−∞,a]. This is (0,min(t,a)]. Restriction composition and the previous mass formula give the left-half-line mass. This step uses only measurable interval identities and preserves the finite-window cutoff.
Corresponding Lean step
private theorem first_density_measure_Iic
(l : ℝ → ℝ) (hl : Continuous l) (hn : ∀ s, 0 ≤ l s)
(t a : ℝ) (ht : 0 ≤ t) (ha : 0 ≤ a) :
((volume.restrict (Set.Ioc 0 t)).withDensity
(fun s => ENNReal.ofReal (l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u)))))
(Set.Iic a) = ENNReal.ofReal (1 - Real.exp (-(∫ u in (0 : ℝ)..min t a, l u))) := by
rw [withDensity_apply _ measurableSet_Iic,
Measure.restrict_restrict measurableSet_Iic,
Set.inter_comm (Set.Iic a), Set.Ioc_inter_Iic]
have hh := first_density_measure_mass l hl hn (min t a) (le_min ht ha)
simpa only [withDensity_apply _ MeasurableSet.univ, Measure.restrict_univ] using hh
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
4. Key lemma: compute the positive finite clock mass
For a measurable extended nonnegative wait U under a probability measure, assume the already derived survival P(U>t)=exp(−L(t)) and L(0)=0. Then P(U>0)=1. The event 0<U≤t is {U>0} minus its measurable subset {U>t}; finite-measure subtraction gives mass1−exp(−L(t)). This includes infinite waits correctly in the subtracted tail.
Corresponding Lean step
private theorem finite_wait_mass
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(U : Ω → WithTop ℝ≥0) (hU : Measurable U) (L : ℝ≥0 → ℝ)
(hL0 : L 0 = 0)
(hsurv : ∀ t : ℝ≥0, P.real {sample | (t : WithTop ℝ≥0) < U sample} = Real.exp (-L t))
(t : ℝ≥0) :
P {sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)} =
ENNReal.ofReal (1 - Real.exp (-L t)) := by
have heq : {sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)} =
{sample | (0 : WithTop ℝ≥0) < U sample} \ {sample | (t : WithTop ℝ≥0) < U sample} := by
ext sample
simp only [Set.mem_ofPred_eq, Set.mem_sdiff, not_lt]
have hsub : {sample | (t : WithTop ℝ≥0) < U sample} ⊆
{sample | (0 : WithTop ℝ≥0) < U sample} :=
fun sample hsample => lt_of_le_of_lt
(show (0 : WithTop ℝ≥0) ≤ (t : WithTop ℝ≥0) from
WithTop.coe_le_coe.mpr (show (0 : ℝ≥0) ≤ t from bot_le)) hsample
have hz : P.real {sample | (0 : WithTop ℝ≥0) < U sample} = 1 := by
simpa only [WithTop.coe_zero, hL0, neg_zero, Real.exp_zero] using hsurv 0
rw [heq, ← ofReal_measureReal,
measureReal_sdiff hsub (measurableSet_Ioi.preimage hU), hz, hsurv t]
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
5. Key lemma: the projected clock has the same CDF
On 0<U≤t the wait is finite. For a≥0, the preimage of (−∞,a] under untopD0 intersected with that event equals {0<U≤min(t,toNNReal(a))}. The proof splits U=∞ and finite U explicitly; the infinite case cannot satisfy either finite cutoff. Pushforward evaluation, restriction and the preceding mass formula give the CDF. The zero default outside the restricted event never creates an atom.
Corresponding Lean step
private theorem finite_wait_real_cdf
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(U : Ω → WithTop ℝ≥0) (hU : Measurable U) (L : ℝ≥0 → ℝ)
(hL0 : L 0 = 0)
(hsurv : ∀ t : ℝ≥0, P.real {sample | (t : WithTop ℝ≥0) < U sample} = Real.exp (-L t))
(t : ℝ≥0) (a : ℝ) (ha : 0 ≤ a) :
(P.restrict {sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)}).map
(fun sample => (((U sample).untopD 0 : ℝ≥0) : ℝ))
(Set.Iic a) = ENNReal.ofReal (1 - Real.exp (-L (min t (Real.toNNReal a)))) := by
have hF : Measurable (fun sample => (((U sample).untopD 0 : ℝ≥0) : ℝ)) :=
measurable_subtype_coe.comp (hU.untopD 0)
rw [Measure.map_apply hF measurableSet_Iic,
Measure.restrict_apply (measurableSet_Iic.preimage hF)]
have heq : (fun sample => (((U sample).untopD 0 : ℝ≥0) : ℝ)) ⁻¹' Set.Iic a ∩
{sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)} =
{sample | (0 : WithTop ℝ≥0) < U sample ∧
U sample ≤ ((min t (Real.toNNReal a) : ℝ≥0) : WithTop ℝ≥0)} := by
ext sample
cases hh : U sample using WithTop.recTopCoe with
| top =>
simp only [hh, Set.mem_inter_iff, Set.mem_preimage, Set.mem_Iic, Set.mem_ofPred_eq]
constructor
· intro hs
exact (not_le_of_gt (WithTop.coe_lt_top t) hs.2.2).elim
· intro hs
exact (not_le_of_gt (WithTop.coe_lt_top (min t (Real.toNNReal a))) hs.2).elim
| coe s =>
simp only [hh, Set.mem_inter_iff, Set.mem_preimage, Set.mem_Iic,
Set.mem_ofPred_eq, WithTop.untopD_coe, WithTop.coe_le_coe, le_min_iff,
Real.le_toNNReal_iff_coe_le ha]
tauto
rw [heq]
exact finite_wait_mass P U hU L hL0 hsurv _
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
6. Retain the actual definitions and consume their compiled producers
Use the literal actual clocks, flow, zero-normal-safe reflection, nonnegative rate, stopped hazard clock, positive finite event, density and mark. Consume the actual hazard/flow/bounce producers with exactly the six original analytic assumptions. UnitExponentialProduct supplies P probability. These are internal proof dependencies, not premises supplied by the theorem caller.
Corresponding Lean step
let P : Measure (ℕ → ℝ) := Measure.infinitePi (fun _ : ℕ => expMeasure (1 : ℝ))
let ε : (ℕ → ℝ) → ℕ → ℝ≥0 := fun sample k => Real.toNNReal (sample k)
let c : E → E → E := fun y xRef => y - η • gradient V xRef
let Φ : E → E → ℝ → (E × E) → (E × E) := fun y xRef t z =>
(c y xRef + Real.cos t • (z.1 - c y xRef) +
(Real.sqrt η * Real.sin t) • z.2,
(-Real.sin t / Real.sqrt η) • (z.1 - c y xRef) + Real.cos t • z.2)
let S : E → (E × E) → (E × E) := fun xRef z =>
(z.1, z.2 - (2 * inner ℝ z.2 (gradient V z.1 - gradient V xRef) /
‖gradient V z.1 - gradient V xRef‖ ^ 2) • (gradient V z.1 - gradient V xRef))
let rate : E → (E × E) → ℝ := fun xRef z =>
Real.sqrt η * max 0 (inner ℝ z.2 (gradient V z.1 - gradient V xRef))
let Λ : E → E → (E × E) → ℝ≥0 → ℝ := fun y xRef z t =>
∫ s in (0 : ℝ)..(t : ℝ), rate xRef (Φ y xRef s z)
let τ : E → E → (E × E) → ℝ≥0 → WithTop ℝ≥0 := fun y xRef z e =>
MeasureTheory.hittingAfter
(fun t : ℝ≥0 => fun a : (E × E) × (E × E) × ℝ≥0 =>
Λ a.1.1 a.1.2 a.2.1 t - (a.2.2 : ℝ))
(Set.Ici (0 : ℝ)) 0 ((y, xRef), z, e)
let U : E → E → (E × E) → (ℕ → ℝ) → WithTop ℝ≥0 :=
fun y xRef z sample => τ y xRef z (ε sample 0)
let F : E → E → (E × E) → (ℕ → ℝ) → ℝ :=
fun y xRef z sample => ((U y xRef z sample).untopD 0 : ℝ≥0)
let A : E → E → (E × E) → ℝ≥0 → Set (ℕ → ℝ) :=
fun y xRef z T => {sample | (0 : WithTop ℝ≥0) < U y xRef z sample ∧
U y xRef z sample ≤ (T : WithTop ℝ≥0)}
let d : E → E → (E × E) → ℝ → ℝ := fun y xRef z s =>
rate xRef (Φ y xRef s z) * Real.exp (-Λ y xRef z (Real.toNNReal s))
let ρ : E → E → (E × E) → ℝ≥0 → Measure ℝ := fun y xRef z T =>
(volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))).withDensity
(fun s => ENNReal.ofReal (d y xRef z s))
let J : E → E → (E × E) → ℝ → (ℝ≥0 × (E × E)) :=
fun y xRef z s => (Real.toNNReal s, S xRef (Φ y xRef s z))
change
∀ y xRef : E, ∀ z : E × E,
Measurable (U y xRef z) ∧ Measurable (F y xRef z) ∧
Measurable (J y xRef z) ∧
(∀ T : ℝ≥0,
MeasurableSet (A y xRef z T) ∧
Measure.map (F y xRef z) (P.restrict (A y xRef z T)) = ρ y xRef z T ∧
Measure.map (fun sample => J y xRef z (F y xRef z sample))
(P.restrict (A y xRef z T)) = Measure.map (J y xRef z) (ρ y xRef z T) ∧
IsFiniteMeasure (ρ y xRef z T) ∧
(ρ y xRef z T).real Set.univ = 1 - Real.exp (-Λ y xRef z T) ∧
ρ y xRef z T Set.univ ≤ 1 ∧
(∀ h : (ℝ≥0 × (E × E)) → ℝ, Measurable h →
∀ M : ℝ, 0 ≤ M → (∀ a, |h a| ≤ M) →
Integrable h (Measure.map (J y xRef z) (ρ y xRef z T)) ∧
Integrable (fun sample => h (J y xRef z (F y xRef z sample)))
(P.restrict (A y xRef z T)) ∧
Integrable (fun s => h (J y xRef z s) * d y xRef z s)
(volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))) ∧
(∫ sample, h (J y xRef z (F y xRef z sample))
∂P.restrict (A y xRef z T)) =
∫ s, h (J y xRef z s) * d y xRef z s
∂volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))))
rcases ActualHazardClock.actual_integrated_hazard_clock_laws hα hαβ hV hH hη hβη with
⟨hΛC, _, _, hΛbasic, _, _, hτM, hW, _, _⟩
change Continuous (fun a : ((E × E) × (E × E)) × ℝ≥0 =>
Λ a.1.1.1 a.1.1.2 a.1.2 a.2) at hΛC
change Measurable (fun a : (E × E) × (E × E) × ℝ≥0 =>
τ a.1.1 a.1.2 a.2.1 a.2.2) at hτM
have hflow := ActualHarmonicFlow.actual_harmonic_flow_laws hα hαβ hV hH hη hβη
have hb := ActualBounceRate.actual_bounce_rate_energy_laws hα hαβ hV hH hη hβη
have hinput :=
AutoSamplingTheory.TechnicalLemmas.Probability.UnitExponentialProduct.unit_exponential_product_laws
letI : IsProbabilityMeasure P := hinput.1
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
7. Derive actual rate continuity, clock law and Borel mark
The compiled jointly continuous harmonic flow and bounce-rate continuity give the continuous free-arc rate l(s)≥0 for all real s. The jointly measurable stopped clock composed with real threshold truncation and coordinate0 gives U; untopD0 and inclusion give F. The compiled Borel reflection composed with the flow gives J. Map composition identifies U under P with the Exp(1) stopped-clock law, hence P(U>t)=exp(−Λ(t)). Joint continuity of Λ and truncation also give continuous nonnegative d.
Corresponding Lean step
intro y xRef z
have hφ : Continuous (fun s : ℝ => Φ y xRef s z) := by
have hargs : Continuous (fun s : ℝ => ((y, xRef), s, z)) :=
continuous_const.prodMk (continuous_id.prodMk continuous_const)
exact hflow.1.comp hargs
let l : ℝ → ℝ := fun s => rate xRef (Φ y xRef s z)
have hl : Continuous l := by
have hargs : Continuous (fun s : ℝ => (xRef, Φ y xRef s z)) :=
continuous_const.prodMk hφ
exact hb.2.1.comp hargs
have hn (s : ℝ) : 0 ≤ l s := hb.2.2.2.2.2.2.2.1 xRef (Φ y xRef s z) |>.1
let g : ℝ → WithTop ℝ≥0 := fun e => τ y xRef z (Real.toNNReal e)
have hgM : Measurable g := by
have hargs : Measurable (fun e : ℝ => ((y, xRef), z, Real.toNNReal e)) :=
measurable_const.prodMk (measurable_const.prodMk measurable_real_toNNReal)
have hc := hτM.comp hargs
exact hc
have hUM : Measurable (U y xRef z) := hgM.comp (measurable_pi_apply 0)
have hFM : Measurable (F y xRef z) := measurable_subtype_coe.comp (hUM.untopD 0)
have hJM : Measurable (J y xRef z) := by
have hargs : Measurable (fun s : ℝ => (xRef, Φ y xRef s z)) :=
measurable_const.prodMk hφ.measurable
exact measurable_real_toNNReal.prodMk (hb.1.comp hargs)
have hUlaw : P.map (U y xRef z) = (expMeasure (1 : ℝ)).map g := by
calc
P.map (U y xRef z) = (P.map (fun sample : ℕ → ℝ => sample 0)).map g :=
(Measure.map_map hgM (measurable_pi_apply 0)).symm
_ = (expMeasure (1 : ℝ)).map g := by rw [(hinput.2.1 0).2.2]
have hsurv (t : ℝ≥0) :
P.real {sample | (t : WithTop ℝ≥0) < U y xRef z sample} =
Real.exp (-Λ y xRef z t) := by
calc
P.real {sample | (t : WithTop ℝ≥0) < U y xRef z sample} =
(P.map (U y xRef z)).real (Set.Ioi (t : WithTop ℝ≥0)) :=
(map_measureReal_apply hUM measurableSet_Ioi).symm
_ = Real.exp (-Λ y xRef z t) := by
rw [hUlaw]
exact (hW y xRef z).2 t
have hLC : Continuous (Λ y xRef z) := by
have hargs : Continuous (fun t : ℝ≥0 => (((y, xRef), z), t)) :=
continuous_const.prodMk continuous_id
exact hΛC.comp hargs
have hdC : Continuous (d y xRef z) :=
hl.mul (hLC.comp continuous_real_toNNReal).neg.rexp
have hdn (s : ℝ) : 0 ≤ d y xRef z s := mul_nonneg (hn s) (Real.exp_pos _).le
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
8. Identify the actual finite density and its entire measure
Fix T. A_T is the intersection of two Borel clock events. On (0,T], toNNReal(s) has real value s, so the literal d agrees almost everywhere on this support with l(s)exp(−∫₀ˢl). For a≥0, the two CDF lemmas agree after converting min(T,toNNReal(a)) to min(T,a). For a<0, F is nonnegative and (0,T] has empty intersection with (−∞,a], so both masses vanish. The left pushforward is finite; equality on every left half-line therefore identifies the whole measures.
Corresponding Lean step
refine ⟨hUM, hFM, hJM, ?_⟩
intro T
have hAM : MeasurableSet (A y xRef z T) :=
(measurableSet_Ioi.preimage hUM).inter (measurableSet_Iic.preimage hUM)
let D : Measure ℝ := (volume.restrict (Set.Ioc 0 (T : ℝ))).withDensity
(fun s => ENNReal.ofReal (l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u))))
have hρD : ρ y xRef z T = D := by
apply withDensity_congr_ae
filter_upwards [ae_restrict_mem measurableSet_Ioc] with s hs
simp only [d, Λ, Real.coe_toNNReal s hs.1.le, l]
have hmap : (P.restrict (A y xRef z T)).map (F y xRef z) = ρ y xRef z T := by
apply Measure.ext_of_Iic
intro a
by_cases ha : 0 ≤ a
· rw [finite_wait_real_cdf P (U y xRef z) hUM (Λ y xRef z)
(hΛbasic y xRef z).1 hsurv T a ha, hρD]
rw [first_density_measure_Iic l hl hn (T : ℝ) a T.coe_nonneg ha]
congr 2
simp only [Λ, l, NNReal.coe_min, Real.coe_toNNReal a ha]
· have hneg : a < 0 := lt_of_not_ge ha
have hpre : (F y xRef z) ⁻¹' Set.Iic a = ∅ := by
apply Set.eq_empty_iff_forall_notMem.mpr
intro sample hs
exact (not_le_of_gt hneg) (le_trans (NNReal.coe_nonneg _) hs)
have hint : Set.Iic a ∩ Set.Ioc (0 : ℝ) (T : ℝ) = ∅ := by
apply Set.eq_empty_iff_forall_notMem.mpr
intro s hs
exact (not_lt_of_ge hs.2.1.le) (lt_of_le_of_lt hs.1 hneg)
rw [Measure.map_apply hFM measurableSet_Iic, hpre]
rw [hρD, withDensity_apply _ measurableSet_Iic,
Measure.restrict_restrict measurableSet_Iic, hint]
simp
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
9. Map the same finite law through the actual post-bounce mark
The equality with the restricted-clock pushforward proves ρ finite. Borel J and measurable map composition then give the marked law using the very same J, F and restricted P. Evaluating the density on the whole line gives1−exp(−Λ(T)); Λ(T)≥0 makes this a nonnegative number and positivity of exp makes it at most1. No division by that mass occurs.
Corresponding Lean step
letI : IsFiniteMeasure (ρ y xRef z T) := by rw [← hmap]; infer_instance
have hmarked : (P.restrict (A y xRef z T)).map
(fun sample => J y xRef z (F y xRef z sample)) = (ρ y xRef z T).map (J y xRef z) := by
rw [← hmap, Measure.map_map hJM hFM]
rfl
have hmass : (ρ y xRef z T) Set.univ =
ENNReal.ofReal (1 - Real.exp (-Λ y xRef z T)) := by
rw [hρD]
exact first_density_measure_mass l hl hn (T : ℝ) T.coe_nonneg
have hmassnn : 0 ≤ 1 - Real.exp (-Λ y xRef z T) := by
exact sub_nonneg.mpr
(Real.exp_le_one_iff.mpr (neg_nonpos.mpr ((hΛbasic y xRef z).2.1 T)))
have hmassreal : (ρ y xRef z T).real Set.univ =
1 - Real.exp (-Λ y xRef z T) := by
rw [measureReal_def, hmass, ENNReal.toReal_ofReal hmassnn]
have hmassle : (ρ y xRef z T) Set.univ ≤ 1 := by
rw [hmass]
exact (ENNReal.ofReal_le_one).mpr (sub_le_self _ (Real.exp_pos _).le)
refine ⟨hAM, hmap, hmarked, inferInstance, hmassreal, hmassle, ?_⟩
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
10. Derive all three integrability statements
For any displayed Borel h with |h|≤M, finiteness of the marked measure gives h∈L¹; the measurable composed clock test is bounded under the finite restriction of P and is also L¹. The same bound gives h∘J∈L¹(ρ). The withDensity integrability equivalence transfers this last fact to (ofReal(d)).toReal·h∘J under restricted Lebesgue measure. Since d≥0 and ofReal(d)<∞, that function is exactly h(J(s))d(s). Thus weighted integrability is derived, including M=0.
Corresponding Lean step
intro h hh M hM hbound
have hIntMark : Integrable h ((ρ y xRef z T).map (J y xRef z)) :=
Integrable.of_bound hh.aestronglyMeasurable M
(Filter.Eventually.of_forall fun a => by simpa only [Real.norm_eq_abs] using hbound a)
have hIntP : Integrable (fun sample => h (J y xRef z (F y xRef z sample)))
(P.restrict (A y xRef z T)) :=
Integrable.of_bound ((hh.comp hJM).comp hFM).aestronglyMeasurable M
(Filter.Eventually.of_forall fun sample => by
simpa only [Real.norm_eq_abs] using hbound (J y xRef z (F y xRef z sample)))
have hIntρ : Integrable (fun s => h (J y xRef z s)) (ρ y xRef z T) :=
Integrable.of_bound (hh.comp hJM).aestronglyMeasurable M
(Filter.Eventually.of_forall fun s => by
simpa only [Real.norm_eq_abs] using hbound (J y xRef z s))
have hWeightM : Measurable (fun s => ENNReal.ofReal (d y xRef z s)) :=
hdC.measurable.ennreal_ofReal
have hWeightTop : ∀ᵐ s ∂volume.restrict (Set.Ioc 0 (T : ℝ)),
ENNReal.ofReal (d y xRef z s) < ⊤ :=
Filter.Eventually.of_forall fun _ => ENNReal.ofReal_lt_top
have hIntWeighted : Integrable (fun s => h (J y xRef z s) * d y xRef z s)
(volume.restrict (Set.Ioc 0 (T : ℝ))) := by
have hc := (integrable_withDensity_iff_integrable_smul' hWeightM hWeightTop).mp hIntρ
simpa only [ENNReal.toReal_ofReal (hdn _), smul_eq_mul, mul_comm] using hc
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
11. Transfer the bounded-test integral exactly
Rewrite the marked law as the measurable pushforward of restricted P and apply the Bochner integral-map identity. Apply integral-map once more through J to integrate h∘J under ρ. Finally the withDensity integral identity and nonnegative d replace the ENNReal weight by its real value. This yields the stated weighted finite-event integral. Successive conditional factors and the final-survival/path expansion require additional proofs.
Corresponding Lean step
refine ⟨hIntMark, hIntP, hIntWeighted, ?_⟩
calc
(∫ sample, h (J y xRef z (F y xRef z sample)) ∂P.restrict (A y xRef z T)) =
∫ a, h a ∂((ρ y xRef z T).map (J y xRef z)) := by
rw [← hmarked]
exact (integral_map (hJM.comp hFM).aemeasurable hh.aestronglyMeasurable).symm
_ = ∫ s, h (J y xRef z s) ∂ρ y xRef z T :=
integral_map hJM.aemeasurable hh.aestronglyMeasurable
_ = ∫ s, h (J y xRef z s) * d y xRef z s ∂volume.restrict (Set.Ioc 0 (T : ℝ)) := by
rw [integral_withDensity_eq_integral_toReal_smul hWeightM hWeightTop]
simp only [ENNReal.toReal_ofReal (hdn _), smul_eq_mul, mul_comm]
Exact compiled contiguous Lean region. The five internal lemmas expose proof ingredients; none is a new public source hypothesis.
Lean verification
The exact proof begins folded immediately after the mathematical argument; the statement is folded beside the claim above.
Lean proof · actual_finite_first_event_law
Key lemma: integrate the first-event density; Key lemma: turn the integral into finite density mass; Key lemma: determine the density CDF on a finite window; Key lemma: compute the positive finite clock mass; Key lemma: the projected clock has the same CDF; Retain the actual definitions and consume their compiled producers; Derive actual rate continuity, clock law and Borel mark; Identify the actual finite density and its entire measure; Map the same finite law through the actual post-bounce mark; Derive all three integrability statements; Transfer the bounded-test integral exactly
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
theorem actual_finite_first_event_law
{E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
[FiniteDimensional ℝ E] [MeasurableSpace E] [BorelSpace E]
{V : E → ℝ} {α β : ℝ≥0} {η : ℝ}
(hα : 0 < (α : ℝ)) (hαβ : α ≤ β) (hV : ContDiff ℝ 2 V)
(hH : ∀ x v : E,
(α : ℝ) * ‖v‖ ^ 2 ≤ (fderiv ℝ (fderiv ℝ V) x v) v ∧
(fderiv ℝ (fderiv ℝ V) x v) v ≤ (β : ℝ) * ‖v‖ ^ 2)
(hη : 0 < η) (hβη : (β : ℝ) * η ≤ 1) :
actual_finite_first_event_law_statement hα hαβ hV hH hη hβη := by
let P : Measure (ℕ → ℝ) := Measure.infinitePi (fun _ : ℕ => expMeasure (1 : ℝ))
let ε : (ℕ → ℝ) → ℕ → ℝ≥0 := fun sample k => Real.toNNReal (sample k)
let c : E → E → E := fun y xRef => y - η • gradient V xRef
let Φ : E → E → ℝ → (E × E) → (E × E) := fun y xRef t z =>
(c y xRef + Real.cos t • (z.1 - c y xRef) +
(Real.sqrt η * Real.sin t) • z.2,
(-Real.sin t / Real.sqrt η) • (z.1 - c y xRef) + Real.cos t • z.2)
let S : E → (E × E) → (E × E) := fun xRef z =>
(z.1, z.2 - (2 * inner ℝ z.2 (gradient V z.1 - gradient V xRef) /
‖gradient V z.1 - gradient V xRef‖ ^ 2) • (gradient V z.1 - gradient V xRef))
let rate : E → (E × E) → ℝ := fun xRef z =>
Real.sqrt η * max 0 (inner ℝ z.2 (gradient V z.1 - gradient V xRef))
let Λ : E → E → (E × E) → ℝ≥0 → ℝ := fun y xRef z t =>
∫ s in (0 : ℝ)..(t : ℝ), rate xRef (Φ y xRef s z)
let τ : E → E → (E × E) → ℝ≥0 → WithTop ℝ≥0 := fun y xRef z e =>
MeasureTheory.hittingAfter
(fun t : ℝ≥0 => fun a : (E × E) × (E × E) × ℝ≥0 =>
Λ a.1.1 a.1.2 a.2.1 t - (a.2.2 : ℝ))
(Set.Ici (0 : ℝ)) 0 ((y, xRef), z, e)
let U : E → E → (E × E) → (ℕ → ℝ) → WithTop ℝ≥0 :=
fun y xRef z sample => τ y xRef z (ε sample 0)
let F : E → E → (E × E) → (ℕ → ℝ) → ℝ :=
fun y xRef z sample => ((U y xRef z sample).untopD 0 : ℝ≥0)
let A : E → E → (E × E) → ℝ≥0 → Set (ℕ → ℝ) :=
fun y xRef z T => {sample | (0 : WithTop ℝ≥0) < U y xRef z sample ∧
U y xRef z sample ≤ (T : WithTop ℝ≥0)}
let d : E → E → (E × E) → ℝ → ℝ := fun y xRef z s =>
rate xRef (Φ y xRef s z) * Real.exp (-Λ y xRef z (Real.toNNReal s))
let ρ : E → E → (E × E) → ℝ≥0 → Measure ℝ := fun y xRef z T =>
(volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))).withDensity
(fun s => ENNReal.ofReal (d y xRef z s))
let J : E → E → (E × E) → ℝ → (ℝ≥0 × (E × E)) :=
fun y xRef z s => (Real.toNNReal s, S xRef (Φ y xRef s z))
change
∀ y xRef : E, ∀ z : E × E,
Measurable (U y xRef z) ∧ Measurable (F y xRef z) ∧
Measurable (J y xRef z) ∧
(∀ T : ℝ≥0,
MeasurableSet (A y xRef z T) ∧
Measure.map (F y xRef z) (P.restrict (A y xRef z T)) = ρ y xRef z T ∧
Measure.map (fun sample => J y xRef z (F y xRef z sample))
(P.restrict (A y xRef z T)) = Measure.map (J y xRef z) (ρ y xRef z T) ∧
IsFiniteMeasure (ρ y xRef z T) ∧
(ρ y xRef z T).real Set.univ = 1 - Real.exp (-Λ y xRef z T) ∧
ρ y xRef z T Set.univ ≤ 1 ∧
(∀ h : (ℝ≥0 × (E × E)) → ℝ, Measurable h →
∀ M : ℝ, 0 ≤ M → (∀ a, |h a| ≤ M) →
Integrable h (Measure.map (J y xRef z) (ρ y xRef z T)) ∧
Integrable (fun sample => h (J y xRef z (F y xRef z sample)))
(P.restrict (A y xRef z T)) ∧
Integrable (fun s => h (J y xRef z s) * d y xRef z s)
(volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))) ∧
(∫ sample, h (J y xRef z (F y xRef z sample))
∂P.restrict (A y xRef z T)) =
∫ s, h (J y xRef z s) * d y xRef z s
∂volume.restrict (Set.Ioc (0 : ℝ) (T : ℝ))))
rcases ActualHazardClock.actual_integrated_hazard_clock_laws hα hαβ hV hH hη hβη with
⟨hΛC, _, _, hΛbasic, _, _, hτM, hW, _, _⟩
change Continuous (fun a : ((E × E) × (E × E)) × ℝ≥0 =>
Λ a.1.1.1 a.1.1.2 a.1.2 a.2) at hΛC
change Measurable (fun a : (E × E) × (E × E) × ℝ≥0 =>
τ a.1.1 a.1.2 a.2.1 a.2.2) at hτM
have hflow := ActualHarmonicFlow.actual_harmonic_flow_laws hα hαβ hV hH hη hβη
have hb := ActualBounceRate.actual_bounce_rate_energy_laws hα hαβ hV hH hη hβη
have hinput :=
AutoSamplingTheory.TechnicalLemmas.Probability.UnitExponentialProduct.unit_exponential_product_laws
letI : IsProbabilityMeasure P := hinput.1
intro y xRef z
have hφ : Continuous (fun s : ℝ => Φ y xRef s z) := by
have hargs : Continuous (fun s : ℝ => ((y, xRef), s, z)) :=
continuous_const.prodMk (continuous_id.prodMk continuous_const)
exact hflow.1.comp hargs
let l : ℝ → ℝ := fun s => rate xRef (Φ y xRef s z)
have hl : Continuous l := by
have hargs : Continuous (fun s : ℝ => (xRef, Φ y xRef s z)) :=
continuous_const.prodMk hφ
exact hb.2.1.comp hargs
have hn (s : ℝ) : 0 ≤ l s := hb.2.2.2.2.2.2.2.1 xRef (Φ y xRef s z) |>.1
let g : ℝ → WithTop ℝ≥0 := fun e => τ y xRef z (Real.toNNReal e)
have hgM : Measurable g := by
have hargs : Measurable (fun e : ℝ => ((y, xRef), z, Real.toNNReal e)) :=
measurable_const.prodMk (measurable_const.prodMk measurable_real_toNNReal)
have hc := hτM.comp hargs
exact hc
have hUM : Measurable (U y xRef z) := hgM.comp (measurable_pi_apply 0)
have hFM : Measurable (F y xRef z) := measurable_subtype_coe.comp (hUM.untopD 0)
have hJM : Measurable (J y xRef z) := by
have hargs : Measurable (fun s : ℝ => (xRef, Φ y xRef s z)) :=
measurable_const.prodMk hφ.measurable
exact measurable_real_toNNReal.prodMk (hb.1.comp hargs)
have hUlaw : P.map (U y xRef z) = (expMeasure (1 : ℝ)).map g := by
calc
P.map (U y xRef z) = (P.map (fun sample : ℕ → ℝ => sample 0)).map g :=
(Measure.map_map hgM (measurable_pi_apply 0)).symm
_ = (expMeasure (1 : ℝ)).map g := by rw [(hinput.2.1 0).2.2]
have hsurv (t : ℝ≥0) :
P.real {sample | (t : WithTop ℝ≥0) < U y xRef z sample} =
Real.exp (-Λ y xRef z t) := by
calc
P.real {sample | (t : WithTop ℝ≥0) < U y xRef z sample} =
(P.map (U y xRef z)).real (Set.Ioi (t : WithTop ℝ≥0)) :=
(map_measureReal_apply hUM measurableSet_Ioi).symm
_ = Real.exp (-Λ y xRef z t) := by
rw [hUlaw]
exact (hW y xRef z).2 t
have hLC : Continuous (Λ y xRef z) := by
have hargs : Continuous (fun t : ℝ≥0 => (((y, xRef), z), t)) :=
continuous_const.prodMk continuous_id
exact hΛC.comp hargs
have hdC : Continuous (d y xRef z) :=
hl.mul (hLC.comp continuous_real_toNNReal).neg.rexp
have hdn (s : ℝ) : 0 ≤ d y xRef z s := mul_nonneg (hn s) (Real.exp_pos _).le
refine ⟨hUM, hFM, hJM, ?_⟩
intro T
have hAM : MeasurableSet (A y xRef z T) :=
(measurableSet_Ioi.preimage hUM).inter (measurableSet_Iic.preimage hUM)
let D : Measure ℝ := (volume.restrict (Set.Ioc 0 (T : ℝ))).withDensity
(fun s => ENNReal.ofReal (l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u))))
have hρD : ρ y xRef z T = D := by
apply withDensity_congr_ae
filter_upwards [ae_restrict_mem measurableSet_Ioc] with s hs
simp only [d, Λ, Real.coe_toNNReal s hs.1.le, l]
have hmap : (P.restrict (A y xRef z T)).map (F y xRef z) = ρ y xRef z T := by
apply Measure.ext_of_Iic
intro a
by_cases ha : 0 ≤ a
· rw [finite_wait_real_cdf P (U y xRef z) hUM (Λ y xRef z)
(hΛbasic y xRef z).1 hsurv T a ha, hρD]
rw [first_density_measure_Iic l hl hn (T : ℝ) a T.coe_nonneg ha]
congr 2
simp only [Λ, l, NNReal.coe_min, Real.coe_toNNReal a ha]
· have hneg : a < 0 := lt_of_not_ge ha
have hpre : (F y xRef z) ⁻¹' Set.Iic a = ∅ := by
apply Set.eq_empty_iff_forall_notMem.mpr
intro sample hs
exact (not_le_of_gt hneg) (le_trans (NNReal.coe_nonneg _) hs)
have hint : Set.Iic a ∩ Set.Ioc (0 : ℝ) (T : ℝ) = ∅ := by
apply Set.eq_empty_iff_forall_notMem.mpr
intro s hs
exact (not_lt_of_ge hs.2.1.le) (lt_of_le_of_lt hs.1 hneg)
rw [Measure.map_apply hFM measurableSet_Iic, hpre]
rw [hρD, withDensity_apply _ measurableSet_Iic,
Measure.restrict_restrict measurableSet_Iic, hint]
simp
letI : IsFiniteMeasure (ρ y xRef z T) := by rw [← hmap]; infer_instance
have hmarked : (P.restrict (A y xRef z T)).map
(fun sample => J y xRef z (F y xRef z sample)) = (ρ y xRef z T).map (J y xRef z) := by
rw [← hmap, Measure.map_map hJM hFM]
rfl
have hmass : (ρ y xRef z T) Set.univ =
ENNReal.ofReal (1 - Real.exp (-Λ y xRef z T)) := by
rw [hρD]
exact first_density_measure_mass l hl hn (T : ℝ) T.coe_nonneg
have hmassnn : 0 ≤ 1 - Real.exp (-Λ y xRef z T) := by
exact sub_nonneg.mpr
(Real.exp_le_one_iff.mpr (neg_nonpos.mpr ((hΛbasic y xRef z).2.1 T)))
have hmassreal : (ρ y xRef z T).real Set.univ =
1 - Real.exp (-Λ y xRef z T) := by
rw [measureReal_def, hmass, ENNReal.toReal_ofReal hmassnn]
have hmassle : (ρ y xRef z T) Set.univ ≤ 1 := by
rw [hmass]
exact (ENNReal.ofReal_le_one).mpr (sub_le_self _ (Real.exp_pos _).le)
refine ⟨hAM, hmap, hmarked, inferInstance, hmassreal, hmassle, ?_⟩
intro h hh M hM hbound
have hIntMark : Integrable h ((ρ y xRef z T).map (J y xRef z)) :=
Integrable.of_bound hh.aestronglyMeasurable M
(Filter.Eventually.of_forall fun a => by simpa only [Real.norm_eq_abs] using hbound a)
have hIntP : Integrable (fun sample => h (J y xRef z (F y xRef z sample)))
(P.restrict (A y xRef z T)) :=
Integrable.of_bound ((hh.comp hJM).comp hFM).aestronglyMeasurable M
(Filter.Eventually.of_forall fun sample => by
simpa only [Real.norm_eq_abs] using hbound (J y xRef z (F y xRef z sample)))
have hIntρ : Integrable (fun s => h (J y xRef z s)) (ρ y xRef z T) :=
Integrable.of_bound (hh.comp hJM).aestronglyMeasurable M
(Filter.Eventually.of_forall fun s => by
simpa only [Real.norm_eq_abs] using hbound (J y xRef z s))
have hWeightM : Measurable (fun s => ENNReal.ofReal (d y xRef z s)) :=
hdC.measurable.ennreal_ofReal
have hWeightTop : ∀ᵐ s ∂volume.restrict (Set.Ioc 0 (T : ℝ)),
ENNReal.ofReal (d y xRef z s) < ⊤ :=
Filter.Eventually.of_forall fun _ => ENNReal.ofReal_lt_top
have hIntWeighted : Integrable (fun s => h (J y xRef z s) * d y xRef z s)
(volume.restrict (Set.Ioc 0 (T : ℝ))) := by
have hc := (integrable_withDensity_iff_integrable_smul' hWeightM hWeightTop).mp hIntρ
simpa only [ENNReal.toReal_ofReal (hdn _), smul_eq_mul, mul_comm] using hc
refine ⟨hIntMark, hIntP, hIntWeighted, ?_⟩
calc
(∫ sample, h (J y xRef z (F y xRef z sample)) ∂P.restrict (A y xRef z T)) =
∫ a, h a ∂((ρ y xRef z T).map (J y xRef z)) := by
rw [← hmarked]
exact (integral_map (hJM.comp hFM).aemeasurable hh.aestronglyMeasurable).symm
_ = ∫ s, h (J y xRef z s) ∂ρ y xRef z T :=
integral_map hJM.aemeasurable hh.aestronglyMeasurable
_ = ∫ s, h (J y xRef z s) * d y xRef z s ∂volume.restrict (Set.Ioc 0 (T : ℝ)) := by
rw [integral_withDensity_eq_integral_toReal_smul hWeightM hWeightTop]
simp only [ENNReal.toReal_ofReal (hdn _), smul_eq_mul, mul_comm]
end
end AutoSamplingTheory.ExampleCases.ProximalBPS.ActualFiniteFirstEventLawExact module and namespace context
Lean proof · first_density_setIntegral
Supporting proof called by the result above.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
private theorem first_density_setIntegral
(l : ℝ → ℝ) (hl : Continuous l) (t : ℝ) (ht : 0 ≤ t) :
(∫ s in Set.Ioc 0 t, l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u))) =
1 - Real.exp (-(∫ u in (0 : ℝ)..t, l u)) := by
let L : ℝ → ℝ := fun s => ∫ u in (0 : ℝ)..s, l u
have hL (s : ℝ) : HasDerivAt L (l s) s :=
intervalIntegral.integral_hasDerivAt_right (hl.intervalIntegrable _ _)
hl.stronglyMeasurable.stronglyMeasurableAtFilter hl.continuousAt
have hcL : Continuous L := continuous_iff_continuousAt.mpr fun s => (hL s).continuousAt
have hd (s : ℝ) :
HasDerivAt (fun s => 1 - Real.exp (-L s))
(l s * Real.exp (-L s)) s := by
simpa only [Pi.neg_apply, mul_neg, neg_mul, neg_neg, mul_comm]
using (hL s).neg.exp.const_sub 1
have hdC : Continuous (fun s => l s * Real.exp (-L s)) :=
hl.mul hcL.neg.rexp
have hf := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le ht
((continuous_const.sub hcL.neg.rexp).continuousOn)
(fun s _ => hd s) (hdC.intervalIntegrable _ _)
rw [intervalIntegral.integral_of_le ht] at hf
simpa [L] using hfLean proof · first_density_measure_mass
Supporting proof called by the result above.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
private theorem first_density_measure_mass
(l : ℝ → ℝ) (hl : Continuous l) (hn : ∀ s, 0 ≤ l s)
(t : ℝ) (ht : 0 ≤ t) :
((volume.restrict (Set.Ioc 0 t)).withDensity
(fun s => ENNReal.ofReal (l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u)))))
Set.univ = ENNReal.ofReal (1 - Real.exp (-(∫ u in (0 : ℝ)..t, l u))) := by
have hL : Continuous (fun s => ∫ u in (0 : ℝ)..s, l u) :=
continuous_iff_continuousAt.mpr fun s =>
(intervalIntegral.integral_hasDerivAt_right (hl.intervalIntegrable _ _)
hl.stronglyMeasurable.stronglyMeasurableAtFilter hl.continuousAt).continuousAt
have hd : Continuous (fun s => l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u))) :=
hl.mul hL.neg.rexp
rw [withDensity_apply _ MeasurableSet.univ, Measure.restrict_univ,
← ofReal_integral_eq_lintegral_ofReal
((intervalIntegrable_iff_integrableOn_Ioc_of_le ht).mp (hd.intervalIntegrable _ _))
(Filter.Eventually.of_forall fun s => mul_nonneg (hn s) (Real.exp_pos _).le),
first_density_setIntegral l hl t ht]Lean proof · first_density_measure_Iic
Supporting proof called by the result above.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
private theorem first_density_measure_Iic
(l : ℝ → ℝ) (hl : Continuous l) (hn : ∀ s, 0 ≤ l s)
(t a : ℝ) (ht : 0 ≤ t) (ha : 0 ≤ a) :
((volume.restrict (Set.Ioc 0 t)).withDensity
(fun s => ENNReal.ofReal (l s * Real.exp (-(∫ u in (0 : ℝ)..s, l u)))))
(Set.Iic a) = ENNReal.ofReal (1 - Real.exp (-(∫ u in (0 : ℝ)..min t a, l u))) := by
rw [withDensity_apply _ measurableSet_Iic,
Measure.restrict_restrict measurableSet_Iic,
Set.inter_comm (Set.Iic a), Set.Ioc_inter_Iic]
have hh := first_density_measure_mass l hl hn (min t a) (le_min ht ha)
simpa only [withDensity_apply _ MeasurableSet.univ, Measure.restrict_univ] using hhLean proof · finite_wait_mass
Supporting proof called by the result above.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
private theorem finite_wait_mass
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(U : Ω → WithTop ℝ≥0) (hU : Measurable U) (L : ℝ≥0 → ℝ)
(hL0 : L 0 = 0)
(hsurv : ∀ t : ℝ≥0, P.real {sample | (t : WithTop ℝ≥0) < U sample} = Real.exp (-L t))
(t : ℝ≥0) :
P {sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)} =
ENNReal.ofReal (1 - Real.exp (-L t)) := by
have heq : {sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)} =
{sample | (0 : WithTop ℝ≥0) < U sample} \ {sample | (t : WithTop ℝ≥0) < U sample} := by
ext sample
simp only [Set.mem_ofPred_eq, Set.mem_sdiff, not_lt]
have hsub : {sample | (t : WithTop ℝ≥0) < U sample} ⊆
{sample | (0 : WithTop ℝ≥0) < U sample} :=
fun sample hsample => lt_of_le_of_lt
(show (0 : WithTop ℝ≥0) ≤ (t : WithTop ℝ≥0) from
WithTop.coe_le_coe.mpr (show (0 : ℝ≥0) ≤ t from bot_le)) hsample
have hz : P.real {sample | (0 : WithTop ℝ≥0) < U sample} = 1 := by
simpa only [WithTop.coe_zero, hL0, neg_zero, Real.exp_zero] using hsurv 0
rw [heq, ← ofReal_measureReal,
measureReal_sdiff hsub (measurableSet_Ioi.preimage hU), hz, hsurv t]Lean proof · finite_wait_real_cdf
Supporting proof called by the result above.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
private theorem finite_wait_real_cdf
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(U : Ω → WithTop ℝ≥0) (hU : Measurable U) (L : ℝ≥0 → ℝ)
(hL0 : L 0 = 0)
(hsurv : ∀ t : ℝ≥0, P.real {sample | (t : WithTop ℝ≥0) < U sample} = Real.exp (-L t))
(t : ℝ≥0) (a : ℝ) (ha : 0 ≤ a) :
(P.restrict {sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)}).map
(fun sample => (((U sample).untopD 0 : ℝ≥0) : ℝ))
(Set.Iic a) = ENNReal.ofReal (1 - Real.exp (-L (min t (Real.toNNReal a)))) := by
have hF : Measurable (fun sample => (((U sample).untopD 0 : ℝ≥0) : ℝ)) :=
measurable_subtype_coe.comp (hU.untopD 0)
rw [Measure.map_apply hF measurableSet_Iic,
Measure.restrict_apply (measurableSet_Iic.preimage hF)]
have heq : (fun sample => (((U sample).untopD 0 : ℝ≥0) : ℝ)) ⁻¹' Set.Iic a ∩
{sample | (0 : WithTop ℝ≥0) < U sample ∧ U sample ≤ (t : WithTop ℝ≥0)} =
{sample | (0 : WithTop ℝ≥0) < U sample ∧
U sample ≤ ((min t (Real.toNNReal a) : ℝ≥0) : WithTop ℝ≥0)} := by
ext sample
cases hh : U sample using WithTop.recTopCoe with
| top =>
simp only [hh, Set.mem_inter_iff, Set.mem_preimage, Set.mem_Iic, Set.mem_ofPred_eq]
constructor
· intro hs
exact (not_le_of_gt (WithTop.coe_lt_top t) hs.2.2).elim
· intro hs
exact (not_le_of_gt (WithTop.coe_lt_top (min t (Real.toNNReal a))) hs.2).elim
| coe s =>
simp only [hh, Set.mem_inter_iff, Set.mem_preimage, Set.mem_Iic,
Set.mem_ofPred_eq, WithTop.untopD_coe, WithTop.coe_le_coe, le_min_iff,
Real.le_toNNReal_iff_coe_le ha]
tauto
rw [heq]
exact finite_wait_mass P U hU L hL0 hsurv _
set_option maxHeartbeats 1000000 inScope and omitted-condition boundaries
- Original six analytic source hypotheses and literal P/epsilon/c/Phi/S/rate/Lambda/tau; U uses actual coordinate0. Positive finite A={0<U≤T} excludes infinity/default0 and null zero thresholds. No strict hazard increase, positive rate, finite wait, uniform cap, density/law/regularity/invariance/normalizer provider premise. Finite-event density and actual marked law have mass1-exp(-LambdaT), without renormalization; T0/M0/rank0/zero normal/flat hazard/infinite waits retained. Bounded Borel real tests derive three L1 outputs and weighted integral. This is a strict producer beyond75CDF. Unused-tail conditioning/fullA7/path sigma/reversal/A8/outerTonelli/invariance/AE-safeJensen/density/allL2/Markov/restart/semigroup/hypocoercivity/implementation/error/unboundedcost/main/composition, stabilization/main/PURIFIED/live/fullpaper/Goal remain OPEN.
Sources, dependencies, and reuse
Source and reuse
Samplinglib parents called
AutoSamplingTheory.ExampleCases.ProximalBPS.ActualHazardClock.actual_integrated_hazard_clock_lawsAutoSamplingTheory.ExampleCases.ProximalBPS.ActualHarmonicFlow.actual_harmonic_flow_lawsAutoSamplingTheory.ExampleCases.ProximalBPS.ActualBounceRate.actual_bounce_rate_energy_lawsAutoSamplingTheory.TechnicalLemmas.Probability.UnitExponentialProduct.unit_exponential_product_laws
Mathlib API called (external library)
- intervalIntegral.integral_hasDerivAt_right
- HasDerivAt.exp
- intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le
- ofReal_integral_eq_lintegral_ofReal
- withDensity_congr_ae
- Measure.ext_of_Iic
- measureReal_sdiff
- Measure.map_map
- Measure.map_apply
- Measurable.untopD
- Integrable.of_bound
- integrable_withDensity_iff_integrable_smul'
- integral_map
- integral_withDensity_eq_integral_toReal_smul
Mathematical sources
- Chen-Chewi-Lu-Zhang arXiv2609.06905v1 AppendixA.1 (A.1),(A.2), actual iidExp1 inputs and first finite density factor implicit in (A.7). Explicit finite subprobability/marked Borel-test packaging and CDF/FTC justification are ASTIS completion. — Original six analytic source hypotheses and literal P/epsilon/c/Phi/S/rate/Lambda/tau; U uses actual coordinate0. Positive finite A={0<U<=T} excludes infinity/default0 and null zero thresholds. No strict hazard increase, positive rate, finite wait, uniform cap, density/law/regularity/invariance/normalizer provider premise. Finite-event density and actual marked law have mass1-exp(-LambdaT), without renormalization; T0/M0/rank0/zero normal/flat hazard/infinite waits retained. Bounded Borel real tests derive three L1 outputs and weighted integral. This is a strict producer beyond75CDF. Unused-tail conditioning/fullA7/path sigma/reversal/A8/outerTonelli/invariance/AE-safeJensen/density/allL2/Markov/restart/semigroup/hypocoercivity/implementation/error/unboundedcost/main/composition, stabilization/main/PURIFIED/live/fullpaper/Goal remain OPEN.
Samplinglib prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.