The level-set characterisation of the last exit: lastNegativeVisit g <= c exactly when the path is non-negative at every time after c
ProvedKyprianou.Ch08.StageB.p2m812_last_negative_visit_le_iffThe statement. Let g : ℝ≥0 → ℝ be a path and c ≥ 0 a level. The platform's
lastNegativeVisit of g, read at the unit sample point and valued in WithTop ℝ≥0, is at most
c if and only if the path is non-negative at every time strictly after c:
lastNegativeVisit (fun s (_ : Unit) => g s) () ≤ (c : WithTop ℝ≥0) ⟺ ∀ u, c < u → 0 ≤ g u.
Why it matters. The last exit of a path is not a global object: it reads off the sign of the
path one time at a time. That is the reason the sublevel sets of the functional are closed
(round 11's p2m810c_last_exit_level_set_closed), and the reason the functional cannot be
recovered from countably many coordinates (round 12's p2m812_last_exit_not_countably_determined):
if a countable set of times misses one time u, the value of the path at u can be changed
without touching the countable set, and the last exit changes with it.
The conventions. lastNegativeVisit is the sSup of the set of the positive times at which the
path is strictly negative, read on the complete lattice WithTop ℝ≥0. Hence sSup ∅ = 0
(a path that is never negative has last exit 0, not ⊤), and sSup S = ⊤ exactly when S is
unbounded above. The forward direction is le_csSup applied at the point u; the backward
direction uses WithTop.sSup_eq for the bounded case and sSup ∅ = 0 for the empty case. -/
import Definitions.Def_Kyprianou_Ch08_BorelRestartLaw import Definitions.Def_Kyprianou_Ch08_StageCFoundation_A 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 level-set characterisation of the platform's last exit.**
For a path `g : ℝ≥0 → ℝ` and a level `c ≥ 0`,
```
lastNegativeVisit (fun s (_ : Unit) => g s) () ≤ (c : WithTop ℝ≥0)
⟺ ∀ u : ℝ≥0, c < u → 0 ≤ g u.
```
The platform's `lastNegativeVisit` is the supremum of `{t | ∃ u, 0 < u ∧ (u : WithTop ℝ≥0) = t ∧ g u < 0}`,
read on the complete lattice `WithTop ℝ≥0` (so `sSup ∅ = 0`, and `sSup S = ⊤` exactly when `S` is
unbounded above). The forward direction is `le_csSup` at the point `u`; the backward direction
uses `WithTop.sSup_eq` for the bounded case and `sSup ∅ = 0` for the empty case.
**Why it matters.** This is the *primitive* behind round 11's theorem
`p2m810_last_exit_functional_borel_measurable` and behind round 12's theorem
`p2m812_last_exit_not_countably_determined`. It is the reusable statement: it says the last exit
of a path reads off the sign of the path at each single time, one time at a time. It is what
makes the sublevel sets closed (round 11) and what makes the diagonal argument of round 12
possible (flip one coordinate and the last exit changes).
It was proved in round 11 as a private lemma of the Borel theorem; it is published here in its
own right so that later statements can cite it. -/
theorem p2m812_last_negative_visit_le_iff (g : ℝ≥0 → ℝ) (c : ℝ≥0) :
lastNegativeVisit (fun s (_ : Unit) => g s) () ≤ (c : WithTop ℝ≥0) ↔
∀ u : ℝ≥0, c < u → 0 ≤ g u := by
sorry
end Kyprianou.Ch08.StageB