The last-exit time of a path is Borel measurable for the product topology on the path space
ProvedKyprianou.Ch08.StageB.p2m810b_last_exit_time_borel_measurableThe last-exit time of a path is Borel measurable for the product topology.
Let g : ℝ≥0 → ℝ be a path and let L g be the supremum of the times u > 0 at which g u < 0,
valued in WithTop ℝ≥0 (⊤ if those times are unbounded). For every c ≥ 0,
Consequently {g | L g ≤ c} = ⋂_{u > c} {g | 0 ≤ g u} is closed, because each {g | 0 ≤ g u} is
the preimage of the closed ray Ici 0 under the continuous evaluation map g ↦ g u. Since the
Borel sigma-algebra of the product topology contains all closed sets, and
borel (WithTop ℝ≥0) is generated by the principal upper sets Iic, the map
is measurable from the path space carrying pathBorelSpace to WithTop ℝ≥0 carrying
borel (WithTop ℝ≥0). This is the reusable core of the discounted statement
p2m810_last_exit_functional_borel_measurable, and it needs no regularity hypothesis on the
path.
import Definitions.Def_Kyprianou_Ch08_BorelRestartLaw open MeasureTheory ProbabilityTheory Set Filter Topology open Kyprianou.Ch08 Kyprianou.Ch08.StageB open scoped NNReal ENNReal set_option autoImplicit false
namespace Kyprianou.Ch08.StageB
/-- **The last-exit time of a path is Borel measurable for the product topology.**
Let `L g = lastNegativeVisit (fun s _ => g s) ()` be the last time at which the path `g` is
negative, valued in `WithTop NNReal` (`⊤` when the negative times are unbounded). The map
```
g ↦ L g
```
from the path space `ℝ≥0 → ℝ` to `WithTop ℝ≥0` is measurable for `pathBorelSpace`, the Borel
sigma-algebra of the **product topology** on that space -- not merely for the cylinder
sigma-algebra `MeasurableSpace.pi`.
This is the reusable core of the round-11 target `p2m810_last_exit_functional_borel_measurable`
(theorem `a14ee321-9821-5e56-879e-6a2ec935bbda`): the target is this statement composed with the
measurable discount `discountedAt q`.
**The proof.** For every `c ≥ 0`,
```
L g ≤ c ⟺ ∀ u > c, 0 ≤ g u,
```
so the sublevel set `{g | L g ≤ c}` is `⋂ {u | c < u} {g | 0 ≤ g u}`. Each `{g | 0 ≤ g u}` is
the preimage of the closed ray `Ici 0` under the continuous evaluation `g ↦ g u`
(`continuous_apply`), and an **arbitrary** intersection of closed sets is closed
(`isClosed_iInter`). Closed sets of the path space are measurable for `pathBorelSpace`,
because `borel α = generateFrom {s | IsOpen s}`. Finally `borel_eq_generateFrom_Iic` presents
`borel (WithTop NNReal)` as the `generateFrom` of the principal upper sets `Iic`, whose
preimages are exactly the closed sublevel sets. No right-continuity and no
rational-detection argument is needed: the functional statement carries no regularity
hypothesis. -/
theorem p2m810b_last_exit_time_borel_measurable :
@Measurable (ℝ≥0 → ℝ) (WithTop ℝ≥0) pathBorelSpace (borel (WithTop ℝ≥0))
(fun g : ℝ≥0 → ℝ => lastNegativeVisit (fun s (_ : Unit) => g s) ()) := by
sorry
end Kyprianou.Ch08.StageB