Exercise 2.2: Poisson arrival order statistics and ordered uniform samples [corrected representative] [positive arrival indices]
ProvedKyprianou.exercise2_2_AllPartsCh02V6Part (i) gives the joint conditional law of the first n Poisson arrivals given N_t=n, with density n!/t^n on the ordered simplex. Part (ii) identifies that conditional law with sorted independent uniform observations on [0,t]. The actual process has Poisson marginals, Lévy independent increments, and arrival times defined by its counting process. Corrected: explicit measurable arrival/mark evaluation in non-complete spaces V6 source-faithful correction: Poisson arrival times T_n exist only for n>0. The redundant measurability of unconstrained T_0 is no longer required.
import Mathlib import Definitions.Def_LeanLevy_Processes_LevyProcess import Definitions.Def_Kyprianou_Ch01_LevyTripletExponent import Definitions.Def_KLSModular_LevyStochCalc_Poisson_RandomMeasure import Definitions.Def_KLSModular_LevyStochCalc_Brownian_Construction open MeasureTheory ProbabilityTheory Filter Complex open scoped NNReal ENNReal set_option autoImplicit false
namespace Kyprianou
theorem exercise2_2_AllPartsCh02V6
{Ω : Type} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] (rate : ℝ≥0) (hrate : 0 < rate)
(N : ℝ≥0 → Ω → ℕ) (T : ℕ → Ω → ℝ≥0)
(hTmeas : ∀ n : ℕ, 0 < n → Measurable (T n))
(hNlaw : ∀ t, P.map (N t) =
ProbabilityTheory.poissonMeasure (rate * t))
(hNlevy : ProbabilityTheory.IsLevyProcess
(fun t ω => (N t ω : ℝ)) P)
(harrival : ∀ᵐ ω ∂P, ∀ (n : ℕ), 0 < n →
∀ (t : ℝ≥0), (n ≤ N t ω ↔ T n ω ≤ t)) :
(∀ (t : ℝ≥0), 0 < t → ∀ (n : ℕ), 0 < n →
∀ (A : Set (Fin n → ℝ)), MeasurableSet A →
P {ω | N t ω = n ∧
(fun i : Fin n => ((T (i.val + 1) ω : ℝ))) ∈ A} =
P {ω | N t ω = n} *
ENNReal.ofReal ((Nat.factorial n : ℝ) / ((t : ℝ) ^ n)) *
volume (A ∩
{v : Fin n → ℝ |
(∀ i, 0 ≤ v i ∧ v i ≤ (t : ℝ)) ∧
Monotone v})) ∧
(∀ (t : ℝ≥0), 0 < t → ∀ (n : ℕ), 0 < n →
∀ (U V : Fin n → Ω → ℝ),
(∀ i, P.map (U i) =
(ENNReal.ofReal (t : ℝ))⁻¹ •
(volume.restrict (Set.Icc (0 : ℝ) (t : ℝ)))) →
ProbabilityTheory.iIndepFun U P →
(∀ᵐ ω ∂P,
Monotone (fun i : Fin n => V i ω) ∧
(List.ofFn (fun i : Fin n => V i ω)).Perm
(List.ofFn (fun i : Fin n => U i ω))) →
((P.restrict {ω | N t ω = n}).map
(fun ω => fun i : Fin n => (T (i.val + 1) ω : ℝ))) =
(P {ω | N t ω = n}) •
(P.map (fun ω => fun i : Fin n => V i ω)))
:= by sorry
end Kyprianou
Read-back
What the Lean code literally says, in plain math · opencode-go/muse-spark-1.3-contributor
Read-back of Kyprianou.exercise2_2_AllPartsCh02V6
Fix a measurable space with a probability measure . Fix a non-negative extended rate satisfying . Fix a family and a family . Assume the following hypotheses:
- (Measurability of arrival times) For every with , the map is measurable.
- (Marginal law) For every , the pushforward equals , where the product is in (treated as opaque).
- (Lévy property) The real-valued process is a Lévy process with respect to (treated as an opaque proposition imported from
ProbabilityTheory.IsLevyProcess). - (Arrival-time link, almost surely) For -almost every , for every with and every : if and only if .
Then the declaration asserts the conjunction of the following two claims:
- For every with , for every with , for every set of functions that is measurable, the -measure of the set
equals
where is the natural factorial coerced to , is the real coercion of , the quotient and convert the real factor to , products are in , and is Lebesgue measure; monotonicity of is with respect to the standard order on and on .
- For every with , for every with , for all families : if (a) for every , the law equals , i.e. Lebesgue measure restricted to the closed interval scaled by the inverse of ; and (b) the family is independent (, treated as opaque); and (c) for -almost every , the function is monotone and the list is a permutation () of the list ; then the pushforward of the restricted measure under the map equals the scalar multiple , where scalar multiplication is of a measure on by the extended-nonnegative number .
Limitation: The supplied source ends with := by sorry; it therefore states the above implication without providing a proof. No definition source for poissonMeasure, IsLevyProcess, iIndepFun, Monotone on Fin n, or List.Perm is supplied in the quoted code, so those are rendered here only as named opaque conditions with the literal arguments shown.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.