Let (Ω,F,P) be a probability space, let T>0 and K≥0 be real numbers, and let (Zt)t∈[0,T] be a family of random variables on (Ω,F,P). Let D be the set of dyadic partition points of [0,T], that is, the set of all numbers of the form kT2−n where n is a natural number or zero and k∈{0,1,…,2n}.
Suppose there is an event Ω0∈F with P(Ω0)=1 such that for every ω∈Ω0 both of the following hold.
1. (Boundedness along the path.) ∣Zt(ω)∣≤K for every t∈[0,T].
2. (Right-continuity.) The path t↦Zt(ω) is right-continuous at every t∈[0,T), meaning that for every ε>0 there is η>0 with ∣Zs(ω)−Zt(ω)∣≤ε whenever t≤s≤min(t+η,T).
Write 1Ω0 for the function equal to 1 on Ω0 and 0 elsewhere, and define
Z=t∈Dsup(∣Zt∣1Ω0).
Then Z is a random variable with 0≤Z≤K, and
Z(ω)=t∈[0,T]sup∣Zt(ω)∣for every ω∈Ω0.