Introduction
Learning-based controllers are increasingly deployed in a variety of applications, but often lack formal safety guarantees. This has motivated the use of safety filters via control barrier functions (CBFs) [1 ] . However, their reliability depend on the availability of an accurate model of the system. In the presence of model mismatches, robust CBFs can still ensure safety by tightening the CBF safety constraint via a robustness margin, which must be larger than the model error [2 ] . Unfortunately, the model error is typically unknown and depends on the system’s operating range. Robustness margins that are chosen too small may provide insufficient protection, whereas unnecessarily large choices lead to conservative or infeasible problems. This issue, and hence our contribution, is not limited to CBFs and applies to other tools, e.g., robust model predictive control and control Lyapunov functions.
Data-driven estimates of the model error can be obtained in practice, but are often heuristic and approximate, resulting again in unsafe behavior. Therefore, recent work has studied how probabilistic safety guarantees can be obtained using Gaussian Processes [3 , 4 ] and conformal prediction [5 ] . While Gaussian Processes rely on a well-calibrated model assumption, conformal prediction struggles in dealing with shifts of the data generating distribution due to the closed-loop dependence between controller and data. This issue
was addressed in [6 , 7 , 8 ] , e.g., via robust conformal prediction, but only under additional regularity assumptions. Importantly, these works require the availability of an offline calibration dataset. We argue for departing from conformal prediction in favor of e-values [9 ] , a statistical tool for hypothesis testing whose properties accommodate closed-loop distribution shifts without requiring an offline dataset.
Our proposed method is initialized with a conservative yet valid fallback robustness margin, see Figure 1 . We then start collecting closed-loop data with the goal to find smaller robustness margins. Therefore, at each time step, we compute the barrier loss , which is the amount by which the observed CBF falls below its model-based prediction. We then select a finite set of candidate margins. For each candidate, we test the hypothesis that the exceedance risk, which is the probability of the barrier loss exceeding the candidate margin, remains at or above a user-chosen error confidence. As we need to check this hypothesis at each time step, we require anytime-valid tests for which we use sequential tests based on e-values, as opposed to often used p-values [10 , 11 , 12 ] .
Figure 1. Overview of the proposed approach. (a) Robot navigation under model uncertainty, requiring a robustness margin c t c_t c t . (b) Closed-loop barrier losses Y t Y_t Y t provide evidence for selecting valid robustness margins c t 2 c_t^2 c t 2 .
The authors are with the Automatic Control Laboratory, ETH Zürich, Switzerland. E-mails: ptrakas@ethz.ch, omirzaeedodangeh@ethz.ch, llindemann@ethz.ch. A certificate is now issued if sufficient evidence against this hypothesis is obtained. Such a certificate tells us that the exceedance risk for the corresponding candidate was below the pre-specified failure probability at some point in the past. To transfer this certificate into a safe control action, we have to account for the fact that the exceedance risk may increase in the future, which is done by adding an exceedance buffer. The CBF controller then selects the smallest certified candidate. Our main contributions are as follows:
We develop anytime-valid certificates for robustness margins of CBF controllers using online data and sequential tests based on e-values. We also derive upper bounds for the expected certification time.
We propose a robust CBF controller that transfers certified robustness margins into safe control actions. This transfer relies on a bound on the increase in exceedance risk, which introduces conservatism. Therefore, we permit parallel tests for efficient control design.
We compare our method against baseline algorithms on unicycle navigation problems in corridor and maze environments, visualized in NVIDIA Isaac Sim.
Robust and stochastic safety filters account for model uncertainty through error bounds or additional distributional information. Predictive safety filters use model-error bounds that can be learned from data [13 ] , while adaptive CBFs use state-estimation error bounds [14 ] . Probabilistic CBFs use known moments or i.i.d. disturbance samples [15 ] , while stochastic CBFs rely on a known disturbance distribution [16 ] .An open challenge is to quantify error bounds and to certify robustness margins directly from online observations.
Conformal prediction (CP) is increasingly used in control to construct uncertainty bounds from observed prediction errors without assuming a parametric error distribution [17 ] . Under i.i.d. assumptions, standard CP approaches provide marginal coverage, so guarantees averaged over offline calibration trajectories and a test trajectory. One of the main challenges in control, however, is dealing with non i.i.d. data.
Online conformal prediction methods adapt uncertainty bounds in tube-based MPC [18 ] or switch thresholds in learned safety filters [19 ] . However, these provide safety guarantees that are only valid on average over time. For CBF controllers, [6 ] provides an iterative procedure to deal with distribution shifts by updating robustness margins using large sets of i.i.d. calibration trajectories. Instead, we use anytime-valid tests that require neither known disturbance distributions, offline calibration data, nor i.i.d. observations.
Sequential hypothesis testing methods based on e-values have been developed for change detection [20 ] and risk-controlling prediction sets [21 ] . Conformal e-prediction provides anytime-valid coverage for i.i.d. data arriving in batches [22 ] . In robotics, martingale tests detect distribution shifts with guarantees on false alerts [23 ] , while multiple hypothesis testing can help identify the type of distribution shift [24 ] . Sequential tests can also be used to compare robust policies using i.i.d. evaluation trials [25 ] . Closest to our work are [16, 26]–[29 ] , which formulate safety through enforcing a martingale condition. However, verifying the validity of this martingale condition requires precise knowledge of the disturbance distribution and must be performed offline. To the best of our knowledge, no one has used anytime-valid sequential certification of robustness margins from online data to design safe feedback controllers.
Stochastic System and Nominal Model
Let ( Ω , F , P ) (\Omega,\mathcal{F},\mathbb{P}) ( Ω , F , P ) be a probability space, where Ω \Omega Ω is the sample space, F \mathcal{F} F is the associated σ \sigma σ -algebra, and P \mathbb{P} P is a probability measure. Let E \mathbb{E} E denote expectation under P \mathbb{P} P . Relations between random variables are understood to hold almost surely.3 We consider a discrete-time stochastic system:
x t + 1 = f ( x t , u t , w t ) , t ∈ N 0 , (1) x_{t+1}=f(x_t,u_t,w_t), \qquad t\in\mathbb{N}_0, \tag*{(1)} x t + 1 = f ( x t , u t , w t ) , t ∈ N 0 , (1)
where x t : Ω → X ⊆ R n x_t:\Omega\to\mathcal{X}\subseteq\mathbb{R}^n x t : Ω → X ⊆ R n , u t : Ω → U ⊆ R m u_t:\Omega\to\mathcal{U}\subseteq\mathbb{R}^m u t : Ω → U ⊆ R m , and w t : Ω → W ⊆ R p w_t:\Omega\to\mathcal{W}\subseteq\mathbb{R}^p w t : Ω → W ⊆ R p denote the state, control input, and disturbance, respectively. Moreover, x 0 : Ω → X x_0:\Omega\to\mathcal{X} x 0 : Ω → X is the random initial state of (1). The actual transition map f : X × U × W → X f:\mathcal{X}\times\mathcal{U}\times\mathcal{W}\to\mathcal{X} f : X × U × W → X is unknown. Suppose, however, that a nominal one-step predictor f ^ : X × U → X \hat{f}:\mathcal{X}\times\mathcal{U}\to\mathcal{X} f ^ : X × U → X is available, e.g., obtained from first principles or via system identification. Define the model error e t : = x t + 1 − f ^ ( x t , u t ) e_t:=x_{t+1}-\hat{f}(x_t,u_t) e t := x t + 1 − f ^ ( x t , u t ) , so that
x t + 1 = f ^ ( x t , u t ) + e t . (2) x_{t+1}=\hat{f}(x_t,u_t)+e_t. \tag*{(2)} x t + 1 = f ^ ( x t , u t ) + e t . (2)
At each time t t t , a causal, possibly randomized controller, such as an RL policy, generates a nominal input u t n o m : Ω → R m u_t^{\mathrm{nom}}:\Omega\to\mathbb{R}^m u t nom : Ω → R m . The control input u t u_t u t is then obtained by passing u t n o m u_t^{\mathrm{nom}} u t nom through a CBF filter, introduced below, which modifies the nominal input when necessary to enforce safety constraints.
The probability space supports the initial state, the disturbance process { w t } t ≥ 0 \{w_t\}_{t\geq0} { w t } t ≥ 0 , and any randomization used to generate u t n o m u_t^{\mathrm{nom}} u t nom . Together with the system dynamics (1) and the CBF controller, these random variables induce the state and input processes { x t } t ≥ 0 \{x_t\}_{t\geq0} { x t } t ≥ 0 and { u t } t ≥ 0 \{u_t\}_{t\geq0} { u t } t ≥ 0 , respectively. Let { F t } t ≥ 0 \{\mathcal{F}_t\}_{t\geq0} { F t } t ≥ 0 denote the decision-time filtration, where F t \mathcal{F}_t F t contains all information available after u t u_t u t is selected, but before x t + 1 x_{t+1} x t + 1 is observed. In particular, F t \mathcal{F}_t F t contains the past states and control inputs x 0 , u 0 , … , x t − 1 , u t − 1 x_0,u_0,\ldots,x_{t-1},u_{t-1} x 0 , u 0 , … , x t − 1 , u t − 1 , the current state x t x_t x t , the nominal input u t n o m u_t^{\mathrm{nom}} u t nom , and the control input u t u_t u t . Thus, x t x_t x t , u t n o m u_t^{\mathrm{nom}} u t nom , and u t u_t u t are F t \mathcal{F}_t F t -measurable, while x t + 1 x_{t+1} x t + 1 and e t e_t e t are F t + 1 \mathcal{F}_{t+1} F t + 1 -measurable and are not available at time t t t .
Robust CBF Safety Filter
Let h : X → R h:\mathcal{X}\to\mathbb{R} h : X → R define the safe set C : = { x ∈ X ∣ h ( x ) ≥ 0 } \mathcal{C}:=\{x\in\mathcal{X}\mid h(x)\geq0\} C := { x ∈ X ∣ h ( x ) ≥ 0 } . Our objective is to keep the state x t x_t x t inside C \mathcal{C} C despite the mismatch between the nominal model f ^ \hat{f} f ^ and the system f f f . Therefore, we utilize robust CBFs for which we let c t ≥ 0 c_t\geq0 c t ≥ 0 be a robustness margin. Consider now a control input u t u_t u t satisfying the tightened nominal barrier condition
h ( f ^ ( x t , u t ) ) − c t ≥ ( 1 − γ ) h ( x t ) , γ ∈ ( 0 , 1 ] . (3) h\bigl(\hat{f}(x_t,u_t)\bigr)-c_t\geq(1-\gamma)h(x_t), \qquad\gamma\in(0,1]. \tag*{(3)} h ( f ^ ( x t , u t ) ) − c t ≥ ( 1 − γ ) h ( x t ) , γ ∈ ( 0 , 1 ] . (3)
For a given margin c ≥ 0 c \ge0 c ≥ 0 , define the feasible input set U ( x t , c ) : = { u ∈ U : h ( f ^ ( x t , u ) ) − c ≥ ( 1 − γ ) h ( x t ) } U(x_t,c) := \left\{u \in\mathcal{U}: h(\hat{f}(x_t,u)) - c \ge(1-\gamma)h(x_t)\right\} U ( x t , c ) := { u ∈ U : h ( f ^ ( x t , u )) − c ≥ ( 1 − γ ) h ( x t ) } .
The corresponding CBF safety filter modifies the nominal input u t n o m u_t^{\mathrm{nom}} u t nom as little as possible:
u t ( c ) ∈ arg min u ∈ U ( x t , c ) ∥ u − u t n o m ∥ 2 . (4) u_t(c) \in\underset{u \in U(x_t,c)}{\arg\min}\ \lVert u-u_t^{\mathrm{nom}}\rVert^2. \tag*{(4)} u t ( c ) ∈ u ∈ U ( x t , c ) arg min ∥ u − u t nom ∥ 2 . (4)
If U ( x t , c ) U(x_t,c) U ( x t , c ) is nonempty, we assume that the minimum is attained4 and that a minimizer can be selected. The control input is u t : = u t ( c t ) u_t := u_t(c_t) u t := u t ( c t ) .5 To quantify how the model mismatch affects the true barrier condition, define the barrier loss
Y t : = [ h ( f ^ ( x t , u t ) ) − h ( x t + 1 ) ] + . (5) Y_t := \left[h(\hat{f}(x_t,u_t))-h(x_{t+1})\right]_+. \tag*{(5)} Y t := [ h ( f ^ ( x t , u t )) − h ( x t + 1 ) ] + . (5)
where [ χ ] + : = max { χ , 0 } [\chi]_+ := \max\{\chi,0\} [ χ ] + := max { χ , 0 } . Since [ χ ] + ≥ χ [\chi]_+ \ge\chi [ χ ] + ≥ χ for every χ ∈ R \chi\in\mathbb{R} χ ∈ R , we know that the following inequality is always satisfied:
h ( x t + 1 ) ≥ h ( f ^ ( x t , u t ) ) − Y t . (6) h(x_{t+1}) \ge h(\hat{f}(x_t,u_t))-Y_t. \tag*{(6)} h ( x t + 1 ) ≥ h ( f ^ ( x t , u t )) − Y t . (6)
Using equation (6) , we can now present a sufficient condition for our goal. Indeed, knowing that u t ∈ U ( x t , c ) u_t \in U(x_t,c) u t ∈ U ( x t , c ) , we have
Y t ≤ c t ⟹ h ( x t + 1 ) ≥ ( 1 − γ ) h ( x t ) , (7) Y_t \le c_t \quad\Longrightarrow\quad h(x_{t+1}) \ge(1-\gamma)h(x_t), \tag*{(7)} Y t ≤ c t ⟹ h ( x t + 1 ) ≥ ( 1 − γ ) h ( x t ) , (7)
i.e., Y t ≤ c t Y_t \le c_t Y t ≤ c t is sufficient to ensure the “then” part of (7), which is the true barrier condition [30 ] . Hence, if x 0 ∈ C x_0 \in\mathcal{C} x 0 ∈ C and Y t ≤ c t Y_t \le c_t Y t ≤ c t for all t ∈ N 0 t \in\mathbb{N}_0 t ∈ N 0 , then x t ∈ C x_t \in\mathcal{C} x t ∈ C for all t ∈ N 0 t \in\mathbb{N}_0 t ∈ N 0 .
We note that the loss Y t Y_t Y t becomes observable only after u t u_t u t is applied and x t + 1 x_{t+1} x t + 1 is observed. It is hence F t + 1 \mathcal{F}_{t+1} F t + 1 -measurable and unavailable when c t c_t c t and u t u_t u t are selected. At time t t t , only the previous losses Y 0 , … , Y t − 1 Y_0,\ldots,Y_{t-1} Y 0 , … , Y t − 1 are available.
Problem Statement
Let us select a CBF-violation probability α 0 ∈ ( 0 , 1 ) \alpha_0 \in(0,1) α 0 ∈ ( 0 , 1 ) . At every time step at which a margin c t c_t c t is deployed and an input u t u_t u t satisfying (4) is applied, we seek to ensure
P ( h ( x t + 1 ) < ( 1 − γ ) h ( x t ) ∣ F t ) ≤ α 0 . \mathbb{P}\left(h(x_{t+1}) < (1-\gamma)h(x_t)\mid\mathcal{F}_t\right) \le\alpha_0. P ( h ( x t + 1 ) < ( 1 − γ ) h ( x t ) ∣ F t ) ≤ α 0 .
In words, given all information available at time t t t , we want that the probability that the barrier condition h ( x t + 1 ) ≥ ( 1 − γ ) h ( x t ) h(x_{t+1}) \ge(1-\gamma)h(x_t) h ( x t + 1 ) ≥ ( 1 − γ ) h ( x t ) is violated does not exceed α 0 \alpha_0 α 0 . By the sufficient condition in (7), we can achieve this goal by ensuring
p t ( c t ) ≤ α 0 p_t(c_t) \le\alpha_0 p t ( c t ) ≤ α 0
where p t ( c ) p_t(c) p t ( c ) denotes the exceedance risk at time t t t :
p t ( c ) : = P ( Y t > c ∣ F t ) (8) p_t(c) := \mathbb{P}(Y_t > c\mid\mathcal{F}_t) \tag*{(8)} p t ( c ) := P ( Y t > c ∣ F t ) (8)
i.e., the probability that the loss Y t Y_t Y t exceeds the margin c c c .
The difficulty here is circular: c t c_t c t must be selected before Y t Y_t Y t is observed, while Y t Y_t Y t depends on c t c_t c t . In particular, c t c_t c t influences the control input in (4) and hence the resulting barrier loss Y t Y_t Y t in (5). Additionally, the exceedance risk p t ( c t ) p_t(c_t) p t ( c t ) is unknown. Before sufficient data is available to certify a margin c t c_t c t , we therefore require a pre-validated margin that guarantees feasibility and bounds the barrier loss.
Assumption 1 (Safe Margin). There exists a known margin c max > 0 c_{\max}>0 c m a x > 0 such that U ( x t , c max ) ≠ ∅ U(x_t,c_{\max})\ne\varnothing U ( x t , c m a x ) = ∅ almost surely for all x t ∈ X x_t\in\mathcal{X} x t ∈ X . If x t = c max x_t=c_{\max} x t = c m a x , then applying u t = u t ( c max ) ∈ U ( x t , c max ) u_t= u_t(c_{\max})\in U(x_t,c_{\max}) u t = u t ( c m a x ) ∈ U ( x t , c m a x ) ensures Y t ≤ c max Y_t\le c_{\max} Y t ≤ c m a x almost surely for all x t ∈ X x_t\in\mathcal{X} x t ∈ X .
Under this assumption, any margin c < c max c<c_{\max} c < c m a x has the property that U ( x t , c max ) ⊆ U ( x t , c ) U(x_t,c_{\max})\subseteq U(x_t,c) U ( x t , c m a x ) ⊆ U ( x t , c ) so that the safety filter (4) remains feasible. We restrict the candidate margins to a finite ordered grid of M M M candidates
Γ : = { c ( 1 ) < ⋯ < c ( M ) } ⊆ [ 0 , c max ) . \Gamma:= \left\{c^{(1)}<\cdots<c^{(M)}\right\}\subseteq[0,c_{\max}). Γ := { c ( 1 ) < ⋯ < c ( M ) } ⊆ [ 0 , c m a x ) .
The deployed margin c t c_t c t will be selected from Γ ∪ { c max } \Gamma\cup\{c_{\max}\} Γ ∪ { c m a x } .
Problem 1. Consider the system in (1) under the safety filter in (4) and let Assumption 1 hold. Design a causal rule that, at each time t ∈ N 0 t\in\mathbb{N}_0 t ∈ N 0 , uses the data in F t \mathcal{F}_t F t to select the smallest margin c t c_t c t that satisfies p t ( c t ) ≤ α 0 p_t(c_t)\le\alpha_0 p t ( c t ) ≤ α 0 .
E-Values and Sequential Tests
Composite Null Hypotheses and E-Values
We first review the statistical background used throughout; further information is provided in [9 , 10 , 11 , 12 ] . A null hypothesis H 0 H_0 H 0 is a set of probability measures on ( Ω , F ) (\Omega,\mathcal{F}) ( Ω , F ) satisfying a specific event. It is called simple if it contains a single probability measure and composite otherwise. Throughout this section, Q ∈ H 0 \mathbb{Q}\in H_0 Q ∈ H 0 denotes a generic probability measure satisfying the hypothesis H 0 H_0 H 0 , and E Q \mathbb{E}_{\mathbb{Q}} E Q denotes expectation under Q \mathbb{Q} Q . This notation is used only in this section, the closed-loop probability measure remains P \mathbb{P} P .
For example, let Z t ∈ { 0 , 1 } Z_t\in\{0,1\} Z t ∈ { 0 , 1 } indicate whether a specific event (e.g., Y t ≤ c t Y_t\le c_t Y t ≤ c t ) occurs at time t t t . Fix α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and consider the composite null hypothesis
H 0 : = { Q : Q ( Z t = 1 ∣ F t ) ≥ α } , t ∈ N 0 . (9) H_0 := \left\{\mathbb{Q}:\mathbb{Q}(Z_t=1\mid\mathcal{F}_t)\ge\alpha\right\},\qquad t\in\mathbb{N}_0. \tag*{(9)} H 0 := { Q : Q ( Z t = 1 ∣ F t ) ≥ α } , t ∈ N 0 . (9)
This is a composite null hypothesis because many probability measures may satisfy the inequality Q ( Z t = 1 ∣ F t ) ≥ α \mathbb{Q}(Z_t=1\mid\mathcal{F}_t)\ge\alpha Q ( Z t = 1 ∣ F t ) ≥ α . Under any such probability measure, the event indicated by Z t = 1 Z_t=1 Z t = 1 occurs with probability at least α \alpha α .
An e-variable converts observed data into a nonnegative measure of evidence against the null hypothesis. Formally, a nonnegative random variable E E E is an e-variable for H 0 H_0 H 0 if
E Q [ E ] ≤ 1 for every Q satisfying H 0 . (10) \mathbb{E}_{\mathbb{Q}}[E]\le1\qquad\text{for every }\mathbb{Q}\text{ satisfying }H_0. \tag*{(10)} E Q [ E ] ≤ 1 for every Q satisfying H 0 . (10)
The realized value of E E E after the data are observed is called an e-value . (10) ensures that large e-values cannot occur frequently when H 0 H_0 H 0 is true, so a larger e-value provides stronger evidence against H 0 H_0 H 0 .
To make this interpretation precise, fix an error confidence level δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) . Markov’s inequality then gives
Q ( E ≥ 1 δ ) ≤ δ for every Q satisfying H 0 . \mathbb{Q}\left(E\ge\frac{1}{\delta}\right)\le\delta\qquad\text{for every }\mathbb{Q}\text{ satisfying }H_0. Q ( E ≥ δ 1 ) ≤ δ for every Q satisfying H 0 .
Thus, observing an e-value of at least 1 / δ 1/\delta 1/ δ justifies rejecting H 0 H_0 H 0 at level δ \delta δ , i.e., with a confidence of 1 − δ 1-\delta 1 − δ .qarnera
Test Supermartingales
We seek to accumulate evidence as new data becomes available. One-step e-variables can be multiplied over time to form a test supermartingale , provided their F t \mathcal{F}_t F t -conditional expectation under the null hypothesis are at most one [11 ] . This construction allows evidence to be assessed at every time, making it suitable for online monitoring systems (1).
A process ( E t ) t ≥ 0 (E_t)_{t\geq0} ( E t ) t ≥ 0 is adapted to the filtration ( F t ) t ≥ 0 (\mathcal{F}_t)_{t\geq0} ( F t ) t ≥ 0 if E t E_t E t is F t \mathcal{F}_t F t -measurable, meaning that its value uses only the information available at time t t t . A nonnegative adapted process with E 0 = 1 E_0=1 E 0 = 1 is a test supermartingale for H 0 H_0 H 0 if, for every Q ∈ H 0 \mathbb{Q}\in H_0 Q ∈ H 0 , it is integrable and satisfies
E Q [ E t + 1 ∣ F t ] ≤ E t , t ∈ N 0 . (11) \mathbb{E}_{\mathbb{Q}}[E_{t+1}\mid\mathcal{F}_t]\leq E_t,\quad t\in\mathbb{N}_0. \tag*{(11)} E Q [ E t + 1 ∣ F t ] ≤ E t , t ∈ N 0 . (11)
Thus, under the null hypothesis, the conditional expected value of the evidence cannot increase, although its observed value may rise or fall. Taking expectations recursively gives E Q [ E t ] ≤ 1 \mathbb{E}_{\mathbb{Q}}[E_t]\leq1 E Q [ E t ] ≤ 1 , so each E t E_t E t is an e-variable.
The key advantage is a validity guarantee over all times t ∈ N 0 t\in\mathbb{N}_0 t ∈ N 0 . For any δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) , Ville’s inequality [31 ] gives
Q ( sup t ≥ 0 E t ≥ 1 δ ) ≤ δ , Q ∈ H 0 . \mathbb{Q}\left(\sup_{t\geq0}E_t\geq\frac{1}{\delta}\right)\leq\delta,\quad\mathbb{Q}\in H_0. Q ( t ≥ 0 sup E t ≥ δ 1 ) ≤ δ , Q ∈ H 0 .
Under any Q ∈ H 0 \mathbb{Q}\in H_0 Q ∈ H 0 , the probability that the evidence ever reaches 1 / δ 1/\delta 1/ δ is therefore at most δ \delta δ . We may check E t E_t E t at every time step and reject H 0 H_0 H 0 at the first time E t E_t E t reaches the threshold. This property is called anytime-validity .
Example 1. Let Z t = 1 Z_t=1 Z t = 1 indicate if a robot ends up closer to an obstacle than predicted, and Z t = 0 Z_t=0 Z t = 0 otherwise. For the null hypothesis in (9) , we define this event to have probability at least α \alpha α at every time t t t . Starting from E 0 = 1 E_0=1 E 0 = 1 , update the evidence by multiplying it by a factor determined by the latest observation, e.g. E t + 1 = E t [ 1 + 1 2 ( α − Z t ) ] E_{t+1}=E_t\left[1+\frac{1}{2}(\alpha-Z_t)\right] E t + 1 = E t [ 1 + 2 1 ( α − Z t ) ] . For every Q ∈ H 0 \mathbb{Q}\in H_0 Q ∈ H 0 , the nonnegative update factor satisfies
E Q [ 1 + 1 2 ( α − Z t ) ∣ F t ] = 1 + 1 2 [ α − Q ( Z t = 1 ∣ F t ) ] ≤ 1. \mathbb{E}_{\mathbb{Q}}\left[1+\frac{1}{2}(\alpha-Z_t)\mid\mathcal{F}_t\right]=1+\frac{1}{2}\left[\alpha-\mathbb{Q}(Z_t=1\mid\mathcal{F}_t)\right]\leq1. E Q [ 1 + 2 1 ( α − Z t ) ∣ F t ] = 1 + 2 1 [ α − Q ( Z t = 1 ∣ F t ) ] ≤ 1.
Thus, each factor is an F t \mathcal{F}_t F t -conditioned e-variable, i.e., their product satisfies (11) and forms a test supermartingale [11 ] . For α = 0.1 \alpha=0.1 α = 0.1 , the evidence E t E_t E t is multiplied by 1.05 without an exceedance and by 0.55 otherwise. With δ = 0.05 \delta=0.05 δ = 0.05 , rejection occurs at E t ≥ 20 E_t\geq20 E t ≥ 20 , e.g., 62 consecutive non-exceedances give E 62 = 1.05 62 > 20 E_{62}=1.05^{62}>20 E 62 = 1.0 5 62 > 20 . Under H 0 H_0 H 0 , Ville’s inequality bounds the probability of ever reaching this threshold by 5%.
Anytime-Valid Robustness Margin Certification
Let us now fix t ∈ N 0 t\in\mathbb{N}_0 t ∈ N 0 to be the current time. Our goal is to construct an anytime-valid monitor that uses online data to find candidate robustness margins c ∈ Γ c\in\Gamma c ∈ Γ which have satisfied the condition Y s ≤ c Y_s\leq c Y s ≤ c for some time s ≤ t s\leq t s ≤ t in the past.
Simultaneous Margin Certification
At time t ≥ 1 t\geq1 t ≥ 1 , we use the data ( x t − 1 , u t − 1 , x t ) (x_{t-1},u_{t-1},x_t) ( x t − 1 , u t − 1 , x t ) to compute the barrier loss Y t − 1 Y_{t-1} Y t − 1 . For each candidate c ∈ Γ c\in\Gamma c ∈ Γ , we define
Z t − 1 ( c ) : = 1 { Y t − 1 > c } . (12) Z_{t-1}(c):=\mathbf{1}_{\{Y_{t-1}>c\}}. \tag*{(12)} Z t − 1 ( c ) := 1 { Y t − 1 > c } . (12)
While Z t − 1 ( c ) Z_{t-1}(c) Z t − 1 ( c ) records whether the observed loss during the current transition exceeded c c c , we recall that the exceedance probability p t ( c ) p_t(c) p t ( c ) in (8) was defined for the next transition.
Next, choose the margin insufficiency α ∈ ( 0 , α 0 ] \alpha\in(0,\alpha_0] α ∈ ( 0 , α 0 ] where we recall that α 0 \alpha_0 α 0 was the CBF-violation probability from Section II-C. The difference α 0 − α \alpha_0-\alpha α 0 − α allows for an exceedance buffer to account for an increase in exceedance risk from p s ( c ) p_s(c) p s ( c ) in the past to p t ( c ) p_t(c) p t ( c ) now. Additionally, choose the error confidence δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) . The parameters α \alpha α and δ \delta δ have different roles: α \alpha α defines margin insufficiency through p t ( c ) ≥ α p_t(c)\geq\alpha p t ( c ) ≥ α , whereas δ \delta δ bounds the probability of ever falsely certifying any candidate. For each candidate, we test the null hypothesis
H 0 ( c ) : = { P : P ( Y t > c ∣ F t ) ≥ α } , t ∈ N 0 . (13) H_0(c):=\{\mathbb{P}:\mathbb{P}(Y_t>c\mid\mathcal{F}_t)\geq\alpha\},\quad t\in\mathbb{N}_0. \tag*{(13)} H 0 ( c ) := { P : P ( Y t > c ∣ F t ) ≥ α } , t ∈ N 0 . (13)
Under H 0 ( c ) H_0(c) H 0 ( c ) , the candidate remains α \alpha α -insufficient throughout monitoring. We aim to certify the opposite.
For this reason, we define the variable E t λ ( c ) E_t^\lambda(c) E t λ ( c ) that will gather evidence against the null hypothesis H 0 ( c ) H_0(c) H 0 ( c ) . Initially, we set E 0 λ ( c ) = 1 E_0^\lambda(c)=1 E 0 λ ( c ) = 1 and update E t λ ( c ) E_t^\lambda(c) E t λ ( c ) as
E t λ ( c ) = E t − 1 λ ( c ) [ 1 + λ ( α − Z t − 1 ( c ) ) ] , t ≥ 1 (14) E_t^\lambda(c)=E_{t-1}^\lambda(c)\left[1+\lambda(\alpha-Z_{t-1}(c))\right],\quad t\geq1 \tag*{(14)} E t λ ( c ) = E t − 1 λ ( c ) [ 1 + λ ( α − Z t − 1 ( c )) ] , t ≥ 1 (14)
where λ ∈ [ 0 , ( 1 − α ) − 1 ] \lambda\in[0,(1-\alpha)^{-1}] λ ∈ [ 0 , ( 1 − α ) − 1 ] is a gain that scales the contribution of each observation to the evidence, i.e., larger λ \lambda λ increases the factor 1 + λ α 1+\lambda\alpha 1 + λ α when Z t − 1 ( c ) = 0 Z_{t-1}(c)=0 Z t − 1 ( c ) = 0 and decreases the factor 1 − λ ( 1 − α ) 1-\lambda(1-\alpha) 1 − λ ( 1 − α ) when Z t − 1 ( c ) = 1 Z_{t-1}(c)=1 Z t − 1 ( c ) = 1 . The admissible range of λ \lambda λ ensures nonnegativity of E t λ ( c ) E_t^\lambda(c) E t λ ( c ) .
Under the null hypothesis H 0 ( c ) H_0(c) H 0 ( c ) , we notice that
E [ 1 + λ ( α − Z t ( c ) ) ∣ F t ] = 1 + λ ( α − p t ( c ) ) ≤ 1 , (15) \mathbb{E}\left[1+\lambda(\alpha-Z_t(c))\mid\mathcal{F}_t\right]=1+\lambda(\alpha-p_t(c))\leq1, \tag*{(15)} E [ 1 + λ ( α − Z t ( c )) ∣ F t ] = 1 + λ ( α − p t ( c )) ≤ 1 , (15)
i.e., 1 + λ ( α − Z t ( c ) ) 1+\lambda(\alpha-Z_t(c)) 1 + λ ( α − Z t ( c )) is an F t \mathcal{F}_t F t -conditioned e-variable. Their product again form a test supermartingale, i.e., ( E t λ ( c ) ) t ≥ 0 (E_t^\lambda(c))_{t\geq0} ( E t λ ( c ) ) t ≥ 0 is a test supermartingale under every P ∈ H 0 ( c ) \mathbb{P}\in H_0(c) P ∈ H 0 ( c ) . Therefore, we can apply Ville’s inequality to E t λ ( c ) E_t^\lambda(c) E t λ ( c ) by which we get
P ( sup t ≥ 0 E t λ ( c ) ≥ 1 δ ) ≤ δ , P ∈ H 0 . \mathbb{P}\left(\sup_{t\geq0}E_t^\lambda(c)\geq\frac{1}{\delta}\right)\leq\delta,\quad\mathbb{P}\in H_0. P ( t ≥ 0 sup E t λ ( c ) ≥ δ 1 ) ≤ δ , P ∈ H 0 .
Reducing sensitivity. The rate at which evidence accumulates depends on the gain λ \lambda λ . To reduce sensitivity to a particular choice, we select a finite set of gains
Λ : = { λ ( 1 ) , … , λ ( L ) } ⊂ ( 0 , ( 1 − α ) − 1 ) \Lambda:=\left\{\lambda^{(1)},\ldots,\lambda^{(L)}\right\}\subset(0,(1-\alpha)^{-1}) Λ := { λ ( 1 ) , … , λ ( L ) } ⊂ ( 0 , ( 1 − α ) − 1 )
that we use in parallel for every candidate margin c ∈ Γ c\in\Gamma c ∈ Γ . Indeed, we combine the corresponding processes through
E t ( c ) : = 1 ∣ Λ ∣ ∑ λ ∈ Λ E t λ ( c ) , E 0 ( c ) = 1. (16) E_t(c):=\frac{1}{|\Lambda|}\sum_{\lambda\in\Lambda}E_t^\lambda(c),\qquad E_0(c)=1. \tag*{(16)} E t ( c ) := ∣Λ∣ 1 λ ∈ Λ ∑ E t λ ( c ) , E 0 ( c ) = 1. (16)
By linearity of conditional expectations, ( E t ( c ) ) t ≥ 0 (E_t(c))_{t\geq0} ( E t ( c ) ) t ≥ 0 is again a test supermartingale under every P ∈ H 0 ( c ) \mathbb{P}\in H_0(c) P ∈ H 0 ( c ) . Thus, combining the gains preserves the same anytime-valid guarantee, i.e., we can apply Ville’s inequality to E t ( c ) E_t(c) E t ( c ) and obtain
P ( sup t ≥ 0 E t ( c ) ≥ 1 δ ) ≤ δ , P ∈ H 0 . (17) \mathbb{P}\left(\sup_{t\geq0}E_t(c)\geq\frac{1}{\delta}\right)\leq\delta,\quad\mathbb{P}\in H_0. \tag*{(17)} P ( t ≥ 0 sup E t ( c ) ≥ δ 1 ) ≤ δ , P ∈ H 0 . (17)
For each candidate c c c , define its first certification time as
τ ( c ) : = inf { t ≥ 1 : E t ( c ) ≥ 1 δ } . (18) \tau(c):=\inf\left\{t\geq1:E_t(c)\geq\frac{1}{\delta}\right\}. \tag*{(18)} τ ( c ) := inf { t ≥ 1 : E t ( c ) ≥ δ 1 } . (18)
If the threshold is never crossed, we set τ ( c ) = + ∞ \tau(c)=+\infty τ ( c ) = + ∞ . At decision time t t t , the evidence E t ( c ) E_t(c) E t ( c ) depends only on Y 0 , … , Y t − 1 Y_0,\ldots,Y_{t-1} Y 0 , … , Y t − 1 . The candidates certified at that time are
S t : = { c ∈ Γ : τ ( c ) ≤ t } . S_t:=\{c\in\Gamma:\tau(c)\le t\}. S t := { c ∈ Γ : τ ( c ) ≤ t } .
If S t = ∅ S_t=\varnothing S t = ∅ , no certificate is available and the controller continues to use c max c_{\max} c m a x (see § 5 for details).
Simultaneous Guarantees. So far, we tested all candidate margins c ∈ Γ c\in\Gamma c ∈ Γ separately. However, we would ideally like to obtain simultaneous guarantees for all candidate margins. A naive union bounding argument of (17) would give
P ( sup t ≥ 0 E t ( c ) ≥ 1 δ , ∀ c ∈ Γ ) ≤ M δ , P ∈ H 0 . \mathbb{P}\left(\sup_{t\ge0}E_t(c)\ge\frac{1}{\delta},\ \forall c\in\Gamma\right)\le M\delta,\qquad\mathbb{P}\in H_0. P ( t ≥ 0 sup E t ( c ) ≥ δ 1 , ∀ c ∈ Γ ) ≤ M δ , P ∈ H 0 .
However, this is overly conservative, increasing the error confidence from δ \delta δ to M δ M\delta M δ . We can avoid this by noticing that c ′ ≥ c ⟹ E t ( c ′ ) ≥ E t ( c ) c'\ge c\Longrightarrow E_t(c')\ge E_t(c) c ′ ≥ c ⟹ E t ( c ′ ) ≥ E t ( c ) . Thus, certification of c c c also certifies every larger candidate c ′ c' c ′ ; see Lemma 1 in the appendix. Since { Y t > c ′ } ⊆ { Y t > c } \{Y_t>c'\}\subseteq\{Y_t>c\} { Y t > c ′ } ⊆ { Y t > c } for c < c ′ c<c' c < c ′ , we have p t ( c ′ ) ≤ p t ( c ) p_t(c')\le p_t(c) p t ( c ′ ) ≤ p t ( c ) . Hence, if p t ( c ′ ) ≥ α p_t(c')\ge\alpha p t ( c ′ ) ≥ α throughout monitoring, then we have p t ( c ) ≥ α p_t(c)\ge\alpha p t ( c ) ≥ α over the same period.
The next theorem uses these two properties to bound the probability of any false certification for all candidates by δ \delta δ . Hence, define the event that no candidate is falsely certified:
G : = { ∀ c ∈ Γ , τ ( c ) < ∞ ⟹ ∃ s ∈ { 0 , … , τ ( c ) − 1 } : p s ( c ) < α } . (19) \mathcal{G}:=\left\{\forall c\in\Gamma,\ \tau(c)<\infty\Longrightarrow\exists s\in\{0,\ldots,\tau(c)-1\}:p_s(c)<\alpha\right\}. \tag*{(19)} G := { ∀ c ∈ Γ , τ ( c ) < ∞ ⟹ ∃ s ∈ { 0 , … , τ ( c ) − 1 } : p s ( c ) < α } . (19)
On G \mathcal{G} G , every certified candidate c c c (indicated by τ ( c ) < ∞ \tau(c)<\infty τ ( c ) < ∞ ) had an exceedance risk p s ( c ) p_s(c) p s ( c ) below α \alpha α for some time s ∈ { 0 , … , τ ( c ) − 1 } s\in\{0,\ldots,\tau(c)-1\} s ∈ { 0 , … , τ ( c ) − 1 } in the past.6
Theorem 1 (Simultaneous Margin Certification). Consider the system in (1) under the safety filter in (4) .7 Let α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) . Given the grid of candidate margins Γ \Gamma Γ , the set of gains Λ \Lambda Λ , and the certification rule (18) , then we have
P ( G ) ≥ 1 − δ . \mathbb{P}(\mathcal{G})\ge1-\delta. P ( G ) ≥ 1 − δ . Proof. The proof is given in Appendix B-A.
Theorem 1 ensures that, with probability at least 1 − δ 1-\delta 1 − δ , every certified candidate c c c satisfies p s ( c ) < α p_s(c)<\alpha p s ( c ) < α for some s < τ ( c ) s<\tau(c) s < τ ( c ) . All candidates use the same threshold 1 / δ 1/\delta 1/ δ , without increasing the error confidence or requiring independent or stationary observations. On G \mathcal{G} G , this guarantee concerns past observations: it neither identifies the exact certification time s s s nor ensures p τ ( c ) ( c ) < α p_{\tau(c)}(c)<\alpha p τ ( c ) ( c ) < α . For this reason, § 5 will combine certificates c ∈ S t c\in S_t c ∈ S t with an exceedance risk buffer to compute safe control inputs in the future.
Remark 1. The one-step e-variables in (14) generate a test supermartingale. For finitely constrained conditional hypotheses such as ours, Clerico [32 ] shows that every e-process (a general anytime-valid evidence process that does not necessarily satisfy (11) ) is pointwise bounded from above by a test supermartingale. Thus, using test supermartingales does not limit the evidence attainable in principle.
Evidence Growth and Certification Time
To analyze the time needed for certification, we assume that the null hypothesis (13) is violated at all times, i.e., that p t ( c ) < α p_t(c)<\alpha p t ( c ) < α for all times t ≥ 0 t\ge0 t ≥ 0 . Indeed, we impose the slightly stronger condition that p t ( c ) p_t(c) p t ( c ) remains uniformly below α \alpha α . Fix c ∈ Γ c\in\Gamma c ∈ Γ and assume that there exists p ˉ ( c ) ∈ [ 0 , α ) \bar{p}(c)\in[0,\alpha) p ˉ ( c ) ∈ [ 0 , α ) such that:
p t ( c ) ≤ p ˉ ( c ) , ∀ t ∈ N 0 , almost surely . (20) p_t(c)\le\bar{p}(c),\qquad\forall t\in\mathbb{N}_0,\quad\text{almost surely}. \tag*{(20)} p t ( c ) ≤ p ˉ ( c ) , ∀ t ∈ N 0 , almost surely . (20)
This assumption is used only for the following result, i.e., all other results in the paper remain valid without it.
Proposition 1 (Evidence growth and certification time). Assume that (20) holds. Define g p ˉ ( c ) ( λ ) : = ( 1 − q ) log ( 1 + λ α ) + q log ( 1 − λ ( 1 − α ) ) g_{\bar{p}(c)}(\lambda):=(1-q)\log(1+\lambda\alpha)+q\log(1-\lambda(1-\alpha)) g p ˉ ( c ) ( λ ) := ( 1 − q ) log ( 1 + λ α ) + q log ( 1 − λ ( 1 − α )) . Then, for any λ ∈ Λ \lambda\in\Lambda λ ∈ Λ with g p ˉ ( c ) ( λ ) > 0 g_{\bar{p}(c)}(\lambda)>0 g p ˉ ( c ) ( λ ) > 0 :
lim inf t → ∞ log E t λ ( c ) t ≥ g p ˉ ( c ) ( λ ) a.s. (21) \liminf_{t\to\infty}\frac{\log E_t^\lambda(c)}{t}\ge g_{\bar{p}(c)}(\lambda)\qquad\text{a.s.} \tag*{(21)} t → ∞ lim inf t log E t λ ( c ) ≥ g p ˉ ( c ) ( λ ) a.s. (21) and the expected certification time satisfies
E [ τ ( c ) ] ≤ log ( ∣ Λ ∣ / δ ) + log ( 1 + λ α ) g p ˉ ( c ) ( λ ) . (22) \mathbb{E}[\tau(c)]\le\frac{\log(|\Lambda|/\delta)+\log(1+\lambda\alpha)}{g_{\bar{p}(c)}(\lambda)}. \tag*{(22)} E [ τ ( c )] ≤ g p ˉ ( c ) ( λ ) log ( ∣Λ∣/ δ ) + log ( 1 + λ α ) . (22) Proof. See Appendix C-A.
Equation (21) shows that the evidence grows without bound almost surely when g p ˉ ( c ) ( λ ) > 0 g_{\bar{p}(c)}(\lambda)>0 g p ˉ ( c ) ( λ ) > 0 . Since E t ( c ) E_t(c) E t ( c ) averages the nonnegative evidence across gains, one such gain is enough to ensure certification in finite time almost surely. Equation (22) bounds the expected certification time.
Example 2. We illustrate these results with daily losses of synthetic stock data. Here, Y t Y_t Y t is the relative drop of the stock price during day t t t , or zero if the price rises. The daily log return, i.e., the logarithm of the ratio of consecutive prices, follows a time-varying generalized autoregressive conditional heteroskedasticity (TV-GARCH) model [33 ] . Hence, the losses are dependent and their conditional distribution varies over time. More details about the model and the candidate grid are provided in Appendix C-B.
We set α = δ = 0.05 \alpha=\delta=0.05 α = δ = 0.05 and Λ = { 0.2 , 0.5 , 0.8 } \Lambda=\{0.2,0.5,0.8\} Λ = { 0.2 , 0.5 , 0.8 } . For c = 0.096 c=0.096 c = 0.096 , the assumption of Proposition 1 is satisfied with p t ( c ) ≤ p ˉ ( c ) = 0.0233 < α p_t(c)\le\bar{p}(c)=0.0233<\alpha p t ( c ) ≤ p ˉ ( c ) = 0.0233 < α . Panels (a), (b), and (d) in Figure 2 show one realization over 1000 trading days. In it, c = 0.096 c=0.096 c = 0.096 is certified at day 98 without risk exceedance, while c = 0.023 c=0.023 c = 0.023 is certified at day 725 after 21 risk exceedances. The exceedance risk of c = 0.007 c=0.007 c = 0.007 stays above α \alpha α , and this margin is not certified. The smallest certified margin in S t S_t S t takes eight values, from 0.06 at day 98 to 0.022 at day 937. Panel (c) compares fixed-gain tests for three margins over 5000 independent trials, showing averaged certification times. The black dotted curve is the bound (22) for c = 0.096 c=0.096 c = 0.096 . Finally, note that the exceedance risk of c = 0.023 c=0.023 c = 0.023 is below α \alpha α when c c c is certified, but later exceeds α \alpha α again. Hence, a certificate does not ensure that exceedance risk remains low. The next section accounts for such exceedance risk increases by restarting tests.
Figure 2. Sequential certification with time-varying stock losses. One test per candidate, α = δ = 0.05 \alpha= \delta= 0.05 α = δ = 0.05 ; α 0 \alpha_0 α 0 is not used. (a) Mixture evidence, shown above 0.001; markers: certification. (b) Smallest certified margin. (c) Mean capped certification times ± 2 \pm2 ± 2 standard errors over 5000 trials; dotted: bound for c = 0.096 c = 0.096 c = 0.096 . (d) Conditional risks; dotted: p ˉ ( 0.096 ) \bar{p}(0.096) p ˉ ( 0.096 ) ; vertical dashed: certification times. The legend in (b) applies to all panels.
Robustness Margins for Safe Control
Section IV provides statistical evidence that a candidate’s exceedance risk p s ( c ) p_s(c) p s ( c ) was below α \alpha α for some time s < t s < t s < t in the past. However, the exact time s s s is unknown. To use a certified margin for control, we have to account for a possible increase in exceedance risk from time s s s to the current time t t t .
In Section V-A, we develop a method to transfer a certified margin to the current time t t t via a deployment rule using one certificate per candidate. To reduce conservatism in this transfer, we also present repeated certification via parallel tests in Section V-B. Throughout, we make the following assumption to bound the increase in exceedance risk.
Assumption 2 (Bounding exceedance risk). Let c ∈ Γ c \in\Gamma c ∈ Γ be a margin, u t : = u t ( c ) u_t := u_t(c) u t := u t ( c ) be the control input at time t t t where u t ( c ) u_t(c) u t ( c ) follows (4)8 , and σ , τ ≥ 0 \sigma, \tau\ge0 σ , τ ≥ 0 be times with σ < τ ≤ t \sigma< \tau\le t σ < τ ≤ t . Then, there exist known constants L x , L u ≥ 0 L_x, L_u \ge0 L x , L u ≥ 0 and a F t \mathcal{F}_t F t -measurable bound Δ t ≥ 0 \Delta_t \ge0 Δ t ≥ 0 such that, for any s ∈ { σ , … , τ − 1 } s \in\{\sigma, \ldots, \tau- 1\} s ∈ { σ , … , τ − 1 } ,
p t ( c ) ≤ p s ( c ) + d t ( c ; σ , τ ) (23) p_t(c) \le p_s(c) + d_t(c; \sigma, \tau) \tag*{(23)} p t ( c ) ≤ p s ( c ) + d t ( c ; σ , τ ) (23)
holds almost surely with d t ( c ; σ , τ ) d_t(c; \sigma, \tau) d t ( c ; σ , τ ) being defined as
d t ( c ; σ , τ ) : = max σ ≤ s < τ { L x ∥ x t − x s ∥ + L u ∥ u t − u s ∥ + Δ t } . (24) d_t(c; \sigma, \tau) := \max_{\sigma\le s < \tau} \left\{L_x\lVert x_t - x_s\rVert+ L_u\lVert u_t - u_s\rVert+ \Delta_t\right\}. \tag*{(24)} d t ( c ; σ , τ ) := σ ≤ s < τ max { L x ∥ x t − x s ∥ + L u ∥ u t − u s ∥ + Δ t } . (24)
We note that σ \sigma σ and τ \tau τ denote the starting and certification times of a deployed test. The exceedance risk p t ( c ) p_t(c) p t ( c ) is bounded via (23), where the state and input terms in (24) account for changes in operating conditions, while Δ t \Delta_t Δ t accounts for additional risk increase. Appendix D provides sufficient conditions for obtaining L x L_x L x and L u L_u L u from derivative bounds on f f f , f ^ \hat{f} f ^ , and h h h and a bound on the density function of h ( f ^ ( x t , u t ) ) − h ( x t + 1 ) h(\hat{f}(x_t, u_t))-h(x_{t+1}) h ( f ^ ( x t , u t )) − h ( x t + 1 ) . We can obtain Δ t \Delta_t Δ t via a bound on changes in the distribution of the disturbance w t w_t w t . This bound has to be known or estimated from data.
Certificate Transfer and Deployment Guarantee
In this section, we set σ : = 0 \sigma:= 0 σ := 0 and τ : = τ ( c ) \tau:= \tau(c) τ := τ ( c ) , resembling the setting in Section IV. For each certified candidate, define d t ( c ) : = d t ( c ; 0 , τ ( c ) ) d_t(c) := d_t(c; 0, \tau(c)) d t ( c ) := d t ( c ; 0 , τ ( c )) . If p s ( c ) < α p_s(c) < \alpha p s ( c ) < α at some time s < τ ( c ) s < \tau(c) s < τ ( c ) , deploying c c c with d t ( c ) ≤ α 0 − α d_t(c) \le\alpha_0 - \alpha d t ( c ) ≤ α 0 − α ensures p t ( c ) < α + d t ( c ) ≤ α 0 p_t(c) < \alpha+ d_t(c) \le\alpha_0 p t ( c ) < α + d t ( c ) ≤ α 0 . We therefore define the set of deployable margins as
D t : = { c ∈ S t : d t ( c ) ≤ α 0 − α } . (25) \mathcal{D}_t := \{c \in\mathcal{S}_t : d_t(c) \le\alpha_0 - \alpha\}. \tag*{(25)} D t := { c ∈ S t : d t ( c ) ≤ α 0 − α } . (25)
Based on this reasoning, the controller u t u_t u t selects the smallest deployable margin, using c max c_{\max} c m a x if none qualifies:
u t : = u t ( c t ) , c t : = { min D t , D t ≠ ∅ , c max , D t = ∅ . (26) u_t := u_t(c_t), \qquad c_t := \begin{cases}
\min\mathcal{D}_t, & \mathcal{D}_t \ne\varnothing,\\
c_{\max}, & \mathcal{D}_t = \varnothing.
\end{cases} \tag*{(26)} u t := u t ( c t ) , c t := { min D t , c m a x , D t = ∅ , D t = ∅ . (26)
Certificates are retained, but their eligibility for deployment is checked at every decision time t t t using the current bound d t ( c ) d_t(c) d t ( c ) . Finally, define the event that the deployed margin satisfies the conditional risk limit at every decision time:
G d : = { p t ( c t ) ≤ α 0 for all t ∈ N 0 } . (27) \mathcal{G}^d := \{p_t(c_t) \le\alpha_0 \text{ for all } t \in\mathbb{N}_0\}. \tag*{(27)} G d := { p t ( c t ) ≤ α 0 for all t ∈ N 0 } . (27)
Theorem 2 (Deployment Guarantee). Consider the system in (1) under the safety filter in (2.6). Let α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) . If Assumptions 1 and 2 hold, then we have that
P ( G d ) ≥ 1 − δ . (28) \mathbb{P}(\mathcal{G}^d) \ge1-\delta. \tag*{(28)} P ( G d ) ≥ 1 − δ . (28)
Proof. See Appendix B-B. □
On G d \mathcal{G}^d G d , (7) gives P ( h ( x t + 1 ) < ( 1 − γ ) h ( x t ) ∣ F t ) ≤ p t ( c t ) ≤ α 0 \mathbb{P}(h(x_{t+1}) < (1-\gamma)h(x_t) \mid\mathcal{F}_t) \le p_t(c_t) \le\alpha_0 P ( h ( x t + 1 ) < ( 1 − γ ) h ( x t ) ∣ F t ) ≤ p t ( c t ) ≤ α 0 simultaneously for all t ∈ N 0 t \in\mathbb{N}_0 t ∈ N 0 . Thus, with probability at least 1 − δ 1-\delta 1 − δ , the conditional exceedance risk of a next-step CBF violation remains at most α 0 \alpha_0 α 0 along the entire closed-loop trajectory. Later, in Corollary 1, we convert this guarantee into a joint safety bound for P ( ∃ t : x t ∉ C ) \mathbb{P}(\exists t : x_t \notin C) P ( ∃ t : x t ∈ / C ) .
A single certificate can be conservative as operating conditions change. We therefore introduce parallel tests next.
Repeated Certification and Parallel Tests
A certified margin c c c no longer supports deployment when d t ( c ) > α 0 − α d_t(c) > \alpha_0 - \alpha d t ( c ) > α 0 − α . Starting new tests in parallel allows the controller to obtain certificates from more recent observations. In particular, for each candidate c ∈ Γ c \in\Gamma c ∈ Γ , let r ∈ N 0 r \in\mathbb{N}_0 r ∈ N 0 index tests in the order they start, and let σ r \sigma_r σ r and τ r ( c ) \tau_r(c) τ r ( c ) denote the starting and certification times of test r r r , respectively.
We start new tests for all candidates every K K K time steps, which gives σ r = ( r − 1 ) K \sigma_r = (r - 1)K σ r = ( r − 1 ) K for K ∈ N > 0 K \in\mathbb{N}_{>0} K ∈ N > 0 . Unfinished tests continue in parallel. At time t t t , each unfinished test started before t t t uses the same newly observed loss Y t − 1 Y_{t-1} Y t − 1 , but accumulates evidence from its own starting time σ r \sigma_r σ r .
To obtain a guarantee that holds jointly over all tests, we assign each test index r r r the error level δ r : = δ κ ( r + 1 ) ln 2 ( r + 1 ) \delta_r := \frac{\delta}{\kappa(r+1)\ln^2(r+1)} δ r := κ ( r + 1 ) l n 2 ( r + 1 ) δ , with κ : = ∑ n = 2 ∞ 1 n ln 2 n ≈ 2.11 \kappa:= \sum_{n=2}^{\infty} \frac{1}{n\ln^2 n} \approx2.11 κ := ∑ n = 2 ∞ n l n 2 n 1 ≈ 2.11 . The constant κ \kappa κ normalizes the allocation so that ∑ r ≥ 1 δ r = δ \sum_{r\ge1}\delta_r = \delta ∑ r ≥ 1 δ r = δ . The same level δ r \delta_r δ r is used for every candidate c ∈ Γ c \in\Gamma c ∈ Γ . The common starting times σ r \sigma_r σ r and gains Λ \Lambda Λ allow the ordering argument of Theorem 1 to give a joint error bound δ r \delta_r δ r over Γ \Gamma Γ for each test index r r r . We proceed similarly as before. For each σ r \sigma_r σ r , we initialize E σ r λ , r ( c ) = 1 E_{\sigma_r}^{\lambda,r}(c)=1 E σ r λ , r ( c ) = 1 for every λ ∈ Λ \lambda\in\Lambda λ ∈ Λ and define
E t λ , r ( c ) = E t − 1 λ , r ( c ) [ 1 + λ ( α − Z t − 1 ( c ) ) ] E_t^{\lambda,r}(c)=E_{t-1}^{\lambda,r}(c)[1+\lambda(\alpha-Z_{t-1}(c))] E t λ , r ( c ) = E t − 1 λ , r ( c ) [ 1 + λ ( α − Z t − 1 ( c ))]
for t > σ r t>\sigma_r t > σ r . Let E t r ( c ) E_t^r(c) E t r ( c ) be the uniform mixture of these processes, as in (16) , and define
τ r ( c ) : = inf { t > σ r : E t r ( c ) ≥ 1 δ r } . (29) \tau_r(c):=\inf\left\{t>\sigma_r:E_t^r(c)\ge\frac{1}{\delta_r}\right\}. \tag*{(29)} τ r ( c ) := inf { t > σ r : E t r ( c ) ≥ δ r 1 } . (29)
with inf ∅ = ∞ \inf\varnothing=\infty inf ∅ = ∞ . If τ r ( c ) < ∞ \tau_r(c)<\infty τ r ( c ) < ∞ , the test stops and certificate ( c , r ) (c,r) ( c , r ) is stored. Overlapping tests may certify in a different order from the one in which they started.
For each certificate ( c , r ) (c,r) ( c , r ) with τ r ( c ) ≤ t \tau_r(c)\le t τ r ( c ) ≤ t , define its current risk-increase bound as
d t ( r ) ( c ) : = d t ( c ; σ r , τ r ( c ) ) . (30) d_t^{(r)}(c):=d_t(c;\sigma_r,\tau_r(c)). \tag*{(30)} d t ( r ) ( c ) := d t ( c ; σ r , τ r ( c )) . (30)
The set S t S_t S t now contains every candidate with at least one certificate issued by time t t t , i.e., S t : = { c ∈ Γ : ∃ r ∈ N > 0 , τ r ( c ) ≤ t } S_t:=\{c\in\Gamma:\exists r\in\mathbb{N}_{>0},\ \tau_r(c)\le t\} S t := { c ∈ Γ : ∃ r ∈ N > 0 , τ r ( c ) ≤ t } . Next, to obtain the set D t D_t D t , we replace d t ( c ) d_t(c) d t ( c ) by min r : τ r ( c ) ≤ t d t ( r ) ( c ) \min_{r:\tau_r(c)\le t}d_t^{(r)}(c) min r : τ r ( c ) ≤ t d t ( r ) ( c ) in (25) , that is:
D t : = { c ∈ S t : min r : τ r ( c ) ≤ t d t ( r ) ( c ) ≤ α 0 − α } . (31) D_t:=\left\{c\in S_t:\min_{r:\tau_r(c)\le t}d_t^{(r)}(c)\le\alpha_0-\alpha\right\}. \tag*{(31)} D t := { c ∈ S t : r : τ r ( c ) ≤ t min d t ( r ) ( c ) ≤ α 0 − α } . (31)
Thus, a margin qualifies if at least one of its certificates satisfies the deployment condition. The controller selects c t c_t c t and u t u_t u t according to (26) , with D t D_t D t defined by (31) . We next extend the guarantee for G d G^d G d in (27) to repeated testing.
Theorem 3 (Deployment Guarantee for Repeated Tests). Consider the system in (1) under the safety filter in (26) , with D t D_t D t as in (31) and certification rule (29) . Let α ∈ ( 0 , 1 ) \alpha\in(0,1) α ∈ ( 0 , 1 ) and δ ∈ ( 0 , 1 ) \delta\in(0,1) δ ∈ ( 0 , 1 ) . If Assumptions 1 and 2 hold, then
P ( G d ) ≥ 1 − δ . (32) \mathbb{P}(G^d)\ge1-\delta. \tag*{(32)} P ( G d ) ≥ 1 − δ . (32)
Proof. See Appendix B-C.
Allocating the budget δ \delta δ across test starts via δ r \delta_r δ r preserves the joint deployment guarantee, i.e., with probability at least 1 − δ 1-\delta 1 − δ , p t ( c t ) ≤ α 0 p_t(c_t)\le\alpha_0 p t ( c t ) ≤ α 0 holds simultaneously for all t ∈ N 0 t\in\mathbb{N}_0 t ∈ N 0 . Theorem 3 also yields a bound on the probability of the system being unsafe over bounded horizons.
Corollary 1 (Finite-horizon safety). Under the conditions of Theorem 3, let T ∈ N > 0 T\in\mathbb{N}_{>0} T ∈ N > 0 and x 0 ∈ C x_0\in\mathcal{C} x 0 ∈ C . Further, define
n 0 : = ⌈ log ( 1 / δ ) log ( 1 + max λ ∈ Λ λ α ) ⌉ . n_0:=\left\lceil\frac{\log(1/\delta)}{\log(1+\max_{\lambda\in\Lambda}\lambda\alpha)}\right\rceil. n 0 := ⌈ log ( 1 + max λ ∈ Λ λ α ) log ( 1/ δ ) ⌉ . Then, it holds that
P ( ∃ t ∈ { 0 , … , T } : x t ∉ C ) ≤ 1 { T > n 0 } min { 1 , δ + 1 − ( 1 − α 0 ) T − n 0 } . (33) \mathbb{P}\left(\exists t\in\{0,\ldots,T\}:x_t\notin\mathcal{C}\right)\le\mathbf{1}_{\{T>n_0\}}\min\left\{1,\delta+1-(1-\alpha_0)^{T-n_0}\right\}. \tag*{(33)} P ( ∃ t ∈ { 0 , … , T } : x t ∈ / C ) ≤ 1 { T > n 0 } min { 1 , δ + 1 − ( 1 − α 0 ) T − n 0 } . (33)
Proof. See Appendix B-D.
Equation (33) bounds the probability that the state x t x_t x t leaves the set C \mathcal{C} C within T T T steps, accounting for the initial n 0 n_0 n 0 time steps in which the controller necessarily uses the safe margin c max c_{\max} c m a x . It therefore concerns safety over an entire finite horizon, whereas the coverage guarantees of online conformal prediction [34 ] , [35 ] are averaged over time.
Numerical Examples
We evaluate the safety controller (26) with repeated certification in two robot-navigation scenarios: a corridor with cones (Corridor) and a maze with walls and cones (Maze). We assess the theoretical guarantees empirically and compare safety and navigation performance with existing methods. For clarity of presentation we present the Maze results in this section, and the Corridor results in Appendix F-C.
Setup
We model the robot as a second-order unicycle navigating a maze with walls and cones. The goal of the robot is to reach a goal, using a nominal controller u t n o m u_t^{\mathrm{nom}} u t nom , while avoiding the obstacles. The barrier function accounts for obstacle clearance at a fixed point ahead of the robot and its braking distance. The robot model and environment are detailed in Appendix F-A. The true system differs from the model through an additive disturbance w t w_t w t , which models a bounded position displacement with a time-varying magnitude distribution. Its direction is uniformly distributed over [ 0 , 2 π ) [0,2\pi) [ 0 , 2 π ) conditional on its magnitude and F t \mathcal{F}_t F t . To compute the risk-increase bounds (30) , we use this directional model, a known magnitude bound, and a bound on changes in the conditional disturbance distribution. The magnitude distribution itself is unknown to the controller. We compute the risk-increase bounds (30) using the analysis in Appendix D-B. The parameter values and simulation details are given in Appendix F-A. The trajectories are simulated in Python, and the trajectories are visualized in NVIDIA Isaac Sim. The simulation code, data, and supplementary ablation report are available at github.com/omidmirza/ecbf-ablation.
A setting ( α 0 , α , δ , K ) (\alpha_0,\alpha,\delta,K) ( α 0 , α , δ , K ) consists of the CBF-violation probability α 0 \alpha_0 α 0 , the margin insufficiency α \alpha α , the error confidence δ \delta δ , and the test period K K K (measured in control steps t t t ). The tests follow Section V-B, with the deployable set D t D_t D t in (31) .
We compare five settings, S1-S5, with four variants of our method at each setting, as described below. The settings and results are reported in Table I. Additional parameter sweeps are provided in the supplementary ablation report [36 ] .
Methods and Metrics
a) Method variations: We implement four variants that differ only in the risk-increase bound d t ( r ) ( c ) d_t^{(r)}(c) d t ( r ) ( c ) . We derive these bounds using the nominal dynamics, obstacle geometry, and a bound on changes in the disturbance distribution. Recall that smaller bounds d t ( r ) ( c ) d_t^{(r)}(c) d t ( r ) ( c ) make the deployment condition d t ( r ) ( c ) ≤ α 0 − α d_t^{(r)}(c)\le\alpha_0-\alpha d t ( r ) ( c ) ≤ α 0 − α easier to satisfy. We next summarize these four variants, but refer to Appendix D-B for a detailed description. Variant V-U uses uniform bounds for L x L_x L x , L u L_u L u , and Δ t \Delta_t Δ t across all candidate margins c ∈ Γ c\in\Gamma c ∈ Γ . In the remaining three variants L x L_x L x , L u L_u L u , or Δ t \Delta_t Δ t depend on the candidate c c c . V-Δ \Delta Δ tightens these bounds for each candidate depending on the shape of nearby obstacles, here walls and cones. V-L instead tightens the bound on risk changes caused by changes in the distance between the predicted nose point of the robot and nearby obstacles. V-C combines both refinements and also bounds the effect of disturbance-distribution changes more tightly. All variants account for changes in the disturbance distribution: V-U, V-Δ \Delta Δ , and V-L add the full drift bound Δ t \Delta_t Δ t , whereas V-C uses the geometry and candidate margin to reduce its contribution to the risk-increase bound.
b) Baselines: The baselines are unfiltered nominal control u t n o m u_t^{\mathrm{nom}} u t nom , CBF filters with fixed margins 0 0 0 and c max c_{\max} c m a x ; adaptive conformal inference (ACI) [34 ] , as adapted in [19 ] ; and quantile tracking (QT) [37 ] , as adapted in [18 ] . ACI and QT target an asymptotic average loss-exceedance frequency of α 0 \alpha_0 α 0 , i.e., 1 T ∑ t = 0 T − 1 Z t ( c t ) ≈ α 0 \frac{1}{T}\sum_{t=0}^{T-1}Z_t(c_t)\approx\alpha_0 T 1 ∑ t = 0 T − 1 Z t ( c t ) ≈ α 0 for large T T T with the exceedance indicator Z t Z_t Z t defined in (12) . This target allows the exceedance risk p t ( c t ) p_t(c_t) p t ( c t ) to be larger than α 0 \alpha_0 α 0 at some time instants. In contrast, Theorem 3 gives P ( p t ( c t ) ≤ α 0 , ∀ t ∈ N 0 ) ≥ 1 − δ \mathbb{P}(p_t(c_t)\le\alpha_0,\forall t\in\mathbb{N}_0)\ge1-\delta P ( p t ( c t ) ≤ α 0 , ∀ t ∈ N 0 ) ≥ 1 − δ . Thus, with probability at least 1 − δ 1-\delta 1 − δ , the exceedance risk limit holds along the entire trajectory. Since α 0 > 0 \alpha_0>0 α 0 > 0 , this does not rule out individual loss exceedances or CBF violations. Implementation details are provided in Appendix F-A.
c) Metrics: For each method, scenario, and setting, we simulate N M C = 200 N_{\mathrm{MC}}=200 N MC = 200 trajectories for validation. We report the mean mission time T ^ m i s \hat{T}_{\mathrm{mis}} T ^ mis , assigning the full simulation horizon to unsuccessful trajectories. We also
report the normalized mean robustness margin m ^ c / c max \hat{m}_c/c_{\max} m ^ c / c m a x and mean CBF-violation fraction q ^ C B F + \hat{q}^{+}_{\mathrm{CBF}} q ^ CBF + . For this, we compute the average margin and the average fraction of time steps with a CBF violation along each trajectory, and then average these values across all trajectories resulting in m ^ c \hat{m}_c m ^ c and q ^ C B F + \hat{q}^{+}_{\mathrm{CBF}} q ^ CBF + .
We also report m ^ p max \hat{m}_p^{\max} m ^ p m a x as the average of the largest exceedance risk p t ( c t ) p_t(c_t) p t ( c t ) across all trajectories that use a margin below c max c_{\max} c m a x . We approximate p t ( c t ) p_t(c_t) p t ( c t ) through an estimate p ^ t ( c t ) \hat{p}_t(c_t) p ^ t ( c t ) , see Appendix E-A for details. The metric m ^ p max \hat{m}_p^{\max} m ^ p m a x focuses on certified margins; the fallback has p t ( c max ) = 0 p_t(c_{\max})=0 p t ( c m a x ) = 0 .
Lastly, we report q ^ d e p \hat{q}_{\mathrm{dep}} q ^ dep as the fraction of trajectories in which the deployed margin is such that p t ( c t ) < α 0 p_t(c_t)<\alpha_0 p t ( c t ) < α 0 at least once.⁹ This approximates the complement of G d \mathcal{G}^{d} G d , which is upper bounded by δ \delta δ following Theorem 3. We also report q ^ c e r t \hat{q}_{\mathrm{cert}} q ^ cert as the fraction of trajectories containing a false certification, i.e., a candidate that is certified although its exceedance risk remained above α 0 \alpha_0 α 0 at all times. Theorem 3 bounds this false-certification probability by δ \delta δ . Details and additional metrics are provided in Appendix E.
Results
a) Statistical guarantees: Across all five settings in Table I , every certified variant has q ^ d e p = 0 % \hat{q}_{\mathrm{dep}}=0\% q ^ dep = 0% over 200 trajectories, with a 95% upper confidence bound of 1.5%. False-certification frequencies satisfy q ^ c e r t ≤ 2.5 % \hat{q}_{\mathrm{cert}}\le2.5\% q ^ cert ≤ 2.5% . For both events, the upper confidence bounds are below the corresponding budget δ \delta δ , consistent with Theorem 3. In comparison, ACI and QT have q ^ d e p = 99.5 % \hat{q}_{\mathrm{dep}}=99.5\% q ^ dep = 99.5% and 65.5%, respectively. Their objective concerns the exceedance frequency averaged over time. Our guarantee instead ensures, with probability at least 1 − δ 1-\delta 1 − δ , that p t ( c t ) ≤ α 0 p_t(c_t)\le\alpha_0 p t ( c t ) ≤ α 0 simultaneously at all decision times.
Table I. Maze results, α 0 = 0.30 \alpha_0=0.30 α 0 = 0.30 . Means ± \pm ± SD. Event frequencies in % (95% upper confidence bounds). T ^ m i s \hat{T}_{\mathrm{mis}} T ^ mis in s and q ^ C B F + \hat{q}^{+}_{\mathrm{CBF}} q ^ CBF + in %. Bold: best variant.
b) Margin and mission time: V-C achieves the smallest mean margin m ^ c / c max \hat{m}_{\mathrm{c}}/c_{\max} m ^ c / c m a x among the certified variants at every setting in Table I . At S1, it reduces the mean margin by 48% relative to c max c_{\max} c m a x and shortens T ^ m i s \hat{T}_{\mathrm{mis}} T ^ mis from 54.4 to 51.3 s. Its mean margin and mission time are close to those of QT (0.52 versus 0.50 and 51.3 versus 51.2 s), with a lower CBF-violation fraction q ^ C B F \hat{q}_{\mathrm{CBF}} q ^ CBF (7.4% versus 8.0%).
At the same setting, V-U uses a mean margin of 0.97 c max 0.97c_{\max} 0.97 c m a x and has q ^ C B F = 0.1 % \hat{q}_{\mathrm{CBF}}=0.1\% q ^ CBF = 0.1% . Thus, the smaller margins enabled by the tighter bounds in V-C improve navigation performance but allow more realized CBF violations. These violations can occur even when the exceedance risk remains within its limit.
c) Illustrative trajectory: Figure 3 shows V-L at S3. Panel (a) compares its paths with those obtained using c max c_{\max} c m a x . Panel (b) shows how the selected margin varies, including temporary returns to c max c_{\max} c m a x . Panel (c) marks the observed loss exceedances Y t > c t Y_t>c_t Y t > c t , which occur at 12.21% of the steps. Despite these exceedances, the exceedance risk p t ( c t ) p_t(c_t) p t ( c t ) , measured via p ^ t ( c t ) \hat{p}_t(c_t) p ^ t ( c t ) , remains below α 0 = 0.30 \alpha_0=0.30 α 0 = 0.30 in panel (d). This illustrates the distinction between realized exceedances and the exceedance risk bounded by our theory.
Figure 3. Maze, S3 with V-L. (a) Paths and clearance boundaries, with an enlarged view near an obstacle. (b) Selected margin for one trajectory and the mean across trajectories. (c) Loss and margin; crosses mark Y t > c t Y_t>c_t Y t > c t . (d) Estimated exceedance risk. Panels (b)-(d) show the same example trajectory.
d) Effect of the parameters: Reducing δ \delta δ from 0.20 in S1 to 0.15 in S2 raises the certification threshold and slightly increases the mean margins in Table I .
Changing α \alpha α has two competing effects: a smaller α \alpha α makes certification harder but increases the deployment buffer α 0 − α \alpha_0-\alpha α 0 − α . From S1 to S3, α \alpha α decreases from 0.25 to 0.20, with all other parameters unchanged. The mean margin increases from 0.52 c max 0.52c_{\max} 0.52 c m a x to 0.61 c max 0.61c_{\max} 0.61 c m a x for V-C, but decreases from 0.97 c max 0.97c_{\max} 0.97 c m a x to 0.82 c max 0.82c_{\max} 0.82 c m a x for V-U and V-Δ \Delta Δ . The resulting trade-off therefore depends on the risk-increase bound used.
Further comparisons of α \alpha α , δ \delta δ , and the test period K K K , together with additional ablations, are provided in the supplementary ablation report [36 ] .
e) Additional results and checks: Appendix § 14 -A examines sensitivity to reducing the supplied risk-increase bounds d r ( c ) ( c ) d_{\mathrm{r}}^{(c)}(c) d r ( c ) ( c ) . These reductions improve the overall performance but may violate Assumption 2, in which case the guarantees no longer apply. Further comparisons, including single and parallel tests, are provided in the supplementary ablation report [36 ] .
References
Appendix A: Monotone certification
Lemma 1. For every t ≥ 0 t \ge0 t ≥ 0 and c , c ′ ∈ Γ c,c' \in\Gamma c , c ′ ∈ Γ :
c ′ ≥ c ⟹ E t ( c ′ ) ≥ E t ( c ) . c' \ge c \quad\Longrightarrow\quad E_t(c') \ge E_t(c). c ′ ≥ c ⟹ E t ( c ′ ) ≥ E t ( c ) . Consequently, if c ∈ S t c \in S_t c ∈ S t and c ′ ≥ c c' \ge c c ′ ≥ c , then c ′ ∈ S t c' \in S_t c ′ ∈ S t .
Proof. If c ′ ≥ c c' \ge c c ′ ≥ c , then Z s ( c ′ ) ≤ Z s ( c ) Z_s(c') \le Z_s(c) Z s ( c ′ ) ≤ Z s ( c ) for every s s s . Since λ ≥ 0 \lambda\ge0 λ ≥ 0 :
1 + λ ( α − Z s ( c ′ ) ) ≥ 1 + λ ( α − Z s ( c ) ) ≥ 0. 1+\lambda(\alpha-Z_s(c')) \ge1+\lambda(\alpha-Z_s(c)) \ge0. 1 + λ ( α − Z s ( c ′ )) ≥ 1 + λ ( α − Z s ( c )) ≥ 0.
Both processes start at one, i.e., E 0 λ ( c ) = E 0 λ ( c ′ ) = 1 E_0^\lambda(c)=E_0^\lambda(c')=1 E 0 λ ( c ) = E 0 λ ( c ′ ) = 1 , and use the same gain, so multiplying these factors yields E t λ ( c ′ ) ≥ E t λ ( c ) E_t^\lambda(c') \ge E_t^\lambda(c) E t λ ( c ′ ) ≥ E t λ ( c ) . Averaging over the common set A A A gives E t ( c ′ ) ≥ E t ( c ) E_t(c') \ge E_t(c) E t ( c ′ ) ≥ E t ( c ) . If c ∈ S t c \in S_t c ∈ S t , then E s ( c ) ≥ 1 / δ E_s(c) \ge1/\delta E s ( c ) ≥ 1/ δ for some s ≤ t s \le t s ≤ t . Hence E s ( c ′ ) ≥ 1 / δ E_s(c') \ge1/\delta E s ( c ′ ) ≥ 1/ δ , which implies c ′ ∈ S t c' \in S_t c ′ ∈ S t . □
Appendix B: Proofs of Main Theoretical Results
Proof of Theorem 1
Proof. Set L − 1 : = Γ \mathcal{L}_{-1}:=\Gamma L − 1 := Γ and, for t ≥ 0 t \ge0 t ≥ 0 , define
I t : = { c ∈ Γ : p s ( c ) ≥ α , s = 0 , … , t } . \mathcal{I}_t:=\{c\in\Gamma:p_s(c)\ge\alpha,\ s=0,\ldots,t\}. I t := { c ∈ Γ : p s ( c ) ≥ α , s = 0 , … , t } .
This set contains the candidates that have remained α \alpha α -insufficient through time t t t . Since p s ( c ) p_s(c) p s ( c ) is nonincreasing in c c c , membership of c c c within I t \mathcal{I}_t I t implies membership of every smaller candidate. Hence, I t \mathcal{I}_t I t is an initial segment of Γ \Gamma Γ . Moreover, we have that I t ⊆ I t − 1 \mathcal{I}_t\subseteq\mathcal{I}_{t-1} I t ⊆ I t − 1 .
Whenever I t ≠ ∅ \mathcal{I}_t\ne\varnothing I t = ∅ , define b t : = max I t b_t:=\max\mathcal{I}_t b t := max I t , with b − 1 = c ( M ) b_{-1}=c^{(M)} b − 1 = c ( M ) . The variable b t b_t b t is F t \mathcal{F}_t F t -measurable and satisfies p t ( b t ) ≥ α p_t(b_t)\ge\alpha p t ( b t ) ≥ α and b t ≤ b t − 1 b_t\le b_{t-1} b t ≤ b t − 1 . Define the auxiliary process B 0 : = 1 B_0:=1 B 0 := 1 and
B t + 1 : = { E t + 1 ( b t ) , I t ≠ ∅ , 0 , I t = ∅ . B_{t+1}:=
\begin{cases}
E_{t+1}(b_t), & \mathcal{I}_t\ne\varnothing,\\
0, & \mathcal{I}_t=\varnothing.
\end{cases} B t + 1 := { E t + 1 ( b t ) , 0 , I t = ∅ , I t = ∅ .
On { I t ≠ ∅ } \{\mathcal{I}_t\ne\varnothing\} { I t = ∅ } , equation (15) and linearity of the conditional expectation give
E [ B t + 1 ∣ F t ] ≤ E t ( b t ) ≤ E t ( b t − 1 ) = B t . \mathbb{E}[B_{t+1}\mid\mathcal{F}_t]\le E_t(b_t)\le E_t(b_{t-1})=B_t. E [ B t + 1 ∣ F t ] ≤ E t ( b t ) ≤ E t ( b t − 1 ) = B t .
The second inequality follows from Lemma 1. On { I t = ∅ } \{\mathcal{I}_t=\varnothing\} { I t = ∅ } , B t + 1 = 0 B_{t+1}=0 B t + 1 = 0 , so the same inequality holds. All update factors are bounded, ensuring integrability at each finite time. Thus, ( B t ) t ≥ 0 (B_t)_{t\ge0} ( B t ) t ≥ 0 is a nonnegative supermartingale with B 0 = 1 B_0=1 B 0 = 1 .
If G c \mathcal{G}^c G c occurs, there exists c ∈ Γ c\in\Gamma c ∈ Γ with τ ( c ) < ∞ \tau(c)<\infty τ ( c ) < ∞ such that p s ( c ) ≥ α p_s(c)\ge\alpha p s ( c ) ≥ α for every s < τ ( c ) s<\tau(c) s < τ ( c ) . Setting t = τ ( c ) − 1 t=\tau(c)-1 t = τ ( c ) − 1 gives c ∈ I t c\in\mathcal{I}_t c ∈ I t and hence c ≤ b t c\le b_t c ≤ b t . By monotonicity, at t = τ ( c ) − 1 t=\tau(c)-1 t = τ ( c ) − 1 :
B τ ( c ) = E τ ( c ) ( b τ ( c ) − 1 ) ≥ E τ ( c ) ( c ) ≥ 1 δ . B_{\tau(c)}=E_{\tau(c)}(b_{\tau(c)-1})\ge E_{\tau(c)}(c)\ge\frac{1}{\delta}. B τ ( c ) = E τ ( c ) ( b τ ( c ) − 1 ) ≥ E τ ( c ) ( c ) ≥ δ 1 .
Thus, whenever G c \mathcal{G}^c G c occurs, B t B_t B t reaches 1 / δ 1/\delta 1/ δ at some finite time. Consequently, G c ⊆ { sup t ≥ 0 B t ≥ 1 / δ } \mathcal{G}^c\subseteq\{\sup_{t\ge0}B_t\ge1/\delta\} G c ⊆ { sup t ≥ 0 B t ≥ 1/ δ } . Since ( B t ) t ≥ 0 (B_t)_{t\ge0} ( B t ) t ≥ 0 is a nonnegative supermartingale with B 0 = 1 B_0=1 B 0 = 1 , Ville’s inequality yields P ( G c ) ≤ δ \mathbb{P}(\mathcal{G}^c)\le\delta P ( G c ) ≤ δ , or equivalently, P ( G ) ≥ 1 − δ \mathbb{P}(\mathcal{G})\ge1-\delta P ( G ) ≥ 1 − δ . □
Proof of Theorem 2
Proof. Consider the event G \mathcal{G} G defined in (19) and fix a time t ∈ N 0 t\in\mathbb{N}_0 t ∈ N 0 . If D t = ∅ \mathcal{D}_t=\varnothing D t = ∅ , we have that c t = c max c_t=c_{\max} c t = c m a x . In this case, Assumption 1 gives p t ( c t ) = 0 p_t(c_t)=0 p t ( c t ) = 0 almost surely. Otherwise, i.e., D t ≠ ∅ \mathcal{D}_t\ne\varnothing D t = ∅ , the deployment rule selects c t = min D t c_t=\min\mathcal{D}_t c t = min D t and it holds that
τ ( c t ) ≤ t , d t ( c t ) ≤ α 0 − α , u t = u t ( c t ) . \tau(c_t)\le t,\qquad d_t(c_t)\le\alpha_0-\alpha,\qquad u_t=u_t(c_t). τ ( c t ) ≤ t , d t ( c t ) ≤ α 0 − α , u t = u t ( c t ) .
On G \mathcal{G} G , there is an integer 0 ≤ s < τ ( c t ) 0\le s<\tau(c_t) 0 ≤ s < τ ( c t ) such that p s ( c t ) < α p_s(c_t)<\alpha p s ( c t ) < α . Applying Assumption 2 with σ = 0 \sigma=0 σ = 0 and τ = τ ( c t ) \tau=\tau(c_t) τ = τ ( c t ) gives
p t ( c t ) ≤ p s ( c t ) + d t ( c t ) < α + ( α 0 − α ) = α 0 . p_t(c_t)\le p_s(c_t)+d_t(c_t)<\alpha+(\alpha_0-\alpha)=\alpha_0. p t ( c t ) ≤ p s ( c t ) + d t ( c t ) < α + ( α 0 − α ) = α 0 .
Since decision times are countable, these bounds hold almost surely simultaneously for all t ∈ N 0 t\in\mathbb{N}_0 t ∈ N 0 on G \mathcal{G} G . Thus, by (27),
G ⊆ G d almost surely . \mathcal{G}\subseteq\mathcal{G}^d\quad\text{almost surely}. G ⊆ G d almost surely .
Theorem 1 then gives
P ( G d ) ≥ P ( G ) ≥ 1 − δ \mathbb{P}(\mathcal{G}^d)\ge\mathbb{P}(\mathcal{G})\ge1-\delta P ( G d ) ≥ P ( G ) ≥ 1 − δ
which proves (28). □
Proof of Theorem 3
Proof. Fix r ∈ N 0 r\in\mathbb{N}_0 r ∈ N 0 and recall that all candidates c ∈ Γ c\in\Gamma c ∈ Γ start a test r r r at σ r = ( r − 1 ) K \sigma_r=(r-1)K σ r = ( r − 1 ) K . Define the event
G r : = { ∀ c ∈ Γ : τ r ( c ) < ∞ ⟹ ∃ s ∈ N 0 : σ r ≤ s < τ r ( c ) , p s ( c ) < α } . \mathcal{G}_r:=\{\forall c\in\Gamma:\tau_r(c)<\infty\Longrightarrow\exists s\in\mathbb{N}_0:\sigma_r\le s<\tau_r(c),\ p_s(c)<\alpha\}. G r := { ∀ c ∈ Γ : τ r ( c ) < ∞ ⟹ ∃ s ∈ N 0 : σ r ≤ s < τ r ( c ) , p s ( c ) < α } .
Following equation (14), we first define the variable
E t λ , r ( c ) : = ∏ s = σ r t − 1 [ 1 + λ ( α − Z s ( c ) ) ] , t ≥ σ r (34) E_t^{\lambda,r}(c):=\prod_{s=\sigma_r}^{t-1}[1+\lambda(\alpha-Z_s(c))],\qquad t\ge\sigma_r \tag*{(34)} E t λ , r ( c ) := s = σ r ∏ t − 1 [ 1 + λ ( α − Z s ( c ))] , t ≥ σ r (34)
with E λ , r λ , r ( c ) = 1 E_{\lambda,r}^{\lambda,r}(c)=1 E λ , r λ , r ( c ) = 1 . Further, following equation (16) , let E t λ , r ( c ) E_t^{\lambda,r}(c) E t λ , r ( c ) denote their uniform mixture. These product variables E t λ , r ( c ) E_t^{\lambda,r}(c) E t λ , r ( c ) are defined even after certification τ r ( c ) \tau_r(c) τ r ( c ) . They agree with the evidence up to and including τ r ( c ) \tau_r(c) τ r ( c ) , so their first crossing of 1 / δ r 1/\delta_r 1/ δ r occurs at the same certification time.
Since Z s ( c ) Z_s(c) Z s ( c ) is nonincreasing in c c c and the admissible gains keep every factor nonnegative, E t λ , r ( c ) E_t^{\lambda,r}(c) E t λ , r ( c ) and E t r ( c ) E_t^r(c) E t r ( c ) are nondecreasing in c c c (similar to Lemma 1). All candidates share the same starting time, gains, and threshold. Applying Theorem 1 to the shifted observations ( Y σ r + s ) s ≥ 0 (Y_{\sigma_r+s})_{s\geq0} ( Y σ r + s ) s ≥ 0 , with filtration ( F σ r + s ) s ≥ 0 (\mathcal{F}_{\sigma_r+s})_{s\geq0} ( F σ r + s ) s ≥ 0 and error level δ r \delta_r δ r , therefore gives
P ( G r ) ≥ 1 − δ r (35) \mathbb{P}(G_r) \geq1-\delta_r \tag*{(35)} P ( G r ) ≥ 1 − δ r (35)
where no independence between tests is required.
Consider the event ⋂ r ≥ 1 G r \bigcap_{r\geq1}G_r ⋂ r ≥ 1 G r and fix a time t t t . Following the proof of Theorem 2, if D ˉ t = ∅ \bar{D}_t=\emptyset D ˉ t = ∅ , the fallback use c t = c max c_t=c_{\max} c t = c m a x satisfies p t ( c t ) ≤ α 0 p_t(c_t)\leq\alpha_0 p t ( c t ) ≤ α 0 by Assumption 1.
Otherwise, set c = c t c=c_t c = c t . By (26), c t ∈ D t c_t\in D_t c t ∈ D t and u t = u t ( c ) u_t=u_t(c) u t = u t ( c ) . The definition (31) therefore provides an index r ∈ N > 0 r\in\mathbb{N}_{>0} r ∈ N > 0 such that
τ r ( c ) ≤ t , d t ( r ) ( c ) ≤ α 0 − α . \tau_r(c)\leq t,\qquad d_t^{(r)}(c)\leq\alpha_0-\alpha. τ r ( c ) ≤ t , d t ( r ) ( c ) ≤ α 0 − α .
Since τ r ( c ) < ∞ \tau_r(c)<\infty τ r ( c ) < ∞ , the event G r G_r G r provides an integer s s s satisfying
σ r ≤ s < τ r ( c t ) , p s ( c t ) < α . \sigma_r\leq s<\tau_r(c_t),\qquad p_s(c_t)<\alpha. σ r ≤ s < τ r ( c t ) , p s ( c t ) < α .
Apply Assumption 2 with σ = σ r \sigma=\sigma_r σ = σ r and τ = τ r ( c t ) \tau=\tau_r(c_t) τ = τ r ( c t ) . Using (30) gives
p t ( c t ) ≤ p s ( c t ) + d t ( r ) ( c t ) < α + d t ( r ) ( c t ) ≤ α 0 . p_t(c_t)\leq p_s(c_t)+d_t^{(r)}(c_t)<\alpha+d_t^{(r)}(c_t)\leq\alpha_0. p t ( c t ) ≤ p s ( c t ) + d t ( r ) ( c t ) < α + d t ( r ) ( c t ) ≤ α 0 .
Because the candidates, test indices, and decision times form countable sets, these implications hold almost surely simultaneously. Hence, by (27):
⋂ r ≥ 1 G r ⊆ G d almost surely. \bigcap_{r\geq1}G_r\subseteq G^d\quad\text{almost surely.} r ≥ 1 ⋂ G r ⊆ G d almost surely.
Finally, a union bound and (35) yield
P ( ( G d ) c ) ≤ P ( ⋃ r ≥ 1 G r c ) ≤ ∑ r ≥ 1 P ( G r c ) ≤ ∑ r ≥ 1 δ r = δ . \mathbb{P}\left((G^d)^c\right)\leq\mathbb{P}\left(\bigcup_{r\geq1}G_r^c\right)\leq\sum_{r\geq1}\mathbb{P}(G_r^c)\leq\sum_{r\geq1}\delta_r=\delta. P ( ( G d ) c ) ≤ P ( r ≥ 1 ⋃ G r c ) ≤ r ≥ 1 ∑ P ( G r c ) ≤ r ≥ 1 ∑ δ r = δ .
This proves (32).
Proof of Corollary 1
Proof. Since Z t ( c ) ∈ { 0 , 1 } Z_t(c)\in\{0,1\} Z t ( c ) ∈ { 0 , 1 } , each evidence factor [ 1 + λ ( α − Z s ( c ) ) ] [1+\lambda(\alpha-Z_s(c))] [ 1 + λ ( α − Z s ( c ))] in E t λ , r ( c ) E_t^{\lambda,r}(c) E t λ , r ( c ) is at most 1 + λ max α 1+\lambda_{\max}\alpha 1 + λ m a x α . After n n n observations, the mixture evidence of any test is therefore at most ( 1 + λ max α ) n (1+\lambda_{\max}\alpha)^n ( 1 + λ m a x α ) n . Since δ r ≤ δ \delta_r\leq\delta δ r ≤ δ , certification requires
( 1 + λ max α ) n ≥ 1 δ r ≥ 1 δ , (1+\lambda_{\max}\alpha)^n\geq\frac{1}{\delta_r}\geq\frac{1}{\delta}, ( 1 + λ m a x α ) n ≥ δ r 1 ≥ δ 1 ,
which implies n ≥ n 0 n\geq n_0 n ≥ n 0 . Thus, no certificate is available before time n 0 n_0 n 0 , and c t = c max c_t=c_{\max} c t = c m a x for t = 0 , … , n 0 − 1 t=0,\ldots,n_0-1 t = 0 , … , n 0 − 1 .
The control input satisfies the condition (3). Consequently, (7) gives
x t ∈ C , Y t ≤ c t ⟹ x t + 1 ∈ C . x_t\in C,\quad Y_t\leq c_t\quad\Longrightarrow\quad x_{t+1}\in C. x t ∈ C , Y t ≤ c t ⟹ x t + 1 ∈ C .
For t < n 0 t<n_0 t < n 0 , the controller uses c max c_{\max} c m a x , so Y t ≤ c t Y_t\leq c_t Y t ≤ c t almost surely. Starting from x 0 ∈ C x_0\in C x 0 ∈ C , the implication above therefore gives x t ∈ C x_t\in C x t ∈ C for t = 0 , … , n 0 t=0,\ldots,n_0 t = 0 , … , n 0 almost surely.
For t ≥ n 0 t\geq n_0 t ≥ n 0 , an exceedance may occur. Since the state remains safe through time n 0 n_0 n 0 , a first exit within T T T steps must follow a decision t ∈ { n 0 , … , T − 1 } t\in\{n_0,\ldots,T-1\} t ∈ { n 0 , … , T − 1 } . Consequently, almost surely,
{ ∃ t ∈ { 0 , … , T } : x t ∉ C } ⊆ ⋃ t = n 0 T − 1 { Y t > c t } . \{\exists t\in\{0,\ldots,T\}:x_t\notin C\}\subseteq\bigcup_{t=n_0}^{T-1}\{Y_t>c_t\}. { ∃ t ∈ { 0 , … , T } : x t ∈ / C } ⊆ t = n 0 ⋃ T − 1 { Y t > c t } .
An exceedance need not cause an exit, so this inclusion can be strict. For T ≤ n 0 T\leq n_0 T ≤ n 0 , the union is empty and the exit probability is zero. For T > n 0 T>n_0 T > n 0 , we bound its probability below.
For each t ∈ { n 0 , … , T − 1 } t\in\{n_0,\ldots,T-1\} t ∈ { n 0 , … , T − 1 } , define the event
V t : = { Y t > c t , p t ( c t ) ≤ α 0 } . \mathcal{V}_t:=\{Y_t>c_t,\ p_t(c_t)\leq\alpha_0\}. V t := { Y t > c t , p t ( c t ) ≤ α 0 } .
Since c t c_t c t and p t ( c t ) p_t(c_t) p t ( c t ) are F t \mathcal{F}_t F t -measurable,
P ( V t ∣ F t ) = 1 { p t ( c t ) ≤ α 0 } P ( Y t > c t ∣ F t ) = 1 { p t ( c t ) ≤ α 0 } p t ( c t ) ≤ α 0 . \mathbb{P}(\mathcal{V}_t\mid\mathcal{F}_t)=\mathbf{1}_{\{p_t(c_t)\leq\alpha_0\}}\mathbb{P}(Y_t>c_t\mid\mathcal{F}_t)
=\mathbf{1}_{\{p_t(c_t)\leq\alpha_0\}}p_t(c_t)\leq\alpha_0. P ( V t ∣ F t ) = 1 { p t ( c t ) ≤ α 0 } P ( Y t > c t ∣ F t ) = 1 { p t ( c t ) ≤ α 0 } p t ( c t ) ≤ α 0 .
Moreover, ⋂ s = n 0 t − 1 V s c \bigcap_{s=n_0}^{t-1}\mathcal{V}_s^c ⋂ s = n 0 t − 1 V s c is F t \mathcal{F}_t F t -measurable. Therefore,
P ( ⋂ s = n 0 t V s c ) = E [ 1 { ∩ s = n 0 t − 1 V s c } P ( V t c ∣ F t ) ] ≥ ( 1 − α 0 ) P ( ⋂ s = n 0 t − 1 V s c ) . (36) \mathbb{P}\left(\bigcap_{s=n_0}^{t}\mathcal{V}_s^c\right)
=\mathbb{E}\left[\mathbf{1}_{\{\cap_{s=n_0}^{t-1}\mathcal{V}_s^c\}}\mathbb{P}(\mathcal{V}_t^c\mid\mathcal{F}_t)\right]
\geq(1-\alpha_0)\mathbb{P}\left(\bigcap_{s=n_0}^{t-1}\mathcal{V}_s^c\right). \tag*{(36)} P ( s = n 0 ⋂ t V s c ) = E [ 1 { ∩ s = n 0 t − 1 V s c } P ( V t c ∣ F t ) ] ≥ ( 1 − α 0 ) P ( s = n 0 ⋂ t − 1 V s c ) . (36)
Applying (36) successively for t = n 0 , … , T − 1 t=n_0,\ldots,T-1 t = n 0 , … , T − 1 , starting from probability one before step n 0 n_0 n 0 , gives
P ( ⋂ t = n 0 T − 1 V t c ) ≥ ( 1 − α 0 ) T − n 0 . \mathbb{P}\left(\bigcap_{t=n_0}^{T-1}\mathcal{V}_t^c\right)\geq(1-\alpha_0)^{T-n_0}. P ( t = n 0 ⋂ T − 1 V t c ) ≥ ( 1 − α 0 ) T − n 0 .
No independence between the events is required.
On G d G^d G d , every exceedance Y t > c t Y_t>c_t Y t > c t belongs to V t \mathcal{V}_t V t . Thus, almost surely,
{ ∃ t ∈ { 0 , … , T } : x t ∉ C } ⊆ ( G d ) c ∪ ⋃ t = n 0 T − 1 V t . \{\exists t\in\{0,\ldots,T\}:x_t\notin C\}\subseteq(G^d)^c\cup\bigcup_{t=n_0}^{T-1}\mathcal{V}_t. { ∃ t ∈ { 0 , … , T } : x t ∈ / C } ⊆ ( G d ) c ∪ t = n 0 ⋃ T − 1 V t .
Using Theorem 3, we obtain
P ( ∃ t ∈ { 0 , … , T } : x t ∉ C ) ≤ P ( ( G d ) c ) + P ( ⋃ t = n 0 T − 1 V t ) ≤ δ + 1 − ( 1 − α 0 ) T − n 0 . \mathbb{P}(\exists t\in\{0,\ldots,T\}:x_t\notin C)
\leq\mathbb{P}((G^d)^c)+\mathbb{P}\left(\bigcup_{t=n_0}^{T-1}\mathcal{V}_t\right)
\leq\delta+1-(1-\alpha_0)^{T-n_0}. P ( ∃ t ∈ { 0 , … , T } : x t ∈ / C ) ≤ P (( G d ) c ) + P ( t = n 0 ⋃ T − 1 V t ) ≤ δ + 1 − ( 1 − α 0 ) T − n 0 .
Taking the minimum with one and combining this bound with the zero exit probability for T ≤ n 0 T\leq n_0 T ≤ n 0 yields
P ( ∃ t ∈ { 0 , … , T } : x t ∉ C ) ≤ 1 { T > n 0 } min { 1 , δ + 1 − ( 1 − α 0 ) T − n 0 } , \mathbb{P}(\exists t\in\{0,\ldots,T\}:x_t\notin C)
\leq\mathbf{1}_{\{T>n_0\}}\min\{1,\delta+1-(1-\alpha_0)^{T-n_0}\}, P ( ∃ t ∈ { 0 , … , T } : x t ∈ / C ) ≤ 1 { T > n 0 } min { 1 , δ + 1 − ( 1 − α 0 ) T − n 0 } ,
which proves (33).
Evidence Growth and Certification Time
Proof of Proposition 1
Proof. By (14) we have
E [ log E t + 1 λ ( c ) E t λ ( c ) | F t ] = ( 1 − p t ( c ) ) log ( 1 + λ α ) + p t ( c ) log ( 1 − λ ( 1 − α ) ) ≥ g p ‾ ( c ) ( λ ) > 0 \mathbb{E}\left[\log\frac{E_{t+1}^{\lambda}(c)}{E_t^{\lambda}(c)}\middle|\mathcal{F}_t\right]
= (1-p_t(c))\log(1+\lambda\alpha)
+ p_t(c)\log(1-\lambda(1-\alpha))
\ge g_{\overline{p}(c)}(\lambda)>0 E [ log E t λ ( c ) E t + 1 λ ( c ) F t ] = ( 1 − p t ( c )) log ( 1 + λ α ) + p t ( c ) log ( 1 − λ ( 1 − α )) ≥ g p ( c ) ( λ ) > 0
where the inequality follows from p t ( c ) ≤ p ‾ ( c ) p_t(c)\le\overline{p}(c) p t ( c ) ≤ p ( c ) and the fact that the conditional expectation decreases with p t ( c ) p_t(c) p t ( c ) .
Since 0 < λ < ( 1 − α ) − 1 0<\lambda<(1-\alpha)^{-1} 0 < λ < ( 1 − α ) − 1 , note that the logarithmic increments are bounded:
log ( 1 − λ ( 1 − α ) ) ≤ log E t + 1 λ ( c ) E t λ ( c ) ≤ log ( 1 + λ α ) . \log(1-\lambda(1-\alpha))\le\log\frac{E_{t+1}^{\lambda}(c)}{E_t^{\lambda}(c)}\le\log(1+\lambda\alpha). log ( 1 − λ ( 1 − α )) ≤ log E t λ ( c ) E t + 1 λ ( c ) ≤ log ( 1 + λ α ) .
The strong law for uniformly bounded martingale differences [38 Cor. 1] , together with E 0 λ ( c ) = 1 E_0^{\lambda}(c)=1 E 0 λ ( c ) = 1 , gives
log E t λ ( c ) t − 1 t ∑ s = 0 t − 1 E [ log E s + 1 λ ( c ) E s λ ( c ) ∣ F s ] → t → ∞ a . s . 0. \frac{\log E_t^{\lambda}(c)}{t}
-\frac{1}{t}\sum_{s=0}^{t-1}\mathbb{E}\left[\left.\log\frac{E_{s+1}^{\lambda}(c)}{E_s^{\lambda}(c)}\right|\mathcal{F}_s\right]
\xrightarrow[t\to\infty]{\mathrm{a.s.}}0. t log E t λ ( c ) − t 1 s = 0 ∑ t − 1 E [ log E s λ ( c ) E s + 1 λ ( c ) F s ] a.s. t → ∞ 0.
Since each conditional expectation within the sum is at least g p ‾ ( c ) ( λ ) g_{\overline{p}(c)}(\lambda) g p ( c ) ( λ ) , it follows that (21).
To bound E [ τ ( c ) ] \mathbb{E}[\tau(c)] E [ τ ( c )] , note that, before certification, we have
E t λ ( c ) ∣ Λ ∣ ≤ E t ( c ) < 1 δ , t < τ ( c ) . \frac{E_t^{\lambda}(c)}{|\Lambda|}\le E_t(c)<\frac{1}{\delta},\qquad t<\tau(c). ∣Λ∣ E t λ ( c ) ≤ E t ( c ) < δ 1 , t < τ ( c ) .
Hence, log E t λ ( c ) < log ( ∣ Λ ∣ / δ ) \log E_t^{\lambda}(c)<\log(|\Lambda|/\delta) log E t λ ( c ) < log ( ∣Λ∣/ δ ) before τ ( c ) \tau(c) τ ( c ) , and its increase at τ ( c ) \tau(c) τ ( c ) is at most log ( 1 + λ α ) \log(1+\lambda\alpha) log ( 1 + λ α ) .
For an integer n ≥ 1 n\ge1 n ≥ 1 , write
log E min { τ ( c ) , n } λ ( c ) = ∑ t = 0 n − 1 1 { τ ( c ) > t } log E t + 1 λ ( c ) E t λ ( c ) . \log E_{\min\{\tau(c),n\}}^{\lambda}(c)
=\sum_{t=0}^{n-1}\mathbf{1}_{\{\tau(c)>t\}}\log\frac{E_{t+1}^{\lambda}(c)}{E_t^{\lambda}(c)}. log E m i n { τ ( c ) , n } λ ( c ) = t = 0 ∑ n − 1 1 { τ ( c ) > t } log E t λ ( c ) E t + 1 λ ( c ) .
This sum has at most n n n bounded terms. Since { τ ( c ) > t } ∈ F t \{\tau(c)>t\}\in\mathcal{F}_t { τ ( c ) > t } ∈ F t , taking expectations and using the conditional log-growth bound yields
g p ‾ ( c ) ( λ ) E [ min { τ ( c ) , n } ] ≤ E [ log E min { τ ( c ) , n } λ ( c ) ] ≤ log ( ∣ Λ ∣ / δ ) + log ( 1 + λ α ) . g_{\overline{p}(c)}(\lambda)\mathbb{E}[\min\{\tau(c),n\}]
\le\mathbb{E}\left[\log E_{\min\{\tau(c),n\}}^{\lambda}(c)\right]
\le\log(|\Lambda|/\delta)+\log(1+\lambda\alpha). g p ( c ) ( λ ) E [ min { τ ( c ) , n }] ≤ E [ log E m i n { τ ( c ) , n } λ ( c ) ] ≤ log ( ∣Λ∣/ δ ) + log ( 1 + λ α ) .
The upper bound includes the largest possible increment at τ ( c ) \tau(c) τ ( c ) . Since min { τ ( c ) , n } \min\{\tau(c),n\} min { τ ( c ) , n } increases to τ ( c ) \tau(c) τ ( c ) as n → ∞ n\to\infty n → ∞ , monotone convergence yields
E [ τ ( c ) ] = lim n → ∞ E [ min { τ ( c ) , n } ] ≤ log ( ∣ Λ ∣ / δ ) + log ( 1 + λ α ) g p ‾ ( c ) ( λ ) . \mathbb{E}[\tau(c)]
=\lim_{n\to\infty}\mathbb{E}[\min\{\tau(c),n\}]
\le\frac{\log(|\Lambda|/\delta)+\log(1+\lambda\alpha)}
{g_{\overline{p}(c)}(\lambda)}. E [ τ ( c )] = n → ∞ lim E [ min { τ ( c ) , n }] ≤ g p ( c ) ( λ ) log ( ∣Λ∣/ δ ) + log ( 1 + λ α ) .
This proves (22) and implies P ( τ ( c ) < ∞ ) = 1 \mathbb{P}(\tau(c)<\infty)=1 P ( τ ( c ) < ∞ ) = 1 .
Gain Selection and Numerical Setup
a) Growth and gain selection: The quantity g p ‾ ( c ) ( λ ) g_{\overline{p}(c)}(\lambda) g p ( c ) ( λ ) lower bounds the conditional expected increase in log E t λ ( c ) \log E_t^{\lambda}(c) log E t λ ( c ) per observation. This expected log increase is also called the conditional e -power of the one-step e -variable [11 , 39 ] .
For q ∈ ( 0 , α ) q\in(0,\alpha) q ∈ ( 0 , α ) , differentiating the growth rate gives
g q ′ ( λ ) = α − q − λ α ( 1 − α ) ( 1 + λ α ) ( 1 − λ ( 1 − α ) ) . g_q'(\lambda)=\frac{\alpha-q-\lambda\alpha(1-\alpha)}
{(1+\lambda\alpha)(1-\lambda(1-\alpha))}. g q ′ ( λ ) = ( 1 + λ α ) ( 1 − λ ( 1 − α )) α − q − λ α ( 1 − α ) .
The denominator is positive for 0 < λ < ( 1 − α ) − 1 0<\lambda<(1-\alpha)^{-1} 0 < λ < ( 1 − α ) − 1 , and the numerator changes sign from positive to negative at
λ ∗ ( q ) : = arg max 0 < λ < ( 1 − α ) − 1 g q ( λ ) = α − q α ( 1 − α ) . (37) \lambda^*(q):=\underset{0<\lambda<(1-\alpha)^{-1}}{\arg\max}\;g_q(\lambda)
=\frac{\alpha-q}{\alpha(1-\alpha)}. \tag*{(37)} λ ∗ ( q ) := 0 < λ < ( 1 − α ) − 1 arg max g q ( λ ) = α ( 1 − α ) α − q . (37)
Thus, when 0 < p ‾ ( c ) < α 0<\overline{p}(c)<\alpha 0 < p ( c ) < α , choosing q = p ‾ ( c ) q=\overline{p}(c) q = p ( c ) maximizes the growth lower bound in Proposition 1. Maximizing this growth bound does not necessarily give the shortest expected certification time. In practice, the monitor combines the gains in Λ \Lambda Λ , chosen in advance, without needing to know p ‾ ( c ) \overline{p}(c) p ( c ) .
b) Adaptive gains: The gain can alternatively be selected online using GREE [40 , 41 ] , which uses past observations to maximize empirical log growth. Any predictable gain in ( 0 , ( 1 − α ) − 1 ) (0,(1-\alpha)^{-1}) ( 0 , ( 1 − α ) − 1 ) preserves validity for an individual candidate. However, candidate-dependent gains may break the evidence ordering used in Theorem 1. A common predictable gain for all candidates preserves this ordering and the simultaneous guarantee.
c) Details of Example 2: In Example 2 and Figure 2 , one time step is one trading day. Let P t > 0 P_t>0 P t > 0 be the stock price at the start of day t t t and ξ t : = log ( P t + 1 / P t ) \xi_t:=\log(P_{t+1}/P_t) ξ t := log ( P t + 1 / P t ) its log return; F t \mathcal{F}_t F t contains ξ 0 , … , ξ t − 1 \xi_0,\ldots,\xi_{t-1} ξ 0 , … , ξ t − 1 . The volatility follows the TV-GARCH(1,1) model of [33 ] with an asymmetric logistic transition:
σ t 2 = a 0 + a 1 ξ t − 1 2 + b 1 σ t − 1 2 + ( a 0 ∗ + a 1 ∗ ξ t − 1 2 + b 1 ∗ σ t − 1 2 ) G t , t ≥ 1. \sigma_t^2=a_0+a_1\xi_{t-1}^2+b_1\sigma_{t-1}^2
+(a_0^*+a_1^*\xi_{t-1}^2+b_1^*\sigma_{t-1}^2)G_t,\qquad t\ge1. σ t 2 = a 0 + a 1 ξ t − 1 2 + b 1 σ t − 1 2 + ( a 0 ∗ + a 1 ∗ ξ t − 1 2 + b 1 ∗ σ t − 1 2 ) G t , t ≥ 1.
where
G t : = { [ 1 + exp { ζ 1 ( t / 1000 − m 1 ) } ] − 1 , t ≤ t c , [ 1 + exp { − ζ 2 ( t / 1000 − m 2 ) } ] − 1 , t > t c , G_t:=
\begin{cases}
[1+\exp\{\zeta_1(t/1000-m_1)\}]^{-1}, & t\le t_c,\\
[1+\exp\{-\zeta_2(t/1000-m_2)\}]^{-1}, & t>t_c,
\end{cases} G t := { [ 1 + exp { ζ 1 ( t /1000 − m 1 )} ] − 1 , [ 1 + exp { − ζ 2 ( t /1000 − m 2 )} ] − 1 , t ≤ t c , t > t c ,
with t c : = 1000 ( ζ 1 m 1 + ζ 2 m 2 ) / ( ζ 1 + ζ 2 ) t_c:=1000(\zeta_1m_1+\zeta_2m_2)/(\zeta_1+\zeta_2) t c := 1000 ( ζ 1 m 1 + ζ 2 m 2 ) / ( ζ 1 + ζ 2 ) , which makes G t G_t G t continuous in t t t . A large return of either sign raises the next variance, so large losses occur in clusters. The weight G t ∈ ( 0 , 1 ) G_t\in(0,1) G t ∈ ( 0 , 1 ) moves the variance from a high-volatility regime (G t ≈ 1 G_t\approx1 G t ≈ 1 ) to a low-volatility regime (G t ≈ 0 G_t\approx0 G t ≈ 0 ) near t = 1000 m 1 t=1000m_1 t = 1000 m 1 and back near t = 1000 m 2 t=1000m_2 t = 1000 m 2 , at the speeds ζ 1 \zeta_1 ζ 1 and ζ 2 \zeta_2 ζ 2 . Let ε t \varepsilon_t ε t be independent of F t \mathcal{F}_t F t and Student-t η t_\eta t η distributed with unit variance, where η \eta η is the number of degrees of freedom. Given F t \mathcal{F}_t F t , ξ t \xi_t ξ t has the distribution of σ t ε t \sigma_t\varepsilon_t σ t ε t conditioned on [ ξ min , ξ max ] [\xi_{\min},\xi_{\max}] [ ξ m i n , ξ m a x ] with ξ min : = log 0.9 \xi_{\min}:=\log0.9 ξ m i n := log 0.9 and ξ max : = log 1.1 \xi_{\max}:=\log1.1 ξ m a x := log 1.1 . This truncation models a daily price limit of ± 10 % \pm10\% ± 10% , as in GARCH models of price-limited stocks [42 ] .
We use the posterior means of the Student-t t t model that [33 ] fits to daily S&P 500 returns:
a 0 = 0.0297 × 10 − 4 , a 1 = 0.0480 , b 1 = 0.8726 , a_0 = 0.0297 \times10^{-4}, \quad a_1 = 0.0480, \quad b_1 = 0.8726, a 0 = 0.0297 × 1 0 − 4 , a 1 = 0.0480 , b 1 = 0.8726 ,
a 0 ⋆ = 0.0111 × 10 − 4 , a 1 ⋆ = 0.0382 , b 1 ⋆ = 0.0289 , a_0^{\star} = 0.0111 \times10^{-4}, \quad a_1^{\star} = 0.0382, \quad b_1^{\star} = 0.0289, a 0 ⋆ = 0.0111 × 1 0 − 4 , a 1 ⋆ = 0.0382 , b 1 ⋆ = 0.0289 ,
m 1 = 0.4047 , m 2 = 0.7280 , η = 10.5233 , m_1 = 0.4047, \quad m_2 = 0.7280, \quad\eta= 10.5233, m 1 = 0.4047 , m 2 = 0.7280 , η = 10.5233 ,
ζ 1 = 22.6482 , ζ 2 = 46.2823. \zeta_1 = 22.6482, \quad\zeta_2 = 46.2823. ζ 1 = 22.6482 , ζ 2 = 46.2823.
We rename the GARCH parameters to avoid conflicts with the notation of the main text and scale the intercepts by 10 − 4 10^{-4} 1 0 − 4 , since [33 ] uses returns in percent. The recursion starts at
σ 0 2 = a 0 + a 0 ⋆ G 0 1 − a 1 − b 1 − ( a 1 ⋆ + b 1 ⋆ ) G 0 . \sigma_0^2 = \frac{a_0 + a_0^{\star}G_0}{1-a_1-b_1-(a_1^{\star}+b_1^{\star})G_0}. σ 0 2 = 1 − a 1 − b 1 − ( a 1 ⋆ + b 1 ⋆ ) G 0 a 0 + a 0 ⋆ G 0 .
the stationary variance of the model with G t ≡ G 0 G_t \equiv G_0 G t ≡ G 0 and without a price limit. The model thus combines published parameters with a price limit; it is not fitted to a particular stock.
The loss is the relative price drop,
Y t : = [ 1 − exp ( ξ t ) ] + = [ ( P t − P t + 1 ) / P t ] + , Y_t := [1-\exp(\xi_t)]_+ = [(P_t-P_{t+1})/P_t]_+, Y t := [ 1 − exp ( ξ t ) ] + = [( P t − P t + 1 ) / P t ] + ,
so 0 ≤ Y t ≤ c max : = 0.10 0 \le Y_t \le c_{\max} := 0.10 0 ≤ Y t ≤ c m a x := 0.10 . The candidate grid is
Γ = { 0.007 , 0.010 , 0.015 , 0.020 , 0.022 , 0.023 , \Gamma= \{0.007,0.010,0.015,0.020,0.022,0.023, Γ = { 0.007 , 0.010 , 0.015 , 0.020 , 0.022 , 0.023 ,
0.024 , 0.026 , 0.028 , 0.030 , 0.035 , 0.040 , 0.024,0.026,0.028,0.030,0.035,0.040, 0.024 , 0.026 , 0.028 , 0.030 , 0.035 , 0.040 ,
0.050 , 0.060 , 0.070 , 0.080 , 0.090 , 0.096 } . 0.050,0.060,0.070,0.080,0.090,0.096\}. 0.050 , 0.060 , 0.070 , 0.080 , 0.090 , 0.096 } .
Let F η F_\eta F η be the distribution function of ε t \varepsilon_t ε t . Since Y t > c Y_t>c Y t > c if and only if ξ t < log ( 1 − c ) \xi_t<\log(1-c) ξ t < log ( 1 − c ) , for 0 < c < c max 0<c<c_{\max} 0 < c < c m a x ,
p t ( c ) = F η ( log ( 1 − c ) σ t ) − F η ( ξ min σ t ) F η ( ξ max σ t ) − F η ( ξ min σ t ) . (38) p_t(c)=\frac{F_\eta\left(\frac{\log(1-c)}{\sigma_t}\right)-F_\eta\left(\frac{\xi_{\min}}{\sigma_t}\right)}
{F_\eta\left(\frac{\xi_{\max}}{\sigma_t}\right)-F_\eta\left(\frac{\xi_{\min}}{\sigma_t}\right)}. \tag*{(38)} p t ( c ) = F η ( σ t ξ m a x ) − F η ( σ t ξ m i n ) F η ( σ t l o g ( 1 − c ) ) − F η ( σ t ξ m i n ) . (38)
The tests use only Z t ( c ) = 1 { Y t > c } Z_t(c)=\mathbf{1}_{\{Y_t>c\}} Z t ( c ) = 1 { Y t > c } ; (41) serves only to evaluate the exceedance risks in Figure 2 .
Let ϕ t \phi_t ϕ t be the density of σ t ε t \sigma_t\varepsilon_t σ t ε t ; it is symmetric and nonincreasing on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) . If log ( 1 − c ) ≤ − ξ max \log(1-c)\le-\xi_{\max} log ( 1 − c ) ≤ − ξ m a x , which holds in Γ \Gamma Γ only for c = 0.096 c=0.096 c = 0.096 , then ϕ t ≤ ϕ t ( ξ max ) \phi_t\le\phi_t(\xi_{\max}) ϕ t ≤ ϕ t ( ξ m a x ) on [ ξ min , log ( 1 − c ) ] [\xi_{\min},\log(1-c)] [ ξ m i n , log ( 1 − c )] and ϕ t ≥ ϕ t ( ξ max ) \phi_t\ge\phi_t(\xi_{\max}) ϕ t ≥ ϕ t ( ξ m a x ) on [ − ξ max , ξ max ] [-\xi_{\max},\xi_{\max}] [ − ξ m a x , ξ m a x ] . Hence,
p t ( c ) = ∫ ξ min log ( 1 − c ) ϕ t ( z ) d z ∫ ξ min ξ max ϕ t ( z ) d z ≤ log ( 1 − c ) − ξ min 2 ξ max = : p ˉ ( c ) . p_t(c)=\frac{\int_{\xi_{\min}}^{\log(1-c)}\phi_t(z)\,\mathrm{d}z}
{\int_{\xi_{\min}}^{\xi_{\max}}\phi_t(z)\,\mathrm{d}z}
\le\frac{\log(1-c)-\xi_{\min}}{2\xi_{\max}}
=: \bar p(c). p t ( c ) = ∫ ξ m i n ξ m a x ϕ t ( z ) d z ∫ ξ m i n l o g ( 1 − c ) ϕ t ( z ) d z ≤ 2 ξ m a x log ( 1 − c ) − ξ m i n =: p ˉ ( c ) .
Thus, p t ( 0.096 ) ≤ p ˉ ( 0.096 ) = 0.0233 < α p_t(0.096)\le\bar p(0.096)=0.0233<\alpha p t ( 0.096 ) ≤ p ˉ ( 0.096 ) = 0.0233 < α for every t t t and every history, and (20) holds for c = 0.096 c=0.096 c = 0.096 without a bound on σ t \sigma_t σ t .
Panel (c) of Figure 2 tests c ∈ { 0.007 , 0.023 , 0.096 } c\in\{0.007,0.023,0.096\} c ∈ { 0.007 , 0.023 , 0.096 } with each fixed gain λ ∈ { 0.10 , 0.15 , … , 0.80 } \lambda\in\{0.10,0.15,\ldots,0.80\} λ ∈ { 0.10 , 0.15 , … , 0.80 } , i.e., Λ = { λ } \Lambda=\{\lambda\} Λ = { λ } . The three tests of a trial share the losses of 1000 days, and each point averages min { τ ( c ) , 1000 } \min\{\tau(c),1000\} min { τ ( c ) , 1000 } over the trials. The dotted bound (22) therefore uses ∣ Λ ∣ = 1 |\Lambda|=1 ∣Λ∣ = 1 .
A Sufficient Construction of the Conditional Risk Bound
The following model conditions give sufficient choices of L x L_x L x , L u L_u L u and Δ t \Delta_t Δ t for the bound d t ( c ; σ , τ ) d_t(c;\sigma,\tau) d t ( c ; σ , τ ) in Assumption 2. Define the signed barrier shortfall
ℓ ( x , u , w ) : = h ( f ^ ( x , u ) ) − h ( f ( x , u , w ) ) . (39) \ell(x,u,w):=h(\hat f(x,u))-h(f(x,u,w)). \tag*{(39)} ℓ ( x , u , w ) := h ( f ^ ( x , u )) − h ( f ( x , u , w )) . (39)
Set Y ~ t : = ℓ ( x t , u t , w t ) \widetilde{Y}_t:=\ell(x_t,u_t,w_t) Y t := ℓ ( x t , u t , w t ) , so Y t = [ Y ~ t ] + Y_t=[\widetilde{Y}_t]_+ Y t = [ Y t ] + . For c ≥ 0 c\ge0 c ≥ 0 , { Y t > c } = { ℓ ( x t , u t , w t ) > c } \{Y_t>c\}=\{\ell(x_t,u_t,w_t)>c\} { Y t > c } = { ℓ ( x t , u t , w t ) > c } . Let μ t \mu_t μ t denote the conditional distribution of w t w_t w t given F t \mathcal{F}_t F t , and define its total-variation distance from μ s \mu_s μ s by
d T V ( μ t , μ s ) : = sup A ∣ μ t ( A ) − μ s ( A ) ∣ , (40) d_{\mathrm{TV}}(\mu_t,\mu_s):=\sup_A|\mu_t(A)-\mu_s(A)|, \tag*{(40)} d TV ( μ t , μ s ) := A sup ∣ μ t ( A ) − μ s ( A ) ∣ , (40)
where A A A ranges over measurable disturbance sets.
Suppose known constants K x , K u , K p ≥ 0 K_x,K_u,K_p\ge0 K x , K u , K p ≥ 0 satisfy
∣ ℓ ( x , u , w ) − ℓ ( x ′ , u ′ , w ) ∣ ≤ K x ∥ x − x ′ ∥ + K u ∥ u − u ′ ∥ (41) |\ell(x,u,w)-\ell(x',u',w)|\le K_x\|x-x'\|+K_u\|u-u'\| \tag*{(41)} ∣ ℓ ( x , u , w ) − ℓ ( x ′ , u ′ , w ) ∣ ≤ K x ∥ x − x ′ ∥ + K u ∥ u − u ′ ∥ (41)
for all operating points ( x , u ) , ( x ′ , u ′ ) (x,u),(x',u') ( x , u ) , ( x ′ , u ′ ) and relevant disturbances w w w . Also suppose that, almost surely,
μ s { w : a < ℓ ( x , u , w ) ≤ b } ≤ K p ( b − a ) (42) \mu_s\{w:a<\ell(x,u,w)\le b\}\le K_p(b-a) \tag*{(42)} μ s { w : a < ℓ ( x , u , w ) ≤ b } ≤ K p ( b − a ) (42)
for every s s s , operating point ( x , u ) (x,u) ( x , u ) , and a < b a<b a < b . Condition (44) holds if ℓ ( x , u , w s ) \ell(x,u,w_s) ℓ ( x , u , w s ) has a conditional density bounded by K p K_p K p , uniformly in s s s , ( x , u ) (x,u) ( x , u ) , and the observed history. This condition is imposed on the signed shortfall, since Y t = [ Y ~ t ] + Y_t=[\widetilde{Y}_t]_+ Y t = [ Y t ] + can equal zero with positive probability even when the signed shortfall has a continuous density.
Proposition 2 (Model-based conditional risk bound). Suppose (43) and (44) hold. Let Δ t ≥ 0 \Delta_t\ge0 Δ t ≥ 0 be known, F t \mathcal{F}_t F t -measurable bounds such that, whenever c t = c ∈ Γ c_t=c\in\Gamma c t = c ∈ Γ is deployed using a certificate with monitoring period [ σ , τ ) [\sigma,\tau) [ σ , τ ) , where 0 ≤ σ < τ ≤ t 0\le\sigma<\tau\le t 0 ≤ σ < τ ≤ t ,
d T V ( μ t , μ s ) ≤ Δ t d_{\mathrm{TV}}(\mu_t,\mu_s)\le\Delta_t d TV ( μ t , μ s ) ≤ Δ t for every integer σ ≤ s < τ \sigma\le s<\tau σ ≤ s < τ . Then d t ( c ; σ , τ ) d_t(c;\sigma,\tau) d t ( c ; σ , τ ) in (24), with
L x = K p K x , L u = K p K u , (43) L_x=K_pK_x,\qquad L_u=K_pK_u, \tag*{(43)} L x = K p K x , L u = K p K u , (43) satisfies Assumption 2.
Proof. Fix a decision time t t t at which c t = c ∈ Γ c_t=c\in\Gamma c t = c ∈ Γ is deployed using a certificate with monitoring period [ σ , τ ) [\sigma,\tau) [ σ , τ ) , so u t = u t ( c ) u_t=u_t(c) u t = u t ( c ) . For any integer σ ≤ s < τ \sigma\le s<\tau σ ≤ s < τ , set
ε t , s : = K x ∥ x t − x s ∥ + K u ∥ u t ( c ) − u s ∥ . \varepsilon_{t,s}:=K_x\|x_t-x_s\|+K_u\|u_t(c)-u_s\|. ε t , s := K x ∥ x t − x s ∥ + K u ∥ u t ( c ) − u s ∥.
Condition (43) gives
{ w : ℓ ( x t , u t ( c ) , w ) > c } ⊆ { w : ℓ ( x s , u s , w ) > c − ε t , s } . \{w:\ell(x_t,u_t(c),w)>c\}\subseteq\{w:\ell(x_s,u_s,w)>c-\varepsilon_{t,s}\}. { w : ℓ ( x t , u t ( c ) , w ) > c } ⊆ { w : ℓ ( x s , u s , w ) > c − ε t , s } .
Since p t ( c ) = μ t { w : ℓ ( x t , u t ( c ) , w ) > c } p_t(c)=\mu_t\{w:\ell(x_t,u_t(c),w)>c\} p t ( c ) = μ t { w : ℓ ( x t , u t ( c ) , w ) > c } , the total-variation and interval bounds give
p t ( c ) ≤ μ s { w : ℓ ( x s , u s , w ) > c − ε t , s } + Δ t = p s ( c ) + μ s { w : c − ε t , s < ℓ ( x s , u s , w ) ≤ c } + Δ t ≤ p s ( c ) + K p ε t , s + Δ t . \begin{aligned}
p_t(c)\le\mu_s\{w:\ell(x_s,u_s,w)>c-\varepsilon_{t,s}\}+\Delta_t \\
&=p_s(c)+\mu_s\{w:c-\varepsilon_{t,s}<\ell(x_s,u_s,w)\le c\}+\Delta_t \\
&\le p_s(c)+K_p\varepsilon_{t,s}+\Delta_t.
\end{aligned} p t ( c ) ≤ μ s { w : ℓ ( x s , u s , w ) > c − ε t , s } + Δ t = p s ( c ) + μ s { w : c − ε t , s < ℓ ( x s , u s , w ) ≤ c } + Δ t ≤ p s ( c ) + K p ε t , s + Δ t .
Substituting ε t , s \varepsilon_{t,s} ε t , s and using L x = K p K x L_x=K_pK_x L x = K p K x , L u = K p K u L_u=K_pK_u L u = K p K u yields
max σ ≤ s < τ { p t ( c ) − p s ( c ) } ≤ d t ( c ; σ , τ ) . \max_{\sigma\le s<\tau}\{p_t(c)-p_s(c)\}\le d_t(c;\sigma,\tau). σ ≤ s < τ max { p t ( c ) − p s ( c )} ≤ d t ( c ; σ , τ ) .
This proves (23) for every s s s in the certificate’s monitoring period. ▫
Deterministic bounds for general dynamics
Consider the general dynamics f ( x , u , w ) f(x,u,w) f ( x , u , w ) and signed barrier shortfall
ℓ ( x , u , w ) = h ( f ^ ( x , u ) ) − h ( f ( x , u , w ) ) . \ell(x,u,w)=h(\hat{f}(x,u))-h(f(x,u,w)). ℓ ( x , u , w ) = h ( f ^ ( x , u )) − h ( f ( x , u , w )) .
All bounds below are required uniformly over the relevant operating region and disturbance support. Bounds involving conditional distributions must also hold uniformly in time and almost surely with respect to the observed history.
Suppose h h h is H H H -Lipschitz and f , f ^ f,\hat{f} f , f ^ satisfy
∥ f ( x , u , w ) − f ( x ′ , u ′ , w ) ∥ ≤ a x ∥ x − x ′ ∥ + a u ∥ u − u ′ ∥ , \lVert f(x,u,w)-f(x',u',w)\rVert\le a_x\lVert x-x'\rVert+a_u\lVert u-u'\rVert, ∥ f ( x , u , w ) − f ( x ′ , u ′ , w )∥ ≤ a x ∥ x − x ′ ∥ + a u ∥ u − u ′ ∥ ,
∥ f ^ ( x , u ) − f ^ ( x ′ , u ′ ) ∥ ≤ a ^ x ∥ x − x ′ ∥ + a ^ u ∥ u − u ′ ∥ . \lVert\hat{f}(x,u)-\hat{f}(x',u')\rVert\le\hat{a}_x\lVert x-x'\rVert+\hat{a}_u\lVert u-u'\rVert. ∥ f ^ ( x , u ) − f ^ ( x ′ , u ′ )∥ ≤ a ^ x ∥ x − x ′ ∥ + a ^ u ∥ u − u ′ ∥ .
Then (41) holds with
K x = H ( a x + a ^ x ) , K u = H ( a u + a ^ u ) . K_x=H(a_x+\hat{a}_x),\qquad K_u=H(a_u+\hat{a}_u). K x = H ( a x + a ^ x ) , K u = H ( a u + a ^ u ) .
For differentiable models, sufficient values follow from uniform Jacobian bounds on suitable convex regions containing the operating points and their predictions. A known disturbance-amplitude bound specifies the disturbance set over which these bounds are required.
The interval-probability bound requires additional regularity. One sufficient construction uses a scalar disturbance component. Write w = ( v , ζ ) w=(v,\zeta) w = ( v , ζ ) , where v v v takes values in a known interval I I I . Suppose the conditional density of v s v_s v s , given ζ s \zeta_s ζ s and F s \mathcal{F}_s F s , is bounded by a known constant M v M_v M v , without specifying that density.
Assume also that, for every relevant ( x , u , ζ ) (x,u,\zeta) ( x , u , ζ ) , the map v ↦ ℓ ( x , u , ( v , ζ ) ) v\mapsto\ell(x,u,(v,\zeta)) v ↦ ℓ ( x , u , ( v , ζ )) is continuously differentiable on I I I and satisfies
∣ ∂ ℓ ( x , u , ( v , ζ ) ) ∂ v ∣ ≥ m ℓ > 0 , \left|\frac{\partial\ell(x,u,(v,\zeta))}{\partial v}\right|\ge m_\ell>0, ∂ v ∂ ℓ ( x , u , ( v , ζ )) ≥ m ℓ > 0 ,
where m ℓ m_\ell m ℓ is known. This map is strictly monotone on I I I . Consequently, the set of v v v satisfying a < ℓ ( x , u , ( v , ζ ) ) ≤ b a<\ell(x,u,(v,\zeta))\le b a < ℓ ( x , u , ( v , ζ )) ≤ b has length at most ( b − a ) / m ℓ (b-a)/m_\ell ( b − a ) / m ℓ . Conditioning on ζ s \zeta_s ζ s and then integrating gives
μ s { w : a < ℓ ( x , u , w ) ≤ b } ≤ M v m ℓ ( b − a ) . \mu_s\{w:a<\ell(x,u,w)\le b\}\le\frac{M_v}{m_\ell}(b-a). μ s { w : a < ℓ ( x , u , w ) ≤ b } ≤ m ℓ M v ( b − a ) .
Thus, a sufficient choice in (42) is
K p = M v m ℓ . K_p=\frac{M_v}{m_\ell}. K p = m ℓ M v .
This construction permits nonlinear dependence on the disturbance. It requires a disturbance component whose effect on the barrier does not vanish over the specified operating region.
Combining these bounds with Proposition 2 yields
L x = M v H m ℓ ( a x + a ^ x ) , L_x=\frac{M_vH}{m_\ell}(a_x+\hat{a}_x), L x = m ℓ M v H ( a x + a ^ x ) ,
L u = M v H m ℓ ( a u + a ^ u ) . L_u=\frac{M_vH}{m_\ell}(a_u+\hat{a}_u). L u = m ℓ M v H ( a u + a ^ u ) .
To allow changing conditional disturbance distributions, suppose a known constant L μ ≥ 0 L_\mu\ge0 L μ ≥ 0 satisfies
d T V ( μ k + 1 , μ k ) ≤ L μ (44) d_{\mathrm{TV}}(\mu_{k+1},\mu_k)\le L_\mu \tag*{(44)} d TV ( μ k + 1 , μ k ) ≤ L μ (44)
almost surely for every k k k . The triangle inequality then gives
d T V ( μ t , μ s ) ≤ min { 1 , L μ ( t − s ) } . (45) d_{\mathrm{TV}}(\mu_t,\mu_s)\le\min\{1,L_\mu(t-s)\}. \tag*{(45)} d TV ( μ t , μ s ) ≤ min { 1 , L μ ( t − s )} . (45)
Hence, for each σ ≤ s < τ \sigma\le s<\tau σ ≤ s < τ , one may take the uniform bound
Δ t = min { 1 , L μ ( t − σ ) } . (46) \Delta_t=\min\{1,L_\mu(t-\sigma)\}. \tag*{(46)} Δ t = min { 1 , L μ ( t − σ )} . (46)
This bound is available before observing Y t Y_t Y t and allows a nonzero increase in conditional risk. Since (23) is required for each s s s separately, one may also take the smaller value
Δ t = min { 1 , L μ ( t − s ) } \Delta_t=\min\{1,L_\mu(t-s)\} Δ t = min { 1 , L μ ( t − s )}
at each σ ≤ s < τ \sigma\le s<\tau σ ≤ s < τ . Appendix D-B uses this choice.
For example, a sufficient value of L μ L_\mu L μ can be obtained when the unknown conditional distributions have densities φ k \varphi_k φ k supported on a known set W \mathcal{W} W of finite volume and satisfy
∣ φ k + 1 ( w ) − φ k ( w ) ∣ ≤ B μ , w ∈ W , |\varphi_{k+1}(w)-\varphi_k(w)|\le B_\mu,\qquad w\in\mathcal{W}, ∣ φ k + 1 ( w ) − φ k ( w ) ∣ ≤ B μ , w ∈ W ,
with a known constant B μ B_\mu B μ . Indeed,
d T V ( μ k + 1 , μ k ) = 1 2 ∫ W ∣ φ k + 1 ( w ) − φ k ( w ) ∣ d w ≤ 1 2 vol ( W ) B μ . \begin{aligned}
d_{\mathrm{TV}}(\mu_{k+1},\mu_k)=\frac{1}{2}\int_{\mathcal{W}}|\varphi_{k+1}(w)-\varphi_k(w)|\,dw \\
&\le\frac{1}{2}\operatorname{vol}(\mathcal{W})B_\mu.
\end{aligned} d TV ( μ k + 1 , μ k ) = 2 1 ∫ W ∣ φ k + 1 ( w ) − φ k ( w ) ∣ d w ≤ 2 1 vol ( W ) B μ .
Thus,
L μ = 1 2 vol ( W ) B μ L_\mu=\frac{1}{2}\operatorname{vol}(\mathcal{W})B_\mu L μ = 2 1 vol ( W ) B μ
is sufficient.
Risk-Increase Terms for the Unicycle Examples
In this subsection we construct the risk-increase bounds for the Corridor and Maze in Appendix F-A. Each certified variant V ∈ { U , Δ , L , C } \mathrm{V}\in\{\mathrm{U},\Delta,\mathrm{L},\mathrm{C}\} V ∈ { U , Δ , L , C } of Section VI-B replaces the bound d t d_t d t defined in (24) by the largest risk-increase term over the monitoring period,
d t ( c ; σ , τ ) = d t V ( c ; σ , τ ) , (47) d_t(c;\sigma,\tau)=d_t^{\mathrm{V}}(c;\sigma,\tau), \tag*{(47)} d t ( c ; σ , τ ) = d t V ( c ; σ , τ ) , (47)
the maximum over σ ≤ s < τ \sigma\le s<\tau σ ≤ s < τ in (65) , (66) , (67) or (68) , and each risk-increase term is F t \mathcal{F}_t F t -measurable. The proofs of Theorems 2 and 3 use Assumption 2 only through (23) .
a ) a) a ) Drift term: The disturbance distribution changes with t t t only through the weight β t \beta_t β t of the magnitude distribution μ t A \mu_t^{\mathrm{A}} μ t A defined in (86) of Appendix F-A, and the supports of its components U 1 \mathrm{U}_1 U 1 and U 2 \mathrm{U}_2 U 2 overlap only at c max / 2 c_{\max}/2 c m a x /2 . Hence, with d T V d_{\mathrm{TV}} d TV in (40) ,
d T V ( μ t , μ s ) = d T V ( μ t A , μ s A ) = ∣ β t − β s ∣ . d_{\mathrm{TV}}(\mu_t,\mu_s)=d_{\mathrm{TV}}(\mu_t^{\mathrm{A}},\mu_s^{\mathrm{A}})=|\beta_t-\beta_s|. d TV ( μ t , μ s ) = d TV ( μ t A , μ s A ) = ∣ β t − β s ∣.
Since sin \sin sin is 1-Lipschitz, the parameter L μ L_\mu L μ of β t \beta_t β t satisfies (44) , so (45) gives ∣ β t − β s ∣ ≤ min { 1 , L μ ( t − s ) } |\beta_t-\beta_s|\le\min\{1,L_\mu(t-s)\} ∣ β t − β s ∣ ≤ min { 1 , L μ ( t − s )} , the drift term in (46) with the choice for each s s s stated after it.
b ) b) b ) Clearance and shortfall: Vector norms are Euclidean. In the Corridor, cones have centers o j o_j o j and radii ρ j \rho_j ρ j , and walls lie at z 2 = 0 z_2=0 z 2 = 0 and z 2 = 2 z_2=2 z 2 = 2 . The clearance of a disk of radius ρ b o d y \rho_{\mathrm{body}} ρ body centered at z z z is
ψ ( z ) : = min { min j ( ∥ z − o j ∥ − ρ j ) , z 2 , 2 − z 2 } − ρ b o d y . (48) \psi(z):=\min\left\{\min_j(\lVert z-o_j\rVert-\rho_j),\ z_2,\ 2-z_2\right\}-\rho_{\mathrm{body}}. \tag*{(48)} ψ ( z ) := min { j min (∥ z − o j ∥ − ρ j ) , z 2 , 2 − z 2 } − ρ body . (48)
In the Maze, interior walls are closed rectangles O k \mathcal{O}_k O k . Boundary walls have points z m ∂ z_m^{\partial} z m ∂ and inward unit normals n m ∂ n_m^{\partial} n m ∂ , giving
ψ ( z ) : = min { min j ( ∥ z − o j ∥ − ρ j ) , min k sdist ( z , O k ) , min m { ( n m ∂ ) ⊤ ( z − z m ∂ ) } } − ρ b o d y . (49) \psi(z) := \min\left\{
\begin{aligned}
&\min_j(\lVert z-o_j\rVert-\rho_j),\\
&\min_k\operatorname{sdist}(z,\mathcal{O}_k),\\
&\min_m\left\{(n_m^{\partial})^\top(z-z_m^{\partial})\right\}
\end{aligned}
\right\}-\rho_{\mathrm{body}}. \tag*{(49)} ψ ( z ) := min ⎩ ⎨ ⎧ j min (∥ z − o j ∥ − ρ j ) , k min sdist ( z , O k ) , m min { ( n m ∂ ) ⊤ ( z − z m ∂ ) } ⎭ ⎬ ⎫ − ρ body . (49)
Here, sdist \operatorname{sdist} sdist is the distance to the obstacle boundary, positive outside and negative inside. Distances and affine terms with unit normals are 1-Lipschitz. For z ∉ O k z\notin\mathcal{O}_k z ∈ / O k and z ′ ∈ O k z'\in\mathcal{O}_k z ′ ∈ O k , a point z ~ ∈ ∂ O k \tilde{z}\in\partial\mathcal{O}_k z ~ ∈ ∂ O k on the segment [ z , z ′ ] [z,z'] [ z , z ′ ] gives 0 ≤ sdist ( z , O k ) − sdist ( z ′ , O k ) ≤ ∥ z − z ~ ∥ + ∥ z ~ − z ′ ∥ = ∥ z − z ′ ∥ 0\leq\operatorname{sdist}(z,\mathcal{O}_k)-\operatorname{sdist}(z',\mathcal{O}_k)\leq\lVert z-\tilde{z}\rVert+\lVert\tilde{z}-z'\rVert=\lVert z-z'\rVert 0 ≤ sdist ( z , O k ) − sdist ( z ′ , O k ) ≤ ∥ z − z ~ ∥ + ∥ z ~ − z ′ ∥ = ∥ z − z ′ ∥ . Each clearance term is 1-Lipschitz, so
∣ ψ ( z ) − ψ ( z ′ ) ∣ ≤ ∥ z − z ′ ∥ . (50) \lvert\psi(z)-\psi(z')\rvert\leq\lVert z-z'\rVert. \tag*{(50)} ∣ ψ ( z ) − ψ ( z ′ )∣ ≤ ∥ z − z ′ ∥ . (50)
With the nose point q q q and the nose distance l l l defined in Appendix F-A, let z ( x , u ) : = q ( f ^ ( x , u ) ) z(x,u):=q(\hat{f}(x,u)) z ( x , u ) := q ( f ^ ( x , u )) be the predicted nose point. The disturbance changes position but not heading or speed, so q ( f ( x , u , w ) ) = z ( x , u ) + w q(f(x,u,w))=z(x,u)+w q ( f ( x , u , w )) = z ( x , u ) + w with the transition f f f defined in (90). Thus, the braking term in (89) cancels, and the shortfall in (42a) is
ℓ ( x , u , w ) = ψ ( z ( x , u ) ) − ψ ( z ( x , u ) + w ) . (51) \ell(x,u,w)=\psi(z(x,u))-\psi(z(x,u)+w). \tag*{(51)} ℓ ( x , u , w ) = ψ ( z ( x , u )) − ψ ( z ( x , u ) + w ) . (51)
Consequently, Y t = [ ℓ ( x t , u t , w t ) ] + ≤ ∥ w t ∥ ≤ c max Y_t=[\ell(x_t,u_t,w_t)]_+\leq\lVert w_t\rVert\leq c_{\max} Y t = [ ℓ ( x t , u t , w t ) ] + ≤ ∥ w t ∥ ≤ c m a x , the support condition of Assumption 1.
For a feasible candidate c c c with the filtered input u t ( c ) u_t(c) u t ( c ) defined in (4), write z t ( c ) : = z ( x t , u t ( c ) ) z_t(c):=z(x_t,u_t(c)) z t ( c ) := z ( x t , u t ( c )) . At a past time s s s , use z s : = z ( x s , u s ) z_s:=z(x_s,u_s) z s := z ( x s , u s ) , where u s u_s u s is the input actually applied.
c) Exceedance fraction of one feature: Each term in the minima of ψ \psi ψ belongs to one feature: a cone, a wall or a rectangle O k \mathcal{O}_k O k . Let ψ i \psi_i ψ i be the term of feature i i i minus ρ b o d y \rho_{\mathrm{body}} ρ body , so that ψ = min i ψ i \psi=\min_i\psi_i ψ = min i ψ i . Near z z z , a feature is either circular, with ψ i ( z ) = ∥ z − o ∥ − R \psi_i(z)=\lVert z-o\rVert-R ψ i ( z ) = ∥ z − o ∥ − R for a center o o o and an effective radius R R R , or affine (a wall or a rectangle face), with R : = ∞ R:=\infty R := ∞ . A cone has R = ρ j + ρ b o d y R=\rho_j+\rho_{\mathrm{body}} R = ρ j + ρ body , and a rectangle whose nearest point o o o to z z z is a corner has R = ρ b o d y R=\rho_{\mathrm{body}} R = ρ body . For a circular feature with clearance g = ψ i ( z ) g=\psi_i(z) g = ψ i ( z ) and ∥ w ∥ = A \lVert w\rVert=A ∥ w ∥ = A , the law of cosines gives ψ i ( z ) − ψ i ( z + w ) > c \psi_i(z)-\psi_i(z+w)>c ψ i ( z ) − ψ i ( z + w ) > c if and only if the angle between w w w and o − z o-z o − z has cosine larger than c / A + ( A 2 − c 2 ) / ( 2 ( g + R ) A ) c/A+(A^2-c^2)/(2(g+R)A) c / A + ( A 2 − c 2 ) / ( 2 ( g + R ) A ) . Since the disturbance has a uniform direction given its magnitude, the fraction of directions with this property is the directional exceedance fraction
P R ( g , c , A ) : = 1 π arccos ( c A + A 2 − c 2 2 ( g + R ) A ) (52) P_R(g,c,A):=\frac{1}{\pi}\arccos\left(\frac{c}{A}+\frac{A^2-c^2}{2(g+R)A}\right) \tag*{(52)} P R ( g , c , A ) := π 1 arccos ( A c + 2 ( g + R ) A A 2 − c 2 ) (52)
for c < A ≤ 2 ( g + R ) − c c<A\leq2(g+R)-c c < A ≤ 2 ( g + R ) − c , where the argument lies in [ 0 , 1 ] [0,1] [ 0 , 1 ] , and P R ( g , c , A ) : = 0 P_R(g,c,A):=0 P R ( g , c , A ) := 0 otherwise. An affine feature gives the limit R → ∞ R\to\infty R → ∞ , which does not depend on g g g . Its value at A = c max A=c_{\max} A = c m a x is the fraction bound P ‾ ( c ) \overline{P}(c) P ( c ) ,
P ∞ ( c , A ) : = 1 π arccos c A , P ‾ ( c ) : = P ∞ ( c , c max ) , (53) P_\infty(c,A):=\frac{1}{\pi}\arccos\frac{c}{A},\qquad\overline{P}(c):=P_\infty(c,c_{\max}), \tag*{(53)} P ∞ ( c , A ) := π 1 arccos A c , P ( c ) := P ∞ ( c , c m a x ) , (53)
for A > c A>c A > c , and P ∞ ( c , A ) : = 0 P_\infty(c,A):=0 P ∞ ( c , A ) := 0 otherwise. For c ∈ Γ ⊆ [ 0 , c max ) c\in\Gamma\subseteq[0,c_{\max}) c ∈ Γ ⊆ [ 0 , c m a x ) (Section II-C), P ‾ ( c ) ∈ ( 0 , 1 / 2 ] \overline{P}(c)\in(0,1/2] P ( c ) ∈ ( 0 , 1/2 ] . The argument in (53) decreases in g + R g+R g + R and is at least c / A c/A c / A , and P ∞ ( c , A ) P_\infty(c,A) P ∞ ( c , A ) increases with A A A . Hence P R P_R P R increases with g g g and R R R , and 0 ≤ P R ( g , c , A ) ≤ P ‾ ( c ) 0\leq P_R(g,c,A)\leq\overline{P}(c) 0 ≤ P R ( g , c , A ) ≤ P ( c ) for A ≤ c max A\leq c_{\max} A ≤ c m a x .
d) Sensitivity bound: If h ( x ) ≥ 0 h(x)\geq0 h ( x ) ≥ 0 and u ∈ U ( x , c ) u\in\mathcal{U}(x,c) u ∈ U ( x , c ) , the tightened CBF condition (3) and (89) give ψ ( z ( x , u ) ) ≥ l \psi(z(x,u))\geq l ψ ( z ( x , u )) ≥ l . Set g min : = l g_{\min}:=l g m i n := l and, with R \mathcal{R} R the set of finite effective radii, define
ρ min : = g min + min R . (54) \rho_{\min}:=g_{\min}+\min\mathcal{R}. \tag*{(54)} ρ m i n := g m i n + min R . (54)
Both scenarios satisfy c max < ρ min c_{\max}<\rho_{\min} c m a x < ρ m i n , with ρ min = 0.675 \rho_{\min}=0.675 ρ m i n = 0.675 m in the Corridor and 0.37 m in the Maze.
For g ≥ g min g\geq g_{\min} g ≥ g m i n , R ∈ R R\in\mathcal{R} R ∈ R and c < A ≤ c max c<A\leq c_{\max} c < A ≤ c m a x ,
∂ g P R ( g , c , A ) = A 2 − c 2 π ( g + R ) 2 ( g + R ) − c ) 2 − A 2 . (55) \partial_gP_R(g,c,A)=\frac{\sqrt{A^2-c^2}}{\pi(g+R)\sqrt{2(g+R)-c)^2-A^2}}. \tag*{(55)} ∂ g P R ( g , c , A ) = π ( g + R ) 2 ( g + R ) − c ) 2 − A 2 A 2 − c 2 . (55)
The denominator is positive since A + c < 2 c max < 2 ρ min ≤ 2 ( g + R ) A+c<2c_{\max}<2\rho_{\min}\leq2(g+R) A + c < 2 c m a x < 2 ρ m i n ≤ 2 ( g + R ) . This derivative decreases with g + R g+R g + R and increases with A A A . Therefore,
L g e o m ( c ) : = c max 2 − c 2 π ρ min ( 2 ρ min − c ) 2 − c max 2 (56) L_{\mathrm{geom}}(c):=\frac{\sqrt{c_{\max}^2-c^2}}{\pi\rho_{\min}\sqrt{(2\rho_{\min}-c)^2-c_{\max}^2}} \tag*{(56)} L geom ( c ) := π ρ m i n ( 2 ρ m i n − c ) 2 − c m a x 2 c m a x 2 − c 2 (56)
bounds the sensitivity to clearance, uniformly over g ≥ g min g\geq g_{\min} g ≥ g m i n , A ≤ c max A\leq c_{\max} A ≤ c m a x , and R ∈ R ∪ { ∞ } R\in\mathcal{R}\cup\{\infty\} R ∈ R ∪ { ∞ } . Hence L g e o m ( c ) L_{\mathrm{geom}}(c) L geom ( c ) is a Lipschitz constant of P R ( ⋅ , c , A ) P_R(\cdot,c,A) P R ( ⋅ , c , A ) on [ g min , ∞ ) [g_{\min},\infty) [ g m i n , ∞ ) . Let L g e o m : = max c ∈ Γ L g e o m ( c ) L_{\mathrm{geom}}:=\max_{c\in\Gamma}L_{\mathrm{geom}}(c) L geom := max c ∈ Γ L geom ( c ) .
e) Geometric check and comparison: A geometric check ensures that one feature determines ψ \psi ψ near the predicted nose point z t ( c ) z_t(c) z t ( c ) . The nearest feature i z i_z i z at z z z is the smallest index i i i that minimizes ψ i ( z ) \psi_i(z) ψ i ( z ) . If
min i ≠ i z ψ i ( z ) ≥ ψ ( z ) + 2 c max , (57) \min_{i\ne i_z}\psi_i(z)\geq\psi(z)+2c_{\max}, \tag*{(57)} i = i z min ψ i ( z ) ≥ ψ ( z ) + 2 c m a x , (57)
then ψ ( z + w ) = ψ i z ( z + w ) \psi(z+w)=\psi_{i_z}(z+w) ψ ( z + w ) = ψ i z ( z + w ) for every ∥ w ∥ ≤ c max \lVert w\rVert\leq c_{\max} ∥ w ∥ ≤ c m a x , since each ψ i \psi_i ψ i is 1-Lipschitz. If z z z is a rectangle [ z 1 , z 2 ] × [ z ˉ 1 , z ˉ 2 ] [z_1,z_2]\times[\bar z_1,\bar z_2] [ z 1 , z 2 ] × [ z ˉ 1 , z ˉ 2 ] , the rectangle condition requires the disk { z + w : ∥ w ∥ ≤ c max } \{z+w:\lVert w\rVert\leq c_{\max}\} { z + w : ∥ w ∥ ≤ c m a x } to lie in one exterior face or corner region, given in coordinates in Section 1.1 of [36 ] , so that the feature is affine or circular on the disk. The geometric check for c c c passes at ( t , s ) (t,s) ( t , s ) if U ( x t , c ) ≠ ∅ \mathcal{U}(x_t,c)\neq\varnothing U ( x t , c ) = ∅ , (58) and the rectangle condition hold at z = z t ( c ) z=z_t(c) z = z t ( c ) , and ψ ( z t ( c ) ) , ψ ( z s ) ≥ g min \psi(z_t(c)),\psi(z_s)\geq g_{\min} ψ ( z t ( c )) , ψ ( z s ) ≥ g m i n . The uniform geometric check passes at ( t , s ) (t,s) ( t , s ) if the geometric check for every c ′ ∈ Γ c'\in\Gamma c ′ ∈ Γ passes there.
If the geometric check for c c c passes at ( t , s ) (t,s) ( t , s ) , let g t ( c ) : = ψ ( z t ( c ) ) g_t(c):=\psi(z_t(c)) g t ( c ) := ψ ( z t ( c )) and g s : = ψ ( z s ) g_s:=\psi(z_s) g s := ψ ( z s ) , and let R t ( c ) R_t(c) R t ( c ) and R s R_s R s be the effective radii of the nearest features at z t ( c ) z_t(c) z t ( c ) and z s z_s z s , where a rectangle at z s z_s z s is treated as circular with R s = ρ b o d y R_s=\rho_{\mathrm{body}} R s = ρ body (justified after (60)). Since P R P_R P R depends on ( g , R ) (g,R) ( g , R ) only through g + R g+R g + R and increases with it, P R t ( c ) ( g , c , A ) − P R s ( g , c , A ) ≤ 0 P_{R_t(c)}(g,c,A)-P_{R_s}(g,c,A)\leq0 P R t ( c ) ( g , c , A ) − P R s ( g , c , A ) ≤ 0 if R t ( c ) ≤ R s R_t(c)\leq R_s R t ( c ) ≤ R s . Otherwise this difference is the integral of (56) over [ g + R s , g + R t ( c ) ] [g+R_s,g+R_t(c)] [ g + R s , g + R t ( c )] , an improper integral if R t ( c ) = ∞ R_t(c)=\infty R t ( c ) = ∞ , which decreases in g g g and increases in A A A . For g ≥ g min g\geq g_{\min} g ≥ g m i n and A ≤ c max A\leq c_{\max} A ≤ c m a x , it is therefore at most the feature-change term
η t , s ( c ) : = [ P R t ( c ) ( g min , c , c max ) − P R s ( g min , c , c max ) ] + . (58) \eta_{t,s}(c):=\left[P_{R_t(c)}(g_{\min},c,c_{\max})-P_{R_s}(g_{\min},c,c_{\max})\right]_+. \tag*{(58)} η t , s ( c ) := [ P R t ( c ) ( g m i n , c , c m a x ) − P R s ( g m i n , c , c m a x ) ] + . (58)
With P t ( A ) : = P R t ( c ) ( g t ( c ) , c , A ) P_t(A):=P_{R_t(c)}(g_t(c),c,A) P t ( A ) := P R t ( c ) ( g t ( c ) , c , A ) and P s ( A ) : = P R s ( g s , c , A ) P_s(A):=P_{R_s}(g_s,c,A) P s ( A ) := P R s ( g s , c , A ) , (52) gives
p t ( c ) = ∫ P t d μ t A , p s ( c ) ≥ ∫ P s d μ s A . (59) p_t(c)=\int P_t\,d\mu_t^A,\qquad p_s(c)\geq\int P_s\,d\mu_s^A. \tag*{(59)} p t ( c ) = ∫ P t d μ t A , p s ( c ) ≥ ∫ P s d μ s A . (59)
The equality holds because the nearest feature at z t ( c ) z_t(c) z t ( c ) determines ψ \psi ψ on the disk. The inequality holds because ψ ≤ ψ i \psi\le\psi_i ψ ≤ ψ i with equality at z s z_s z s for the nearest feature i i i at z s z_s z s . For a rectangle O k O_k O k with nearest point o o o to z s z_s z s , moreover, ψ i ( z s ) = ∥ z s − o ∥ − ρ b o d y \psi_i(z_s)=\lVert z_s-o\rVert-\rho_{\mathrm{body}} ψ i ( z s ) = ∥ z s − o ∥ − ρ body since ψ ( z s ) ≥ g min > 0 \psi(z_s)\ge g_{\min}>0 ψ ( z s ) ≥ g m i n > 0 places z s z_s z s outside O k O_k O k , and ψ i ( z s + w ) ≤ ∥ z s + w − o ∥ − ρ b o d y \psi_i(z_s+w)\le\lVert z_s+w-o\rVert-\rho_{\mathrm{body}} ψ i ( z s + w ) ≤ ∥ z s + w − o ∥ − ρ body since o ∈ ∂ O k o\in\partial O_k o ∈ ∂ O k gives sdist ( z s + w , O k ) ≤ ∥ z s + w − o ∥ \operatorname{sdist}(z_s+w,O_k)\le\lVert z_s+w-o\rVert sdist ( z s + w , O k ) ≤ ∥ z s + w − o ∥ . The clearance term is
G t , s ( c ) : = L g e o m ( c ) [ g t ( c ) − g s ] + . G_{t,s}(c):=L_{\mathrm{geom}}(c)[g_t(c)-g_s]_+. G t , s ( c ) := L geom ( c ) [ g t ( c ) − g s ] + .
f) Lipschitz constants of the clearance term: On a convex operating region containing the current and past state-input pairs, uniform Jacobian bounds K x z K_x^z K x z on ∥ ∂ x z ∥ \lVert\partial_x z\rVert ∥ ∂ x z ∥ and K u z K_u^z K u z on ∥ ∂ u z ∥ \lVert\partial_u z\rVert ∥ ∂ u z ∥ (induced norms) give
∥ z ( x , u ) − z ( x ′ , u ′ ) ∥ ≤ K x z ∥ x − x ′ ∥ + K u z ∥ u − u ′ ∥ . (60) \lVert z(x,u)-z(x',u')\rVert\le K_x^z\lVert x-x'\rVert
+K_u^z\lVert u-u'\rVert. \tag*{(60)} ∥ z ( x , u ) − z ( x ′ , u ′ )∥ ≤ K x z ∥ x − x ′ ∥ + K u z ∥ u − u ′ ∥ . (60)
Let v ˉ \bar v v ˉ bound absolute speed throughout a sampling interval of length T s T_s T s . For the Corridor, sufficient constants are
K x z = 1 + ( l + v ˉ T s ) 2 , K u z = T s 2 + ( l T s + v ˉ T s 2 / 2 ) 2 . (61) K_x^z=\sqrt{1+(l+\bar vT_s)^2},
\qquad
K_u^z=\sqrt{T_s^2+(lT_s+\bar vT_s^2/2)^2}. \tag*{(61)} K x z = 1 + ( l + v ˉ T s ) 2 , K u z = T s 2 + ( l T s + v ˉ T s 2 /2 ) 2 . (61)
and, for the Maze,
K x z = 1 + ( l + v ˉ T s ) 2 + T s 2 + ( l T s + v ˉ T s 2 / 2 ) 2 , K u z = T s 4 / 4 + ( l T s 2 / 2 + v ˉ T s 3 / 6 ) 2 . (62) K_x^z=\sqrt{1+(l+\bar vT_s)^2+T_s^2+(lT_s+\bar vT_s^2/2)^2},
\qquad
K_u^z=\sqrt{T_s^4/4+(lT_s^2/2+\bar vT_s^3/6)^2}. \tag*{(62)} K x z = 1 + ( l + v ˉ T s ) 2 + T s 2 + ( l T s + v ˉ T s 2 /2 ) 2 , K u z = T s 4 /4 + ( l T s 2 /2 + v ˉ T s 3 /6 ) 2 . (62)
In the Corridor, v ˉ \bar v v ˉ follows from the input limits. In the Maze, speed varies linearly between its current and predicted next values, both constrained by the limits in Table III . The Jacobian bounds behind (63) and (64) are derived in Section 1.3 of the supplementary ablation report [36 ] . The bounds also hold for the numerical predictor: its Gauss–Legendre quadrature has positive weights and integrates the relevant polynomial bounds exactly.
Table III. Parameters of both scenarios, the main grid, and the selected settings.
g) Geometric construction: We construct the risk-increase bound directly from the obstacle geometry and the conditional uniformity of the disturbance direction. This provides an alternative to Proposition 2 and does not require its density bound K p K_p K p .
The geometric comparison separates changes in clearance from changes in the effective radius:
P t ( A ) − P s ( A ) ≤ G t , s ( c ) + η t , s ( c ) . P_t(A)-P_s(A)\le G_{t,s}(c)+\eta_{t,s}(c). P t ( A ) − P s ( A ) ≤ G t , s ( c ) + η t , s ( c ) .
The first term bounds the effect of changing clearance while holding the effective radius fixed. The second accounts for the remaining change in geometry. Define
B t , s ( c ) : = min { P ‾ ( c ) , G t , s ( c ) + η t , s ( c ) } . B_{t,s}(c):=\min\{\overline{P}(c),G_{t,s}(c)+\eta_{t,s}(c)\}. B t , s ( c ) := min { P ( c ) , G t , s ( c ) + η t , s ( c )} .
Splitting P t ( A ) − P s ( A ) P_t(A)-P_s(A) P t ( A ) − P s ( A ) at P R t ( c ) ( g s , c , A ) P_{R_t(c)}(g_s,c,A) P R t ( c ) ( g s , c , A ) and using the sensitivity bound and the feature-change term (57) and (59), and P t ( A ) − P s ( A ) ≤ P t ( A ) ≤ P ‾ ( c ) P_t(A)-P_s(A)\le P_t(A)\le\overline{P}(c) P t ( A ) − P s ( A ) ≤ P t ( A ) ≤ P ( c ) , gives
P t ( A ) − P s ( A ) ≤ B t , s ( c ) , 0 ≤ A ≤ c max . (63) P_t(A)-P_s(A)\le B_{t,s}(c),\qquad0\le A\le c_{\max}. \tag*{(63)} P t ( A ) − P s ( A ) ≤ B t , s ( c ) , 0 ≤ A ≤ c m a x . (63)
Combining the clearance and predicted-position bounds gives
G t , s ( c ) ≤ L x g e o m ∥ x t − x s ∥ + L u g e o m ∥ u t ( c ) − u s ∥ G_{t,s}(c)\le L_x^{\mathrm{geom}}\lVert x_t-x_s\rVert+L_u^{\mathrm{geom}}\lVert u_t(c)-u_s\rVert G t , s ( c ) ≤ L x geom ∥ x t − x s ∥ + L u geom ∥ u t ( c ) − u s ∥
where
L x g e o m : = L g e o m K x z , L u g e o m : = L g e o m K u z . (64) L_x^{\mathrm{geom}}:=L_{\mathrm{geom}}K_x^z,\qquad
L_u^{\mathrm{geom}}:=L_{\mathrm{geom}}K_u^z. \tag*{(64)} L x geom := L geom K x z , L u geom := L geom K u z . (64)
These constants bound only the clearance contribution. The feature-change term η t , s ( c ) \eta_{t,s}(c) η t , s ( c ) is included separately.
For each past time s s s , distribution changes are bounded by
d T V ( μ t A , μ s A ) ≤ min { 1 , L μ ( t − s ) } . d_{\mathrm{TV}}(\mu_t^A,\mu_s^A)\le\min\{1,L_\mu(t-s)\}. d TV ( μ t A , μ s A ) ≤ min { 1 , L μ ( t − s )} .
We retain this bound inside the maximum over the certificate’s monitoring period.
h) Certificate bounds: When the uniform geometric check passes, define the uniform feature-change term
η ˉ t , s : = max c ′ ∈ Γ η t , s ( c ′ ) . \bar{\eta}_{t,s}:=\max_{c'\in\Gamma}\eta_{t,s}(c'). η ˉ t , s := c ′ ∈ Γ max η t , s ( c ′ ) .
For a certificate with monitoring period [ σ , τ ) [\sigma,\tau) [ σ , τ ) , V-U uses
d t U ( c ; σ , τ ) : = min { 1 , max σ ≤ s < τ [ L x g e o m ∥ x t − x s ∥ + L u g e o m ∥ u t ( c ) − u s ∥ + η ˉ t , s + Δ t ] } . (65) d_t^{\mathrm{U}}(c;\sigma,\tau):=\min\left\{1,\max_{\sigma\le s<\tau}\left[L_x^{\mathrm{geom}}\lVert x_t-x_s\rVert
+L_u^{\mathrm{geom}}\lVert u_t(c)-u_s\rVert+\bar{\eta}_{t,s}+\Delta_t\right]\right\}. \tag*{(65)} d t U ( c ; σ , τ ) := min { 1 , σ ≤ s < τ max [ L x geom ∥ x t − x s ∥ + L u geom ∥ u t ( c ) − u s ∥ + η ˉ t , s + Δ t ] } . (65)
V-Δ \Delta Δ replaces the uniform feature-change term by the candidate-specific feature-change term:
d t Δ ( c ; σ , τ ) : = min { 1 , max σ ≤ s < τ [ L x g e o m ∥ x t − x s ∥ + L u g e o m ∥ u t ( c ) − u s ∥ + η t , s ( c ) + Δ t ] } . (66) d_t^{\Delta}(c;\sigma,\tau):=\min\left\{1,\max_{\sigma\le s<\tau}\left[L_x^{\mathrm{geom}}\lVert x_t-x_s\rVert
+L_u^{\mathrm{geom}}\lVert u_t(c)-u_s\rVert+\eta_{t,s}(c)+\Delta_t\right]\right\}. \tag*{(66)} d t Δ ( c ; σ , τ ) := min { 1 , σ ≤ s < τ max [ L x geom ∥ x t − x s ∥ + L u geom ∥ u t ( c ) − u s ∥ + η t , s ( c ) + Δ t ] } . (66)
V-L uses the candidate-specific clearance term directly:
d t L ( c ; σ , τ ) : = min { 1 , max σ ≤ s < τ [ min { P ‾ ( c ) , G t , s ( c ) } + η ˉ t , s + Δ t ] } . (67) d_t^{\mathrm{L}}(c;\sigma,\tau):=\min\left\{1,\max_{\sigma\le s<\tau}\left[\min\{\overline{P}(c),G_{t,s}(c)\}
+\bar{\eta}_{t,s}+\Delta_t\right]\right\}. \tag*{(67)} d t L ( c ; σ , τ ) := min { 1 , σ ≤ s < τ max [ min { P ( c ) , G t , s ( c )} + η ˉ t , s + Δ t ] } . (67)
V-C combines both refinements and bounds the effect of distribution changes using P ‾ ( c ) \overline{P}(c) P ( c ) :
d t C ( c ; σ , τ ) : = max σ ≤ s < τ [ ( 1 − Δ t ) B t , s ( c ) + Δ t P ‾ ( c ) ] . (68) d_t^{\mathrm{C}}(c;\sigma,\tau):=\max_{\sigma\le s<\tau}\left[(1-\Delta_t)B_{t,s}(c)+\Delta_t\overline{P}(c)\right]. \tag*{(68)} d t C ( c ; σ , τ ) := σ ≤ s < τ max [ ( 1 − Δ t ) B t , s ( c ) + Δ t P ( c ) ] . (68)
V-U and V-L require the uniform geometric check throughout the monitoring period. V-Δ \Delta Δ and V-C require the check for c c c . If a required check fails, the corresponding certificate bound is set to 1.
To verify the V-C bound, fix σ ≤ s < τ \sigma\le s<\tau σ ≤ s < τ and let ε : = d T V ( μ t A , μ s A ) ≤ Δ t \varepsilon:=d_{\mathrm{TV}}(\mu_t^A,\mu_s^A)\le\Delta_t ε := d TV ( μ t A , μ s A ) ≤ Δ t . The common part of the magnitude distributions has mass 1 − ε 1-\varepsilon 1 − ε . On this part, the increase is at most B t , s ( c ) B_{t,s}(c) B t , s ( c ) by (66). The remaining current mass contributes at most ε P ‾ ( c ) \varepsilon\overline{P}(c) ε P ( c ) . The remaining past mass enters with a nonpositive sign, since P s ≥ 0 P_s\ge0 P s ≥ 0 . Thus, when u t = u t ( c ) u_t=u_t(c) u t = u t ( c ) , (60) gives
p t ( c ) − p s ( c ) ≤ ( 1 − ε ) B t , s ( c ) + ε P ‾ ( c ) ≤ ( 1 − Δ t ) B t , s ( c ) + Δ t P ‾ ( c ) ≤ d t C ( c ; σ , τ ) , p_t(c)-p_s(c)\le(1-\varepsilon)B_{t,s}(c)+\varepsilon\overline{P}(c)
\le(1-\Delta_t)B_{t,s}(c)+\Delta_t\overline{P}(c)
\le d_t^{\mathrm{C}}(c;\sigma,\tau), p t ( c ) − p s ( c ) ≤ ( 1 − ε ) B t , s ( c ) + ε P ( c ) ≤ ( 1 − Δ t ) B t , s ( c ) + Δ t P ( c ) ≤ d t C ( c ; σ , τ ) ,
where the second inequality uses B t , s ( c ) ≤ P ‾ ( c ) B_{t,s}(c)\le\overline{P}(c) B t , s ( c ) ≤ P ( c ) . This holds for every s s s in the monitoring period. The distributions are used only in the proof. Computing the bound does not require them.
i) Ordering and validity: For the same history and monitoring period [ σ , τ ) [\sigma,\tau) [ σ , τ ) , the certificate bounds satisfy
d t C ( c ; σ , τ ) ≤ d t L ( c ; σ , τ ) ≤ d t U ( c ; σ , τ ) , d t C ( c ; σ , τ ) ≤ d t Δ ( c ; σ , τ ) ≤ d t U ( c ; σ , τ ) . (69) d_t^{\mathrm{C}}(c;\sigma,\tau) \le d_t^{\mathrm{L}}(c;\sigma,\tau) \le d_t^{\mathrm{U}}(c;\sigma,\tau),
\qquad
d_t^{\mathrm{C}}(c;\sigma,\tau) \le d_t^{\Delta}(c;\sigma,\tau) \le d_t^{\mathrm{U}}(c;\sigma,\tau). \tag*{(69)} d t C ( c ; σ , τ ) ≤ d t L ( c ; σ , τ ) ≤ d t U ( c ; σ , τ ) , d t C ( c ; σ , τ ) ≤ d t Δ ( c ; σ , τ ) ≤ d t U ( c ; σ , τ ) . (69)
These inequalities follow from η t , s ( c ) ≤ η ˉ t , s \eta_{t,s}(c) \le\bar{\eta}_{t,s} η t , s ( c ) ≤ η ˉ t , s , the state-input bound on G t , s ( c ) G_{t,s}(c) G t , s ( c ) , Δ t ≤ 1 \Delta_t \le1 Δ t ≤ 1 and B t , s ( c ) ≤ P ˉ ( c ) ≤ 1 B_{t,s}(c) \le\bar{P}(c) \le1 B t , s ( c ) ≤ P ˉ ( c ) ≤ 1 . Maximizing over the same monitoring period preserves the ordering. The ordering also holds when checks fail: failure of the geometric check for c c c sets all four bounds to 1, while failure of only the uniform check sets the V-U and V-L bounds to 1.
The geometric comparison and distribution-drift bound establish, whenever u t = u t ( c ) u_t = u_t(c) u t = u t ( c ) ,
p t ( c ) ≤ p s ( c ) + d t V ( c ; σ , τ ) , σ ≤ s < τ , p_t(c) \le p_s(c) + d_t^{V}(c;\sigma,\tau), \qquad\sigma\le s < \tau, p t ( c ) ≤ p s ( c ) + d t V ( c ; σ , τ ) , σ ≤ s < τ ,
for every variant V ∈ { U , Δ , L , C } V \in\{\mathrm{U},\Delta,\mathrm{L},\mathrm{C}\} V ∈ { U , Δ , L , C } . Thus, these constructions satisfy (23). A bound set to 1 prevents deployment using that certificate at the current decision time.
The ordering compares bounds on the same history, i.e., it does not imply an ordering of margins selected along different closed-loop trajectories.
Appendix E: Empirical Metrics and Checks
We describe how the recorded trajectories from Section VI are used to assess the statistical guarantees and measure performance over the simulated horizon. Exceedance-risk evaluation uses the full simulated disturbance distribution, which is not supplied to the controller. Trajectory k k k executes N k ≤ T N_k \le T N k ≤ T transitions, with the decision horizon T T T of Corollary 1, and the index k k k marks its recorded quantities, e.g., p k , t ( c ) p_{k,t}(c) p k , t ( c ) , c k , t c_{k,t} c k , t and τ k , r ( c ) \tau_{k,r}(c) τ k , r ( c ) .
False-Certification and Deployment Events
a) Exceedance-risk evaluation: At each recorded decision time t t t , we hold the state, applied input u t u_t u t , and observed history fixed. We propagate disturbances w w w through the true system f ( x t , u t , w ) f(x_t,u_t,w) f ( x t , u t , w ) and integrate the exceedance indicator of Section IV-A numerically over the conditional distribution μ t \mu_t μ t of w t w_t w t in Appendix D. Since Y t > c Y_t > c Y t > c holds exactly when the signed barrier shortfall ℓ \ell ℓ in (42a) satisfies ℓ ( x t , u t , w t ) > c \ell(x_t,u_t,w_t) > c ℓ ( x t , u t , w t ) > c , this approximates the exceedance risk p t ( c ) p_t(c) p t ( c ) in (8) by the estimated exceedance risk
p ^ t ( c ) ≈ ∫ 1 { ℓ ( x t , u t , w ) > c } μ t ( d w ) = p t ( c ) (70) \widehat{p}_t(c) \approx\int\mathbf{1}_{\{\ell(x_t,u_t,w)>c\}}\,\mu_t(\mathrm{d}w) = p_t(c) \tag*{(70)} p t ( c ) ≈ ∫ 1 { ℓ ( x t , u t , w ) > c } μ t ( d w ) = p t ( c ) (70)
with the numerical risk bounds
p t − ( c ) ≤ p t ( c ) ≤ p t + ( c ) . p_t^{-}(c) \le p_t(c) \le p_t^{+}(c). p t − ( c ) ≤ p t ( c ) ≤ p t + ( c ) .
The computation of p ^ t ( c ) \widehat{p}_t(c) p t ( c ) and of its numerical risk bounds is given in the supplementary ablation report [36 ] .
False-Certification and Deployment Events
b) Trajectory events: With the starting times σ r \sigma_r σ r of the tests in Section V-B, the trajectory events are
A c e r t , k : = { ∃ c ∈ Γ , r ≥ 1 : τ k , r ( c ) ≤ N k , min σ r ≤ s < τ k , r ( c ) p k , s ( c ) ≥ α } , (71) \mathcal{A}_{\mathrm{cert},k} := \{\exists c \in\Gamma,\ r \ge1 : \tau_{k,r}(c) \le N_k,\ \min_{\sigma_r \le s < \tau_{k,r}(c)} p_{k,s}(c) \ge\alpha\}, \tag*{(71)} A cert , k := { ∃ c ∈ Γ , r ≥ 1 : τ k , r ( c ) ≤ N k , σ r ≤ s < τ k , r ( c ) min p k , s ( c ) ≥ α } , (71)
and
A d e p , k : = { ∃ 0 ≤ t < N k : p k , t ( c k , t ) > α 0 } . (72) \mathcal{A}_{\mathrm{dep},k} := \{\exists\,0 \le t < N_k : p_{k,t}(c_{k,t}) > \alpha_0\}. \tag*{(72)} A dep , k := { ∃ 0 ≤ t < N k : p k , t ( c k , t ) > α 0 } . (72)
The false-certification event A c e r t , k \mathcal{A}_{\mathrm{cert},k} A cert , k occurs if a test of trajectory k k k certifies a candidate c c c whose exceedance risk stays at least α \alpha α over the monitoring period, and the deployment event A d e p , k \mathcal{A}_{\mathrm{dep},k} A dep , k occurs if p k , t ( c k , t ) > α 0 p_{k,t}(c_{k,t}) > \alpha_0 p k , t ( c k , t ) > α 0 at some decision. For finite K K K , the proof of Theorem 3 bounds the probability of A c e r t , k \mathcal{A}_{\mathrm{cert},k} A cert , k by δ \delta δ , and the theorem that of A d e p , k \mathcal{A}_{\mathrm{dep},k} A dep , k . For K = ∞ K = \infty K = ∞ , Theorems 1 and 2 bound them by the error level δ 1 \delta_1 δ 1 of Section V-B. The bounds on A d e p , k \mathcal{A}_{\mathrm{dep},k} A dep , k require Assumptions 1 and 2.
c) Event frequencies: An event is confirmed if it occurs with every exceedance risk replaced by its lower bound p k , t − p_{k,t}^{-} p k , t − , and possible if it occurs with the upper bounds p k , t + p_{k,t}^{+} p k , t + . Since both events are increasing in the exceedance risks, a confirmed event occurs for all exceedance risks within [ p k , t − , p k , t + ] [p_{k,t}^{-},p_{k,t}^{+}] [ p k , t − , p k , t + ] , and an event that is not possible occurs for none. Over the N M C N_{\mathrm{MC}} N MC trajectories of a method, scenario and setting, the trajectory frequency of a trajectory event A \mathcal{A} A is
q ^ ( A ) : = 1 N M C ∑ k = 1 N M C 1 A k . (73) \widehat{q}(\mathcal{A}) := \frac{1}{N_{\mathrm{MC}}}\sum_{k=1}^{N_{\mathrm{MC}}}\mathbf{1}_{\mathcal{A}_k}. \tag*{(73)} q ( A ) := N MC 1 k = 1 ∑ N MC 1 A k . (73)
For (76) and (77), it is the false-certification frequency and the deployment-event frequency . They are denoted q ^ c e r t \widehat{q}_{\mathrm{cert}} q cert and q ^ d e p \widehat{q}_{\mathrm{dep}} q dep .
d) Upper confidence bounds: A trajectory frequency estimates the probability q ( A ) : = P ( A k ) q(\mathcal{A}) := \mathbb{P}(\mathcal{A}_k) q ( A ) := P ( A k ) from N M C N_{\mathrm{MC}} N MC independent trajectories. Its 95% upper confidence bound q ‾ ( A ) \overline{q}(\mathcal{A}) q ( A ) is the Clopper–Pearson bound [43 ] computed from the number n A n_{\mathcal{A}} n A of trajectories with a possible event, so that
P ( q ( A ) ≤ q ‾ ( A ) ) ≥ 0.95. (74) \mathbb{P}\bigl(q(\mathcal{A}) \le\overline{q}(\mathcal{A})\bigr) \ge0.95. \tag*{(74)} P ( q ( A ) ≤ q ( A ) ) ≥ 0.95. (74)
For example, zero possible events in 200 trajectories gives an upper confidence bound of 1.5%. An event frequency meets its level if its upper confidence bound is at most the level of the guarantee it checks, δ \delta δ for finite K K K and δ 1 \delta_1 δ 1 for K = ∞ K = \infty K = ∞ .
Let I g o a l , k : = 1 I_{\mathrm{goal},k} := 1 I goal , k := 1 if trajectory k k k reaches the goal and I g o a l , k : = 0 I_{\mathrm{goal},k} := 0 I goal , k := 0 otherwise, and let K + : = { k : N k ≥ 1 } \mathcal{K}_{+} := \{k : N_k \ge1\} K + := { k : N k ≥ 1 } . For a decision indicator I k , t ∈ { 0 , 1 } I_{k,t} \in\{0,1\} I k , t ∈ { 0 , 1 } and the sampling period T s T_s T s in Table III , define
T m i s , k : = T s [ I g o a l , k N k + ( 1 − I g o a l , k ) T ] , T_{\mathrm{mis},k} := T_s[I_{\mathrm{goal},k}N_k+(1-I_{\mathrm{goal},k})T], T mis , k := T s [ I goal , k N k + ( 1 − I goal , k ) T ] ,
m c , k : = 1 N k ∑ t < N k c k , t , q k + : = 1 N k ∑ t < N k I k , t , m_{c,k} := \frac{1}{N_k}\sum_{t<N_k}c_{k,t}, \qquad q_k^+ := \frac{1}{N_k}\sum_{t<N_k}I_{k,t}, m c , k := N k 1 t < N k ∑ c k , t , q k + := N k 1 t < N k ∑ I k , t ,
T ^ m i s : = 1 N M C ∑ k = 1 N M C T m i s , k , (75) \widehat{T}_{\mathrm{mis}} := \frac{1}{N_{\mathrm{MC}}}\sum_{k=1}^{N_{\mathrm{MC}}}T_{\mathrm{mis},k}, \tag*{(75)} T mis := N MC 1 k = 1 ∑ N MC T mis , k , (75)
m ^ c : = 1 ∣ K + ∣ ∑ k ∈ K + m c , k \widehat{m}_c := \frac{1}{|\mathcal{K}_+|}\sum_{k\in\mathcal{K}_+}m_{c,k} m c := ∣ K + ∣ 1 k ∈ K + ∑ m c , k
q ^ + : = 1 ∣ K + ∣ ∑ k ∈ K + q k + . \widehat{q}^+ := \frac{1}{|\mathcal{K}_+|}\sum_{k\in\mathcal{K}_+}q_k^+. q + := ∣ K + ∣ 1 k ∈ K + ∑ q k + .
They give the mean mission time T ^ m i s \widehat{T}_{\mathrm{mis}} T mis , in which a trajectory that does not reach the goal counts with the horizon T T T , the normalized mean robustness margin m ^ c / c max \widehat{m}_c/c_{\max} m c / c m a x and the decision fraction q ^ + \widehat{q}^+ q + of I I I , the mean fraction of decisions with I k , t = 1 I_{k,t}=1 I k , t = 1 . The trajectory frequency (73) of { ∃ t < N k : I k , t = 1 } \{\exists t<N_k:I_{k,t}=1\} { ∃ t < N k : I k , t = 1 } is denoted q ^ \widehat{q} q . The CBF-violation fraction q ^ C B F + \widehat{q}_{\mathrm{CBF}}^+ q CBF + and the safe-set-violation fraction q ^ u n s a f e + \widehat{q}_{\mathrm{unsafe}}^+ q unsafe + are the decision fractions of a violation of the true barrier condition in (7) and of leaving the safe set C \mathcal{C} C ,
I C B F , k , t : = 1 { h ( x k , t + 1 ) < ( 1 − γ ) h ( x k , t ) } , I_{\mathrm{CBF},k,t}:=\mathbf{1}\{h(x_{k,t+1})<(1-\gamma)h(x_{k,t})\}, I CBF , k , t := 1 { h ( x k , t + 1 ) < ( 1 − γ ) h ( x k , t )} ,
I u n s a f e , k , t : = 1 { h ( x k , t + 1 ) < 0 } . (76) I_{\mathrm{unsafe},k,t}:=\mathbf{1}\{h(x_{k,t+1})<0\}. \tag*{(76)} I unsafe , k , t := 1 { h ( x k , t + 1 ) < 0 } . (76)
The estimated peak exceedance risk and the minimum barrier value are
p ^ k max : = max 0 ≤ t < N k , c k , t < c max p ^ k , t ( c k , t ) , \widehat{p}_k^{\max}:=\max_{\substack{0\le t<N_k,\\c_{k,t}<c_{\max}}}\widehat{p}_{k,t}(c_{k,t}), p k m a x := 0 ≤ t < N k , c k , t < c m a x max p k , t ( c k , t ) ,
h k min : = min 0 ≤ t ≤ N k h ( x k , t ) , (77) h_k^{\min}:=\min_{0\le t\le N_k}h(x_{k,t}), \tag*{(77)} h k m i n := 0 ≤ t ≤ N k min h ( x k , t ) , (77)
with p ^ k max \widehat{p}_k^{\max} p k m a x undefined if c k , t = c max c_{k,t}=c_{\max} c k , t = c m a x for all t t t , and h k min < 0 h_k^{\min}<0 h k m i n < 0 exactly when x k , t ∉ C x_{k,t}\notin\mathcal{C} x k , t ∈ / C for some t t t . Their means over the trajectories where they are defined are the mean estimated peak exceedance risk m ^ p max \widehat{m}_{p^{\max}} m p m a x and the mean minimum barrier value m ^ h min \widehat{m}_{h^{\min}} m h m i n . The secondary metrics are defined in the supplementary ablation report [36 ] .
Empirical Checks of the Assumptions and the Tightened Condition
Assumption 1 requires that U ( x t , c max ) \mathcal{U}(x_t,c_{\max}) U ( x t , c m a x ) is nonempty and that the input u t ( c max ) u_t(c_{\max}) u t ( c m a x ) ensures the support condition Y t ≤ c max Y_t\le c_{\max} Y t ≤ c m a x . At every recorded decision, we check both conditions and the tightened condition (3) for the applied input, that is, u t ∈ U ( x t , c t ) u_t\in\mathcal{U}(x_t,c_t) u t ∈ U ( x t , c t ) .
Assumption 2 requires, through (23), that the exceedance risk p t ( c ) p_t(c) p t ( c ) exceeds p s ( c ) p_s(c) p s ( c ) by at most d t ( c ; σ , τ ) d_t(c;\sigma,\tau) d t ( c ; σ , τ ) at every time s s s of the monitoring period [ σ , τ ) [\sigma,\tau) [ σ , τ ) . A decision is checked if c t < c max c_t<c_{\max} c t < c m a x . At a checked decision, c t c_t c t is certified by the test with the supporting test index r t r_t r t in (86), with monitoring period [ σ r t , τ r t ( c t ) ) [\sigma_{r_t},\tau_{r_t}(c_t)) [ σ r t , τ r t ( c t )) . We check (23) for this test with the estimated exceedance risk p ^ \widehat{p} p in place of p p p , through the bound excesses
e p w , t : = max σ r t ≤ s < τ r t ( c t ) [ p ^ t ( c t ) − p ^ s ( c t ) − d t V ( c t ; s , s + 1 ) ] , e_{\mathrm{pw},t}:=\max_{\sigma_{r_t}\le s<\tau_{r_t}(c_t)}\left[\widehat{p}_t(c_t)-\widehat{p}_s(c_t)-d_t^{V}(c_t;s,s+1)\right], e pw , t := σ r t ≤ s < τ r t ( c t ) max [ p t ( c t ) − p s ( c t ) − d t V ( c t ; s , s + 1 ) ] ,
e A 2 , t : = p ^ t ( c t ) − min σ r t ≤ s < τ r t ( c t ) p ^ s ( c t ) − d t ( r t ) ( c t ) . (78) e_{\mathrm{A2},t}:=\widehat{p}_t(c_t)-\min_{\sigma_{r_t}\le s<\tau_{r_t}(c_t)}\widehat{p}_s(c_t)-d_t^{(r_t)}(c_t). \tag*{(78)} e A2 , t := p t ( c t ) − σ r t ≤ s < τ r t ( c t ) min p s ( c t ) − d t ( r t ) ( c t ) . (78)
The excess e A 2 , t e_{\mathrm{A2},t} e A2 , t is the largest increase p ^ t ( c t ) − p ^ s ( c t ) \widehat{p}_t(c_t)-\widehat{p}_s(c_t) p t ( c t ) − p s ( c t ) over the monitoring period minus the current risk-increase bound d t ( r t ) ( c t ) d_t^{(r_t)}(c_t) d t ( r t ) ( c t ) in (30), and e p w , t e_{\mathrm{pw},t} e pw , t compares each increase with the risk-increase term of the deployed variant at the same s s s . A positive excess means that the bound is exceeded. For a bound factor ϕ < 1 \phi<1 ϕ < 1 in Appendix F-B, both bounds are scaled by ϕ \phi ϕ . The frequencies q ^ p w \widehat{q}_{\mathrm{pw}} q pw and q ^ A 2 \widehat{q}_{\mathrm{A2}} q A2 are the trajectory frequencies (78) of a positive e p w , t e_{\mathrm{pw},t} e pw , t and a positive e A 2 , t e_{\mathrm{A2},t} e A2 , t at some checked decision.
Scenario-Specific Quantities
In both scenarios, the barrier uses the clearance ψ \psi ψ of Appendix D-B, and y k , t y_{k,t} y k , t denotes the body center. Contact is the event ψ ( y k , t ) ≤ 0 \psi(y_{k,t})\le0 ψ ( y k , t ) ≤ 0 for some 1 ≤ t ≤ N k 1\le t\le N_k 1 ≤ t ≤ N k , and it ends the trajectory. Since ψ \psi ψ is 1-Lipschitz (51) and ∥ w t ∥ ≤ c max \lVert w_t\rVert\le c_{\max} ∥ w t ∥ ≤ c m a x , the support condition Y t ≤ c max Y_t\le c_{\max} Y t ≤ c m a x holds almost surely.
Appendix F: Simulation Details
This appendix specifies the simulations of Section VI. Appendix F-A defines the compared methods and the simulation models, and Appendix F-B the error allocation and the bound factor. Appendix F-C and Appendix F-D report the Corridor results and the checks of the guarantees and the assumptions. All methods share the initial states and, for each L μ L_\mu L μ , the disturbance realizations. The supplementary ablation report [36 ] gives further comparisons and the implementation details, and the code is in the repository linked in Section VI-A.
Compared Methods and Simulation Models
All filtered methods use the same nominal input, input limits and weighted input deviation as the objective of (4), and differ only in the robustness margin c t c_t c t . The certified variants use the certificate bounds of Table II, derived in Appendix D-B. Table III gives the parameters, and [36 ] the obstacle coordinates. Lengths are in meters, angles in radians unless marked in degrees, and times in seconds.
a) Baselines: Unfiltered nominal control applies u t n o m u_t^{\mathrm{nom}} u t nom , and the CBF filters with fixed margins use c t = 0 c_t=0 c t = 0 and c t = c max c_t=c_{\max} c t = c m a x in (4). ACI and QT keep an online estimate c ^ t M \widehat{c}_t^{\mathrm{M}} c t M , M ∈ { A C I , Q T } \mathrm{M}\in\{\mathrm{ACI},\mathrm{QT}\} M ∈ { ACI , QT } , of the ( 1 − α 0 ) (1-\alpha_0) ( 1 − α 0 ) -quantile of the barrier losses Y t Y_t Y t and deploy c t = min { c max , [ c ^ t M ] + } c_t=\min\{c_{\max},[\widehat{c}_t^{\mathrm{M}}]_+\} c t = min { c m a x , [ c t M ] + } . ACI takes the empirical ( 1 − α t A C I ) (1-\alpha_t^{\mathrm{ACI}}) ( 1 − α t ACI ) -quantile of the last N w i n N^{\mathrm{win}} N win losses and adapts its level, starting from α 0 A C I = α 0 \alpha_0^{\mathrm{ACI}}=\alpha_0 α 0 ACI = α 0 , while QT updates the estimate directly:
α t + 1 A C I = α t A C I + k A C I ( α 0 − 1 { Y t > c ^ t A C I } ) , (79) \alpha_{t+1}^{\mathrm{ACI}}=\alpha_t^{\mathrm{ACI}}+k_{\mathrm{ACI}}(\alpha_0-\mathbf{1}_{\{Y_t>\widehat{c}_t^{\mathrm{ACI}}\}}), \tag*{(79)} α t + 1 ACI = α t ACI + k ACI ( α 0 − 1 { Y t > c t ACI } ) , (79)
c ^ t + 1 Q T = c ^ t Q T + k Q T ( 1 { Y t > c ^ t Q T } − α 0 ) . (80) \widehat{c}_{t+1}^{\mathrm{QT}}=\widehat{c}_t^{\mathrm{QT}}+k_{\mathrm{QT}}(\mathbf{1}_{\{Y_t>\widehat{c}_t^{\mathrm{QT}}\}}-\alpha_0). \tag*{(80)} c t + 1 QT = c t QT + k QT ( 1 { Y t > c t QT } − α 0 ) . (80)
Both methods raise their estimate after an exceedance Y t > c ^ t M Y_t>\widehat{c}_t^{\mathrm{M}} Y t > c t M and lower it otherwise, which drives the long-run fraction of such exceedances toward α 0 \alpha_0 α 0 . The window N w i n N^{\mathrm{win}} N win , the step sizes k A C I , k Q T > 0 k_{\mathrm{ACI}},k_{\mathrm{QT}}>0 k ACI , k QT > 0 , and the initial robustness margins are in Table III . @ 马会
Table II. Terms of the certificate bounds d t V ( c ; σ , τ ) d_t^V(c;\sigma,\tau) d t V ( c ; σ , τ ) defined in (47) of Appendix D-B. The drift term Δ t \Delta_t Δ t is (46c) taken at each s s s , as stated after it.
b) Supporting test index: The supporting test index of the deployed margin c t ∈ D t c_t \in D_t c t ∈ D t is the index of the most recently started test whose certificate of c t c_t c t has the smallest current risk-increase bound,
r t : = max arg min r : τ r ( c t ) ≤ t d t ( r ) ( c t ) , (81) r_t := \max\mathop{\arg\min}_{r:\tau_r(c_t)\le t} d_t^{(r)}(c_t), \tag*{(81)} r t := max arg min r : τ r ( c t ) ≤ t d t ( r ) ( c t ) , (81)
with d t ( r ) d_t^{(r)} d t ( r ) in (30), and r t : = 0 r_t:=0 r t := 0 if D t = ∅ D_t=\varnothing D t = ∅ . Its certificate meets the deployment condition in (31), and Appendix E-C checks Assumption 2 over its monitoring period.
c) Dynamics and barrier functions: The robot has body center y ∈ R 2 y\in\mathbb{R}^2 y ∈ R 2 , heading θ \theta θ , and nose point q ( x ) : = y + l e ( θ ) q(x):=y+l e(\theta) q ( x ) := y + l e ( θ ) with e ( θ ) : = ( cos θ , sin θ ) e(\theta):=(\cos\theta,\sin\theta) e ( θ ) := ( cos θ , sin θ ) and nose distance l > 0 l>0 l > 0 , and ψ \psi ψ is the clearance (49) in the Corridor and (50) in the Maze. The nominal continuous-time dynamics are
Corridor: y ˙ = v e ( θ ) , θ ˙ = ω , (82) \begin{aligned}
\text{Corridor:}\quad&\dot{y}=v e(\theta),\quad\dot{\theta}=\omega, \tag*{(82)}
\end{aligned} Corridor: y ˙ = v e ( θ ) , θ ˙ = ω , (82)
Maze: y ˙ = v e ( θ ) , θ ˙ = ω , v ˙ = a , ω ˙ = ν , (83) \begin{aligned}
\text{Maze:}\quad&\dot{y}=v e(\theta),\quad\dot{\theta}=\omega,\quad\dot{v}=a,\quad\dot{\omega}=\nu, \tag*{(83)}
\end{aligned} Maze: y ˙ = v e ( θ ) , θ ˙ = ω , v ˙ = a , ω ˙ = ν , (83)
with x = ( y , θ ) x=(y,\theta) x = ( y , θ ) , u = ( v , ω ) u=(v,\omega) u = ( v , ω ) in the Corridor and x = ( y , θ , v , ω ) x=(y,\theta,v,\omega) x = ( y , θ , v , ω ) , u = ( a , ν ) u=(a,\nu) u = ( a , ν ) in the Maze. With the braking deceleration a b r > 0 a_{\mathrm{br}}>0 a br > 0 , the barrier function is
h ( x ) : = ψ ( q ( x ) ) − l − v 2 2 a b r (84) h(x):=\psi(q(x))-l-\frac{v^2}{2a_{\mathrm{br}}} \tag*{(84)} h ( x ) := ψ ( q ( x )) − l − 2 a br v 2 (84)
in the Maze, and the same without the braking term in the Corridor. The nominal one-step predictor f ^ ( x , u ) \hat{f}(x,u) f ^ ( x , u ) in (2) is the state reached from x x x after one sampling period T s T_s T s (Table III) with u u u held constant.
d ) d) d ) Disturbance: The true system adds the planar displacement w t = A t e ( Φ t ) w_t=A_t\boldsymbol{e}(\Phi_t) w t = A t e ( Φ t ) to the nominal prediction,
f ( x , u , w ) : = f ^ ( x , u ) + ( w , 0 n − 2 ) , (85) f(x,u,w) := \hat{f}(x,u) + (w,0_{n-2}), \tag*{(85)} f ( x , u , w ) := f ^ ( x , u ) + ( w , 0 n − 2 ) , (85)
with n = 3 n=3 n = 3 in the Corridor and n = 5 n=5 n = 5 in the Maze. Given F t \mathcal{F}_t F t , the direction Φ t \Phi_t Φ t is uniform on [ 0 , 2 π ) [0,2\pi) [ 0 , 2 π ) and independent of the magnitude A t A_t A t , which has the distribution μ t A \mu^A_t μ t A ,
A t ∣ F t ∼ ( 1 − β t ) U 1 + β t U 2 , (86) A_t \mid\mathcal{F}_t \sim(1-\beta_t)U_1+\beta_t U_2, \tag*{(86)} A t ∣ F t ∼ ( 1 − β t ) U 1 + β t U 2 , (86)
β t : = 1 2 [ 1 + sin ( 2 L μ t ) ] , \beta_t := \frac{1}{2}[1+\sin(2L_\mu t)], β t := 2 1 [ 1 + sin ( 2 L μ t )] ,
where U 1 U_1 U 1 and U 2 U_2 U 2 are the uniform distributions on [ 0 , c max / 2 ] [0,c_{\max}/2] [ 0 , c m a x /2 ] and [ c max / 2 , c max ] [c_{\max}/2,c_{\max}] [ c m a x /2 , c m a x ] . The distribution μ t A \mu^A_t μ t A shifts between small and large magnitudes, with ∣ β t + 1 − β t ∣ ≤ L μ |\beta_{t+1}-\beta_t|\le L_\mu ∣ β t + 1 − β t ∣ ≤ L μ . The controller knows neither μ t A \mu^A_t μ t A nor β t \beta_t β t , and the simulations contain no other model error.
Error Allocation and Bound Factor
a ) a) a ) Error allocation: The budget normalizer b ≥ κ b\ge\kappa b ≥ κ replaces κ \kappa κ in the error levels of Section V-B, which become
δ r = δ b ( r + 1 ) ln 2 ( r + 1 ) , ∑ r ≥ 1 δ r = δ κ b ≤ δ . \delta_r=\frac{\delta}{b(r+1)\ln^2(r+1)},\qquad\sum_{r\ge1}\delta_r=\frac{\delta\kappa}{b}\le\delta. δ r = b ( r + 1 ) ln 2 ( r + 1 ) δ , r ≥ 1 ∑ δ r = b δ κ ≤ δ .
Theorem 3 then holds with δ \delta δ replaced by δ κ / b \delta\kappa/b δ κ / b . By default, b = κ b=\kappa b = κ , rounded up to 2.11. For K = ∞ K=\infty K = ∞ , only test 1 starts, at σ 1 = 0 \sigma_1=0 σ 1 = 0 , with the error level δ 1 \delta_1 δ 1 .
b ) b) b ) Bound factor: The bound factor ϕ ∈ [ 0 , 1 ] \phi\in[0,1] ϕ ∈ [ 0 , 1 ] multiplies d t V ( c ; σ , τ ) d^{\mathrm{V}}_t(c;\sigma,\tau) d t V ( c ; σ , τ ) in the current risk-increase bound (30). The default ϕ = 1 \phi=1 ϕ = 1 gives the certificate bounds of Appendix D-B. Values ϕ < 1 \phi<1 ϕ < 1 shrink these bounds, which then need not satisfy Assumption 2, and Appendix G-A and [36 ] compare them.
Corridor Results
In all certified rows of Table IV, both event frequencies meet their levels, with deployment-event frequency 0%, false-certification frequency at most 3.5%, and m ^ p max ≤ 0.21 \hat{m}_{p\max}\le0.21 m ^ p m a x ≤ 0.21 . ACI and QT have deployment-event frequency 100%, with m ^ p max \hat{m}_{p\max} m ^ p m a x at 1.91 and 2.00 times α 0 \alpha_0 α 0 . Relative to c max c_{\max} c m a x , S3 with V-L (Figure 4 ) and S1 with V-C reduce m ^ c / c max \hat{m}_c/c_{\max} m ^ c / c m a x by 38% and 50%, respectively. V-C minimizes this mean at every setting, as in the Maze. ACI, QT, and S1 with V-C reach the goal with mean mission times 33.1, 33.4, and 33.9 s. The CBF-violation fraction q ^ C B F + \hat{q}^{+}_{\mathrm{CBF}} q ^ CBF + is 15.2–17.7% for ACI and QT, versus 9.7% for S1 with V-C.
Figure 4. Corridor, S3 with V-L. Panels (a)–(d) as in Figure 3 , and (e) the supporting test index r t r_t r t .
Table 4. Corridor results. Conventions as in Table I. Unfiltered control has contact in every trajectory and does not reach the goal, so T ^ m i s \hat{T}_{\mathrm{mis}} T ^ mis is the horizon T s = 70 T_s=70 T s = 70 s.
Guarantees and Assumptions
a ) a) a ) Events: In the 3000 main-grid cells (Table III ), deployment events occur in 5.13%, only at α 0 ≤ 0.25 \alpha_0\le0.25 α 0 ≤ 0.25 . At finite K K K , 0.375% of 2400 cells miss a level: false-certification frequency 1.0% (upper confidence bound 3.2%) in the Corridor at ( α , δ , K ) = ( 0.15 , 0.025 , 10 ) (\alpha,\delta,K)=(0.15,0.025,10) ( α , δ , K ) = ( 0.15 , 0.025 , 10 ) . At K = ∞ K=\infty K = ∞ , 26.67% of 600 cells miss a level: 20% at δ = 0.025 \delta=0.025 δ = 0.025 , where
δ 1 = 1.23 % \delta_1=1.23\% δ 1 = 1.23% lies below the 1.5% upper confidence bound at zero possible events, and 6.67% in the Corridor at α = 0.05 \alpha=0.05 α = 0.05 , δ ∈ { 0.05 , 0.10 } \delta\in\{0.05,0.10\} δ ∈ { 0.05 , 0.10 } . Section 2.8 of [36 ] details the events and single tests (K = ∞ K=\infty K = ∞ ).
b ) b) b ) Assumptions: In all simulations with ϕ = 1 \phi=1 ϕ = 1 , here and in [36 ] , Assumption 1 and the tightened condition (3) hold at every recorded decision, no bound excess (83) is positive at a checked decision, and every trajectory reaches the goal without contact (Appendix E-D). In some main-grid cells, V-U, V-Δ \Delta Δ and V-L never deploy a margin below c max c_{\max} c m a x , so no decision is checked there.
Appendix G: Simulation Figures and Tables
Figures and tables in this appendix
Table V: bound factor and distribution-drift bound. Figs. 4–5: trajectories. Fig. 6: per-trajectory distributions. Fig. 7: robustness-margin heatmap. Fig. 8: parameter sweeps.
Bound Factor and Distribution-Drift Bound
Table V varies the bound factor ϕ \phi ϕ defined in Appendix F-B and the distribution-drift bound L μ L_{\mu} L μ defined in (44) , for S3 with V-L in both scenarios. These are the setting and variant used in the trajectory figures. Values ϕ < 1 \phi< 1 ϕ < 1 need not satisfy Assumption 2 and carry no guarantee. Section 2.7 of the supplementary ablation report [36 ] gives the full comparison. Its Tables 17 and 18 report events and bound-excess checks for S1–S5, and its Section 2.2.3 gives sweeps for all four variants.
Table V. Bound factor ϕ \phi ϕ and distribution-drift bound L μ L_{\mu} L μ at S3, V-L. Means ± SD. Decision fractions and event frequencies in %, with 95% upper confidence bounds in parentheses for events. N M C = 200 N_{\mathrm{MC}} = 200 N MC = 200 per row.
Trajectories and Estimated Exceedance Risk
Figure 5. Maze, S3 with V-L. Panels as in Figure 4 . The legend in (a) serves all panels.
Distributions and Robustness-Margin Heatmap
In Figure 6 , points are trajectories, boxes span the quartiles with the median, and whiskers reach the most extreme values within 1.5 interquartile ranges of the quartiles. Unfiltered control is omitted for scale. Figure 7 compares the certified variants over α \alpha α and K K K .
Figure 6. Distributions at S3, Corridor (top) and Maze (bottom). N-A: no smaller-margin deployment. Decision fractions are percentages.
Figure 7. Maze, α 0 = 0.30 \alpha_0 = 0.30 α 0 = 0.30 : m ^ c / c max \hat{m}_c/c_{\max} m ^ c / c m a x over α \alpha α and K K K at δ ∈ { 0.05 , 0.10 } \delta\in\{0.05, 0.10\} δ ∈ { 0.05 , 0.10 } . Cells give mean (top) and SD (bottom). Bold: smallest displayed mean among variants, including ties.
Parameter Sweeps
Figure 8 varies one parameter at a time around S3. Boxes span the quartiles with the median, whiskers mark the 5th and 95th percentiles, and markers show the means.
Figure 8. One-parameter sweeps around S3, Corridor (top) and Maze (bottom), for V-L and V-C. Right-hand labels: means of QT and ACI, with ▲/▼ for values above/below the axis range.