Prequential risk for history-dependent trajectory kernels #
This file extends the finite-state trajectory-risk layer from time-homogeneous
Markov transitions to arbitrary prefix-dependent kernels. At time n, the
kernel may inspect the entire prefix indexed by Finset.Iic n, and the score
may depend on that prefix and the next state. For any score taking values in
[0, 1], the observed score minus its kernel-conditional risk is an adapted,
conditionally centered innovation with conditional second moment at most
1 / 4.
The existing Markov API remains unchanged. The final bridge lemmas identify its path law, squared loss, conditional risk, and innovation as special cases of the prefix-dependent definitions.
A one-step score which may inspect the complete trajectory prefix before scoring the next state.
Equations
- FormalSLT.StochasticDynamics.TrajectoryScore Z = ((n : ℕ) → (↥(Finset.Iic n) → Z) → Z → ℝ)
Instances For
The Ionescu--Tulcea path law generated by a deterministic initial state and an arbitrary family of prefix-dependent Markov kernels.
Equations
- FormalSLT.StochasticDynamics.trajectoryMeasure κ x0 = (ProbabilityTheory.Kernel.traj κ 0) fun (x : ↥(Finset.Iic 0)) => x0
Instances For
The score observed after extending a path prefix by its next state.
Equations
- FormalSLT.StochasticDynamics.observedTrajectoryScore score n x = score n (Preorder.frestrictLe n x) (x (n + 1))
Instances For
The one-step score averaged against the kernel selected by the observed prefix.
Equations
- FormalSLT.StochasticDynamics.conditionalTrajectoryRisk κ score n x = ∫ (y : Z), score n (Preorder.frestrictLe n x) y ∂(κ n) (Preorder.frestrictLe n x)
Instances For
The observed score at step n is measurable with respect to the path
through coordinate n + 1.
Under a trajectory continuation from prefix u, coordinate n + 1 has
exactly the law selected by the prefix-dependent kernel κ n u.
Integrating the observed score against a trajectory continuation is the kernel-conditional risk associated with its supplied prefix.
The trajectory construction determines the exact conditional expectation of the next score from the whole observed prefix.
Observed score minus its exact prefix-conditional risk.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The prefix-dependent trajectory innovation is conditionally centered under the path law generated by the same kernels.
A [0,1] prefix-dependent score has conditional centered second moment at
most 1 / 4, with no stationarity or finite-memory assumption on the kernels.
The Markov path measure is the specialization of trajectoryMeasure to
the current-state prefixKernel.
Squared Markov loss as a prefix-dependent trajectory score.
Equations
Instances For
The original homogeneous-Markov squared-loss conditional-expectation theorem is an instance of the prefix-dependent trajectory theorem.