MEKAWIRE
ExpertarXiv

Feedback Completion Certificates for Repeated Dwell Tasks with Time Windows

Jiaxun Sun, Yuqi Yang, Senlan Yao, Hengyu Xue, Hongming Fu, Zhimu Zhou
From the abstract

An inspection robot may owe several measurements at the same station, each with a different window in which a dwell can begin. We ask what a feedback controller must retain about earlier visits to guarantee all remaining deadlines under bounded disturbances.

From the abstract. Our summary is in progress.

Full paper

Feedback Completion Certificates for Repeated Dwell Tasks with Time Windows

Jiaxun Sun, Yuqi Yang, Senlan Yao, Hengyu Xue, Hongming Fu, Zhimu Zhou

Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.29525 (PDF).

Abstract

An inspection robot may owe several measurements at the same station, each with a different window in which a dwell can begin. We ask what a feedback controller must retain about earlier visits to guarantee all remaining deadlines under bounded disturbances. For a common spatial predicate and dwell length, removing redundant windows orders the remaining obligations by both endpoints. On every history without an expired obligation, the served windows form a suffix. One boundary and one capped run length therefore preserve the future satisfaction of the original task. On a verified library of branching motion primitives we use this state to recover a feedback policy. For one task type a scalar threshold per run length suffices, with work linear in the number of listed branches per time layer for fixed dwell. Multiple types require a joint recursion. On a quadrotor inspection library the threshold sweep reduced the cost of constructing a reusable full-domain policy, while a sparse Boolean baseline answered a single initial query faster. In a two-station MuJoCo patrol, three task-aware filters all met every window in twelve paired runs each. Of eight initially certified runs, the completion filter retained the certificate in all eight, compared with three for safety-only filtering.

I Introduction

An inspection robot checks two stations several times during a shift. The first reading at one station might be allowed in a narrow start window and the next reading in a wider one. A reading takes several consecutive samples. When the robot leaves a station to do other work, its position and the clock do not tell the controller which visits it still owes. Even a flag recording that the station has been visited loses the distinction between an early and a late reading. The controller needs enough of the executed history to decide whether it can still meet each deadline after the next disturbance. Figure 5(a) shows what that distinction costs: at the same state and clock, returning from A or from B leaves disjoint sets of certified actions. Figure 2 shows how a short-horizon controller can certify a return that lies beyond its plan.

We study finite lists of such obligations known before execution. A measurement may count for every window containing its start. This convention fits an inspection record that can satisfy overlapping requirements, or a single request whose actual service window is one of several candidates. It also gives the usual constant-clock-offset interpretation when the candidate windows are equal-width translations. Separate work orders that each consume a measurement require a different assignment rule.

Our first result describes exactly what to remember. Removing a window that contains another preserves the task. Among the retained windows the served ones are consecutive in endpoint order on every history that can still meet its deadlines. A boundary index and the current dwell length therefore determine the response to every continuation. Second, we use this order to solve a feedback game on verified motion primitives. With one task type the winning boundary for each run length satisfies a scalar backward recursion. Several types share the same physical game but may compete for the next action and require a joint state. Third, we compare executable policies on identical queries and test the role of memory and branching in closed-loop robot simulation. We report the cost of constructing a certificate alongside the cost of querying it.

Fig. 1: Intervals constrain visit starts. The dashed interval contains two retained windows. Filled circles mark true samples. With a two-sample dwell, the visit ending at sample 2 serves I_{2} and I_{1}. The visit ending at 7 serves I_{0}. The bottom trace records the first served index.

II Window Histories and Feedback Completion

II-A What a completed visit establishes

A task type g specifies one Boolean signal \beta_{g} and a dwell length \ell_{g}\geq 0. Its known integer intervals I_{gi}=[a_{gi},b_{gi}] restrict the start of a visit. Together with sampled safety requirements S_{t}, the objective is

x_{t}\in S_{t}\ (t\text{ active}),\quad\forall g,i\ \exists s\in I_{gi}:\ \bigwedge_{j=0}^{\ell_{g}}[\beta_{g}(s+j)=1].
(1)

The last admissible completion sample is b_{gi}+\ell_{g}. Several obligations may use the same witness s. A fixed clock offset d\in[0,D] gives the equal-width family [a-d,b-d]. Finite service windows can also have different widths and gaps. All candidate windows are enforced if they represent uncertainty unobserved by the policy. Sharing requires identical output map, predicate (including tightening and boundary convention), bit source and dwell length. Absolute indices may be negative. Equivalently one can shift the origin of the corresponding future-time STL formula to the earliest sample.

For one type, discard duplicates and intervals strictly containing another interval. Let the remaining M intervals have decreasing left endpoints, indexed from zero. Their right endpoints then decrease strictly as well. An empty family contributes no obligation. A listed interval with a>b makes the task infeasible. At time k a window is served if a witness in it has finished by k. An unserved window has expired when k\geq b_{i}+\ell. Write J(s)=\{i:s\in I_{i}\} and e_{k}=\min(\{i:b_{i}+\ell\leq k\}\cup\{M\}).

Theorem 1 (Shared history).

Removal preserves expiry failure at every sample and satisfaction of the original conjunction. Until failure, the served retained windows form a suffix \{c,\ldots,M-1\}. The pair (c,r), with r the trailing run of ones capped at \ell+1, determines acceptance of every future bit continuation at the same time. For G types the full representation has at most 1+\prod_{g}(M_{g}+1)(\ell_{g}+2) states, including absorbing failure.

Proof:

A witness in a retained subinterval serves every raw interval containing it, and its deadline is no later. If a served interval i has a witness starting at s but j>i remains unserved, then a_{j}<a_{i}\leq s forces s>b_{j}. By the end of that dwell the unserved interval j has already expired. Thus a live served set is a suffix. Its boundary records every completed obligation; the final r true samples determine which unfinished dwells can extend across the current time. Reading the next bit updates both quantities deterministically, giving the same answer for every continuation of any two prefixes with equal state. ∎

After sample k, the formal valid domain is Q_{k}=\{0\leq c\leq e_{k},\ 0\leq r\leq\ell+1\} in integers. To process sample k+1, let r^{\prime}=\min(r+1,\ell+1) for bit one and r^{\prime}=0 for bit zero. If r^{\prime}=\ell+1 and J(k+1-\ell) is nonempty, set c^{\prime}=\min(c,\min J(k+1-\ell)); otherwise set c^{\prime}=c. Return failure if c^{\prime}>e_{k+1}. This order admits a visit ending on its deadline. Each further one after saturation yields another witness. The joint update \Gamma_{k+1} acts coordinatewise; any failure is absorbing. At L-1 initialize (M_{g},0) for every type, for L\leq 0 covering all retained releases and required past safety checks. Read the recorded samples L,\ldots,-1 and the initial sample 0. Take H\geq 0 covering the original deadlines and safety horizon.

II-B Feedback game on a verified library

Let x^{+}\in F(x,u). At k, \mathrm{RA}_{k}(\rho) certifies the state and active safety constraints throughout region P_{\rho}. Each edge e from \rho supplies an admissible control law and a nonempty branch list (\rho_{b},\sigma_{b}), where \sigma_{b} is a lower label. For every allowed successor under that law, verification must establish at least one branch with both x^{+}\in P_{\rho_{b}} and \sigma_{b}\leq\beta(x^{+}). The post-mission set \mathcal{K}_{\mathrm{post}} admits a verified invariant controller. For x^{+}=f(x,u,w), take F(x,u)=\{f(x,u,w):w\in\mathcal{W}(x,u)\}. We seek one causal policy that satisfies (1) for every allowed disturbance sequence. Let q=((c_{g},r_{g}))_{g=1}^{G} be a live joint state. At H, \mathrm{Win}_{H}(\rho,q)=1 exactly when \mathrm{RA}_{H}(\rho), \rho\in\mathcal{K}_{\mathrm{post}} and c_{g}=0 for every g. Failure or an invalid source loses at every time. For k<H, put q_{b}^{+}=\Gamma_{k+1}(q,\sigma_{b}). Then

\mathrm{Win}_{k}(\rho,q)=\mathrm{RA}_{k}(\rho)\ \land\bigvee_{e\in A(\rho)}\;\bigwedge_{b\in\mathrm{Succ}(e)}\!\mathrm{Win}_{k+1}(\rho_{b},q_{b}^{+}).
(2)

One edge must cover every successor before the disturbance is known. Each observed branch can then choose its own next edge. The two-station controller solves this joint game; for one task type Theorem 2 reduces it to a scalar recursion.

For a single type write T_{k,\rho}(r) for the largest winning c at run r, or -1 for none. At H store 0 in admissible post regions and -1 elsewhere. For a branch, compute the next run r^{\prime}_{b} from its label and put t_{b}=T_{k+1,\rho_{b}}(r^{\prime}_{b}), J=J(k+1-\ell). Then

\displaystyle p_{b} \\ \displaystyle=\begin{cases}-1,&t_{b}=-1,\\
e_{k},&r^{\prime}_{b}=\ell+1,\ J\neq\varnothing,\ \min J\leq t_{b},\\
\min(e_{k},t_{b}),&\text{otherwise},\end{cases} \\ \displaystyle T_{k,\rho}(r) \\ \displaystyle=\max_{e\in A(\rho)}\min_{b\in\mathrm{Succ}(e)}p_{b}.
(3) (4)

An inadmissible source or empty action set gives -1.

Theorem 2 (Single-type threshold).

For every formal state in Q_{k}, the explicit library game wins exactly when c\leq T_{k,\rho}(r). An edge attaining a nonnegative maximum in (4) certifies all such c. With window indices and admissibility precomputed, the recursion takes O((\ell+2)((H+1)|\mathcal{R}|+H\sum_{e}|\mathrm{Succ}(e)|)) arithmetic operations and O((H+1)|\mathcal{R}|(\ell+2)) threshold and policy entries.

Proof:

For a nonempty J(s)=[u,v] at s=k+1-\ell, integer endpoints give v+1=e_{k}: both count the intervals with b_{i}+\ell>k. All valid sources satisfy c\leq e_{k}, so an eligible new visit moves the boundary to \min(c,u). If u\leq t_{b}, every source boundary passes; otherwise only c\leq t_{b} passes. Intersecting these prefixes across branches takes their minimum, and taking their union across actions takes their maximum. Induction from the terminal layer proves the claim. ∎

For several types the winning set can have incomparable frontiers. For example, take two zero-dwell types with one start window [0,1] each. After sample zero one action can serve A at sample one and a second can serve B. A prefix with A already served wins, as does one with B served. A prefix with neither served loses. Both its coordinates occur separately in winning states. The joint relation is therefore essential even with a single sample left.

A sparse implementation searches the joint game from a query. An ordered implementation stores the minimal winning pairs in the order (c,r)\preceq(d,t) iff c\geq d and r\leq t, componentwise across types. For illustration, fix a one-bit branch whose target is (d,t). On a valid source, domination of this target requires one of (d,\max(0,t-1)) or (e_{k},\ell) as a lower bound in completion order. The second candidate is available only when J\neq\varnothing and \min J\leq d. The first candidate uses coverage already present. The second finishes a new dwell. A zero-bit branch requires t=0 and has generator (d,0). Grouping branches with equal bits intersects their requested frontiers and run bounds. After this intersection at most two candidates remain per type for each fixed tuple of branch targets. Choosing a target for every branch can still require many tuples.

Theorem 3 (Feedback completion).

Given verified edges, a safe prehistory and a winning actual initial region and history, choosing a certified edge and then a branch matching the observed region and lower label preserves a certificate at every step. Every admissible disturbance sequence satisfies (1) at its original deadlines and reaches a post region at H.

Proof:

Terminal acceptance is upward closed. Increasing a source state or a bit cannot shorten the next run or undo an earned visit, so backward induction makes each winning set upward closed. Every actual successor is covered by a verified branch. Updating with its measured bits therefore dominates the winning lower-label update on that branch. Induction to H proves safety and completion; the interval reduction returns the guarantee to each raw deadline. ∎

For observed-state feedback the update uses the observed bits. A tube MPC instance instead uses the exact bits of its executed nominal centre and a tightening that transfers these bits to the physical output. Exactness of the game compares controllers on the declared labelled library; its physical guarantee concerns the verified sampled model.

III Using the Certificate

The filter accepts a proposed edge when it passes every branch test in (2). A failed or late proposal triggers the stored winning edge for the current tick, region and history. For one type, c\leq\min_{b}p_{b} recovers every permitted edge. After execution, a measured successor in P_{\rho_{b}} with actual bits at least \sigma_{b} determines a valid continuation. This deadline rule requires a winning starting pair and a backup available before the input deadline. For one type any maximizer in (4) supplies that backup. For multiple types each edge must pass the joint successor test, since two separate station tests may select different edges.

Short-horizon MPC. Raman et al. [12] encode STL constraints in mixed-integer MPC. Sadraddini and Belta [16] treat bounded additive disturbances. Time-interval decomposition links STL subtasks on disjoint horizons [22]. Backward-reachable terminal sets also support infinitely recurring tasks [21]. Here the terminal set depends on which finite windows the candidate has already served. For a linear tube, propagate the nominal centre z^{+}=Az+Bv across ticks without resetting it to the measurement, and apply u=v+K(x-z) [10]. For additive disturbances in \mathcal{W}, let (A+BK)\mathcal{E}\oplus\mathcal{W}\subseteq\mathcal{E}. Tighten state and input sets by \mathcal{E} and K\mathcal{E}, respectively, and output predicates by C\mathcal{E} for y=Cx. Compute \mathrm{Win}^{z} on the nominal library with tightened predicates and constraints. At tick k plan to t=\min(k+N,H), N\geq 1. Enforce tightened input and sampled state/safety constraints. Update the executed history q_{k} along the plan with lower bounds on its tightened bits and impose

z_{t\mid k}\in\widehat{\mathcal{T}}_{t}(q_{t\mid k}),\qquad\widehat{\mathcal{T}}_{t}(q)=\!\bigcup_{\rho:\mathrm{Win}_{t}^{z}(\rho,q)=1}\!P_{\rho}.
(5)
Corollary 4 (Short-horizon completion).

Assume valid tightenings for an invariant tube containing the initial error, a verified initial plan for the actual centre and safe history, and a verified one-step extension from each winning nominal pair before H. Executing verified plans under (5) preserves feasibility and meets every original deadline.

Proof:

The executed centre’s true tightened bits dominate the planned bits. Shift the remaining inputs at their original times and recompute history. Monotonicity preserves feasibility and terminal membership. Append one certified step if t<H. A plan ending at H simply shortens. Store this plan as backup. At H all windows are served, and the tube tightening transfers sampled safety and the dwell witnesses to the plant. ∎In Fig. 2, requiring all visits to finish inside the ten-step plan would discard this feasible candidate. At its endpoint, condition (5) certifies the return that is still due.

Fig. 2: A three-sample dwell must start in each window [3-d,20-d], d\in\{0,\ldots,8\}. (a) Measured and nominal quadrotor positions in MuJoCo. Every admissible nominal input leaves the centre outside the tightened target at samples 5–12. (b) The plan adopted at k=6 ends at t=16 with c=1: offset zero is still owed. The model-certified continuation serves it at its deadline, k=22.

IV Related Work

A dwell with allowed starts [a,b] is expressible in STL [9] or as a hold within [a,b+\ell] in Time Window Temporal Logic [20]. Temporal robustness measures tolerance to common or predicate-specific shifts [15] and to shifts in both directions [14]. Synthesis can exploit redundancy across time shifts [23]. Spatiotemporal monitors quantify tradeoffs between spatial and temporal perturbations [17]. Here even a deterministic schedule can give visits unequal windows. Uncertain travel durations pose a different planning problem [8].

Partial formula evaluation and robustness-to-go carry prefix information into STL control [4, 5]. Feasibility can also be indexed by a subset of remaining obligations [24]. Theorem 1 shows that before failure the served windows of each type form a suffix, represented by one frontier. For example, a predicate with zero dwell reduces to repeated eventualities over that same predicate. The frontier specifies which remain to be served when the controller chooses an edge with several possible successors.

STL runtime assurance and value functions filter proposed actions [1, 18]. Reachability gives completion guarantees under disturbances [6]. Feedback refinement relates symbolic policies to physical systems [13], and antichain algorithms exploit ordered states [3, 2]. For one dwell type, our order yields a scalar winning threshold and a feedback action for every frontier it covers.

V Experiments

V-A Correctness against independent oracles

We compared the monitor to a direct enumeration of dwell starts in each original window, including duplicated and nested intervals, zero dwell, negative indices and completion on the deadline. The outputs agreed on 33,356 prefixes. Exhaustive future extensions gave 10,800 agreements on the remaining language. Explicit source-state enumeration also agreed on the complete set of minimal predecessors for 3,508 fixed-target queries. On 16 seeded branching graphs, explicit coverage and the policy implementations agreed on 5,856 legal states and 16,704 state–action checks. The original clock-offset graphs also reproduced their complete action sets at the recorded branch and history witnesses. These checks supplement the proof on the entire formal domain.

V-B What does sharing save?

Every method uses the same canonical windows, labelled branches, admissible regions and terminal conditions. The sparse methods memoize the reachable subproblem for each query. They store either one run per outstanding clause, a shared frontier, a bit mask of pending obligations, or a reduced ordered Boolean decision diagram for the residual formula. The diagram compiles an OR over possible dwell starts per clause and shares identical Boolean subfunctions. It uses the same sparse game solver. The ordered method stores minimal winning states for the full domain. The scalar threshold method also constructs the full policy and applies only to a single type.

The workload matters even on the same verified quadrotor graph. With 160 regions, 344 edges and 4.39 successor branches per edge on average, 19,734 of 26,880 time–region–history queries were winning for station A. For complete-domain coverage the threshold method took 18.36 ms against 41.07 ms for the sparse decision diagram; a single cold query took 18.41 ms and 1.53 ms, respectively. The physical graph, including verification and post-set construction, cost 623 ms before either method could run. Including this shared step, producing a full policy took about 641 and 664 ms, respectively.

TABLE I: Single-station quadrotor library. Median wall time in ms for an executable policy from one start, five cached batches of 12 queries, and all 26,880 formal states. Each workload includes policy construction. Physical verification is common to all rows and excluded.
  • Per-window sparse
    One start
    1.77
    Five batches
    2.36
    Full domain
    59.50
  • Grouped sparse
    One start
    2.01
    Five batches
    2.57
    Full domain
    64.40
  • Bit-mask sparse
    One start
    1.72
    Five batches
    2.48
    Full domain
    51.19
  • BDD progression
    One start
    1.53
    Five batches
    1.99
    Full domain
    41.07
  • Ordered
    One start
    56.50
    Five batches
    56.78
    Full domain
    56.53
  • Threshold
    One start
    18.41
    Five batches
    18.53
    Full domain
    18.36
Fig. 3: Full-domain policies on synthetic one-type graphs at a fixed horizon of 36 samples. Left: two successors per edge. Right: ten retained windows. In the four-successor case only 21 of 6,072 queries win; the ordered recursion terminates many branches early.

Across seven synthetic settings and the robot library, the methods agreed on all matched initial and batch queries and their full action sets. Seven complete domains were also checked. The four-type full enumeration had 4,602,096 states and exceeded the prespecified 45,000-state coverage limit. Its sparse batch queries all lost. On the synthetic two-successor graphs, raising the number of retained windows from four to twenty at a fixed horizon left the threshold build near 0.8–0.9 ms. The sparse diagram required about 3–14 ms for a full policy (Fig. 3). At four successors the mostly losing game favored ordered recursion. On the verified library the sparse diagram won on all five cached batches combined as well as on the isolated start (Table I).

V-C Repeated inspection in robot simulation

Both the revisit in Fig. 2 and the patrol use MuJoCo [19] and the Bitcraze Crazyflie 2 model from MuJoCo Menagerie [25]. On patrol the quadrotor must return to two stations while also tracking a patrol reference that can be redirected during the mission. Each measurement requires two consecutive samples. The allowed start windows are [0,3] and [14,20] at A and [6,10] and [23,29] at B. One decision tick comprises eight outer-loop samples of 0.2 s. Each method receives the current reference change at the same tick.

Three filters rank the same five longitudinal velocity primitives using the same one-step tracking cost, unfinished-inspection cost and control penalty. They allow, respectively, robust completion actions, robust safety actions or nominal completion actions. A fourth controller (Full-H) minimizes the sum of the stage costs on a deterministic cell-centroid graph with all original window constraints and replans after each observation. Its primitive grid is finite and its planning model is nominal. The other arms use whole-cell transition covers.

The paired trial crosses three fixed start positions with four wind seeds for each arm. All 48 patrols reach the 30-tick horizon. The robust, safety-only and nominal filters each complete all four windows in 12/12 runs. Full-H completes 8/12; each miss occurs at the first B window. Eight of the twelve initial pairs carry a robust certificate; four of these eight also complete under Full-H. Among the certified starts, the numbers that retain robust membership throughout are 8, 3, 3 and 0. Requiring every executed action also to be certified gives 8, 3, 0 and 0. The four successful robust-filter runs from uncertified initial states count as observed completions only.

The robust filter’s mean total cost is 19.33, compared with 21.19 for safety-only. The paired difference is -1.85 (descriptive 95% seed-block interval [-2.03,-1.76], conditional on the three starts). Full-H costs less: on the eight runs where both methods finish every inspection its mean advantage over the robust filter is 6.70. All 56 trajectories, including four single-station threshold runs and four branch-mechanism runs, stay within the sampled state, input and residual bounds. The largest absolute residual component divided by its allowed bound is 0.343 over 13,440 fine steps.

TABLE II: Paired two-station patrols. Arm init.: starts feasible for that method. Mission: all windows met. Retain and Exec.: robust membership and a certified action at every tick, out of eight robust-certified starts. Fallback counts ticks with an empty primary action set, out of 360 per arm.
  • Completion
    Arm init.
    8/12
    Mission
    12/12
    Retain
    8/8
    Exec.
    8/8
    Fallback
    12
  • Safety only
    Arm init.
    12/12
    Mission
    12/12
    Retain
    3/8
    Exec.
    3/8
    Fallback
    0
  • Nominal
    Arm init.
    8/12
    Mission
    12/12
    Retain
    3/8
    Exec.
    0/8
    Fallback
    4
  • Full-H grid
    Arm init.
    12/12
    Mission
    8/12
    Retain
    0/8
    Exec.
    0/8
    Fallback
    80
What changes the action?

In a separate four-seed mechanism test, all runs begin at the same measured state with the same history and execute hover. Two wind seeds lead to a western successor and two to an eastern successor. The shared tracking objective selects +0.25 m/s in the west and hover in the east. The complete next-action sets are identical, \{-0.25,0,+0.25\} m/s, and both proposals pass. The robot executes branch-dependent feedback, but either command would have retained the certificate in either cell.

A different comparison on the declared outer model isolates the effect of history at a fixed state and clock. At tick 7, two certified prefixes end at exactly the same four-dimensional state. One has finished B’s first dwell; the other has one true sample at B. The complete action sets are \{0,+0.25\} and \{0\} m/s, respectively. Both the run length and the window coverage differ. This witness concerns modeled trajectories.

Fig. 4: Simulated patrol from x_{0}=1.1875 m with wind seed 101. Shaded rectangles show the station extent and allowed dwell-start samples. Points show measured longitudinal position at each decision tick.

V-D When history and feedback change the permitted action

Figure 5 separates two decisions on verified unicycle libraries. In Fig. 5(a), the current measurement cannot distinguish two legal histories. Whichever primitive a controller selects using only the state, clock, bits and runs, it cannot certify that primitive for both histories. A one-station example also distinguishes partial service: at k=14 the same state, visited flag, bit and zero run admit only (1,1) at c=2, and also (1/2,1/2) at c=1. In Fig. 5(b) both successors have the same updated history (c,r)=(3,0). The first primitive is certified because its next action can depend on the observed cell, as allowed by (2).

Fig. 5: Complete certified primitive sets (v,\theta_{\rm ref}) in two fixed-offset unicycle examples. (a) The A-only and B-only prefixes end at the same full state x^{\star}=(25/4,15/4,0) at k=12, with zero bits and runs. Colored dots mark dwell samples and the black dot marks the common endpoint. The frontiers (0,3) and (3,0) give disjoint action sets. (b) Markers show the midpoints of verified y-enclosures after the same primitive (1,-1/4). Each side of y=4 m has a different singleton next-action set. Both panels use the declared transition model.

On 20 ordinary unicycle configurations all three filters finish the task. Disjoint sets demonstrate where feedback is necessary for certification; their frequency depends on the task and the transition cover.

In the experiment of Fig. 5(a), a third legal prefix serves both stations and reaches the same endpoint, clock, bits and runs. Its certified set contains both of the plotted sets.

The physical abstraction affects the outcome. In the original quadrotor branch experiment ten wind seeds follow identical branches. An outer-model pair with disjoint next-action sets reaches distinct cells with nested sets in MuJoCo. In fixed-offset scaling tests, explicit bitset and compact sparse caches visit equally many states; whole-domain ordered recursion is 6.0–45.9 times slower than sparse compact on the matched initial-region queries. An optimized full-horizon STL encoding is fastest in the original linear feasibility comparison, and the sign of the replanning cost difference changes with geometry and execution window. These checks limit extrapolation to other graphs and control objectives.

V-E Which comparison answers which question?

TABLE III: Matched inputs and scope of the policy comparisons.
  • Exact game solvers
    Shared inputs and evaluated outputs
    Same graph, labels, deadlines and post set. Compare membership and the complete certified action set for each query.
  • Three filters
    Shared inputs and evaluated outputs
    Same five primitives, proposer, costs and wind phase. Compare task completion and the robust eligibility of each executed action.
  • Full-H grid
    Shared inputs and evaluated outputs
    Same primitive menu and information about the patrol. Compare realized outcomes under its nominal cell-centre forecast.

The distinction between retaining membership and taking a certified action matters empirically. A nominal action can leave a winning pair on the observed branch even though another allowed branch loses. Three nominal patrols remained in the robust winning set through H, yet none used a robust-certified action on every step. Conversely, some simulations met all deadlines even from a start that the whole-cell library could not certify. These outcomes measure different properties of an abstraction.

The synthetic two-type game at four retained windows per type illustrates why no single representation dominates. Its ordered full-domain build took 5.51 ms; the sparse diagram took 41.62 ms. At four types the predefined full-query cap bound the evaluation. On the verified one-type graph the ordered construction examined 8,912 grouped target tuples; the scalar sweep examined none. In the repeated application timing run, full-workload process peaks were approximately 36.3 MiB for threshold and 35.1 MiB for the diagram, including the interpreter, inputs and separate audit. The measured threshold advantage is construction time. It gives a precomputed lookup over the domain without establishing a memory or closed-loop timing advantage.

VI Scope and Conclusion

A finite family of inspection windows can have unequal widths, overlapping releases and different deadlines. Reuse of a visit is what permits the frontier representation. Independent work orders, arrivals after the start of the task, and different precision requirements at a station can change the remaining language. The threshold sweep is useful when a policy for every legal history must be available before execution. A sparse solver was cheaper both from one prescribed initial state and on five cached query batches. For several types the joint winning set may have many incomparable histories. Finally, the guarantee is relative to the labelled library and its stated disturbance envelope. A measured simulation trajectory tests that interface; establishing it for hardware requires additional evidence.

Appendix A Window Histories, Predecessors and Policies

A-A Notation and initialization

TABLE IV: Symbols for the general-window game. Time k follows processing of sample k.
  • K_{g},M_{g}
    Meaning
    Original and inclusion-minimal interval counts for type g.
  • I_{gi},\ell_{g}
    Meaning
    Allowed start interval and number of further consecutive true samples required.
  • L,H
    Meaning
    Beginning of recorded history and terminal task sample.
  • c,r
    Meaning
    First served index in decreasing endpoint order, and capped true-run length.
  • J(s),e_{k}
    Meaning
    Window indices containing start s, and maximum live boundary after k.
  • P_{\rho},\sigma_{b}
    Meaning
    Physical region and Boolean label guaranteed by a verified branch.
  • T_{k,\rho}(r)
    Meaning
    Largest winning boundary for a single type; -1 denotes an empty winning set.

All intervals below contain integers. For one type with a fixed effective predicate, write K for the raw number of windows, M for the number remaining, I_{i}=[a_{i},b_{i}] for a retained interval and \ell+1 for the number of consecutive true samples required. For a bit prefix ending at k, define directly from the raw history

D_{I}(k)=\{s\in I:s+\ell\leq k,\ \beta(s)=\cdots=\beta(s+\ell)=1\}.

A window is served iff D_{I}(k)\neq\varnothing. Its expiry failure means D_{I}(k)=\varnothing and k\geq\max I+\ell. Failure here checks expired deadlines; a prefix may already admit no winning continuation because of its current run, safety or the dynamics. The independent safety requirements are checked at their own active times.

Proof:

If I^{\prime}\subseteq I, then D_{I^{\prime}}(k)\subseteq D_{I}(k) for every k. Every raw interval contains a minimal one, so serving all minimal intervals serves every raw interval. If a raw interval I has expired unserved, its contained minimal interval I^{\prime} is also unserved and its deadline is at most that of I. Conversely, an expired unserved retained interval is itself raw. Expiry is irrevocable: after b_{i}+\ell no new witness in I_{i} can finish. These arguments concern the conjunction; a removed window can be served before any interval retained inside it.

After duplicates are removed, equal left or right endpoints would give containment. Order the retained intervals by strictly decreasing a_{i}. If i<j and b_{i}\leq b_{j}, then I_{j} contains I_{i}, a contradiction. Thus b_{i} decreases strictly. Put

\displaystyle u(s) \\ \displaystyle=\min(\{i:a_{i}\leq s\}\cup\{M\}), \\ \displaystyle v(s) \\ \displaystyle=\max(\{i:b_{i}\geq s\}\cup\{-1\}).

The release condition gives a suffix, the right-endpoint condition a prefix. Thus J(s)=[u(s),v(s)] when u(s)\leq v(s), and is empty otherwise. Suppose window i is served by s and j>i is unserved. Then a_{j}<a_{i}\leq s and s\notin I_{j} imply s>b_{j}. The unserved window j had therefore expired by s+\ell\leq k. On a nonfailed prefix this is impossible. The served set is consequently a suffix, possibly empty (c=M) or full (c=0). Its expiry check is c\leq e_{k} because the expired deadlines form the suffix beginning at e_{k}.

The update from k to k+1 uses the integer-time identity

v(k+1-\ell)+1=e_{k}.
(6)

Indeed b_{i}\geq k+1-\ell holds exactly when b_{i}+\ell>k. The number of such indices is both sides of (6), including the empty and full prefix cases. For any valid source, c\leq e_{k}; hence every nonempty new witness interval intersects or abuts the old suffix (including adjacency to an empty suffix). A saturated next run finishes exactly one candidate start at this sample. The explicit union of covered indices is then the suffix starting at \min(c,u) if J is nonempty. Otherwise it is unchanged. Testing expiry after this union gives the stated update on every formal source in Q_{k}. An invalid source cannot be supplied as a live state, and failure maps to itself for every later bit.

No valid retained witness starts before L; true samples before L are therefore unnecessary to establish a valid start. Initializing the trailing count at zero at L-1 counts precisely runs in the supplied history. Induction from L gives the stated suffix, capped run and expiry. For every continuation the deterministic update extends the prefix exactly; at H all retained intervals must be served, which is equivalent to all raw obligations. Taking the product over types preserves this equivalence. Distinct prefixes with the same state may disagree about a removed window or the identity of a past witness; neither can change the remaining conjunction. The size bound follows by counting the formal pairs for each type and one common failure. It counts neither a minimal automaton nor the number of history-consistent states actually visited. ∎

An empty family is a true conjunction and is removed; if all families are empty the game retains only safety and post constraints. An interval with a>b has no witness, even with an identically true signal. Recorded history also covers all pre-mission safety samples. When window data are changed after execution begins, a previously compressed history need not initialize the changed task.

One visit and one witness

A common start is possible on a given signal iff some s\in\bigcap_{i}I_{i} starts a true dwell. The completed witnesses within one true segment [p,q] have starts [p,q-\ell] when q-p\geq\ell. It serves every window iff q-p\geq\ell and I_{i}\cap[p,q-\ell]\neq\varnothing for all i (nonempty family). For example, disjoint singleton windows [0,0],[2,2] with \ell=1 can both use the uninterrupted segment [0,3]. A requirement for physically separated visits needs constraints that exclude every such uninterrupted segment. The fixed-offset baseline relations that use a common width or shift bound apply to [a-d,b-d], not to arbitrary interval families.

A-B Order and exact robust predecessors

Write (c,r)\preceq(d,s) when c\geq d and r\leq s, take the componentwise product over types, and put \bot below every live state. For valid formal sources, the next run is nondecreasing in both current run and bit. When one update yields a witness, any dominating source and larger bit also yield a witness at the same start. The frontier map is either the identity or c\mapsto\min(c,u), both nondecreasing in the ordinary order on c; gaining a witness only decreases c. If the lesser state survives expiry, the greater one does too. Thus \Gamma is monotone in state and label on the full formal domain. One can extend it by mapping all out-of-domain sources to \bot: each Q_{k} is upward closed. Terminal acceptance is upward closed as well.

One branch

Fix k, s=k+1-\ell, a target (d,t)\in Q_{k+1}, and let u=u(s), v=v(s). The desired predecessors are live sources whose updated pair dominates (d,t). A zero branch has no predecessors when t>0 and otherwise has generator (d,0). For a one branch form

(d,\max(0,t-1)),\qquad(e_{k},\ell)\quad\text{if }J(s)\neq\varnothing\text{ and }u\leq d.

Keep only distinct minimal candidates in completion order (delete y if x\preceq y and x\neq y). Indeed d\leq e_{k+1}\leq e_{k}. The updated run dominates t iff r\geq\max(0,t-1). If c\leq d this already suffices. Otherwise only a newly completed witness can suffice; it requires r\geq\ell, nonempty J and u\leq d. Equation (6) supplies adjacency for every valid c. The target bound d\leq e_{k+1} also ensures no successful predecessor is rejected by the next expiry check.

Several branches and types

For a fixed edge and one target per branch, work in one coordinate with targets (d_{b},t_{b}). Write I_{z}=\{b:\sigma_{b}=z\} for z=0,1. If a zero branch requests t_{b}>0, the feasible set is empty. Otherwise put C_{0}=\min(\{e_{k}\}\cup\{d_{b}:b\in I_{0}\}). Zero branches together impose c\leq C_{0}. When I_{1} is empty the sole candidate is (C_{0},0). Otherwise let C_{1}=\min_{b\in I_{1}}d_{b} and R_{1}=\max_{b\in I_{1}}t_{b}. All one branches have the same updated state in this coordinate, so their targets jointly request c^{\prime}\leq C_{1} and r^{\prime}\geq R_{1}. Intersecting the preceding one-branch cases with c\leq C_{0} gives

\displaystyle(\min(C_{0},C_{1}),\max(0,R_{1}-1)), \\ \displaystyle(C_{0},\ell)\qquad\text{if }J(s)\neq\varnothing\text{ and }u\leq C_{1}.

Again minimize. For multiple types take the Cartesian product of per-type candidates and retain its minima, since coordinate conditions for a fixed target tuple are conjunctive. This supplies at most 2^{G} candidates per tuple. To recurse on antichains, take the union over edges and one winning generator per successor branch, then retain the minima of that union. Finite upward-closed sets equal the upward closure of their minima; backward induction therefore recovers the explicit winning set. Different branches can require different generators. Tuple enumeration in this general construction may be expensive.

Why independent coordinate thresholds can fail

Take two distinct types with \ell_{1}=\ell_{2}=0, one window [0,1] each and H=1. At k=0 let one edge ensure bits (1,0) at the next sample and another ensure (0,1), all regions admissible and post. An initial history which has served either type is winning. A history which has served neither is losing, although its individual coordinates each occur in a winning history. This rules out reconstructing the winning product solely from its coordinate projections.

A-C Threshold computation and action recovery

Proof:

Terminal acceptance gives T_{H}(r)=0 at admissible post regions and -1 otherwise, even when H=0. For the induction step assume exact successor thresholds. Upon fixing a run and an edge, the next run on each branch is independent of c. A negative successor threshold rules out the branch for all c. Otherwise, a new witness in a nonempty J yields c^{\prime}=\min(c,u), so c^{\prime}\leq t_{b} holds for every c\leq e_{k} if u\leq t_{b}, and exactly for c\leq t_{b} if u>t_{b}. Without such a witness c^{\prime}=c. This gives (3), including expiry because t_{b}\leq e_{k+1}. The intersection across branches is the prefix through their minimum; the union across edges is the prefix through the largest of these minima. No action witnesses an empty edge set. This proves the formula for all formal states, including history-inconsistent ones. A maximizing edge covers its entire prefix. The complete certified action set at c consists of all outgoing edges with branch minimum at least c at an admissible source. It can be recovered by scanning the edges without materializing a policy for every c.

For each run, each time layer initializes |\mathcal{R}| entries and performs constant arithmetic work per branch for each outgoing edge. Storing the maximizer and threshold costs a constant number of entries per (k,\rho,r), with no edge needed at H. An antichain for one region and time has at most \ell+2 elements because all states with the same run are comparable. Threshold entries are integers in [-1,M]. These are arithmetic-operation and entry bounds; bit width grows with the range, and the verified library is an input. Two value layers suffice for the initial feasibility decision alone; recovering the time-indexed policy from them may require recomputation. ∎

Algorithm 1 Single-type backward sweep on a fixed library

Window preprocessing is separate. For example, sorting by decreasing release and increasing right endpoint on ties permits a linear scan after the sort: discard the next interval if its right endpoint is at least the smallest previously seen right endpoint. A previously retained interval realizing that minimum witnesses the containment. Otherwise retain the interval and update the minimum. Moving indices through the two strictly ordered endpoint arrays then tabulate u,v,e by time in O(M+H-L+1) per type. Thus the single-type preprocessing can be implemented in O(K\log(K+1)+H-L+1) arithmetic operations. Certifying physical edges, computing \mathrm{RA} and answering online queries incur additional costs.

A-D Lifting the policy to the executed system

Proof:

Induct backward for upward closure. At the terminal time it follows from acceptance. If some edge wins for a given state, increasing that state in completion order preserves admissibility and improves every branch update. Every branch still wins at the next layer by induction. The game on explicit retained sets and runs is identical under suffix decoding of every valid formal pair by (6). For raw windows, exactness holds on states generated by a common bit prefix: Theorem 1 gives the same rejection and terminal acceptance under every extension. Induction on the future tree preserves the existential action and universal branch decisions because both recursions use the same labels, regions, safety and post conditions.

At a winning region and live state take any certified edge. By verification its law is admissible. For each actual disturbance there is at least one branch for the measured successor with both region containment and \sigma_{b}\leq\beta(x^{+}). The lower-label update wins on that branch; processing the realized bits gives a dominating state by monotonicity and still wins. Induction forward from the initialized state gives admissibility until H and acceptance in \mathcal{K}_{\mathrm{post}}. A verified invariant post law can maintain the post constraints thereafter. Historical safety was checked during initialization. Each minimal window has a witness at its own deadline, and each deleted window contains such a witness by its own deadline. This proves the original task for every disturbance.

In a proposal filter, use a currently certified proposed edge when available and otherwise use the stored winning edge for the current tick, region and monitor state. Any delayed proposal requires revalidation for the decision to which it is applied. A branch matching only the measured region can have an incorrect lower label and cannot justify the induction. ∎

Tube MPC instantiation

For a linear tube with invariant error set, propagate the centre with its executed nominal dynamics. Assume the checked nominal plan satisfies tightened safety and one-sided labels, terminates in a certified nominal region, and the nominal certifying library supplies a verified one-step extension from each winning pair. Actual nominal-centre predicate bits at the executed successor dominate the planned lower bits, so the executed monitor state dominates the planned one. Shift the overlapping plan using the same absolute times, nominal inputs and lower bits. Its monitor suffix still dominates the old planned suffix. If its endpoint is H, upward closure preserves that terminal certificate; otherwise append the one-step verified extension at its endpoint. Thus a verified plan for the next tick exists after each executed step before H. At the last step the terminal state accepts; each true tightened nominal predicate implies the intended physical predicate for every state in the tube. Historical nominal bits and tightening bounds must be available on the active pre-mission samples. This proof does not mix measured nonlinear bits with nominal-centre bits in the same run.

Integer monitor rows for an arbitrary window family

At successor time t, impose valid source 0\leq c\leq e_{t-1} and 0\leq r\leq\ell+1. For a claimed bit z, use integral next states c^{\prime},r^{\prime} and auxiliary binaries u,w:

\displaystyle(\ell+1)u\leq r\leq\ell+u,\quad(\ell+1)w\leq r^{\prime}\leq\ell+w, \\ \displaystyle 0\leq r^{\prime}\leq(\ell+1)z,\quad r^{\prime}\leq r+1-u, \\ \displaystyle r^{\prime}\geq r+1-u-(\ell+1)(1-z).

These rows force u=[r=\ell+1], w=[r^{\prime}=\ell+1] and the required capped run. If J(t-\ell)=\varnothing, impose c^{\prime}=c. Otherwise let d=\min J(t-\ell), introduce binaries v,h and impose

\displaystyle(d+1)v\leq c\leq d+(M-d)v, \\ \displaystyle h\leq w,\quad h\leq v,\quad h\geq w+v-1, \\ \displaystyle c-Mh\leq c^{\prime}\leq c,\qquad|c^{\prime}-d|\leq M(1-h).

Here v=[c>d] and h=w\wedge v. Thus c^{\prime}=d exactly when an eligible witness lowers the frontier; otherwise c^{\prime}=c (which can also equal d). Finally impose 0\leq c^{\prime}\leq e_{t}. By (6) no additional adjacency indicator is needed on this source domain. The integer rows are feasible for given source and bit exactly when the monitor survives, and then return its unique next pair. This step needs at most two new integer variables and four auxiliary binaries besides the supplied bit. Geometry, terminal selection and the plant equations have separate rows.

Repeated-window certificate benchmark protocol

The seven synthetic settings use eight regions on a ring, three actions per region, a four-region terminal set, and a fixed horizon of 36. Each additional successor is a distinct shift around the ring. Every type has \ell=1. Four partially overlapping sectors define the potential predicates. Opposite sectors compete. Every method receives the same canonical intervals, edge order, lower labels and admissibility table. Each synthetic type includes one duplicate and one containing interval in its raw inputs. The verified application uses the two original inspection windows of station A. One query workload starts from the specified initial sample. A second consumes five consecutive batches of 12 queries drawn from fixed lower-label walks, retaining all caches. After timing, every permitted edge is enumerated for each query. For full-domain preparation the sparse methods populate their policy from all legal formal states, including unreachable histories. The eager representations cover the same domain directly. A separate readback pass compares membership for all 88,704 formal queries in the seven enumerated settings. Five solvers apply to multiple types, and six to one type.

TABLE V: Full-domain construction in the initial campaign (median wall ms, three builds per cell). The matched column counts winning queries across five batches of 12. B is the actual number of successors per edge on the ring and the mean on the application. The four-type full sweep exceeded the declared 45,000-state enumeration limit. The threshold only applies to one type.
  • Ring
    G
    1
    M/type
    4
    B
    2
    Matched
    60
    Per-window
    4.99
    Grouped
    4.68
    Bit mask
    4.29
    BDD
    3.03
    Ordered
    3.40
    Threshold
    0.87
  • Ring
    G
    1
    M/type
    10
    B
    2
    Matched
    30
    Per-window
    16.23
    Grouped
    12.50
    Bit mask
    11.97
    BDD
    7.80
    Ordered
    4.23
    Threshold
    0.83
  • Ring
    G
    1
    M/type
    20
    B
    2
    Matched
    42
    Per-window
    33.27
    Grouped
    21.59
    Bit mask
    21.83
    BDD
    14.22
    Ordered
    5.27
    Threshold
    0.81
  • Ring
    G
    1
    M/type
    10
    B
    1
    Matched
    33
    Per-window
    13.99
    Grouped
    10.36
    Bit mask
    10.56
    BDD
    7.47
    Ordered
    2.86
    Threshold
    0.55
  • Ring
    G
    1
    M/type
    10
    B
    4
    Matched
    0
    Per-window
    18.17
    Grouped
    13.38
    Bit mask
    13.63
    BDD
    8.24
    Ordered
    0.20
    Threshold
    1.43
  • Ring
    G
    2
    M/type
    4
    B
    2
    Matched
    49
    Per-window
    99.90
    Grouped
    86.37
    Bit mask
    72.60
    BDD
    41.62
    Ordered
    5.51
    Threshold
    —
  • Ring
    G
    4
    M/type
    4
    B
    2
    Matched
    0
    Per-window
    —
    Grouped
    —
    Bit mask
    —
    BDD
    —
    Ordered
    —
    Threshold
    —
  • Verified robot
    G
    1
    M/type
    2
    B
    4.39
    Matched
    18
    Per-window
    57.86
    Grouped
    65.53
    Bit mask
    53.06
    BDD
    41.15
    Ordered
    55.67
    Threshold
    17.92

The first campaign ran on an arm64 macOS host with CPython 3.11.16. It used one worker and one BLAS thread at a time. Other project processes could use the host. Seed 83017 fixes the histories, tasks and job order. A separate process ran each case, method and workload; three repetitions rebuilt the policy. All 399 repetitions completed within ten seconds and 600 MiB per process. Peak RSS includes the interpreter, inputs, repeated builds and audit; on the robot full-domain workload it ranged from 35 to 39 MiB. Runtime distributions and all labelled edges accompany the raw results. The application ordered recursion examined 8,912 joined target tuples from 12,563 ungrouped tuples, with at most two generators in a region at a time. The threshold recursion examined zero target tuples. In a separate preprocessing ablation the same per-window sparse solver received either all original clauses or their inclusion-minimal subset and replayed the entire input history in both arms. All eight sets of 60 answers agreed. Across synthetic settings the ratio of raw to canonical median wall time ranged from 0.95 to 1.95 for five batches. Input reduction helps some configurations more than others.

Repeated inspection protocol and scope of the interface

A macro action commands one of five longitudinal speeds, \{-1/2,-1/4,0,1/4,1/2\} m/s, with a fixed lateral feedback law. The two inspection strips have longitudinal extents [0.75,1.75] and [2.25,3.25] m. The workspace, velocity and input constraints are checked on the eight fine outer-model samples within a macro primitive. The measured initial longitudinal positions are chosen by resetting the simulator at 1.1875, 1.6875 or 3.0625 m. Four fixed wind seeds (101–104) are crossed with all three starts and four methods. Each start is repeated under all seeds and has the same nominal initial bits. The physical graph has 160 regions, 344 verified actions and 134 post regions. A separate single-station run uses the threshold policy and the four wind seeds. The ordinary two-station runs instead use the joint game.

At each sample the shared stage cost is (x^{+}-p_{k})^{2}+0.45(x^{+}-a_{k})^{2}+0.06(v_{\rm ref}-v_{x})^{2}, where x^{+} is the next longitudinal position, p_{k} the current patrol target and a_{k} the station with the earliest unfinished deadline, or p_{k} if no inspection remains. The current target changes at prescribed samples; a controller sees each redirect upon issue. Costs are evaluated on the measured trajectory. The three filters share the one-step proposer. The full-horizon comparator minimizes the sum of this cost on nominal cell-centre transitions, using exact original-window masks, a terminal post constraint and all announced reference information. It replans after the next measurement. This differs from both the whole-cell nominal completion filter and the continuous-input linear STL reference in the fixed-offset study.

The model-history comparison matches the full four-dimensional state at tick 7. Both modeled prefixes start from the same state, and their final disturbances are within the declared componentwise bounds. The partial B visit has changed both the run and the coverage. In the distinct MuJoCo branch experiment, the four wind seeds 111–114 share an initial hover. The first two tracking preferences are designed to distinguish measured successors near a cell boundary. The two possible next decisions pass the certificate on both branches. Exact action-set equality was checked by original-window enumeration in addition to the grouped policy.

The robot simulations stop at or before the terminal sample. The invariant post condition is checked on the model. Residual checks on the measured state and input trace refer to sampled outer dynamics, with contact checks in simulation. A finite set of traces does not certify a disturbance bound on hardware. An elapsed-time overrun in the simulator is checked after the decision routine returns; wall-clock measurements therefore describe the implementation and cannot establish hard real-time preemption.

Wind seeds are the units for paired resampling: for each of four resampled seeds retain the entire paired block of three fixed starts. The descriptive 95% percentile intervals are conditional on these starts and on the small collection of observed wind phases; multiple ticks within a trajectory are never counted as independent runs. Completion, safety-only, nominal and Full-H respectively have mean total costs 19.33, 21.19, 21.37 and 14.03 over all twelve configurations, including the four missed Full-H missions. On configurations where both missions finish every window, the robust filter costs 6.70 more than Full-H (paired interval [6.13,7.28]). Respectively, 12, 0, 4 and 80 decisions use a backup because the primary action set is empty. These counts are out of 360 decisions per arm. No optimizer outage is injected. The 95th percentiles for action selection are 0.075, 0.018, 0.063 and 7.194 ms. A separate replay of observed branch, bit and monitor updates takes 0.031–0.032 ms at the 95th percentile. No decision exceeds the 1.6-s budget in the 1,440 ordinary-patrol ticks. Individual percentiles of these two timing scopes cannot be added to infer an end-to-end latency percentile.

An initial comparison incorrectly required a robust backup before even calling the nominal full-horizon optimizer. That dispatch rule truncated four Full-H runs at tick 7. The corrected experiment uses an available nominal plan and checks backup availability only when needed. Every original configuration was rerun with the same seeds, costs and geometry; the corrected trajectories are the ones summarized here.

Fixed-offset specialization and supporting experiments

The following sections give the equal-width specialization, the linear tube implementation, its verification assumptions and the original clock-offset experiments. In these sections d indexes a translation of a common window. The strict shared-witness comparisons are specific to that family.

Appendix B Problem Formulation

B-A Nominal system and tube interface

We consider the constrained linear system

x_{k+1}=Ax_{k}+Bu_{k}+w_{k},\qquad y_{k}=Cx_{k},
(7)

with x_{k}\in\mathbb{R}^{n}, u_{k}\in\mathbb{R}^{m}, y_{k}\in\mathbb{R}^{p}, polytopic constraints x_{k}\in\mathcal{X}, u_{k}\in\mathcal{U}, and disturbances w_{k} in a compact set \mathcal{W}. We use the standard tube interface [10, 11]: a nominal state evolves as z_{k+1}=Az_{k}+Bv_{k} under a nominal input v_{k}, the applied input is u_{k}=v_{k}+K(x_{k}-z_{k}), and the error e_{k}=x_{k}-z_{k} obeys e_{k+1}=(A+BK)e_{k}+w_{k}.

Assumption 1 (Tube interface).

The set \mathcal{E} satisfies (A+BK)\mathcal{E}\oplus\mathcal{W}\subseteq\mathcal{E} and e_{0}\in\mathcal{E}. The nominal constraints are \mathcal{Z}=\mathcal{X}\ominus\mathcal{E} and \mathcal{V}=\mathcal{U}\ominus K\mathcal{E}, and C\mathcal{E}\subseteq\mathbb{B}_{\varepsilon}=\{\eta\in\mathbb{R}^{p}:\|\eta\|_{\infty}\leq\varepsilon\}.

The interface is standard (nominal case \mathcal{W}=\mathcal{E}=\{0\}); the nominal center is never reset to the measured state, and all arguments below refer to it.

B-B Timing offsets and the guaranteed signal family

Time is discrete, and all time intervals are integer intervals. Let D\in\mathbb{N}, \mathbb{D}=[0,D], and let \bar{y}_{t}=Cz_{t} be the nominal output for t\geq 0.

Assumption 2 (Pre-mission history).

A recorded nominal output \bar{y}_{t} is available for t\in[-D,-1]; the actual pre-mission outputs satisfy y_{t}-\bar{y}_{t}\in\mathbb{B}_{\varepsilon} for t\in[-D,-1] (for example, because e_{t}\in\mathcal{E} already held before the mission); and \bar{y}_{t} satisfies the tightened safety predicates of Definition 7 at every t\in[-D,-1] at which they are active (Section D).

Without such a history, the windows must be shifted or D reduced; a fictitious history must not be substituted, since offset d reads y_{t-d} with t-d<0 for t<d.

Definition 5 (Guaranteed signal family).

For d\in\mathbb{D} and \eta:\mathbb{Z}\to\mathbb{B}_{\varepsilon}, let \tilde{y}^{d,\eta}(t)=\bar{y}_{t-d}+\eta(t) for t\in[0,H].

The offset d\geq 0 is constant and common to all outputs: a fixed misalignment of at most hD seconds between task clock and trajectory, as for a start command with bounded latency. Componentwise shifts, input or measurement delays and time-varying retiming (Remark 9) are different models and are not covered.

B-C Task fragment

Definition 6 (Reach–dwell–avoid fragment).

For closed sets S_{i},R_{j}\subseteq\mathbb{R}^{p} and integers 0\leq\alpha_{i}\leq\omega_{i}, 0\leq a_{j}\leq b_{j} and \ell_{j}\geq 0, let

\varphi=\bigwedge_{i=1}^{n_{s}}\mathbf{G}_{[\alpha_{i},\omega_{i}]}\mu_{S_{i}}\ \wedge\ \bigwedge_{j=1}^{n_{r}}\mathbf{F}_{[a_{j},b_{j}]}\mathbf{G}_{[0,\ell_{j}]}\mu_{R_{j}},
(8)

where (y,t)\models\mu_{S} iff y(t)\in S, and \mathbf{G} and \mathbf{F} carry the usual discrete-time semantics [9]. Let \operatorname{hrz}(\varphi)=\max\{\max_{i}\omega_{i},\max_{j}(b_{j}+\ell_{j})\}, \Delta_{j}=b_{j}-a_{j}, and choose a terminal certification horizon H\geq\operatorname{hrz}(\varphi). Each task keeps its window (offset d of reach task j expires at nominal time b_{j}-d+\ell_{j}); only the post-mission terminal condition is imposed at H.

Predicate sets are closed; an avoid requirement is a closed safety set with an explicit clearance (Section B-D), and a conjunction of two eventualities imposes no order.

B-D Spatial tightening and the Boolean abstraction

Definition 7 (Tightening).

Tightened sets satisfy \bar{S}_{i}\oplus\mathbb{B}_{\varepsilon}\subseteq S_{i} and \bar{R}_{j}\oplus\mathbb{B}_{\varepsilon}\subseteq R_{j}. The bit map \chi:\mathbb{R}^{p}\to\{0,1\}^{n_{r}} is \chi_{j}(y)=1 iff y\in\bar{R}_{j}. For t\in[-D,H], the nominal bit signals are \beta_{j}(t)=\chi_{j}(\bar{y}_{t}) and \gamma_{i}(t)=1 iff \bar{y}_{t}\in\bar{S}_{i}. The Boolean task \varphi_{\beta} is (8) with \mu_{S_{i}} and \mu_{R_{j}} replaced by \gamma_{i} and \beta_{j}.

For \{y:Gy\leq f\} the largest choice is \{y:Gy\leq f-\varepsilon|G|\mathbf{1}\}. The tightening is sufficient, not the exact robust semantics. Obstacles. For a closed obstacle \mathcal{O}_{i} and a clearance \delta_{i}>0, S_{i}=\{y:\operatorname{dist}_{\infty}(y,\mathcal{O}_{i})\geq\delta_{i}\} and \bar{S}_{i}\subseteq\{y:\operatorname{dist}_{\infty}(y,\mathcal{O}_{i})\geq\delta_{i}+\varepsilon\} in the \ell_{\infty} distance; the supplement gives a polyhedral choice.

Lemma 8 (Spatial soundness).

Let d\in\mathbb{D}. If the tightened Boolean task holds for the shifted bit signals, ((\gamma,\beta)(\cdot-d),0)\models\varphi_{\beta}, then (\tilde{y}^{d,\eta},0)\models\varphi for every \eta:\mathbb{Z}\to\mathbb{B}_{\varepsilon}.

Proof:

If \beta_{j}(t-d)=1, then \bar{y}_{t-d}\in\bar{R}_{j} and \tilde{y}^{d,\eta}(t)\in\bar{R}_{j}\oplus\mathbb{B}_{\varepsilon}\subseteq R_{j}; the same holds for \gamma_{i}. Since (8) contains no negation, satisfaction is preserved. ∎

Problem 1.

Given (7), Assumptions 1–2, the task (8), and a prediction horizon N\geq 1 that may be much shorter than H, design a receding-horizon controller such that, once a verified feasible candidate for its first optimization problem is available, for every disturbance sequence the constraints hold and (\tilde{y}^{d,\eta},0)\models\varphi for all d\in\mathbb{D} and all \eta:\mathbb{Z}\to\mathbb{B}_{\varepsilon}.

Since 0\in\mathbb{D} and Ce_{t}\in\mathbb{B}_{\varepsilon}, the actual sampled output then satisfies \varphi under every offset. Guarantees concern sampling instants of the linear model; inter-sample behaviour and the nonlinear vehicle are empirical evidence only.

Remark 9 (Fixed offsets are not jitter).

For \mathbf{F}_{[1,2]}\mu, \mathbb{D}=\{0,1\} and bits 1,0,1 at t=0,1,2, each fixed offset succeeds, but d(1)=0, d(2)=1 reads the bit at t=1 twice and fails.

B-E Disturbed nonlinear systems and causal policies

The compact state does not use linearity; Section D-D also treats a known discrete-time system

x_{k+1}=f(x_{k},u_{k},w_{k}),\quad w_{k}\in\mathcal{W}(x_{k},u_{k}),\quad u_{k}\in U(x_{k}),
(9)

with measured state, output h(x_{k}) and bits \chi_{j}(h(x)). The objective is a causal policy u_{k}=\pi_{k}(x_{-D},\dots,x_{k}) with

\exists\pi\ \ \forall(w_{0},\dots,w_{H-1})\ \ \forall d\in\mathbb{D}:\ \ ((\gamma,\beta)^{\pi,w}(\cdot-d),0)\models\varphi_{\beta},

over admissible disturbance sequences and the recorded history; the completing witness may differ between realizations and offsets, and the future must be feedback (counterexamples in the supplement). Guarantees concern the declared discrete system.

Appendix C History-Consistent Completion State

We work with the tightened bits (Lemma 8 transfers the results) and drop the index j for one reach task.

C-A Offset coverage

A dwell witness is a start time s\geq-D with \beta(s)=\dots=\beta(s+\ell)=1; it is completed at s+\ell. Under offset d the witness appears at task time s+d, so it serves exactly the offsets

I(s)=\{d\in\mathbb{D}:\ a\leq s+d\leq b\}=[a-s,\,b-s]\cap\mathbb{D}.
(10)
Definition 10 (Coverage, run length, failure).

The coverage at time k is \mathcal{C}(k)=\bigcup\{I(s):s\text{ a witness},\ s+\ell\leq k\}. The run length r(k) is the number of consecutive ones of \beta ending at k, truncated at \ell+1. Offset d is expired at k if d\notin\mathcal{C}(k) and k\geq b-d+\ell; the task is failed at k if some offset is expired.

Only executed samples enter \mathcal{C}(k). One “visited” flag is insufficient: for \mathbf{F}_{[1,1]}\mu, \mathbb{D}=\{0,1\} and bits 0,1, only offset 0 is served.

Lemma 11 (Coverage semantics).

Fix Boolean signals (\gamma,\beta) on [-D,H]. (a) For every reach task j, \forall d\in\mathbb{D}\ \exists t\in[a_{j},b_{j}]\ \forall r\in[0,\ell_{j}]:\ \beta_{j}(t+r-d)=1 if and only if \mathcal{C}_{j}(H)=\mathbb{D}. (b) For every safety task i, \forall d\in\mathbb{D}\ \forall t\in[\alpha_{i},\omega_{i}]:\ \gamma_{i}(t-d)=1 if and only if \gamma_{i}(t)=1 for all t\in[\alpha_{i}-D,\omega_{i}].

Proof:

(a) Substitute s=t-d: every d needs a witness s with a\leq s+d\leq b, i.e., d\in I(s), and every such witness has s\leq b and is completed by b+\ell\leq H. (b) \{t-d:t\in[\alpha,\omega],d\in\mathbb{D}\}=[\alpha-D,\omega]. ∎

Proposition 12 (Exact compilation of the tightened task).

Let \xi be a Boolean signal on [-D,H] and \psi a Boolean STL formula, possibly with negation and bounded until \mathbin{\mathbf{U}}_{I}, whose evaluation at time 0 reads \xi only on [0,H]. Then

\big[\forall d\in\mathbb{D}:\ (\xi(\cdot-d),0)\models\psi\big]\iff(\xi,-D)\models\mathbf{G}_{[0,D]}\psi.

In particular, the tightened Boolean task holds under every offset iff ((\gamma,\beta),-D)\models\mathbf{G}_{[0,D]}\varphi_{\beta}.

Proof:

Boolean STL is shift invariant, (\xi(\cdot-d),t)\models\psi\iff(\xi,t-d)\models\psi, by induction on \psi; the supplement treats every operator, including bounded until. With \tau=D-d the left side reads \forall\tau\in[0,D]:(\xi,-D+\tau)\models\psi. ∎

Generic STL-MPC with history handling [4, 5, 22] therefore applies directly and is a baseline; the rest of this section quantifies what the structure of (8) saves.

C-B Coverage is a suffix

Lemma 13 (Irrevocable expiry).

Fix a reach task and a Boolean signal. If offset d is expired at k, then d\notin\mathcal{C}(k^{\prime}) for every k^{\prime}\geq k; hence the task is failed at every k^{\prime}\geq k and \mathcal{C}(H)\neq\mathbb{D}. Moreover, for k\geq b+\ell the task is not failed at k if and only if \mathcal{C}(k)=\mathbb{D}.

Theorem 14 (Suffix coverage).

Fix a reach task, a Boolean signal and k\geq-D-1. If the task is not failed at k, then \mathcal{C}(k)=\{c,c+1,\dots,D\} for some c\in[0,D+1], where c=D+1 denotes \mathcal{C}(k)=\varnothing.

Proof:

Let d\in\mathcal{C}(k) be served by a witness s with a\leq s+d\leq b and s+\ell\leq k, and let d^{\prime}\in\mathbb{D} with d^{\prime}>d. Then s+d^{\prime}>s+d\geq a, so d^{\prime}\notin I(s) forces s+d^{\prime}>b, i.e., b-d^{\prime}+\ell<s+\ell\leq k. If also d^{\prime}\notin\mathcal{C}(k), then d^{\prime} is expired at k, contradicting non-failure. Hence d\in\mathcal{C}(k) implies [d,D]\subseteq\mathcal{C}(k). ∎

Larger offsets see the trajectory later in task time, so their deadlines come first.

C-C Compact monitor

Theorem 14 replaces the (D+1)-bit coverage by one integer. For task j let \mathcal{Q}_{j}=[0,D+1]\times[0,\ell_{j}+1], let \mathcal{Q}=\prod_{j}\mathcal{Q}_{j}, and add an absorbing failure state \bot, to which all failed histories are mapped; their coverage need not be a suffix. Let \bar{c}_{j,k}=\min\{D+1,\max\{0,b_{j}+\ell_{j}-k\}\}.

Definition 15 (Compact monitor).

For task j, time k, state (c,r)\in\mathcal{Q}_{j} and bit \beta\in\{0,1\}, let r^{+}=\min\{\ell+1,r+1\} if \beta=1 and r^{+}=0 otherwise. If r^{+}\leq\ell, let c^{+}=c. If r^{+}=\ell+1, let s=k-\ell, \mathrm{lo}=\max\{0,a-s\}, \mathrm{hi}=\min\{D,b-s\}, and

c^{+}=\begin{cases}\min\{c,\mathrm{lo}\},&\mathrm{lo}\leq\mathrm{hi}\ \text{and}\ \mathrm{hi}\geq c-1,\\
c,&\text{otherwise.}\end{cases}
(11)

Set \Gamma_{j,k}((c,r),\beta)=\bot if c^{+}>\bar{c}_{j,k}, and (c^{+},r^{+}) otherwise. The joint update \Gamma_{k}(q,\beta) applies \Gamma_{j,k} to each component and returns \bot if any component does; \Gamma_{k}(\bot,\cdot)=\bot. The monitor starts from q^{\mathrm{init}}=((D+1,0))_{j} at time -D-1 and processes q_{t}=\Gamma_{t}(q_{t-1},\chi(\bar{y}_{t})).

The test checks expiry of the largest uncovered offset c^{+}-1, which has the earliest deadline. Let \mathcal{Q}_{k}=\{q\in\mathcal{Q}:c_{j}\leq\bar{c}_{j,k}\ \forall j\}; non-failure does not imply that a satisfying continuation exists, which Section D certifies.

Corollary 16 (Equivalence and size).

Fix a Boolean signal \beta on [-D,H], let q_{-D-1}=q^{\mathrm{init}} and q_{k}=\Gamma_{k}(q_{k-1},\beta(k)). For every k\in[-D-1,H]: q_{k}=\bot iff some reach task is failed at k; otherwise q_{k}=((c_{j},r_{j}))_{j}\in\mathcal{Q}_{k} with \mathcal{C}_{j}(k)=\{c_{j},\dots,D\} and r_{j}=r_{j}(k) for every j. The monitor therefore takes at most 1+\prod_{j}(D+2)(\ell_{j}+2) values.

Proof:

Induction on k. If no witness completes at k, the coverage is unchanged. If s=k-\ell completes, \mathcal{C}(k)=[c,D]\cup[\mathrm{lo},\mathrm{hi}]. This is the suffix [\min\{c,\mathrm{lo}\},D] when \mathrm{hi}\geq c-1; otherwise offset c-1 stays uncovered with b-(c-1)+\ell<k, which the test detects. The supplement gives the full argument. ∎

Arbitrary bitsets need 2^{n_{r}(D+1)}\prod_{j}(\ell_{j}+2) states: the dependence on D drops from exponential to linear per task, still exponential in n_{r}. This counts encodable states, not running time.

C-D Order and monotonicity

Definition 17 (Completion order).

For q,q^{\prime}\in\mathcal{Q}, q\preceq q^{\prime} iff c_{j}\geq c^{\prime}_{j} and r_{j}\leq r^{\prime}_{j} for all j; moreover \bot\preceq q for all q. \mathrm{Acc}(q) holds iff q\neq\bot and c_{j}=0 for all j.

The order is a product of 2n_{r} chains.

Lemma 18 (Monotonicity).

For every k, all q\preceq q^{\prime} in \mathcal{Q}\cup\{\bot\} and all bit vectors \beta\leq\beta^{\prime} (componentwise), \Gamma_{k}(q,\beta)\preceq\Gamma_{k}(q^{\prime},\beta^{\prime}). Moreover, \mathcal{Q}_{k} and the acceptance set \{q:\mathrm{Acc}(q)\} are upward closed in \mathcal{Q}\cup\{\bot\}.

Proof:

Componentwise, r^{+} is nondecreasing in r and \beta; the right side of (11) is nondecreasing in c and never exceeds c; the failure test is monotone in c^{+}. The statement holds on all of \mathcal{Q}, not only on reachable states. ∎

C-E When more than one visit is needed

Definition 19 (Semantic baselines).

For one reach task and a bit signal \beta on [-D,b+\ell]: \beta\in\mathcal{F}_{\mathrm{exact}} (exact coverage, possibly by separated visits) iff \mathcal{C}(b+\ell)=\mathbb{D}; \beta\in\mathcal{F}_{\mathrm{shared}} (shared task time) iff some t\in[a,b] has \beta=1 on [t-D,t+\ell], so that one task time serves all offsets; \beta\in\mathcal{F}_{\mathrm{shrink}} (single witness) iff some s\in[a,b-D] has \beta=1 on [s,s+\ell], i.e., (\beta,0)\models\mathbf{F}_{[a,b-D]}\mathbf{G}_{[0,\ell]}\beta; \beta\in\mathcal{F}_{\mathrm{single}} (single continuous visit) iff the witnesses inside one true segment [p,q] of \beta cover \mathbb{D}.

A single continuous visit may need several witnesses (e.g., a=b=2, D=1, \ell=1, \beta=1 on [1,3]); a true segment [p,q] covers \mathbb{D} iff q-p\geq\ell, p\leq b-D and q\geq a+\ell, which gives an STL form of \mathcal{F}_{\mathrm{single}} (supplement).

Proposition 20 (Baseline hierarchy).

Fix one reach task with parameters (a,b,\ell,D) and \Delta=b-a. If \Delta\geq D, then \mathcal{F}_{\mathrm{shared}}\subseteq\mathcal{F}_{\mathrm{shrink}}=\mathcal{F}_{\mathrm{single}}\subseteq\mathcal{F}_{\mathrm{exact}}. If \Delta<D, then \mathcal{F}_{\mathrm{shrink}}=\varnothing and \mathcal{F}_{\mathrm{shared}}\subseteq\mathcal{F}_{\mathrm{single}}\subseteq\mathcal{F}_{\mathrm{exact}}.

Proposition 21 (When exact coverage adds signals).

Fix one reach task and consider all Boolean signals on [-D,b+\ell]. Then \mathcal{F}_{\mathrm{single}}\subsetneq\mathcal{F}_{\mathrm{exact}} if and only if D\geq 1 and \Delta\geq\ell+1. If D=0 or \Delta\leq\ell, every signal in \mathcal{F}_{\mathrm{exact}} has a single true segment whose witnesses cover \mathbb{D}.

Proof:

Witnesses from distinct maximal true segments are at least \ell+2 apart. The intervals (10) of two starts leave no gap only if the starts differ by at most \Delta+1, so for \Delta\leq\ell a single segment must cover \mathbb{D}. For D\geq 1 and \Delta\geq\ell+1, the segments [a-D,a-1+\ell] and [b,b+\ell] cover [1,D] and \{0\}, respectively, and neither covers \mathbb{D} alone (Fig. 6). ∎

Fig. 6: E1 on one closed-loop MuJoCo run; \mathbf{F}_{[3,20]}\mathbf{G}_{[0,2]}\mu_{R_{1}}, D=8, H=30. (a) Every admissible nominal input leaves \bar{R}_{1} at samples 5–12 (gray). (b) Served offsets form the suffix [c,D]; the first visit serves [1,D], the second \{0\}. (c) Without the second visit both monitors fail at k=22. (d) The candidate applied at k=6 (N=10) ends at \tau=16 with offset 0 unserved; the certified library tail serves it at k=22 (selection rule in the supplement).

The signals that \mathcal{F}_{\mathrm{exact}} adds to \mathcal{F}_{\mathrm{single}} are those served only by separated visits; with dynamics they matter only if every single witness and continuous visit is excluded, and for \Delta\leq\ell the single-visit encoding is exact.

Appendix D Completion Certificates

A physically invariant set does not certify a deadline, so the terminal object must depend on absolute time and on the completion state.

D-A Exact completion family

Let \bar{S}_{k}=\bigcap\{\bar{S}_{i}:k\in[\alpha_{i}-D,\omega_{i}]\}, with \bar{S}_{k}=\mathbb{R}^{p} if no safety task is active at k; by Lemma 11(b) these are exactly the times at which safety must hold for some offset. Define

\mathrm{Adm}_{k}(z,q)\iff z\in\mathcal{Z},\ Cz\in\bar{S}_{k},\ q\in\mathcal{Q}_{k}.
Assumption 3 (Post-mission set).

\mathcal{Z}_{\mathrm{post}}\subseteq\mathcal{Z} is control invariant for the nominal dynamics with inputs in \mathcal{V}, and a controller rendering it invariant is available.

Entry into \mathcal{Z}_{\mathrm{post}} is a design restriction imposed on all baselines.

Definition 22 (Exact completion family).

Let \mathcal{T}_{H}(q)=\{z\in\mathcal{Z}_{\mathrm{post}}:Cz\in\bar{S}_{H}\} if \mathrm{Acc}(q) and \mathcal{T}_{H}(q)=\varnothing otherwise. For k<H,

\displaystyle\mathcal{T}_{k}(q)=\big\{z:{} \\ \displaystyle\mathrm{Adm}_{k}(z,q),\ \exists v\in\mathcal{V}:\ z^{+}=Az+Bv, \\ \displaystyle z^{+}\in\mathcal{T}_{k+1}\big(\Gamma_{k+1}(q,\chi(Cz^{+}))\big)\big\}.

This recursion, in the spirit of [22, 21], defines the problem and is not a contribution.

Each \mathcal{T}_{k} is monotone: q\preceq q^{\prime} implies \mathcal{T}_{k}(q)\subseteq\mathcal{T}_{k}(q^{\prime}) (supplement).

D-B Verified transition library

Assumption 4 (Convex tightened sets).

Each \bar{R}_{j} is a convex polytope. Each \bar{S}_{i} is a finite union of closed convex polyhedra, called cells. The sets \mathcal{Z}, \mathcal{V} and \mathcal{Z}_{\mathrm{post}} are convex polytopes.

Definition 23 (Verified transition library).

A library \mathcal{L} consists of finitely many regions P_{\rho}, \rho\in\mathcal{R}, each a convex polytope, and edges e=(\rho_{e},\rho^{\prime}_{e},F_{e},g_{e},\sigma_{e}), each with a source region, a successor region, an affine law v=F_{e}z+g_{e} and a label \sigma_{e}\in\{0,1\}^{n_{r}}. The library is verified if every edge satisfies, on the whole source region P_{\rho_{e}}:

  • F_{e}z+g_{e}\in\mathcal{V} for all z\in P_{\rho_{e}};
  • (A+BF_{e})P_{\rho_{e}}+Bg_{e}\subseteq P_{\rho^{\prime}_{e}};
  • \sigma_{e,j}=1 only if C\big((A+BF_{e})P_{\rho_{e}}+Bg_{e}\big)\subseteq\bar{R}_{j}.

Region \rho is admissible at k, written \mathrm{RA}_{k}(\rho), if P_{\rho}\subseteq\mathcal{Z} and, for every safety task active at k, CP_{\rho} lies in a single cell of \bar{S}_{i}.

Targets are convex, so (V1)–(V3) are checked at the vertices of P_{\rho} or by linear programming (nonconvex safe sets never through vertices). An edge certifies its entire source region.

D-C Plain and ordered backward recursion

On the formal domain \mathcal{Q}\cup\{\bot\} (the full chain product, not only the reachable states) define \mathrm{Win}_{k}(\rho,q)\in\{0,1\} by

\displaystyle\mathrm{Win}_{H}(\rho,q) \\ \displaystyle=[\mathrm{Acc}(q)\wedge\mathrm{RA}_{H}(\rho)\wedge P_{\rho}\subseteq\mathcal{Z}_{\mathrm{post}}], \\ \displaystyle\mathrm{Win}_{k}(\rho,q) \\ \displaystyle=[q\in\mathcal{Q}_{k}\wedge\mathrm{RA}_{k}(\rho)] \\ \displaystyle\quad\wedge\bigvee_{e:\rho_{e}=\rho}\mathrm{Win}_{k+1}\big(\rho^{\prime}_{e},\Gamma_{k+1}(q,\sigma_{e})\big).
(12) (13)

The plain algorithm evaluates (12)–(13) at every (k,\rho,q), i.e., O(H\,|\mathcal{L}|\,|\mathcal{Q}|) monitor updates. The ordered one stores only M_{k}(\rho)=\min\{q:\mathrm{Win}_{k}(\rho,q)=1\}: M_{H}(\rho)=\{((0,0))_{j}\} if \mathrm{RA}_{H}(\rho) and P_{\rho}\subseteq\mathcal{Z}_{\mathrm{post}}, and, if \mathrm{RA}_{k}(\rho) (\varnothing otherwise),

M_{k}(\rho)=\min{\textstyle\bigcup}\{\min\mathrm{Pre}_{k}(g,\sigma_{e}):\rho_{e}=\rho,\ g\in M_{k+1}(\rho^{\prime}_{e})\},
(14)

with the closed-form predecessors below.

Lemma 24 (Minimal predecessors).

Fix k\in[-D,H-1], a label \sigma\in\{0,1\}^{n_{r}} and a target g=((c^{*}_{j},r^{*}_{j}))_{j}\in\mathcal{Q}_{k+1}, and let \mathrm{Pre}_{k}(g,\sigma)=\{q\in\mathcal{Q}_{k}:\Gamma_{k+1}(q,\sigma)\succeq g\}. With s_{j}=k+1-\ell_{j}, \mathrm{lo}_{j}=\max\{0,a_{j}-s_{j}\} and \mathrm{hi}_{j}=\min\{D,b_{j}-s_{j}\}, let X_{j}=\{(c^{*}_{j},0)\} if \sigma_{j}=0 and r^{*}_{j}=0, X_{j}=\varnothing if \sigma_{j}=0 and r^{*}_{j}>0, and, if \sigma_{j}=1, X_{j}=\{(c^{*}_{j},\max\{0,r^{*}_{j}-1\})\}\cup\{(\min\{D+1,\mathrm{hi}_{j}+1\},\ell_{j}):\mathrm{lo}_{j}\leq\mathrm{hi}_{j},\ \mathrm{lo}_{j}\leq c^{*}_{j}\}. Then \mathrm{Pre}_{k}(g,\sigma) is upward closed in \mathcal{Q}, X_{1}\times\dots\times X_{n_{r}}\subseteq\mathrm{Pre}_{k}(g,\sigma), and

\min\mathrm{Pre}_{k}(g,\sigma)=\min\,(X_{1}\times\dots\times X_{n_{r}}).

Thus, for a fixed time, label and target generator, each task contributes at most two candidates, all candidates are valid predecessors, and there are at most 2^{n_{r}} of them.

The bound 2^{n_{r}} is per generator and edge, not a bound on |M_{k}(\rho)|.

Theorem 25 (Plain and ordered recursions coincide).

For every k\in[0,H], \rho\in\mathcal{R} and q\in\mathcal{Q}\cup\{\bot\}, \mathrm{Win}_{k}(\rho,q)=1 iff m\preceq q for some m\in M_{k}(\rho). Hence the plain recursion (12)–(13) and the ordered recursion (14) certify identical sets on the same library.

Proof:

Backward induction on k. At H, \mathrm{Acc}(q) holds iff q\succeq((0,0))_{j}. For k<H, by (13) and the induction hypothesis, \mathrm{Win}_{k}(\rho,q)=1 iff \mathrm{RA}_{k}(\rho) holds and q\in\mathrm{Pre}_{k}(g,\sigma_{e}) for some edge e from \rho and some g\in M_{k+1}(\rho^{\prime}_{e}); the case \Gamma_{k+1}(q,\sigma_{e})=\bot is excluded because \bot dominates no g. Each \mathrm{Pre}_{k}(g,\sigma_{e}) is upward closed in the finite poset \mathcal{Q} (Lemma 24), so q belongs to it iff q dominates one of its minimal elements. Taking minima of the union preserves this property. ∎

Theorem 26 (Soundness of the library family).

Let Assumption 4 hold, let \mathcal{L} be verified, and let \widehat{\mathcal{T}}_{k}(q)=\bigcup\{P_{\rho}:\mathrm{Win}_{k}(\rho,q)=1\}. Then, for all k\in[0,H]: (a) q\preceq q^{\prime} implies \widehat{\mathcal{T}}_{k}(q)\subseteq\widehat{\mathcal{T}}_{k}(q^{\prime}); (b) if k<H, z\in P_{\rho} and \mathrm{Win}_{k}(\rho,q)=1, then \mathrm{Adm}_{k}(z,q) holds and some edge e with \rho_{e}=\rho satisfies v=F_{e}z+g_{e}\in\mathcal{V}, z^{+}=Az+Bv\in P_{\rho^{\prime}_{e}}, \sigma_{e}\leq\chi(Cz^{+}), and z^{+}\in\widehat{\mathcal{T}}_{k+1}(\Gamma_{k+1}(q,\beta)) for every \beta\geq\sigma_{e}; (c) \widehat{\mathcal{T}}_{H}(q)\neq\varnothing implies \mathrm{Acc}(q), and \widehat{\mathcal{T}}_{H}(q)\subseteq\mathcal{Z}_{\mathrm{post}}; (d) \widehat{\mathcal{T}}_{k}(q)\subseteq\mathcal{T}_{k}(q).

Proof:

(a) follows from Theorem 25. For (b), choose an edge attaining the disjunction in (13). (V1)–(V3) give v\in\mathcal{V}, z^{+}\in P_{\rho^{\prime}_{e}} and \sigma_{e}\leq\chi(Cz^{+}), and Lemma 18 together with (a) lifts \mathrm{Win}_{k+1}(\rho^{\prime}_{e},\Gamma_{k+1}(q,\sigma_{e}))=1 to every \beta\geq\sigma_{e}. (c) is (12). (d) follows by backward induction from (b) and (c) with \beta=\chi(Cz^{+}). ∎

Ordering loses nothing relative to the plain recursion on the same library, but says nothing about the library’s loss relative to \mathcal{T}_{k}; antichains [3, 2] in 2n_{r} chains can be large, so no worst-case gain is claimed.

D-D Branching libraries for disturbed systems

For (9), one state and input can reach different regions that need different continuations, which a single-successor library cannot express.

Definition 27 (Verified branching library).

A branching library \mathcal{B} has finitely many regions P_{\rho} and edges e\in A(\rho_{e}), each with a feedback law \kappa_{e} defined on the whole source region and a nonempty finite set \mathrm{Succ}(e)=\{(\rho_{b},\sigma^{b})\}_{b=1}^{B_{e}} of successor regions with labels. It is verified if, for every edge, (B1) \kappa_{e}(x)\in U(x) for all x\in P_{\rho_{e}}, and (B2) for all x\in P_{\rho_{e}} and all w\in\mathcal{W}(x,\kappa_{e}(x)) there is a branch b with x^{+}=f(x,\kappa_{e}(x),w)\in P_{\rho_{b}} and \sigma^{b}\leq\chi(h(x^{+})). \mathrm{RA}_{k}(\rho) requires P_{\rho} to satisfy the state and safety constraints active at k.

Branches are matched only after x^{+} is observed. Our verifier bisects the source region and \mathcal{W} jointly in rational interval arithmetic and adds one branch per grid region that a sub-enclosure meets, labelled on the intersection.

On \mathcal{Q}\cup\{\bot\} the robust recursion is an AND/OR game,

\displaystyle\mathrm{Win}_{H}(\rho,q) \\ \displaystyle=[\mathrm{Acc}(q)\wedge\mathrm{RA}_{H}(\rho)\wedge\rho\in\mathcal{K}_{\mathrm{post}}], \\ \displaystyle\mathrm{Win}_{k}(\rho,q) \\ \displaystyle=[q\in\mathcal{Q}_{k}\wedge\mathrm{RA}_{k}(\rho)] \\ \displaystyle\quad\wedge\bigvee_{e\in A(\rho)}\ \bigwedge_{b\in\mathrm{Succ}(e)}\mathrm{Win}_{k+1}\big(\rho_{b},\Gamma_{k+1}(q,\sigma^{b})\big).
(15) (16)

The recursion is standard; what is specific is that its predecessors stay closed form on the compact state.

Proposition 28 (Robust minimal predecessors).

Fix k\in[-D,H-1], an edge with branches (\rho_{b},\sigma^{b}), b=1,\dots,B, B\geq 1, and targets g^{b}=((c^{b}_{j},r^{b}_{j}))_{j}\in\mathcal{Q}_{k+1}, and let \mathrm{Pre}^{\forall}_{k}=\{q\in\mathcal{Q}_{k}:\Gamma_{k+1}(q,\sigma^{b})\succeq g^{b}\ \forall b\}. For task j let I^{0}_{j}=\{b:\sigma^{b}_{j}=0\} and I^{1}_{j}=\{b:\sigma^{b}_{j}=1\}. If r^{b}_{j}>0 for some b\in I^{0}_{j}, let X_{j}=\varnothing. Otherwise let C^{0}_{j}=\min\{\bar{c}_{j,k},\min_{b\in I^{0}_{j}}c^{b}_{j}\} (the inner minimum is +\infty if I^{0}_{j}=\varnothing); let X_{j}=\{(C^{0}_{j},0)\} if I^{1}_{j}=\varnothing, and otherwise, with C^{1}_{j}=\min_{b\in I^{1}_{j}}c^{b}_{j}, R^{1}_{j}=\max_{b\in I^{1}_{j}}r^{b}_{j} and s_{j},\mathrm{lo}_{j},\mathrm{hi}_{j} as in Lemma 24, X_{j}=\{(\min\{C^{0}_{j},C^{1}_{j}\},\max\{0,R^{1}_{j}-1\})\}\cup\{(\min\{C^{0}_{j},D+1,\mathrm{hi}_{j}+1\},\ell_{j}):\mathrm{lo}_{j}\leq\mathrm{hi}_{j},\ \mathrm{lo}_{j}\leq C^{1}_{j}\}. Then \mathrm{Pre}^{\forall}_{k} is upward closed in \mathcal{Q}, X_{1}\times\dots\times X_{n_{r}}\subseteq\mathrm{Pre}^{\forall}_{k}, and \min\mathrm{Pre}^{\forall}_{k}=\min\,(X_{1}\times\dots\times X_{n_{r}}). In particular, for every B and every fixed target vector there are at most 2^{n_{r}} candidates.

For each fixed target vector, the candidate-count upper bound decreases from 2^{n_{r}B} to 2^{n_{r}}. The \prod_{b}|M_{k+1}(\rho_{b})| target vectors remain, and branches sharing a label are joined first.

Let \iota(q)=((\{c_{j},\dots,D\},r_{j}))_{j} map compact states to explicit (served set, run length) states, and let \Gamma^{\mathrm{bit}}_{k} add the offsets served by a witness completing at k and fail if an offset is expired. Then \Gamma^{\mathrm{bit}}_{k}(\iota(q),\beta) fails iff \Gamma_{k}(q,\beta)=\bot and otherwise equals \iota(\Gamma_{k}(q,\beta)) (supplement).

Theorem 29 (Robust certificates).

Let \mathcal{B} be a branching library, \mathcal{K}_{\mathrm{post}} a set of regions and \mathrm{Win} the recursion (15)–(16). (a) For every k\in[0,H] and \rho, \mathrm{Win}_{k}(\rho,\cdot) is upward closed in \mathcal{Q}\cup\{\bot\}, and \mathrm{Win}_{k}(\rho,q)=1 iff m\preceq q for some m\in M_{k}(\rho), where M_{H}(\rho)=\{((0,0))_{j}\} if \mathrm{RA}_{H}(\rho) and \rho\in\mathcal{K}_{\mathrm{post}} (\varnothing otherwise) and M_{k}(\rho)=\min\bigcup\{\min\mathrm{Pre}^{\forall}_{k}((g^{b})_{b}):e\in A(\rho),\ g^{b}\in M_{k+1}(\rho_{b})\} if \mathrm{RA}_{k}(\rho) (\varnothing otherwise). (b) The explicit recursion over (served set, run length) states, with \Gamma^{\mathrm{bit}} and the same library, satisfies \mathrm{Win}^{\mathrm{bit}}_{k}(\rho,\iota(q))=\mathrm{Win}_{k}(\rho,q) for all k, \rho and q\in\mathcal{Q}. (c) If every edge has a single branch, (16) is (13) and M_{k} is the set of Theorem 25.

Theorem 30 (Branch-feedback closed loop).

Let \mathcal{B} be verified (Definition 27), let \mathcal{K}_{\mathrm{post}} satisfy (17) with witness edges e_{\rm post}(\rho), and let x_{0}\in P_{\rho_{0}}, with q_{0} obtained by running \Gamma on the actual bits of the recorded history and of x_{0}, satisfy \mathrm{Win}_{0}(\rho_{0},q_{0})=1; let the actual pre-mission states x_{t}, t\in[-D,-1], satisfy every tightened safety predicate active at t. Let the closed loop at each k<H apply u_{k}=\kappa_{e}(x_{k}) for an edge e\in A(\rho_{k}) with \mathrm{Win}_{k+1}(\rho_{b},\Gamma_{k+1}(q_{k},\sigma^{b}))=1 for every branch b, then select any branch b with x_{k+1}\in P_{\rho_{b}} and \sigma^{b}\leq\chi(h(x_{k+1})), and set \rho_{k+1}=\rho_{b}, q_{k+1}=\Gamma_{k+1}(q_{k},\chi(h(x_{k+1}))); for k\geq H let it apply \kappa_{e_{\rm post}(\rho_{k})} and select branches in the same way. Then, for every admissible disturbance sequence, such an edge and such a branch exist at every step, \mathrm{Win}_{k}(\rho_{k},q_{k})=1 for k\in[0,H], the state and input constraints hold, \mathrm{Acc}(q_{H}), and \rho_{k}\in\mathcal{K}_{\mathrm{post}} for every k\geq H. Consequently the tightened safety tasks hold under every offset d\in\mathbb{D}, and every reach task j is completed under offset d by nominal time b_{j}-d+\ell_{j}.

Adding verified multi-successor edges to a library on the same regions never shrinks the certified set (supplement).

Post-mission set. With bidirectional position disturbances, no single position box is robustly invariant for the unicycle below (supplement). We therefore take the terminal set as a safety fixed point on the verified graph: starting from the regions inside a declared static safe set Z_{\rm post},

\mathcal{K}^{i+1}=\{\rho\in\mathcal{K}^{i}:\exists e\in A(\rho)\ \forall b\in\mathrm{Succ}(e):\ \rho_{b}\in\mathcal{K}^{i}\},
(17)

until a fixed point \mathcal{K}_{\mathrm{post}}, with one witness edge e_{\rm post}(\rho) per retained region.

\mathcal{K}_{\mathrm{post}} is the greatest such fixed point, and applying e_{\rm post} in the current region keeps the state in \mathcal{K}_{\mathrm{post}} under every admissible disturbance sequence (supplement).

Instance. The prototype is the declared discrete unicycle

\displaystyle p_{k+1} \\ \displaystyle=p_{k}+hv_{k}(\cos\theta_{k},\sin\theta_{k})+(w_{x,k},w_{y,k}), \\ \displaystyle\theta_{k+1} \\ \displaystyle=\theta_{k}+h\omega_{k}+w_{\theta,k},

with box disturbances and primitives v constant, \omega=k_{\theta}(\theta_{\rm ref}-\theta); \theta ranges over a bounded interval that does not wrap.

Appendix E Receding-Horizon Controller and Guarantees

E-A Online problem

Let N,H\geq 1 and N_{k}=\min\{N,H-k\}. At k<H, with executed nominal state z_{k} and monitor state q_{k}, the controller solves \mathcal{P}_{k}(z_{k},q_{k}):

\displaystyle\min \\ \displaystyle\textstyle\displaystyle\sum_{i=0}^{N_{k}-1}L(z_{i|k},v_{i|k}) \\ \displaystyle\text{s.t. } \\ \displaystyle z_{0|k}=z_{k},\quad q_{0|k}=q_{k}, \\ \displaystyle z_{i+1|k}=Az_{i|k}+Bv_{i|k}, \\ \displaystyle\hat{\beta}_{i+1|k}\in\{0,1\}^{n_{r}}, \\ \displaystyle\hat{\beta}_{i+1|k,j}=1\Rightarrow Cz_{i+1|k}\in\bar{R}_{j}, \\ \displaystyle q_{i+1|k}=\Gamma_{k+i+1}(q_{i|k},\hat{\beta}_{i+1|k}), \\ \displaystyle v_{i|k}\in\mathcal{V},\ \ \mathrm{Adm}_{k+i}(z_{i|k},q_{i|k}),\quad i\in[0,N_{k}-1], \\ \displaystyle z_{N_{k}|k}\in\widehat{\mathcal{T}}_{k+N_{k}}(q_{N_{k}|k}).

Membership z\in\widehat{\mathcal{T}}_{k}(q) is a disjunction over regions and generators of linear conditions under binary selectors. The prediction need not complete the task; the terminal certificate carries the remaining obligations. L is arbitrary, and no stability property is claimed.

Assumption 5 (One-sided encoding).

(a) Every candidate used by the controller satisfies all constraints of (19), including the implications \hat{\beta}_{i|k,j}=1\Rightarrow Cz_{i|k}\in\bar{R}_{j}; this is checked after the solve. (b) The sets \bar{R}_{j} in (19) are the ones used for the labels in (V3) and by the executed monitor, including on the recorded history.

The converse implication is not assumed. Big-M rows G_{jh}Cz\leq f_{jh}+M_{jh}(1-\hat{\beta}_{j}) for \bar{R}_{j}=\{y:G_{j}y\leq f_{j}\} must be redundant on \mathcal{Z} when \hat{\beta}_{j}=0 (constants in the supplement). Solver tolerances are not certificates, hence the check in Assumption 5(a); a solver bit 0 where the monitor records 1 is absorbed by monotonicity (Theorem 31).

Monitor encoding. Per task and step, \Gamma uses integers c^{\prime},r^{\prime}, binaries for r=\ell+1, r^{\prime}=\ell+1, c\leq\mathrm{hi}+1 and c\geq\mathrm{lo}+1, and two products (r^{\prime}=\hat{\beta}\min\{r+1,\ell+1\}; c^{\prime}=\min\{c,\mathrm{lo}\} exactly when a dwell completes at a start adjacent to the served suffix); the hard row c^{\prime}\leq\bar{c}_{j,t} excludes \bot. With constants from c\in[0,D+1], r\in[0,\ell+1], this takes at most 8 variables and 22 rows per task and step, independent of D and \ell; each terminal option (\rho,m) adds one selector. In E2 (N=10), \mathcal{P}_{0} has 183 variables and 1259 rows, of which 70/200 belong to the monitor (all rows and solver settings in the supplement).

Algorithm 2 Closed loop

E-B Guarantees

Theorem 31 (Recursive feasibility).

Let Assumptions 1, 3, 4 and 5 hold, let \mathcal{L} be verified, and let N\geq 1. Let k\in[0,H-2] and let (v^{*},\hat{\beta}^{*}) be feasible for \mathcal{P}_{k}(z_{k},q_{k}), with predicted states z^{*}_{i|k} and monitor states q^{*}_{i|k}. Suppose that (i) the nominal center is not reset, z_{k+1}=z^{*}_{1|k}, and (ii) the executed monitor processes the executed nominal output with exact tightened bits, q_{k+1}=\Gamma_{k+1}(q_{k},\chi(Cz_{k+1})). Then q^{*}_{1|k}\preceq q_{k+1} and \mathcal{P}_{k+1}(z_{k+1},q_{k+1}) is feasible. A feasible solution reuses v^{*}_{i|k} and \hat{\beta}^{*}_{i|k} for the overlapping steps and, if k+N_{k}<H, appends the input F_{e}z^{*}_{N_{k}|k}+g_{e} and the label \sigma_{e} of a library edge given by Theorem 26(b).

Proof:

Write n=N_{k}. By Assumption 5(a), \hat{\beta}^{*}_{1|k}\leq\chi(Cz^{*}_{1|k})=\chi(Cz_{k+1}), so Lemma 18 gives q^{*}_{1|k}=\Gamma_{k+1}(q_{k},\hat{\beta}^{*}_{1|k})\preceq q_{k+1}. For the overlapping steps, set v_{i|k+1}=v^{*}_{i+1|k} and \hat{\beta}_{i|k+1}=\hat{\beta}^{*}_{i+1|k}. Then z_{i|k+1}=z^{*}_{i+1|k}, and by induction with Lemma 18, q_{i|k+1}\succeq q^{*}_{i+1|k}. The input, state, safety and one-sided constraints are inherited because absolute times coincide, and q_{i|k+1}\in\mathcal{Q}_{k+1+i} because \mathcal{Q}_{k+1+i} is upward closed. If k+n=H, then N_{k+1}=n-1\geq 1, and z^{*}_{n|k}\in\widehat{\mathcal{T}}_{H}(q^{*}_{n|k})\subseteq\widehat{\mathcal{T}}_{H}(q_{n-1|k+1}) by Theorem 26(a). If k+n<H, then N_{k+1}=n, and Theorem 26(a) gives z^{*}_{n|k}\in P_{\rho} with \mathrm{Win}_{k+n}(\rho,q_{n-1|k+1})=1. Theorem 26(b) then supplies an edge e. Appending v_{n-1|k+1}=F_{e}z^{*}_{n|k}+g_{e} and \hat{\beta}_{n|k+1}=\sigma_{e} satisfies \mathrm{Adm}_{k+n}, the input constraint and the one-sided implication, and the terminal constraint holds with \beta=\sigma_{e}. ∎

Theorem 32 (Closed-loop guarantees).

Let the assumptions of Theorem 31 and Assumption 2 hold, and let H\geq 1. Assume that an initial feasible candidate satisfying Assumption 5 has been obtained for \mathcal{P}_{0}(z_{0},q_{0}), with the z_{0}, q_{0} and recorded history used at task time 0, and let the closed loop follow Algorithm 2. Then, for every disturbance sequence in \mathcal{W}: (i) for every k\in[0,H-1], the candidate selected at time k is feasible for \mathcal{P}_{k}(z_{k},q_{k}); (ii) x_{k}\in\mathcal{X} for k\in[0,H] and u_{k}\in\mathcal{U} for k\in[0,H-1]; (iii) \mathrm{Acc}(q_{H}), i.e., q_{H}\neq\bot and c_{j}(q_{H})=0 for all j, and z_{H}\in\mathcal{Z}_{\mathrm{post}}; (iv) (\tilde{y}^{d,\eta},0)\models\varphi for all d\in\mathbb{D} and all \eta:\mathbb{Z}\to\mathbb{B}_{\varepsilon}. In particular, the sampled closed-loop output y_{t}=Cx_{t}, t\in[0,H], satisfies \varphi.

Proof:

(i) follows by induction from the verified initial candidate: if the candidate selected at k\leq H-2 is feasible, Theorem 31 makes the stored shifted candidate feasible for \mathcal{P}_{k+1}(z_{k+1},q_{k+1}). (ii) is the tube argument: e_{k}\in\mathcal{E}, so x_{k}\in\mathcal{Z}\oplus\mathcal{E}\subseteq\mathcal{X} and u_{k}\in\mathcal{V}\oplus K\mathcal{E}\subseteq\mathcal{U}. (iii) The candidate selected at H-1 gives z_{H}\in\widehat{\mathcal{T}}_{H}(q^{*}_{1|H-1})\neq\varnothing, so \mathrm{Acc}(q^{*}_{1|H-1}) holds by Theorem 26(c); since q^{*}_{1|H-1}\preceq q_{H}, \mathrm{Acc}(q_{H}) follows. (iv) q_{H} is the compact monitor of the executed nominal bits, so Corollary 16 and Lemma 11(a) give every reach task under every offset. \mathrm{Adm}_{k} for k<H, \mathrm{RA}_{H} at H and Assumption 2 give safety through Lemma 11(b), and Lemma 8 transfers both to \tilde{y}^{d,\eta}. ∎

Implementation boundaries. Theorem 32 assumes a verified initial candidate for the actual z_{0}, q_{0}, history and task clock, which computation never restarts; Theorem 31 guarantees a backup, not solver success, and no cost decrease. An early attempt is used only if z_{k}, q_{k} and the executed inputs match exactly. A quadrotor needs a certified inner-loop error in \mathcal{E}, which empirical errors are not.

E-C Completion filter on a branching certificate

On a verified branching library, the certificate itself is an executable feedback policy (Theorem 30), and a performance controller can propose actions. At (k,\rho,q) with \mathrm{Win}_{k}(\rho,q)=1, the admissible set is

A^{\rm comp}_{k}(\rho,q)=\{e\in A(\rho):\\
\mathrm{Win}_{k+1}(\rho_{b},\Gamma_{k+1}(q,\sigma^{b}))=1\ \forall b\in\mathrm{Succ}(e)\},

evaluated by enumerating every outgoing edge. A continuous proposal is projected to the nearest library primitive, executed if its edge lies in A^{\rm comp}_{k}, and otherwise replaced by the nearest primitive that does; permissiveness is relative to the library. Every member of A^{\rm comp}_{k} preserves the induction of Theorem 30, so the guarantees hold for any proposer. All steps share one wall-clock budget per tick, after which the witness edge runs; a late proposal is adopted only if its tick, region and monitor state are current.

Appendix F Evaluation

Platform and libraries. MuJoCo [19] simulates a Crazyflie model [25] (modified actuators, not a hardware calibration) at 500 Hz under an attitude and height loop; the outer model is a planar double integrator per axis (h=0.2 s) with tube gain K and bounded wind. Regions are translates c\oplus T of one tube shape with laws v=g+K(z-c) (E1–E3) or grid cells with fixed feedback primitives (R1–R6). Every edge is verified in exact arithmetic on its whole source region, for all of \mathcal{W} where disturbed; HiGHS candidates are used only after exact validation, and every run is reported. On 21 untuned runs the tube interface held at every sample (finite empirical evidence). A change of model, \mathcal{W}, obstacles or primitives requires re-verification; with the library unchanged, a new window or D needs only a new recursion, new targets new labels, and a new terminal set or controller its terminal conditions.

E1: mechanism. In \mathbf{F}_{[3,20]}\mathbf{G}_{[0,2]}\mu_{R_{1}} with D=8, H=30, the vehicle enters R_{1} at 0.8 m/s. An exact lower bound over all admissible nominal inputs places it outside \bar{R}_{1} at samples 5–12 (Fig. 6a), excluding every single witness and continuous visit. All 10 runs complete with the interface intact; on nominal, measured and counterfactual histories both monitors agree at every sample (Fig. 6b), and without the second visit both fail at k=22 (Fig. 6c).

E2 and E3 (supplement). An exact full-horizon reference verifies 60 of 60 test queries; library-certified horizons N=5,10,30 verify 63, 100 and 100 % within 2 s. A full-horizon STL encoding verifies 100 % and plans fastest; it drops the converse half of every equivalence of [12], whose two-sided form, in our implementation, verifies 60/60 at median 176 ms. In a branching scene (H=107), re-solving lowers the revealed cost relative to the verified backup alone by 118 and 108 on two geometries, and the backup carries an optimizer outage of 15 samples; against full-horizon replanning the sign depends on the execution window and geometry.

F-A R1–R6: robust completion

Setup. The system is (18) with h=1, |w_{x}|,|w_{y}|\leq 0.1 m and |w_{\theta}|\leq 0.05 rad, a grid of 0.5 m by 1/4 rad cells and 28 primitives (four speeds, seven \theta_{\rm ref}, deadbeat heading feedback). R1–R3 use an 8\times 5 m workspace, one obstacle, a recorded history, \mathbf{F}_{[13,16]}\mathbf{G}_{[0,1]}\mu_{R}, D=2 and H=19.

R1: prototype gates (all four passed). (1) 27,076 edges are verified on whole cells for all of \mathcal{W}; \mathcal{K}_{\mathrm{post}} keeps 378 of 432 regions. (2) \Gamma on the actual history gives q_{0}=(3,0); the start is certified and 200/200 sampled rollouts complete in \mathcal{K}_{\mathrm{post}}. (3) At k=0, two admissible disturbances send the whole start enclosure under v{=}1,\,\theta_{\rm ref}{=}-1/4 strictly inside different cells, whose complete feasible sets A_{1}=\{v{=}1,\,\theta_{\rm ref}{=}1/4\} and A_{2}=\{v{=}1,\,\theta_{\rm ref}{=}-1/4\} are disjoint (figure in the supplement). (4) Explicit-bitset, compact and ordered recursions agree at every (k,\rho,q). R2 (supplement): the single-successor sub-library certifies 0 regions against 650, and as 2\bar{w}a\geq|\bar{R}| no product-box partition does better.

R3: filter in closed loop. A shared task-aware CEM proposer feeds a robust filter, a nominal certificate (w=0) and a robust safety-only filter, with seeded disturbances and a 100 ms budget (0 overruns). In all 20 frozen configurations every arm completes; the nominal certificate is lost in 5, and the robust filter intervenes most (100 against 21 and 20). In four preregistered cases (supplement), with a proposer pursuing a distant safe waypoint only the robust arm completes, and through an optimizer outage it completes on certified fallbacks.

R4: quadrotor. On the platform’s declared outer model (1 s ticks, \tfrac{1}{8} m cells), 224,094 edges are verified on whole cells, inputs and intermediate samples included. From a measured history, 10/10 MuJoCo wind seeds start certified, complete safely, stay in \mathcal{K}_{\mathrm{post}} and keep every residual in \mathcal{W}, with identical branches. The outer model admits 8/710 candidate pairs with disjoint certified next-action sets; in MuJoCo these reach different regions with nested sets.

Fig. 7: R5: three legal histories end exactly at x^{\star} at k=12; dashed: continuations with memory after A (red) and B (blue), dotted: the all-monitor-memory reset controller (identical for every history), one seed.

R5: same state, different histories. On a mirror-symmetric two-target version of the scene, three legal prefixes end exactly at one state x^{\star} at k=12 with equal bits and dwell counters; each last disturbance is proved in \mathcal{W} by interval arithmetic. After visiting only A, the complete certified set at x^{\star} is \{(-\tfrac{1}{4},-1),\,(\tfrac{1}{4},-1)\} (v,\theta_{\rm ref}); after only B it is \{(-\tfrac{1}{4},1),\,(\tfrac{1}{4},1)\}, disjoint from it; after both, all 28 primitives. One common proposal (\tfrac{1}{2},0) is therefore replaced by (\tfrac{1}{4},-1), by (\tfrac{1}{4},1) or kept (Fig. 7). Resetting all monitor memory at x^{\star} (clock kept) leaves no certified action. With memory, 30/30 seeded continuations, certified from k=12 (the legal prefixes are not certified throughout), complete; the reset controller, judged by an unreset monitor, completes 0/10 after A and 0/10 after B (for this proposer and fallback only). Partial coverage alone also matters: on the R1 library, two legal prefixes end at one state at k=14 with served offsets \{2\} and \{1,2\}, and certified sets \{(1,1)\} \subsetneq \{(1,1),\,(\tfrac{1}{2},\tfrac{1}{2})\} (supplement).

R6: what do the compact and ordered states cost? On an obstacle-free four-target scene (n\leq 4 tasks, D\leq 16), all methods answer the same matched sparse queries (all regions at k=0) and agree; bitset and compact states are equally many in every setting (Theorem 14), with no clear resource gain; the main difference is in whole-domain tables, where the full bitset table exceeds the time or memory budget in 7 of 11 settings. The ordered recursion covers the whole domain; it is 6.0–45.9 times slower than sparse compact, at best draws level over 16 online batches and saves memory only at (n,D)=(3,4) and with four tasks.

Appendix G Proofs for Section B

Lemma 8 (restated). Let d\in\mathbb{D}. If the tightened Boolean task holds for the shifted bit signals, ((\gamma,\beta)(\cdot-d),0)\models\varphi_{\beta}, then (\tilde{y}^{d,\eta},0)\models\varphi for every \eta:\mathbb{Z}\to\mathbb{B}_{\varepsilon}.

Proof:

For Boolean signals \xi,\xi^{\prime} on a common domain write \xi\leq\xi^{\prime} if every component satisfies \xi_{p}(t)\leq\xi^{\prime}_{p}(t) at every t. A negation-free Boolean STL formula \psi is monotone: \xi\leq\xi^{\prime} and (\xi,t)\models\psi imply (\xi^{\prime},t)\models\psi. This follows by induction on \psi, because atomic propositions, conjunction, disjunction, \mathbf{G}_{I} and \mathbf{F}_{I} all preserve \leq.

Let \xi=(\gamma,\beta)(\cdot-d), and let \xi^{\prime} collect the truth values of the original predicates along \tilde{y}^{d,\eta}, i.e., \xi^{\prime}_{S_{i}}(t)=1 iff \tilde{y}^{d,\eta}(t)\in S_{i} and \xi^{\prime}_{R_{j}}(t)=1 iff \tilde{y}^{d,\eta}(t)\in R_{j}, for t\in[0,H]. If \beta_{j}(t-d)=1, then \bar{y}_{t-d}\in\bar{R}_{j}, and since \eta(t)\in\mathbb{B}_{\varepsilon},

\tilde{y}^{d,\eta}(t)=\bar{y}_{t-d}+\eta(t)\in\bar{R}_{j}\oplus\mathbb{B}_{\varepsilon}\subseteq R_{j},

so \xi^{\prime}_{R_{j}}(t)=1. The same argument applies to \gamma_{i} and S_{i}. Hence \xi\leq\xi^{\prime} on [0,H]. Since (\xi,0)\models\varphi_{\beta} and \varphi is negation-free with the same structure, (\tilde{y}^{d,\eta},0)\models\varphi. ∎

Admissible tightenings. The Pontryagin difference R_{j}\ominus\mathbb{B}_{\varepsilon} is the largest choice of \bar{R}_{j}; for \{y:Gy\leq f\} it is \{y:Gy\leq f-\varepsilon|G|\mathbf{1}\}, and for a predicate h_{j}\geq 0 with \ell_{\infty}-Lipschitz constant L_{j} the set \{y:h_{j}(y)\geq L_{j}\varepsilon\} is admissible.

Obstacles. With S_{i}=\{y:\operatorname{dist}_{\infty}(y,\mathcal{O}_{i})\geq\delta_{i}\} and \bar{S}_{i}\subseteq\{y:\operatorname{dist}_{\infty}(y,\mathcal{O}_{i})\geq\delta_{i}+\varepsilon\}, both sets are closed and exclude contact with \mathcal{O}_{i}, and \operatorname{dist}_{\infty}(y+\eta,\mathcal{O}_{i})\geq\operatorname{dist}_{\infty}(y,\mathcal{O}_{i})-\|\eta\|_{\infty} gives \bar{S}_{i}\oplus\mathbb{B}_{\varepsilon}\subseteq S_{i}. For a polytopic obstacle \{y:A_{i}y\leq b_{i}\} with rows a_{ih}\neq 0, the half-spaces \{y:a_{ih}y\geq b_{ih}+(\delta_{i}+\varepsilon)\|a_{ih}\|_{1}\} keep this clearance, so their union is an admissible \bar{S}_{i} (conservative near vertices). Nonconvex sets are never checked through vertices.

Quantifier order for disturbed systems. Two mistakes must be avoided in the objective of Section B-E. For x^{+}=u+w, u,w\in\{-1,1\} and goal x^{+}=0, every known w admits u=-w but no u works for both, so \forall w\,\exists u is unsound. For x_{1}=w_{0}\in\{-1,1\}, x_{2}=x_{1}+u_{1}, no fixed u_{1} reaches 0 while u_{1}=-x_{1} does, so the future must be feedback.

Appendix H Proofs for Section C

Throughout, a single reach task has parameters (a,b,\ell), window length \Delta=b-a, and bit signal \beta on [-D,H] with H\geq b+\ell. Witnesses start at s\geq-D by definition.

H-A Coverage semantics and compilation

Lemma 11 (restated). Fix Boolean signals (\gamma,\beta) on [-D,H]. (a) For every reach task j, \forall d\in\mathbb{D}\ \exists t\in[a_{j},b_{j}]\ \forall r\in[0,\ell_{j}]:\ \beta_{j}(t+r-d)=1 if and only if \mathcal{C}_{j}(H)=\mathbb{D}. (b) For every safety task i, \forall d\in\mathbb{D}\ \forall t\in[\alpha_{i},\omega_{i}]:\ \gamma_{i}(t-d)=1 if and only if \gamma_{i}(t)=1 for all t\in[\alpha_{i}-D,\omega_{i}].

Proof:

(a, \Rightarrow) Fix d\in\mathbb{D} and t_{d}\in[a,b] with \beta(t_{d}+r-d)=1 for all r\in[0,\ell], and let s=t_{d}-d. Then s\geq a-D\geq-D and \beta(s)=\dots=\beta(s+\ell)=1, so s is a witness. Moreover, a\leq s+d=t_{d}\leq b gives d\in I(s), and s+\ell\leq b-d+\ell\leq H. Hence d\in\mathcal{C}(H).

(a, \Leftarrow) If d\in\mathcal{C}(H), some witness s has d\in I(s). Put t=s+d\in[a,b]. Then \beta(t+r-d)=\beta(s+r)=1 for all r\in[0,\ell].

(b) The indices read by the left side are \{t-d:t\in[\alpha,\omega],\ d\in[0,D]\}=[\alpha-D,\omega], which lies in [-D,H] because \alpha\geq 0 and \omega\leq H. ∎

Proposition 12 (restated). Let \xi be a Boolean signal on [-D,H] and \psi a Boolean STL formula, possibly with negation and bounded until \mathbin{\mathbf{U}}_{I}, whose evaluation at time 0 reads \xi only on [0,H]. Then

\big[\forall d\in\mathbb{D}:\ (\xi(\cdot-d),0)\models\psi\big]\iff(\xi,-D)\models\mathbf{G}_{[0,D]}\psi.

In particular, the tightened Boolean task holds under every offset iff ((\gamma,\beta),-D)\models\mathbf{G}_{[0,D]}\varphi_{\beta}.

Proof:

Boolean STL formulas are generated by \psi::=p\mid\neg\psi\mid\psi\wedge\psi\mid\mathbf{G}_{I}\psi\mid\mathbf{F}_{I}\psi\mid\psi\mathbin{\mathbf{U}}_{I}\psi with (\xi,t)\models p iff \xi_{p}(t)=1, (\xi,t)\models\mathbf{G}_{I}\psi iff (\xi,t^{\prime})\models\psi for all t^{\prime}\in t+I, dually for \mathbf{F}_{I}, and (\xi,t)\models\psi_{1}\mathbin{\mathbf{U}}_{I}\psi_{2} iff some s\in t+I has (\xi,s)\models\psi_{2} and (\xi,u)\models\psi_{1} for every integer u\in[t,s-1]. Another endpoint convention for \mathbin{\mathbf{U}}_{I} changes only the range of u and is handled identically. We claim

(\xi(\cdot-d),t)\models\psi\iff(\xi,t-d)\models\psi
(20)

whenever the evaluations on both sides read only defined samples. For atomic p, both sides state \xi_{p}(t-d)=1. Negation and conjunction are immediate. For \mathbf{G}_{I},

\displaystyle(\xi(\cdot-d),t)\models\mathbf{G}_{I}\psi \\ \displaystyle\iff\forall t^{\prime}\in t+I:\ (\xi,t^{\prime}-d)\models\psi \\ \displaystyle\iff(\xi,t-d)\models\mathbf{G}_{I}\psi,

using the induction hypothesis and t^{\prime}-d\in(t-d)+I; \mathbf{F}_{I} is analogous. For \mathbin{\mathbf{U}}_{I}, (\xi(\cdot-d),t)\models\psi_{1}\mathbin{\mathbf{U}}_{I}\psi_{2} holds iff some s\in t+I has (\xi(\cdot-d),s)\models\psi_{2} and (\xi(\cdot-d),u)\models\psi_{1} for every integer u\in[t,s-1]. By the induction hypothesis, this reads (\xi,s-d)\models\psi_{2} and (\xi,u-d)\models\psi_{1}. Substituting s^{\prime}=s-d\in(t-d)+I and u^{\prime}=u-d\in[t-d,s^{\prime}-1] gives exactly (\xi,t-d)\models\psi_{1}\mathbin{\mathbf{U}}_{I}\psi_{2}. All evaluations are restricted to defined samples. Since \psi read at time 0 uses only [0,H], the signal \xi(\cdot-d) is read on [-d,H-d]\subseteq[-D,H]. Applying (20) with t=0 and substituting \tau=D-d,

\displaystyle\forall d\in[0,D]:\ (\xi,-d)\models\psi \\ \displaystyle\iff\forall\tau\in[0,D]:\ (\xi,-D+\tau)\models\psi \\ \displaystyle\iff(\xi,-D)\models\mathbf{G}_{[0,D]}\psi.

∎

H-B Expiry, suffix structure and the compact monitor

Lemma 13 (restated). Fix a reach task and a Boolean signal. If offset d is expired at k, then d\notin\mathcal{C}(k^{\prime}) for every k^{\prime}\geq k; hence the task is failed at every k^{\prime}\geq k and \mathcal{C}(H)\neq\mathbb{D}. Moreover, for k\geq b+\ell the task is not failed at k if and only if \mathcal{C}(k)=\mathbb{D}.

Proof:

Let d\notin\mathcal{C}(k) with k\geq b-d+\ell. Every witness s with d\in I(s) satisfies s\leq b-d, so it is completed at s+\ell\leq b-d+\ell\leq k and would already be counted in \mathcal{C}(k). Hence no such witness exists, and d\notin\mathcal{C}(k^{\prime}) for all k^{\prime}. For k^{\prime}\geq k we also have k^{\prime}\geq b-d+\ell, so d stays expired and the task stays failed. If H\geq b+\ell, then d is expired at H, so \mathcal{C}(H)\neq\mathbb{D}.

For k\geq b+\ell, every d\in\mathbb{D} has b-d+\ell\leq k, so the task is failed at k iff some d\in\mathbb{D} is not in \mathcal{C}(k). ∎

Theorem 14 (restated). Fix a reach task, a Boolean signal and k\geq-D-1. If the task is not failed at k, then \mathcal{C}(k)=\{c,c+1,\dots,D\} for some c\in[0,D+1], where c=D+1 denotes \mathcal{C}(k)=\varnothing.

Proof:

If \mathcal{C}(k)=\varnothing, take c=D+1. Otherwise let d\in\mathcal{C}(k) be served by a witness s with a\leq s+d\leq b and s+\ell\leq k, and let d^{\prime}\in\mathbb{D} with d^{\prime}>d. Since s+d^{\prime}>s+d\geq a, the only way to have d^{\prime}\notin I(s) is s+d^{\prime}>b, which gives

b-d^{\prime}+\ell<s+\ell\leq k.

If also d^{\prime}\notin\mathcal{C}(k), then d^{\prime} is expired at k, which contradicts non-failure. Hence d\in\mathcal{C}(k) implies [d,D]\subseteq\mathcal{C}(k), and \mathcal{C}(k)=[c,D] with c=\min\mathcal{C}(k). ∎

We use the following reformulation of the failure test. For c\in[0,D+1],

c>\bar{c}_{k}\iff c\geq 1\ \text{and}\ k\geq b-(c-1)+\ell.
(21)

Indeed, if b+\ell-k\geq D+1, then \bar{c}_{k}=D+1 and both sides are false, because the right side would require c\geq b+\ell-k+1\geq D+2. Otherwise \bar{c}_{k}=\max\{0,b+\ell-k\}, and c>\max\{0,b+\ell-k\} iff c\geq 1 and c\geq b+\ell-k+1.

Corollary 16 (restated). Fix a Boolean signal \beta on [-D,H], let q_{-D-1}=q^{\mathrm{init}} and q_{k}=\Gamma_{k}(q_{k-1},\beta(k)). For every k\in[-D-1,H]: q_{k}=\bot iff some reach task is failed at k; otherwise q_{k}=((c_{j},r_{j}))_{j}\in\mathcal{Q}_{k} with \mathcal{C}_{j}(k)=\{c_{j},\dots,D\} and r_{j}=r_{j}(k) for every j. The monitor therefore takes at most 1+\prod_{j}(D+2)(\ell_{j}+2) values.

Proof:

Since both the joint update and failure are componentwise, with \bot as soon as one component fails, it suffices to prove the following for one task, by induction on k\in[-D-1,H]: either the task is failed at k and q_{k}=\bot, or it is not failed and q_{k}=(c_{k},r_{k}) with \mathcal{C}(k)=[c_{k},D] and r_{k}=r(k).

Base. At k=-D-1 no sample has been read, \mathcal{C}=\varnothing=[D+1,D], r=0, and no offset is expired because every deadline satisfies b-d+\ell\geq-D>-D-1. This matches q^{\mathrm{init}}=(D+1,0).

Step. Assume the claim at k-1. If the task is failed at k-1, it is failed at k by Lemma 13, and \bot is absorbing. Otherwise let q_{k-1}=(c,r) with \mathcal{C}(k-1)=[c,D] and r=r(k-1). The run length satisfies r(k)=\min\{\ell+1,r(k-1)+1\} if \beta(k)=1 and r(k)=0 otherwise, which is r^{+}. The witness s=k-\ell is completed at k iff \beta(k-\ell)=\dots=\beta(k)=1 with k-\ell\geq-D, i.e., iff r(k)=\ell+1. Its interval is I(s)=[\mathrm{lo},\mathrm{hi}], which is empty if \mathrm{lo}>\mathrm{hi}. Hence \mathcal{C}(k)=[c,D]\cup[\mathrm{lo},\mathrm{hi}] if r^{+}=\ell+1 and \mathcal{C}(k)=[c,D] otherwise. There are three cases.

Case A: r^{+}\leq\ell, or \mathrm{lo}>\mathrm{hi}. Then \mathcal{C}(k)=[c,D] and c^{+}=c.

Case B: r^{+}=\ell+1, \mathrm{lo}\leq\mathrm{hi} and \mathrm{hi}\geq c-1. The intervals [\mathrm{lo},\mathrm{hi}] and [c,D] overlap or are adjacent and \mathrm{hi}\leq D, so \mathcal{C}(k)=[\min\{c,\mathrm{lo}\},D]=[c^{+},D].

Case C: r^{+}=\ell+1 and \mathrm{lo}\leq\mathrm{hi}<c-1. Then 0\leq c-1\leq D and c-1\notin\mathcal{C}(k). Because c-1\leq D, the inequality \min\{D,b-s\}<c-1 gives b-s<c-1, i.e., b-(c-1)+\ell<s+\ell=k. So c-1 is expired and the task is failed at k. The update gives c^{+}=c, and by (21) with c\geq 1 and k>b-(c-1)+\ell, c^{+}>\bar{c}_{k}, so q_{k}=\bot.

In Cases A and B, \mathcal{C}(k)=[c^{+},D]. The uncovered offsets are [0,c^{+}-1], and among them c^{+}-1 has the earliest deadline. Hence the task is failed at k iff c^{+}\geq 1 and k\geq b-(c^{+}-1)+\ell, iff c^{+}>\bar{c}_{k} by (21), iff q_{k}=\bot. If not failed, q_{k}=(c^{+},r^{+}) has the claimed form, and c^{+}\leq\bar{c}_{k} means q_{k}\in\mathcal{Q}_{k}.

Every non-failed value lies in \mathcal{Q}, and |\mathcal{Q}|=\prod_{j}(D+2)(\ell_{j}+2); adding \bot gives the bound. ∎

H-C Monotonicity

Lemma 18 (restated). For every k, all q\preceq q^{\prime} in \mathcal{Q}\cup\{\bot\} and all bit vectors \beta\leq\beta^{\prime} (componentwise), \Gamma_{k}(q,\beta)\preceq\Gamma_{k}(q^{\prime},\beta^{\prime}). Moreover, \mathcal{Q}_{k} and the acceptance set \{q:\mathrm{Acc}(q)\} are upward closed in \mathcal{Q}\cup\{\bot\}.

Proof:

If q=\bot, then \Gamma_{k}(q,\beta)=\bot and there is nothing to show. Otherwise q^{\prime}\neq\bot. Since the joint update is componentwise and returns \bot if any component does, it suffices to prove, for one task with (c,r)\preceq(c^{\prime},r^{\prime}) (i.e., c\geq c^{\prime}, r\leq r^{\prime}) and bits \beta\leq\beta^{\prime}, that \Gamma_{k}((c,r),\beta)\preceq\Gamma_{k}((c^{\prime},r^{\prime}),\beta^{\prime}), and that the right side is \bot only if the left side is.

Run length. If \beta=0, then r^{+}=0\leq r^{\prime+}. If \beta=1, then \beta^{\prime}=1 and \min\{\ell+1,r+1\}\leq\min\{\ell+1,r^{\prime}+1\}.

Coverage index. Let u(c) be the right side of (11), which applies when a witness completes. Then u(c)\leq c, and u is nondecreasing: if c\geq c^{\prime} and the condition in (11) holds for c, it holds for c^{\prime} since \mathrm{hi}\geq c-1\geq c^{\prime}-1, and then u(c)=\min\{c,\mathrm{lo}\}\geq\min\{c^{\prime},\mathrm{lo}\}=u(c^{\prime}); if the condition fails for c, then u(c)=c\geq c^{\prime}\geq u(c^{\prime}). Let \kappa and \kappa^{\prime} indicate completion, i.e., r^{+}=\ell+1 and r^{\prime+}=\ell+1; by the previous step \kappa\leq\kappa^{\prime}. If \kappa=\kappa^{\prime}=0, then c^{+}=c\geq c^{\prime}=c^{\prime+}. If \kappa=\kappa^{\prime}=1, then c^{+}=u(c)\geq u(c^{\prime})=c^{\prime+}. If \kappa=0 and \kappa^{\prime}=1, then c^{+}=c\geq c^{\prime}\geq u(c^{\prime})=c^{\prime+}.

Failure. The test c^{+}>\bar{c}_{k} is monotone in c^{+}. Since c^{+}\geq c^{\prime+}, if the right side fails, so does the left side. If neither fails, (c^{+},r^{+})\preceq(c^{\prime+},r^{\prime+}).

Finally, \mathcal{Q}_{k} is defined by upper bounds on the c_{j}, so it is upward closed, and \mathrm{Acc} requires c_{j}=0, which is preserved when moving up. ∎

H-D Baselines

Lemma S1 (Single continuous visit).

Fix one reach task and a true segment [p,q]\subseteq[-D,b+\ell] of \beta with q-p\geq\ell. The witnesses s\in[p,q-\ell] cover \mathbb{D} iff p\leq b-D and q\geq a+\ell. Consequently, \beta\in\mathcal{F}_{\mathrm{single}} iff \beta satisfies

\psi_{\mathrm{single}}=\begin{cases}\mathbf{F}_{[a,b-D]}\mathbf{G}_{[0,\ell]}\beta\ \text{at time }0,&\Delta\geq D,\\
\mathbf{G}_{[b,a+\ell+D]}\beta\ \text{at time }{-D},&\Delta<D,\end{cases}

where the second case states \beta(t)=1 for all t\in[b-D,a+\ell] in absolute nominal time; negative times read the recorded history.

Proof:

The starts s\in[p,q-\ell] are witnesses. For consecutive starts, the integer intervals [a-s-1,b-s-1] and [a-s,b-s] overlap or are adjacent because b\geq a. Hence

\bigcup_{s\in[p,q-\ell]}[a-s,b-s]=[a-q+\ell,\ b-p],

and its intersection with \mathbb{D} equals \mathbb{D} iff a-q+\ell\leq 0 and b-p\geq D, i.e., iff q\geq a+\ell and p\leq b-D.

Case \Delta\geq D. If a segment [p,q] covers \mathbb{D}, let s=\max\{p,a\}. Then s\leq b-D, because p\leq b-D and a\leq b-D. Also s+\ell\leq q: if s=p this is q-p\geq\ell, and if s=a it is q\geq a+\ell. So \beta=1 on [s,s+\ell] with s\in[a,b-D]. Conversely, such an s gives the segment [s,s+\ell] with s\leq b-D and s+\ell\geq a+\ell.

Case \Delta<D. If [p,q] covers \mathbb{D}, then p\leq b-D<a\leq a+\ell\leq q, so \beta=1 on [b-D,a+\ell]. Conversely, if \beta=1 on [b-D,a+\ell], take p=b-D\geq-D and q=a+\ell; then q-p=\ell+D-\Delta>\ell and both conditions hold. ∎

Proposition 20 (restated). Fix one reach task with parameters (a,b,\ell,D) and \Delta=b-a. If \Delta\geq D, then \mathcal{F}_{\mathrm{shared}}\subseteq\mathcal{F}_{\mathrm{shrink}}=\mathcal{F}_{\mathrm{single}}\subseteq\mathcal{F}_{\mathrm{exact}}. If \Delta<D, then \mathcal{F}_{\mathrm{shrink}}=\varnothing and \mathcal{F}_{\mathrm{shared}}\subseteq\mathcal{F}_{\mathrm{single}}\subseteq\mathcal{F}_{\mathrm{exact}}.

Proof:

\mathcal{F}_{\mathrm{single}}\subseteq\mathcal{F}_{\mathrm{exact}}: the witnesses of the segment are witnesses of \beta, and all of them are completed by b+\ell because the signal ends there. \mathcal{F}_{\mathrm{shared}}\subseteq\mathcal{F}_{\mathrm{single}}: the segment [t-D,t+\ell] with t\in[a,b] has p=t-D\leq b-D, q=t+\ell\geq a+\ell, q-p=D+\ell\geq\ell and p\geq-D, so Lemma S1 applies. \mathcal{F}_{\mathrm{shrink}}\subseteq\mathcal{F}_{\mathrm{single}}: the segment [s,s+\ell] with s\in[a,b-D] satisfies both conditions. If \Delta\geq D, Lemma S1 gives \mathcal{F}_{\mathrm{single}}=\mathcal{F}_{\mathrm{shrink}}. If \Delta<D, then [a,b-D] is empty and \mathcal{F}_{\mathrm{shrink}}=\varnothing. ∎

Proposition 21 (restated). Fix one reach task and consider all Boolean signals on [-D,b+\ell]. Then \mathcal{F}_{\mathrm{single}}\subsetneq\mathcal{F}_{\mathrm{exact}} if and only if D\geq 1 and \Delta\geq\ell+1. If D=0 or \Delta\leq\ell, every signal in \mathcal{F}_{\mathrm{exact}} has a single true segment whose witnesses cover \mathbb{D}.

Proof:

(\Leftarrow) Let D\geq 1 and \Delta\geq\ell+1, and let \beta=1 exactly on [a-D,a-1+\ell]\cup[b,b+\ell]\subseteq[-D,b+\ell]. Since b\geq a+\ell+1, the time a+\ell separates the two segments. The first segment has \ell+D\geq\ell+1 samples and witnesses s\in[a-D,a-1]; by the first part of Lemma S1 its coverage is [a-(a-1),\,b-(a-D)]\cap\mathbb{D}=[1,\Delta+D]\cap\mathbb{D}=[1,D]. The second segment has the witness s=b with I(b)=[a-b,0]\cap\mathbb{D}=\{0\}. Hence \beta\in\mathcal{F}_{\mathrm{exact}}. The first segment violates q\geq a+\ell, and the second violates p\leq b-D because D\geq 1. Both conditions only become harder on sub-segments, so \beta\notin\mathcal{F}_{\mathrm{single}}.

(\Rightarrow) We show \mathcal{F}_{\mathrm{exact}}\subseteq\mathcal{F}_{\mathrm{single}} when D=0 or \Delta\leq\ell. If D=0, some witness s has a\leq s\leq b, and the segment [s,s+\ell] satisfies p\leq b=b-D and q\geq a+\ell.

Let \Delta\leq\ell and \beta\in\mathcal{F}_{\mathrm{exact}}. Let \sigma_{1},\dots,\sigma_{m} be the maximal true segments that contain witnesses, ordered in time, with \sigma_{i}=[p_{i},q_{i}]. By Lemma S1, \sigma_{i} covers U_{i}=J_{i}\cap\mathbb{D} with J_{i}=[a-q_{i}+\ell,\ b-p_{i}]. For i<i^{\prime} we have p_{i^{\prime}}\geq q_{i}+2, so, using b\leq a+\ell,

\max J_{i^{\prime}}=b-p_{i^{\prime}}\leq b-q_{i}-2\leq a+\ell-q_{i}-2=\min J_{i}-2.
(22)

Thus the J_{i} are ordered decreasingly and separated by at least one integer. Suppose two segments contribute, i.e., U_{i}\neq\varnothing\neq U_{i^{\prime}} for some i<i^{\prime}, and choose i^{\prime} as the next contributing index after i. Let g=\min J_{i}-1. Since U_{i^{\prime}}\neq\varnothing, \max J_{i^{\prime}}\geq 0, and (22) gives g>\max J_{i^{\prime}}\geq 0. Since U_{i}\neq\varnothing, \min J_{i}\leq D, so g\leq D-1. Thus g\in\mathbb{D}. Now g\notin J_{i}; for i^{\prime\prime}\geq i^{\prime}, \max J_{i^{\prime\prime}}\leq\max J_{i^{\prime}}<g; for i^{\prime\prime}<i, \min J_{i^{\prime\prime}}\geq\max J_{i}+2>g by (22); and the segments strictly between i and i^{\prime} do not contribute. Hence g\notin\mathcal{C}(b+\ell), which contradicts \beta\in\mathcal{F}_{\mathrm{exact}}. Therefore exactly one segment contributes, it covers \mathbb{D}, and \beta\in\mathcal{F}_{\mathrm{single}}. ∎

Appendix I Proofs for Section D

Proposition S2 (Monotone exact family).

If q\preceq q^{\prime}, then \mathcal{T}_{k}(q)\subseteq\mathcal{T}_{k}(q^{\prime}) for every k\in[0,H].

Proof:

Backward induction on k. At H, if \mathcal{T}_{H}(q)\neq\varnothing then \mathrm{Acc}(q), hence \mathrm{Acc}(q^{\prime}) because \mathrm{Acc} is upward closed (Lemma 18), and \mathcal{T}_{H}(q)=\mathcal{T}_{H}(q^{\prime}). Let k<H and z\in\mathcal{T}_{k}(q) with witness input v and successor z^{+}=Az+Bv. Then \mathrm{Adm}_{k}(z,q^{\prime}) holds because \mathcal{Q}_{k} is upward closed. By Lemma 18, \Gamma_{k+1}(q,\chi(Cz^{+}))\preceq\Gamma_{k+1}(q^{\prime},\chi(Cz^{+})), so the induction hypothesis gives z^{+}\in\mathcal{T}_{k+1}(\Gamma_{k+1}(q,\chi(Cz^{+})))\subseteq\mathcal{T}_{k+1}(\Gamma_{k+1}(q^{\prime},\chi(Cz^{+}))), and the same v shows z\in\mathcal{T}_{k}(q^{\prime}). ∎

Lemma 24 (restated). Fix k\in[-D,H-1], a label \sigma\in\{0,1\}^{n_{r}} and a target g=((c^{*}_{j},r^{*}_{j}))_{j}\in\mathcal{Q}_{k+1}, and let \mathrm{Pre}_{k}(g,\sigma)=\{q\in\mathcal{Q}_{k}:\Gamma_{k+1}(q,\sigma)\succeq g\}. With s_{j}=k+1-\ell_{j}, \mathrm{lo}_{j}=\max\{0,a_{j}-s_{j}\} and \mathrm{hi}_{j}=\min\{D,b_{j}-s_{j}\}, let X_{j}=\{(c^{*}_{j},0)\} if \sigma_{j}=0 and r^{*}_{j}=0, X_{j}=\varnothing if \sigma_{j}=0 and r^{*}_{j}>0, and, if \sigma_{j}=1, X_{j}=\{(c^{*}_{j},\max\{0,r^{*}_{j}-1\})\}\cup\{(\min\{D+1,\mathrm{hi}_{j}+1\},\ell_{j}):\mathrm{lo}_{j}\leq\mathrm{hi}_{j},\ \mathrm{lo}_{j}\leq c^{*}_{j}\}. Then \mathrm{Pre}_{k}(g,\sigma) is upward closed in \mathcal{Q}, X_{1}\times\dots\times X_{n_{r}}\subseteq\mathrm{Pre}_{k}(g,\sigma), and

\min\mathrm{Pre}_{k}(g,\sigma)=\min\,(X_{1}\times\dots\times X_{n_{r}}).

Thus, for a fixed time, label and target generator, each task contributes at most two candidates, all candidates are valid predecessors, and there are at most 2^{n_{r}} of them.

Proof:

Upward closure. Let q\in\mathrm{Pre}_{k}(g,\sigma) and q\preceq q^{\prime}\in\mathcal{Q}. Then q^{\prime}\in\mathcal{Q}_{k} by Lemma 18, and \Gamma_{k+1}(q^{\prime},\sigma)\succeq\Gamma_{k+1}(q,\sigma)\succeq g.

Reduction to one task. Membership in \mathcal{Q}_{k}, the update, the order, and the condition \Gamma_{k+1}(q,\sigma)\succeq g with g\neq\bot are all componentwise (the last requires every component to be non-failed). Hence \mathrm{Pre}_{k}(g,\sigma)=\prod_{j}\mathrm{Pre}_{j} with \mathrm{Pre}_{j}=\{q_{j}\in\mathcal{Q}_{j}:c_{j}\leq\bar{c}_{j,k},\ \Gamma_{j,k+1}(q_{j},\sigma_{j})\succeq g_{j}\}, and minimal elements of a product of posets are the products of minimal elements. It therefore suffices to show, for one task (index dropped), that

X_{j}\subseteq\mathrm{Pre}_{j}\quad\text{and}\quad\forall q\in\mathrm{Pre}_{j}\ \exists x\in X_{j}:\ x\preceq q.
(23)

Then \min\mathrm{Pre}_{j}=\min X_{j}. Indeed, if m\in\min\mathrm{Pre}_{j}, some x\in X_{j} satisfies x\preceq m and x\in\mathrm{Pre}_{j}, so x=m, and m is minimal in X_{j}\subseteq\mathrm{Pre}_{j}. Conversely, if x\in\min X_{j} and q\in\mathrm{Pre}_{j} with q\preceq x, some x^{\prime}\in X_{j} satisfies x^{\prime}\preceq q\preceq x, so x^{\prime}=x and q=x.

Two facts are used throughout. First, \bar{c}_{k+1}\leq\bar{c}_{k}, and g\in\mathcal{Q}_{k+1} gives c^{*}\leq\bar{c}_{k+1}. Second, if a state has image (\hat{c}^{+},\hat{r}^{+}) before the failure test with \hat{c}^{+}\leq c^{*}, then the image is not \bot, because c^{*}\leq\bar{c}_{k+1}.

Candidates are predecessors. If \sigma_{j}=0 and r^{*}=0, the candidate (c^{*},0) lies in \mathcal{Q}_{k} since c^{*}\leq\bar{c}_{k+1}\leq\bar{c}_{k}; its image is (c^{*},0)\succeq(c^{*},r^{*}). If \sigma_{j}=1, the candidate x_{A}=(c^{*},\max\{0,r^{*}-1\}) lies in \mathcal{Q}_{k} for the same reason; its run length becomes \min\{\ell+1,\max\{0,r^{*}-1\}+1\}\geq r^{*} because r^{*}\leq\ell+1, and its coverage index cannot increase, so its image dominates g. For x_{B}=(c_{B},\ell) with c_{B}=\min\{D+1,\mathrm{hi}+1\} and \mathrm{lo}\leq\mathrm{hi}, we have \mathrm{hi}\geq 0 and \mathrm{hi}\leq b-s=b+\ell-k-1, so c_{B}\leq\min\{D+1,b+\ell-k\}=\bar{c}_{k} and x_{B}\in\mathcal{Q}_{k}. Its image completes the witness, with run length \ell+1\geq r^{*}; since \mathrm{lo}\leq\mathrm{hi} and \mathrm{hi}\geq c_{B}-1, the coverage index becomes \min\{c_{B},\mathrm{lo}\}\leq\mathrm{lo}\leq c^{*}.

Every predecessor dominates a candidate. Let q=(c,r)\in\mathrm{Pre}_{j} with image (c^{+},r^{+})\neq\bot, c^{+}\leq c^{*} and r^{+}\geq r^{*}. If \sigma_{j}=0, then r^{+}=0\geq r^{*} forces r^{*}=0, and c=c^{+}\leq c^{*}, so (c^{*},0)\preceq q. If \sigma_{j}=1 and c\leq c^{*}, then r^{+}=\min\{\ell+1,r+1\}\geq r^{*} gives r\geq r^{*}-1, so x_{A}\preceq q. If \sigma_{j}=1 and c>c^{*}, then c^{+}<c, which requires a completion, so r\geq\ell, and the first branch of (11) with \mathrm{lo}<c: \mathrm{lo}\leq\mathrm{hi}, \mathrm{hi}\geq c-1 and c^{+}=\mathrm{lo}\leq c^{*}. Hence x_{B}\in X_{j}, and c\leq\min\{D+1,\mathrm{hi}+1\}=c_{B} together with r\geq\ell gives x_{B}\preceq q.

This establishes (23). Each X_{j} has at most two elements, so |X_{1}\times\dots\times X_{n_{r}}|\leq 2^{n_{r}}. ∎

Theorem 25 (restated). For every k\in[0,H], \rho\in\mathcal{R} and q\in\mathcal{Q}\cup\{\bot\}, \mathrm{Win}_{k}(\rho,q)=1 iff m\preceq q for some m\in M_{k}(\rho). Hence the plain recursion (12)–(13) and the ordered recursion (14) certify identical sets on the same library.

Proof:

Backward induction on k.

Base. By (12), \mathrm{Win}_{H}(\rho,q)=1 iff \mathrm{RA}_{H}(\rho), P_{\rho}\subseteq\mathcal{Z}_{\mathrm{post}} and \mathrm{Acc}(q). Now \mathrm{Acc}(q) iff q\neq\bot and c_{j}=0 for all j, iff q\succeq((0,0))_{j}. This matches the initialization in (14).

Step. Assume the claim at k+1\leq H. If \mathrm{RA}_{k}(\rho) fails, both sides are false. Otherwise, by (13),

\displaystyle\mathrm{Win}_{k}(\rho,q)=1 \\ \displaystyle\iff q\in\mathcal{Q}_{k}\wedge\exists e:\rho_{e}=\rho,\ \mathrm{Win}_{k+1}(\rho^{\prime}_{e},\Gamma_{k+1}(q,\sigma_{e}))=1 \\ \displaystyle\iff q\in\mathcal{Q}_{k}\wedge\exists e,\ \exists g\in M_{k+1}(\rho^{\prime}_{e}):\ g\preceq\Gamma_{k+1}(q,\sigma_{e}) \\ \displaystyle\iff\exists e,\ \exists g\in M_{k+1}(\rho^{\prime}_{e}):\ q\in\mathrm{Pre}_{k}(g,\sigma_{e}).

The second equivalence is the induction hypothesis; if \Gamma_{k+1}(q,\sigma_{e})=\bot, both sides are false, since \mathrm{Win} vanishes at \bot and no g\in\mathcal{Q} satisfies g\preceq\bot. The elements of M_{k+1}(\rho^{\prime}_{e}) lie in \mathcal{Q}_{k+1}, as required by Lemma 24, because \mathrm{Win}_{k+1}(\rho^{\prime},g)=1 implies g\in\mathcal{Q}_{k+1} (for k+1<H by (13); for k+1=H because \mathrm{Acc}(g) implies c_{j}=0\leq\bar{c}_{j,H}). By Lemma 24, each \mathrm{Pre}_{k}(g,\sigma_{e}) is upward closed in the finite poset \mathcal{Q}, so q belongs to it iff m\preceq q for some m\in\min\mathrm{Pre}_{k}(g,\sigma_{e}). Let U be the union of these minimal sets over all e and g. Then \mathrm{Win}_{k}(\rho,q)=1 iff q dominates some element of U, iff q dominates some element of \min U=M_{k}(\rho). ∎

Theorem 26 (restated). Let Assumption 4 hold, let \mathcal{L} be verified, and let \widehat{\mathcal{T}}_{k}(q)=\bigcup\{P_{\rho}:\mathrm{Win}_{k}(\rho,q)=1\}. Then, for all k\in[0,H]: (a) q\preceq q^{\prime} implies \widehat{\mathcal{T}}_{k}(q)\subseteq\widehat{\mathcal{T}}_{k}(q^{\prime}); (b) if k<H, z\in P_{\rho} and \mathrm{Win}_{k}(\rho,q)=1, then \mathrm{Adm}_{k}(z,q) holds and some edge e with \rho_{e}=\rho satisfies v=F_{e}z+g_{e}\in\mathcal{V}, z^{+}=Az+Bv\in P_{\rho^{\prime}_{e}}, \sigma_{e}\leq\chi(Cz^{+}), and z^{+}\in\widehat{\mathcal{T}}_{k+1}(\Gamma_{k+1}(q,\beta)) for every \beta\geq\sigma_{e}; (c) \widehat{\mathcal{T}}_{H}(q)\neq\varnothing implies \mathrm{Acc}(q), and \widehat{\mathcal{T}}_{H}(q)\subseteq\mathcal{Z}_{\mathrm{post}}; (d) \widehat{\mathcal{T}}_{k}(q)\subseteq\mathcal{T}_{k}(q).

Proof:

(a) By Theorem 25, \mathrm{Win}_{k}(\rho,\cdot) is the indicator of the upward closure of M_{k}(\rho), so it is monotone, and so is the union \widehat{\mathcal{T}}_{k}.

(b) Let z\in P_{\rho} with \mathrm{Win}_{k}(\rho,q)=1 and k<H. By (13), q\in\mathcal{Q}_{k}, \mathrm{RA}_{k}(\rho) holds, and some edge e with \rho_{e}=\rho satisfies \mathrm{Win}_{k+1}(\rho^{\prime}_{e},\Gamma_{k+1}(q,\sigma_{e}))=1. \mathrm{RA}_{k}(\rho) gives z\in\mathcal{Z} and Cz\in\bar{S}_{k}, hence \mathrm{Adm}_{k}(z,q). (V1) gives v=F_{e}z+g_{e}\in\mathcal{V}. (V2) gives z^{+}\in P_{\rho^{\prime}_{e}}. (V3) gives Cz^{+}\in\bar{R}_{j} whenever \sigma_{e,j}=1, i.e., \sigma_{e}\leq\chi(Cz^{+}). For every \beta\geq\sigma_{e}, Lemma 18 gives \Gamma_{k+1}(q,\beta)\succeq\Gamma_{k+1}(q,\sigma_{e}), and by (a) applied to \mathrm{Win}_{k+1}(\rho^{\prime}_{e},\cdot), \mathrm{Win}_{k+1}(\rho^{\prime}_{e},\Gamma_{k+1}(q,\beta))=1. Therefore z^{+}\in P_{\rho^{\prime}_{e}}\subseteq\widehat{\mathcal{T}}_{k+1}(\Gamma_{k+1}(q,\beta)).

(c) If \widehat{\mathcal{T}}_{H}(q)\neq\varnothing, some \rho with P_{\rho}\neq\varnothing has \mathrm{Win}_{H}(\rho,q)=1, so \mathrm{Acc}(q) by (12). Every such \rho has P_{\rho}\subseteq\mathcal{Z}_{\mathrm{post}}.

(d) Backward induction on k. At H, z\in\widehat{\mathcal{T}}_{H}(q) lies in some P_{\rho} with \mathrm{Win}_{H}(\rho,q)=1. Then \mathrm{Acc}(q), z\in\mathcal{Z}_{\mathrm{post}}, and Cz\in\bar{S}_{H} by \mathrm{RA}_{H}(\rho), so z\in\mathcal{T}_{H}(q). For k<H, let z\in\widehat{\mathcal{T}}_{k}(q). Part (b) with \beta=\chi(Cz^{+}) gives \mathrm{Adm}_{k}(z,q) and an input v\in\mathcal{V} with z^{+}\in\widehat{\mathcal{T}}_{k+1}(\Gamma_{k+1}(q,\chi(Cz^{+}))), which is contained in \mathcal{T}_{k+1}(\Gamma_{k+1}(q,\chi(Cz^{+}))) by the induction hypothesis. Hence z\in\mathcal{T}_{k}(q). ∎

Branching libraries

Proposition 28 (restated). Fix k\in[-D,H-1], an edge with branches (\rho_{b},\sigma^{b}), b=1,\dots,B, B\geq 1, and targets g^{b}=((c^{b}_{j},r^{b}_{j}))_{j}\in\mathcal{Q}_{k+1}, and let \mathrm{Pre}^{\forall}_{k}=\{q\in\mathcal{Q}_{k}:\Gamma_{k+1}(q,\sigma^{b})\succeq g^{b}\ \forall b\}. For task j let I^{0}_{j}=\{b:\sigma^{b}_{j}=0\} and I^{1}_{j}=\{b:\sigma^{b}_{j}=1\}. If r^{b}_{j}>0 for some b\in I^{0}_{j}, let X_{j}=\varnothing. Otherwise let C^{0}_{j}=\min\{\bar{c}_{j,k},\min_{b\in I^{0}_{j}}c^{b}_{j}\} (the inner minimum is +\infty if I^{0}_{j}=\varnothing); let X_{j}=\{(C^{0}_{j},0)\} if I^{1}_{j}=\varnothing, and otherwise, with C^{1}_{j}=\min_{b\in I^{1}_{j}}c^{b}_{j}, R^{1}_{j}=\max_{b\in I^{1}_{j}}r^{b}_{j} and s_{j},\mathrm{lo}_{j},\mathrm{hi}_{j} as in Lemma 24, X_{j}=\{(\min\{C^{0}_{j},C^{1}_{j}\},\max\{0,R^{1}_{j}-1\})\}\cup\{(\min\{C^{0}_{j},D+1,\mathrm{hi}_{j}+1\},\ell_{j}):\mathrm{lo}_{j}\leq\mathrm{hi}_{j},\ \mathrm{lo}_{j}\leq C^{1}_{j}\}. Then \mathrm{Pre}^{\forall}_{k} is upward closed in \mathcal{Q}, X_{1}\times\dots\times X_{n_{r}}\subseteq\mathrm{Pre}^{\forall}_{k}, and \min\mathrm{Pre}^{\forall}_{k}=\min\,(X_{1}\times\dots\times X_{n_{r}}). In particular, for every B and every fixed target vector there are at most 2^{n_{r}} candidates.

Proof:

Upward closure is as in Lemma 24: if q\in\mathrm{Pre}^{\forall}_{k} and q\preceq q^{\prime}\in\mathcal{Q}, then q^{\prime}\in\mathcal{Q}_{k} and \Gamma_{k+1}(q^{\prime},\sigma^{b})\succeq\Gamma_{k+1}(q,\sigma^{b})\succeq g^{b} for every b by Lemma 18.

Reduction to one task. Membership in \mathcal{Q}_{k}, the update and the order are componentwise, and every g^{b}\neq\bot, so \mathrm{Pre}^{\forall}_{k}=\prod_{j}\mathrm{Pre}^{\forall}_{j} with \mathrm{Pre}^{\forall}_{j}=\{q_{j}\in\mathcal{Q}_{j}:c_{j}\leq\bar{c}_{j,k},\ \Gamma_{j,k+1}(q_{j},\sigma^{b}_{j})\succeq g^{b}_{j}\ \forall b\}; minimal elements of a product are products of minimal elements. Fix j and drop the index.

Grouping by bit. \Gamma_{k+1}(q,\sigma^{b}_{j}) depends on b only through the bit, so the condition reads \Gamma_{k+1}(q,0)\succeq g^{b} for b\in I^{0} and \Gamma_{k+1}(q,1)\succeq g^{b} for b\in I^{1}. On \mathcal{Q}_{j} the order \preceq is a lattice with join (c,r)\vee(c^{\prime},r^{\prime})=(\min\{c,c^{\prime}\},\max\{r,r^{\prime}\}), and an element dominates every g^{b} of a set iff it dominates their join; the join of elements of \mathcal{Q}_{k+1} lies in \mathcal{Q}_{k+1}. With bit 0 the run length resets and no witness completes, so \Gamma_{k+1}(q,0)=(c,0) unless it is \bot. Hence the bit-0 condition holds iff r^{b}=0 for all b\in I^{0} and c\leq c^{b} for all b\in I^{0} (the failure test is then implied by c^{b}\leq\bar{c}_{k+1}). If some r^{b}>0, \mathrm{Pre}^{\forall}_{j}=\varnothing=X_{j}. Otherwise, together with q\in\mathcal{Q}_{k}, the bit-0 condition and membership define U^{0}=\{(c,r)\in\mathcal{Q}_{j}:c\leq C^{0}\}, which is upward closed with the single minimal element (C^{0},0). If I^{1}=\varnothing, \mathrm{Pre}^{\forall}_{j}=U^{0} and \min\mathrm{Pre}^{\forall}_{j}=\{(C^{0},0)\}=X_{j}. Otherwise the bit-1 condition is q\in\mathrm{Pre}_{j}(G^{1},1) with the joined target G^{1}=(C^{1},R^{1})\in\mathcal{Q}_{k+1}, and \mathrm{Pre}^{\forall}_{j}=U^{0}\cap\mathrm{Pre}_{j}(G^{1},1).

Intersection. By Lemma 24, \mathrm{Pre}_{j}(G^{1},1) is upward closed with minimal elements among x_{A}=(C^{1},\max\{0,R^{1}-1\}) and, if \mathrm{lo}\leq\mathrm{hi} and \mathrm{lo}\leq C^{1}, x_{B}=(\min\{D+1,\mathrm{hi}+1\},\ell). The intersection of two upward closed sets is generated by the joins of their generators: every q\in\mathrm{Pre}^{\forall}_{j} dominates (C^{0},0) and some x\in\{x_{A},x_{B}\}, hence x\vee(C^{0},0)\preceq q; conversely each join dominates a generator of each set and lies in \mathcal{Q}_{j}, so it belongs to both. The joins are (\min\{C^{0},C^{1}\},\max\{0,R^{1}-1\}) and (\min\{C^{0},D+1,\mathrm{hi}+1\},\ell), which is X_{j}. As in Lemma 24, X_{j}\subseteq\mathrm{Pre}^{\forall}_{j} and every element of \mathrm{Pre}^{\forall}_{j} dominates an element of X_{j}, so \min\mathrm{Pre}^{\forall}_{j}=\min X_{j}, and |X_{j}|\leq 2. ∎

Lemma S3 (Suffix simulation).

Let \iota(q)=((\{c_{j},\dots,D\},r_{j}))_{j} map compact states to explicit (served set, run length) states, and let \Gamma^{\mathrm{bit}}_{k} be the explicit update that adds the offsets served by a witness completing at k and returns failure if some offset is expired at k. For every k, q\in\mathcal{Q} and bit vector \beta: \Gamma^{\mathrm{bit}}_{k}(\iota(q),\beta) is failure iff \Gamma_{k}(q,\beta)=\bot, and otherwise equals \iota(\Gamma_{k}(q,\beta)). Moreover \iota(q) is not failed at k iff q\in\mathcal{Q}_{k}.

Proof:

Fix one task (failure and the update are componentwise) and q=(c,r). An offset d is expired at k iff d is unserved and d\geq b+\ell-k. For \iota(q) the unserved offsets are [0,c-1], so \iota(q) is failed iff c-1\geq\max\{0,b+\ell-k\}, i.e., iff c>\bar{c}_{k} (recall c\leq D+1); this is the last claim. The run length evolves identically in both monitors. If no witness completes at k, or the served interval [\mathrm{lo},\mathrm{hi}] of the completing witness (s=k-\ell) is empty, both monitors keep the served set and the claim follows from the failure characterization. If \mathrm{lo}\leq\mathrm{hi} and \mathrm{hi}\geq c-1, then [\mathrm{lo},\mathrm{hi}]\cup[c,D]=[\min\{c,\mathrm{lo}\},D]=\iota(c^{+}), and again both fail iff c^{+}>\bar{c}_{k}. If \mathrm{lo}\leq\mathrm{hi}<c-1, then \mathrm{hi}<D, so \mathrm{hi}=b-s=b+\ell-k; offset c-1 is unserved and c-1>b+\ell-k, so it is expired and the explicit monitor fails, while c^{+}=c>\max\{0,b+\ell-k\}+1>\bar{c}_{k} gives \Gamma_{k}(q,\beta)=\bot. ∎

Theorem 29 (restated). Let \mathcal{B} be a branching library, \mathcal{K}_{\mathrm{post}} a set of regions and \mathrm{Win} the recursion (15)–(16). (a) For every k\in[0,H] and \rho, \mathrm{Win}_{k}(\rho,\cdot) is upward closed in \mathcal{Q}\cup\{\bot\}, and \mathrm{Win}_{k}(\rho,q)=1 iff m\preceq q for some m\in M_{k}(\rho), where M_{H}(\rho)=\{((0,0))_{j}\} if \mathrm{RA}_{H}(\rho) and \rho\in\mathcal{K}_{\mathrm{post}} (\varnothing otherwise) and M_{k}(\rho)=\min\bigcup\{\min\mathrm{Pre}^{\forall}_{k}((g^{b})_{b}):e\in A(\rho),\ g^{b}\in M_{k+1}(\rho_{b})\} if \mathrm{RA}_{k}(\rho) (\varnothing otherwise). (b) The explicit recursion over (served set, run length) states, with \Gamma^{\mathrm{bit}} and the same library, satisfies \mathrm{Win}^{\mathrm{bit}}_{k}(\rho,\iota(q))=\mathrm{Win}_{k}(\rho,q) for all k, \rho and q\in\mathcal{Q}. (c) If every edge has a single branch, (16) is (13) and M_{k} is the set of Theorem 25.

Proof:

(a) Backward induction on k. At H, \mathrm{Win}_{H}(\rho,q)=1 iff \mathrm{RA}_{H}(\rho), \rho\in\mathcal{K}_{\mathrm{post}} and q\succeq((0,0))_{j}, which matches M_{H} and is upward closed. Let k<H and assume the claim at k+1. If \mathrm{RA}_{k}(\rho) fails both sides vanish. Otherwise, by (16) and the induction hypothesis, \mathrm{Win}_{k}(\rho,q)=1 iff q\in\mathcal{Q}_{k} and there are an edge e\in A(\rho) and, for every branch b, a generator g^{b}\in M_{k+1}(\rho_{b}) with g^{b}\preceq\Gamma_{k+1}(q,\sigma^{b}) (if some \Gamma_{k+1}(q,\sigma^{b})=\bot both sides vanish). This is q\in\mathrm{Pre}^{\forall}_{k}((g^{b})_{b}) for some e and some target vector. Each \mathrm{Pre}^{\forall}_{k} is upward closed in the finite poset \mathcal{Q} (Proposition 28), so membership is domination of one of its minimal elements, and the union over e and target vectors is generated by M_{k}(\rho). Upward closure of \mathrm{Win}_{k}(\rho,\cdot) follows, and \bot dominates no generator.

(b) Backward induction. At H, \iota(q) serves every offset iff c_{j}=0 for all j, iff \mathrm{Acc}(q). For k<H the explicit recursion requires \iota(q) not failed at k, which by Lemma S3 is q\in\mathcal{Q}_{k}, and evaluates every branch at \Gamma^{\mathrm{bit}}_{k+1}(\iota(q),\sigma^{b}), which by the same lemma is failure exactly when \Gamma_{k+1}(q,\sigma^{b})=\bot and otherwise \iota(\Gamma_{k+1}(q,\sigma^{b})); the induction hypothesis gives equal branch values, hence equal disjunctions.

(c) With one branch, the conjunction in (16) has one term, and \mathrm{Pre}^{\forall}_{k} is \mathrm{Pre}_{k}(g,\sigma_{e}) of Lemma 24. ∎

Theorem 30 (restated). Let \mathcal{B} be verified (Definition 27), let \mathcal{K}_{\mathrm{post}} satisfy (17) with witness edges e_{\rm post}(\rho), and let x_{0}\in P_{\rho_{0}}, with q_{0} obtained by running \Gamma on the actual bits of the recorded history and of x_{0}, satisfy \mathrm{Win}_{0}(\rho_{0},q_{0})=1; let the actual pre-mission states x_{t}, t\in[-D,-1], satisfy every tightened safety predicate active at t. Let the closed loop at each k<H apply u_{k}=\kappa_{e}(x_{k}) for an edge e\in A(\rho_{k}) with \mathrm{Win}_{k+1}(\rho_{b},\Gamma_{k+1}(q_{k},\sigma^{b}))=1 for every branch b, then select any branch b with x_{k+1}\in P_{\rho_{b}} and \sigma^{b}\leq\chi(h(x_{k+1})), and set \rho_{k+1}=\rho_{b}, q_{k+1}=\Gamma_{k+1}(q_{k},\chi(h(x_{k+1}))); for k\geq H let it apply \kappa_{e_{\rm post}(\rho_{k})} and select branches in the same way. Then, for every admissible disturbance sequence, such an edge and such a branch exist at every step, \mathrm{Win}_{k}(\rho_{k},q_{k})=1 for k\in[0,H], the state and input constraints hold, \mathrm{Acc}(q_{H}), and \rho_{k}\in\mathcal{K}_{\mathrm{post}} for every k\geq H. Consequently the tightened safety tasks hold under every offset d\in\mathbb{D}, and every reach task j is completed under offset d by nominal time b_{j}-d+\ell_{j}.

Proof:

Induction on k\in[0,H-1] with hypothesis \mathrm{Win}_{k}(\rho_{k},q_{k})=1 and x_{k}\in P_{\rho_{k}}, true at k=0. By (16), q_{k}\in\mathcal{Q}_{k}, \mathrm{RA}_{k}(\rho_{k}) holds, so the state constraints active at k hold on P_{\rho_{k}}\ni x_{k}, and an edge e\in A(\rho_{k}) with \mathrm{Win}_{k+1}(\rho_{b},\Gamma_{k+1}(q_{k},\sigma^{b}))=1 for every b exists. (B1) gives u_{k}=\kappa_{e}(x_{k})\in U(x_{k}). For the realized w_{k}, (B2) provides a branch b with x_{k+1}\in P_{\rho_{b}} and \sigma^{b}\leq\chi(h(x_{k+1})); the controller selects such a branch (if several match, any of them). By Lemma 18, q_{k+1}=\Gamma_{k+1}(q_{k},\chi(h(x_{k+1})))\succeq\Gamma_{k+1}(q_{k},\sigma^{b}), and Theorem 29(a) gives \mathrm{Win}_{k+1}(\rho_{b},q_{k+1})=1. At H, (15) gives \mathrm{Acc}(q_{H}), \mathrm{RA}_{H}(\rho_{H}) and \rho_{H}\in\mathcal{K}_{\mathrm{post}}. For k\geq H, Proposition S5 keeps \rho_{k}\in\mathcal{K}_{\mathrm{post}}. Since q_{k} is the monitor run on the actual bits from the recorded history, the compact monitor theorem gives \mathcal{C}_{j}(H)=\mathbb{D} for every j, so every reach task holds under every offset for the tightened bits. Moreover q_{k}\in\mathcal{Q}_{k} for every k\leq H, so no task is failed at any k\leq H; since b_{j}-d+\ell_{j}\leq H, offset d is not expired at b_{j}-d+\ell_{j}, i.e., d\in\mathcal{C}_{j}(b_{j}-d+\ell_{j}). A safety task under offset d at time t reads x_{t-d}: for t-d\in[-D,-1] the pre-mission premise gives it, for t-d\in[0,H] the region invariant x_{k}\in P_{\rho_{k}} with \mathrm{RA}_{k}(\rho_{k}) does, and for t-d>H the regions of \mathcal{K}_{\mathrm{post}}, which lie in the static safe set Z_{\rm post}, do. The clock is the original task clock throughout. ∎

Proposition S4 (Multi-successor enlargement).

Let \mathcal{B}\subseteq\mathcal{B}^{\prime} be branching libraries on the same regions, with the same \mathrm{RA} and \mathcal{K}_{\mathrm{post}}. Then \mathrm{Win}^{\mathcal{B}}_{k}\leq\mathrm{Win}^{\mathcal{B}^{\prime}}_{k} pointwise for every k. In particular, adding verified multi-successor edges to a single-successor library never shrinks the certified set; the enlargement is relative to this fixed abstraction.

Proof:

Backward induction: the terminal values coincide, and at k<H the disjunction in (16) for \mathcal{B}^{\prime} ranges over a superset of edges whose conjunctions are pointwise larger by the induction hypothesis. ∎

Proposition S5 (Robust post-mission set).

Let \mathcal{K}_{\mathrm{post}} be the greatest fixed point of \mathcal{K}\mapsto\{\rho\in\mathcal{K}:\exists e\in A(\rho)\ \forall b:\ \rho_{b}\in\mathcal{K}\} below \mathcal{K}^{0}, computed by the decreasing iteration from \mathcal{K}^{0}. For a verified \mathcal{B}, the switching law that applies a witness edge e_{\rm post}(\rho) in the current region keeps x_{k}\in\bigcup_{\rho\in\mathcal{K}_{\mathrm{post}}}P_{\rho} for all k and every admissible disturbance sequence.

Proof:

The iteration is decreasing on a finite set, so it stops at a fixed point \mathcal{K}_{\mathrm{post}}, and every \rho\in\mathcal{K}_{\mathrm{post}} has an edge e_{\rm post}(\rho) whose branch destinations all lie in \mathcal{K}_{\mathrm{post}}. If x_{k}\in P_{\rho_{k}} with \rho_{k}\in\mathcal{K}_{\mathrm{post}}, (B1) makes the input admissible and (B2) places x_{k+1} in a branch region of e_{\rm post}(\rho_{k}), which belongs to \mathcal{K}_{\mathrm{post}}. Every other fixed point below \mathcal{K}^{0} is contained in each iterate, so \mathcal{K}_{\mathrm{post}} is the greatest one. ∎

Proposition S6 (No single invariant position box).

For the unicycle (18) with \mathcal{W}\supseteq[-\bar{w}_{x},\bar{w}_{x}]\times[-\bar{w}_{y},\bar{w}_{y}]\times\{0\}, \bar{w}_{x},\bar{w}_{y}>0, no feedback \kappa:X\to U renders a set X=B\times\Theta, with B a closed box in position and \Theta nonempty, robustly invariant.

Proof:

Let B=[\underline{x},\bar{x}]\times[\underline{y},\bar{y}] and fix \theta\in\Theta. At x^{1}=(\bar{x},\bar{y},\theta) and x^{2}=(\bar{x},\underline{y},\theta), let v_{i} be the speed of \kappa(x^{i}). With w=(\bar{w}_{x},\bar{w}_{y},0) at x^{1}, invariance needs hv_{1}\cos\theta\leq-\bar{w}_{x}<0 and hv_{1}\sin\theta\leq-\bar{w}_{y}<0, so \cos\theta and \sin\theta are nonzero with the sign of -v_{1}. With w=(\bar{w}_{x},-\bar{w}_{y},0) at x^{2}, it needs hv_{2}\cos\theta<0<hv_{2}\sin\theta, so \cos\theta and \sin\theta have opposite signs, a contradiction. Subdividing B into smaller regions does not help, because the argument only uses the two corners of B. ∎

I-A Partition cost of single-successor libraries

Fix one position coordinate p of x and write x=(p,x_{-p}). Consider libraries whose regions are product boxes, P_{\rho}=I_{\rho}\times P_{\rho}^{-p} with I_{\rho} a closed interval of positive width |I_{\rho}|, for systems in which \mathcal{W}=[-\bar{w},\bar{w}]\times\mathcal{W}_{-p}, \bar{w}>0, does not depend on (x,u) and every edge’s closed loop has the form

p^{+}=p+g_{e}(x_{-p},w_{-p})+w_{p},
(24)

with g_{e} independent of p. Heading primitives of the unicycle (18) belong to this class, with g_{e}=hv\cos\theta for p=p_{x}; position-feedback primitives do not. An edge is single-successor if |\mathrm{Succ}(e)|=1.

Lemma S7.

For a verified single-successor edge from \rho to \rho^{\prime} in this class, |I_{\rho^{\prime}}|\geq|I_{\rho}|+2\bar{w}, and the p-projection of its reachable set S_{e}=\{x^{+}:x\in P_{\rho},\ w\in\mathcal{W}\} contains an interval of width at least |I_{\rho}|+2\bar{w}.

Proof:

Fix any x_{-p}\in P^{-p}_{\rho} and w_{-p}\in\mathcal{W}_{-p}, and let c=g_{e}(x_{-p},w_{-p}). Because P_{\rho} and \mathcal{W} are products, p\in I_{\rho} and w_{p}\in[-\bar{w},\bar{w}] vary freely, so by (24) the p-projection of S_{e} contains [\min I_{\rho}+c-\bar{w},\ \max I_{\rho}+c+\bar{w}]. By (B2) with a single branch, S_{e}\subseteq P_{\rho^{\prime}}, so this interval lies in I_{\rho^{\prime}}. ∎

Corollary S8 (Common terminal set).

Let \mathcal{B}_{1}\subseteq\mathcal{B} be the single-successor edges of a verified library in this class, on the same regions with the same \mathrm{RA} and \mathcal{K}_{\mathrm{post}}. Let reach task j have \bar{R}_{j}=\bar{I}\times\bar{R}_{j}^{-p}, and let q_{0} leave its offset 0 unserved, so that completion needs a one of task j at some time k\geq a_{j}. If 2\bar{w}a_{j}\geq|\bar{I}|, then \mathrm{Win}^{\mathcal{B}_{1}}_{0}(\rho,q_{0})=0 for every region \rho, for every partition into product boxes.

Proof:

Under \mathcal{B}_{1} every branch choice is forced, so a certificate fixes one region sequence \rho_{0},\rho_{1},\dots with edges e_{k} from \rho_{k} to \rho_{k+1}, and (16) advances the monitor with the labels \sigma_{k} of e_{k} only. By Lemma S7 and induction, |I_{\rho_{k}}|\geq|I_{\rho_{0}}|+2\bar{w}k, and the p-projection of the reachable set of e_{k-1} contains an interval of width at least |I_{\rho_{0}}|+2\bar{w}k>2\bar{w}k. A label 1 for task j requires, by (B2), \chi_{j}(h(x^{+}))=1 for every x^{+} in that reachable set, hence its p-projection inside \bar{I}, which is impossible for k\geq a_{j} because then 2\bar{w}k\geq|\bar{I}|. So all labels of task j at times k\geq a_{j} are 0, offset 0 is never served, \mathrm{Acc} fails at H, and (15) gives 0 whatever the terminal set. ∎

For R1 and R2, p=p_{x}, \bar{w}=0.1, a=13 and |\bar{I}|=2 m, so 2\bar{w}a=2.6\geq 2: no single-successor library of heading primitives on any product-box partition certifies the task, which explains the empty sub-library of R2 independently of the grid. The corollary does not cover position-feedback primitives or non-product regions.

Corollary S9 (Own post set).

If a single-successor library in this class must provide its own \mathcal{K}_{\mathrm{post}}, computed as in Proposition S5 from its own edges, then \mathcal{K}_{\mathrm{post}}=\varnothing.

Proof:

Each \rho\in\mathcal{K}_{\mathrm{post}} has a witness edge into \mathcal{K}_{\mathrm{post}}, so following witnesses gives an infinite region sequence in the finite set \mathcal{K}_{\mathrm{post}} whose widths |I_{\rho}| increase by at least 2\bar{w}>0 per step, which is impossible. ∎Corollary S9 is narrower in scope (it changes the terminal set) and is not used for R2, where the sub-library keeps the full library’s \mathcal{K}_{\mathrm{post}}.

Appendix J Proofs for Section E

Theorem 31 (restated). Let Assumptions 1, 3, 4 and 5 hold, let \mathcal{L} be verified, and let N\geq 1. Let k\in[0,H-2] and let (v^{*},\hat{\beta}^{*}) be feasible for \mathcal{P}_{k}(z_{k},q_{k}), with predicted states z^{*}_{i|k} and monitor states q^{*}_{i|k}. Suppose that (i) the nominal center is not reset, z_{k+1}=z^{*}_{1|k}, and (ii) the executed monitor processes the executed nominal output with exact tightened bits, q_{k+1}=\Gamma_{k+1}(q_{k},\chi(Cz_{k+1})). Then q^{*}_{1|k}\preceq q_{k+1} and \mathcal{P}_{k+1}(z_{k+1},q_{k+1}) is feasible. A feasible solution reuses v^{*}_{i|k} and \hat{\beta}^{*}_{i|k} for the overlapping steps and, if k+N_{k}<H, appends the input F_{e}z^{*}_{N_{k}|k}+g_{e} and the label \sigma_{e} of a library edge given by Theorem 26(b).

Proof:

Write n=N_{k}=\min\{N,H-k\}, which is at least 1 because N\geq 1 and k<H. Because k\leq H-2, the problem \mathcal{P}_{k+1} exists and N_{k+1}\geq 1. There are two cases for the horizon: if k+n=H, then N_{k+1}=\min\{N,H-k-1\}=H-k-1=n-1 because H-k=n\leq N; if k+n<H, then n=N<H-k, so N\leq H-k-1 and N_{k+1}=N=n.

Step 1: dominance of the executed monitor. By Assumption 5(a), \hat{\beta}^{*}_{1|k,j}=1 implies Cz^{*}_{1|k}\in\bar{R}_{j}, i.e., \chi_{j}(Cz^{*}_{1|k})=1; by (b) this is the same \chi used by the executed monitor. Hence \hat{\beta}^{*}_{1|k}\leq\chi(Cz^{*}_{1|k})=\chi(Cz_{k+1}), where the equality uses hypothesis (i). Lemma 18 with q=q^{\prime}=q_{k} gives

q^{*}_{1|k}=\Gamma_{k+1}(q_{k},\hat{\beta}^{*}_{1|k})\preceq\Gamma_{k+1}(q_{k},\chi(Cz_{k+1}))=q_{k+1}.

Step 2: shifted candidate. For i\in[0,n-2] set v_{i|k+1}=v^{*}_{i+1|k}, and for i\in[1,n-1] set \hat{\beta}_{i|k+1}=\hat{\beta}^{*}_{i+1|k}. With z_{0|k+1}=z_{k+1}=z^{*}_{1|k}, the dynamics give z_{i|k+1}=z^{*}_{i+1|k} for i\in[0,n-1]. Let q_{0|k+1}=q_{k+1} and q_{i|k+1}=\Gamma_{k+1+i}(q_{i-1|k+1},\hat{\beta}_{i|k+1}). By Step 1 and induction with Lemma 18 (same time index k+1+i and same bits),

q_{i|k+1}\succeq q^{*}_{i+1|k},\qquad i\in[0,n-1].
(25)

For i\in[0,n-2], the constraints of \mathcal{P}_{k+1} at step i refer to absolute time k+1+i, which is step i+1 of \mathcal{P}_{k}: v_{i|k+1}\in\mathcal{V}, z_{i|k+1}\in\mathcal{Z} and Cz_{i|k+1}\in\bar{S}_{k+1+i} are inherited. The condition q_{i|k+1}\in\mathcal{Q}_{k+1+i} follows from (25) because \mathcal{Q}_{k+1+i} is upward closed. The one-sided implications involve the same states and bits as before.

Step 3a: k+n=H. Then N_{k+1}=n-1, and the terminal constraint of \mathcal{P}_{k+1} is z_{n-1|k+1}=z^{*}_{n|k}\in\widehat{\mathcal{T}}_{H}(q_{n-1|k+1}). It follows from z^{*}_{n|k}\in\widehat{\mathcal{T}}_{H}(q^{*}_{n|k}), (25) and Theorem 26(a).

Step 3b: k+n<H. Then N_{k+1}=n and one more step is needed. By (25) and Theorem 26(a), z^{*}_{n|k}\in\widehat{\mathcal{T}}_{k+n}(q^{*}_{n|k})\subseteq\widehat{\mathcal{T}}_{k+n}(q_{n-1|k+1}), so z^{*}_{n|k}\in P_{\rho} for some \rho with \mathrm{Win}_{k+n}(\rho,q_{n-1|k+1})=1. Since k+n<H, Theorem 26(b) applies. It gives \mathrm{Adm}_{k+n}(z^{*}_{n|k},q_{n-1|k+1}), which is the admissibility constraint at the new step n-1, and an edge e from \rho. Set v_{n-1|k+1}=F_{e}z^{*}_{n|k}+g_{e}\in\mathcal{V} and \hat{\beta}_{n|k+1}=\sigma_{e}. Then z_{n|k+1}=Az^{*}_{n|k}+Bv_{n-1|k+1} satisfies \sigma_{e}\leq\chi(Cz_{n|k+1}), which is the one-sided implication, and with \beta=\sigma_{e},

\displaystyle z_{n|k+1} \\ \displaystyle\in\widehat{\mathcal{T}}_{k+1+n}\big(\Gamma_{k+1+n}(q_{n-1|k+1},\sigma_{e})\big) \\ \displaystyle=\widehat{\mathcal{T}}_{k+1+n}(q_{n|k+1}),

which is the terminal constraint.

All constraints of \mathcal{P}_{k+1}(z_{k+1},q_{k+1}) hold, so it is feasible. ∎

Theorem 32 (restated). Let the assumptions of Theorem 31 and Assumption 2 hold, and let H\geq 1. Assume that an initial feasible candidate satisfying Assumption 5 has been obtained for \mathcal{P}_{0}(z_{0},q_{0}), with the z_{0}, q_{0} and recorded history used at task time 0, and let the closed loop follow Algorithm 2. Then, for every disturbance sequence in \mathcal{W}: (i) for every k\in[0,H-1], the candidate selected at time k is feasible for \mathcal{P}_{k}(z_{k},q_{k}); (ii) x_{k}\in\mathcal{X} for k\in[0,H] and u_{k}\in\mathcal{U} for k\in[0,H-1]; (iii) \mathrm{Acc}(q_{H}), i.e., q_{H}\neq\bot and c_{j}(q_{H})=0 for all j, and z_{H}\in\mathcal{Z}_{\mathrm{post}}; (iv) (\tilde{y}^{d,\eta},0)\models\varphi for all d\in\mathbb{D} and all \eta:\mathbb{Z}\to\mathbb{B}_{\varepsilon}. In particular, the sampled closed-loop output y_{t}=Cx_{t}, t\in[0,H], satisfies \varphi.

Proof:

(i) Induction on k. At k=0, the stored candidate is the verified initial candidate, and a newly returned candidate is selected only if it passes the check of Assumption 5(a); either way the selected candidate is feasible for \mathcal{P}_{0}(z_{0},q_{0}). Let k\leq H-2, and let the candidate selected at k be feasible for \mathcal{P}_{k}(z_{k},q_{k}). Algorithm 2 applies its first input without resetting the nominal center, so z_{k+1}=z^{*}_{1|k}, and it updates the monitor with exact bits; these are hypotheses (i) and (ii) of Theorem 31. Since k<H-1, the algorithm stores the shifted candidate of Theorem 31, which is feasible for \mathcal{P}_{k+1}(z_{k+1},q_{k+1}). The candidate selected at k+1 is either this stored candidate or a returned candidate that passes the check, so it is feasible. For H=1 only the base case occurs.

(ii) By Assumption 1 and induction, e_{k+1}=(A+BK)e_{k}+w_{k}\in(A+BK)\mathcal{E}\oplus\mathcal{W}\subseteq\mathcal{E}. For k\leq H-1, \mathrm{Adm}_{k}(z_{k},q_{k}) gives z_{k}\in\mathcal{Z}, so x_{k}=z_{k}+e_{k}\in(\mathcal{X}\ominus\mathcal{E})\oplus\mathcal{E}\subseteq\mathcal{X} and u_{k}=v_{0|k}+Ke_{k}\in(\mathcal{U}\ominus K\mathcal{E})\oplus K\mathcal{E}\subseteq\mathcal{U}. At H, part (iii) gives z_{H}\in\mathcal{Z}_{\mathrm{post}}\subseteq\mathcal{Z}, so x_{H}\in\mathcal{X}.

(iii) Consider k=H-1, where N_{H-1}=\min\{N,1\}=1 because N\geq 1. By (i), the candidate selected at H-1 is feasible, so it has z_{H}=z_{1|H-1}\in\widehat{\mathcal{T}}_{H}(q_{1|H-1}). This set is therefore nonempty, and Theorem 26(c) gives \mathrm{Acc}(q_{1|H-1}) and z_{H}\in\mathcal{Z}_{\mathrm{post}}. Step 1 of the proof of Theorem 31 applies verbatim at k=H-1 and gives q_{1|H-1}\preceq q_{H}. Since \mathrm{Acc} is upward closed (Lemma 18), \mathrm{Acc}(q_{H}) holds.

(iv) By construction, q_{H} is the compact monitor (Definition 15) driven by the exact tightened bits \beta(t)=\chi(\bar{y}_{t}) of the executed nominal output, including the recorded history for t<0. Since q_{H}\neq\bot and c_{j}(q_{H})=0, Corollary 16 gives \mathcal{C}_{j}(H)=\mathbb{D} for every reach task, and Lemma 11(a) shows that every reach conjunct of \varphi_{\beta} holds for (\gamma,\beta)(\cdot-d), for every d\in\mathbb{D}. For safety task i and t\in[\alpha_{i}-D,\omega_{i}]: if t<0, then \gamma_{i}(t)=1 by Assumption 2; if 0\leq t\leq H-1, then \mathrm{Adm}_{t}(z_{t},q_{t}) gives Cz_{t}\in\bar{S}_{t}\subseteq\bar{S}_{i}; if t=H, then z_{H}\in P_{\rho} for some \rho with \mathrm{Win}_{H}(\rho,\cdot)=1, so \mathrm{RA}_{H}(\rho) gives Cz_{H}\in\bar{S}_{i}. Lemma 11(b) yields every safety conjunct under every offset. Hence ((\gamma,\beta)(\cdot-d),0)\models\varphi_{\beta} for all d\in\mathbb{D}, and Lemma 8 gives (\tilde{y}^{d,\eta},0)\models\varphi.

Finally, for t\in[0,H], y_{t}=Cz_{t}+Ce_{t}=\bar{y}_{t}+\eta(t) with \eta(t)=Ce_{t}\in C\mathcal{E}\subseteq\mathbb{B}_{\varepsilon}, so y=\tilde{y}^{0,\eta} on [0,H], and \varphi evaluated at time 0 reads only [0,H]. ∎

J-A Encoding of the online problem and the full-horizon arms

Monitor rows. The update q_{i+1|k}=\Gamma_{k+i+1}(q_{i|k},\hat{\beta}_{i+1|k}) in (19) is encoded per task j and absolute time t=k+i+1; \mathrm{lo},\mathrm{hi} (with s=t-\ell) and \bar{c}_{j,t} of Definition 15 are constants. For incoming (c,r) (constants at i=0, variables after) and bit \beta, the new integers c^{\prime}\in[0,D+1], r^{\prime}\in[0,\ell+1] and binaries u,w,\mathrm{adj},g,\tau,h satisfy

\displaystyle(\ell{+}1)u\leq r\leq\ell+u,\quad(\ell{+}1)w\leq r^{\prime}\leq\ell+w, \\ \displaystyle r^{\prime}\leq(\ell{+}1)\beta,\quad r^{\prime}\leq r+1-u, \\ \displaystyle r^{\prime}\geq r+1-u-(\ell{+}2)(1-\beta),

so that u=[r=\ell+1], w=[r^{\prime}=\ell+1] and r^{\prime}=\beta\min\{r+1,\ell+1\}; and, if \mathrm{lo}\leq\mathrm{hi},

\displaystyle(\mathrm{hi}{+}2)(1-\mathrm{adj})\leq c\leq\mathrm{hi}+1+(D-\mathrm{hi})(1-\mathrm{adj}), \\ \displaystyle(\mathrm{lo}{+}1)\tau\leq c\leq\mathrm{lo}+(D{+}1-\mathrm{lo})\tau, \\ \displaystyle g\leq w,\ \ g\leq\mathrm{adj},\ \ g\geq w+\mathrm{adj}-1, \\ \displaystyle h\leq g,\ \ h\leq\tau,\ \ h\geq g+\tau-1, \\ \displaystyle c-(D{+}1)h\leq c^{\prime}\leq c,\quad|c^{\prime}-\mathrm{lo}|\leq(D{+}1)(1-h),

so that \mathrm{adj}=[c\leq\mathrm{hi}+1], \tau=[c\geq\mathrm{lo}+1], g=w\wedge\mathrm{adj}, h=g\wedge\tau, and c^{\prime}=\min\{c,\mathrm{lo}\} if h=1, c^{\prime}=c otherwise. Here \mathrm{adj}\equiv 1 when \mathrm{hi}+1\geq D+1; if \mathrm{lo}>\mathrm{hi}, the single row c^{\prime}=c replaces the last five lines. Expiry is the hard row c^{\prime}\leq\bar{c}_{j,t}, so a transition to \bot is infeasible rather than represented. All constants follow from c\in[0,D+1] and r\in[0,\ell+1], so the rows are exact for integral values: they hold iff (c^{\prime},r^{\prime})=\Gamma_{j,t}((c,r),\beta)\neq\bot. Per task and step this is at most 8 variables (two integer) and 22 rows, independent of D and \ell; the script checks this bound on 3660 task/time cases and finds it attained on the E2 models. A one-hot transition table is kept only as a test oracle.

Bits, safety, terminal and solver. A claimed bit adds one binary and one row per face of \bar{R}_{j}, G_{jh}Cz\leq f_{jh}+M_{jh}(1-\hat{\beta}_{j}) with M_{jh}=\max\{0,\max_{z\in\operatorname{vert}\mathcal{Z}}(G_{jh}Cz-f_{jh})\}; the converse is not encoded (Assumption 5). Each active safety union adds one selector per cell when there are several cells, with the same exact constants. The terminal set \widehat{\mathcal{T}}_{k+N_{k}} is a disjunction over the options (\rho,m) with m\in M_{k+N_{k}}(\rho): one selector s per option, the rows of P_{\rho} relaxed by exact constants when s=0, c_{j}\leq m_{c,j}+(D+1-m_{c,j})(1-s) and r_{j}\geq m_{r,j}s, and \sum s=1. HiGHS runs single-threaded with relative gap 10^{-6}, primal and integer feasibility tolerances 10^{-7}, and the rows of geometric sets tightened by \delta\|a_{\rm cont}\|_{1} with \delta=10^{-6}; infeasibility of the tightened model is reported as such, never as infeasibility of (19). A candidate is used only after an exact rational check of every constraint and of the monitor, on the solver’s inputs converted exactly or, if that fails, rounded to small rationals and checked again.

Size. For n_{z} states, n_{v} inputs and n_{r} tasks, the online model has, without cost auxiliaries, at most N_{k}(n_{z}+n_{v}+n_{r}+8n_{r}) variables plus the safety and terminal selectors, and at most N_{k}(n_{z}+|\mathcal{V}|+|\mathcal{Z}|+\sum_{j}|\bar{R}_{j}|+22n_{r}) rows plus the safety rows and \sum_{(\rho,m)}(|P_{\rho}|+2n_{r})+1 terminal rows; the last two depend on the geometry and the library. Table VI gives the actual counts on the 60 E2 test queries (medians, k=0, before-patch library, n_{z}=4, n_{v}=2, n_{r}=1, D=8, \ell=2, H=30).

TABLE VI: Variables/rows of the E2 models by component (medians over the 60 test queries). Online: \mathcal{P}_{0} with N=5,10,30 (23 terminal options for N=10). Full-H: the timed STL arm; two-sided: the external arm raman2. Cost auxiliaries: absolute-value variables and rows of the stage cost.
  • dynamics, V, Z
    N{=}5
    30/80
    N{=}10
    60/160
    N{=}30
    180/480
    full-H
    180/512
    two-sided
    180/512
  • one-sided bits
    N{=}5
    5/20
    N{=}10
    10/40
    N{=}30
    30/120
    full-H
    30/120
    two-sided
    30/120
  • converse bits
    N{=}5
    –
    N{=}10
    –
    N{=}30
    –
    full-H
    –
    two-sided
    120/150
  • safety cells
    N{=}5
    –/16
    N{=}10
    –/36
    N{=}30
    –/116
    full-H
    60/150
    two-sided
    60/150
  • converse safety
    N{=}5
    –
    N{=}10
    –
    N{=}30
    –
    full-H
    –
    two-sided
    120/180
  • monitor (13)
    N{=}5
    35/100
    N{=}10
    70/200
    N{=}30
    194/528
    full-H
    –
    two-sided
    –
  • terminal selector
    N{=}5
    25/851
    N{=}10
    23/783
    N{=}30
    1/35
    full-H
    –
    two-sided
    –
  • STL tree
    N{=}5
    –
    N{=}10
    –
    N{=}30
    –
    full-H
    175/706
    two-sided
    175/1019
  • cost auxiliaries
    N{=}5
    10/20
    N{=}10
    20/40
    N{=}30
    60/120
    full-H
    60/120
    two-sided
    60/120
  • total
    N{=}5
    105/1087
    N{=}10
    183/1259
    N{=}30
    465/1399
    full-H
    505/1608
    two-sided
    745/2251
  • binary (total)
    N{=}5
    55
    N{=}10
    83
    N{=}30
    165
    full-H
    265
    two-sided
    505

Full-horizon arm and the closest published encoding. The timed full-horizon arm of E2 (method stl) encodes \mathbf{G}_{[0,D]}\varphi at -D, i.e. \bigwedge_{d\in\mathbb{D}}\varphi under the shift d (synchronous shifts of all outputs), by a generic syntax-tree traversal in the style of Raman et al. [12], with the history samples t\leq 0 as constants. Row by row:

  • predicate
    [12]
    binary per half-space, both directions
    stl (timed)
    one bit per box, \beta=1\Rightarrow Cz\in\bar{R}_{j}
  • safety atom
    [12]
    OR over cells of AND over half-spaces
    stl (timed)
    \gamma\leq\sum_{c}s_{c}, s_{c}\Rightarrow Cz\in cell c
  • AND, \mathbf{G}
    [12]
    b\leq c_{i}, b\geq\sum c_{i}-(m-1)
    stl (timed)
    b\leq c_{i}
  • OR, \mathbf{F}
    [12]
    b\geq c_{i}, b\leq\sum c_{i}
    stl (timed)
    b\leq\sum c_{i}
  • temporal
    [12]
    unrolled, one auxiliary per occurrence
    stl (timed)
    same
  • dynamics, \mathcal{V}, \mathcal{Z}, \mathcal{Z}_{\mathrm{post}}
    [12]
    same
    stl (timed)
    same

So stl is that encoding with the converse half of every equivalence removed (the one-directional form [7]); the conjunction of a cell’s half-spaces under one selector is equivalent once only one direction is kept. Without solver margins both have the same feasible set in (z,v), but not the same LP relaxation, so we also ran the two-sided form (raman2: the converse rows above, with complements of boxes and cells as disjunctions of non-strict faces) under the E2 protocol: same 60 queries, budget, tolerances, cold start and exact validation, arms alternating per query. As solved, the converse rows carry the same safety margin as every tightened row, which removes a thin band near each predicate boundary from the feasible set of raman2; the equivalence therefore holds for the models without margins only. raman2 verified 60/60 with median 176 ms (95th percentile 287 ms) and was slower than stl on 60/60 queries; stl re-run in the same session had median 37 ms (recorded: 37 ms). These times describe our implementation and this protocol, not the two encodings in general; E2 compares against the faster form. We did not implement the counter-based encoding of [15], which maximizes a time-robustness value instead of certifying a fixed D. E2 uses no warm start in any arm.

The method exact (one dwell indicator \omega_{s}\leq\beta_{u}, u\in[s,s+\ell], per start s, shared by all offsets, and \sum_{t\in[a,b]}\omega_{t-d}\geq 1 per d) is not an online performance arm. It only decides, with a 30 s limit, which test queries are feasible (the denominator) and supplies the references along which the library is patched.

Appendix K Experimental Protocol and Additional Results

Every number, figure, table and video is generated from the formal records of one result set (results/main3) through its manifest, which lists each adopted record with its experiment object, expected library identity and file hashes; the asset and video scripts read records only through it and abort if any record, or the manifest’s source digest, differs from the working tree. Earlier result sets are kept as read-only archives and are cited only where marked as historical. A record is keyed by the digest of its experiment parameters, the source digest of the controller package, the verification identity of the library and the identity of its certificates; changing any of them produces a new record. Raw per-tick logs (nominal and measured states, inputs, bits, monitor and bitset states, interface excess, candidate events, timing and the MuJoCo trace) are kept with each record. Every formal run is reported. Development configurations differ from the formal ones. Host: Apple M4 Max (16 logical CPUs), macOS 26.6.2; Python 3.11.16, NumPy 2.4.6, HiGHS 1.15.1 (one thread), MuJoCo 3.14.0, Matplotlib 3.11.2. Timings are wall-clock measurements on this host, not bounds.

K-A Platform and interface

MuJoCo executes the Crazyflie model pinned at Menagerie commit 2cd6b7be15440787d12f7eb4c34ae1a1a03237c4 [25] with a modified actuator configuration: physics at 0.002 s, an attitude loop of natural frequency 50 s-1 and damping 1, height gains 16 and 8, body moment limit \pm 0.006 N m (the upstream model allows 10^{-5} N m), thrust cap 0.35 N and commanded acceleration clipped at \pm 2 m/s2; wind is a bounded random acceleration of amplitude 0.01 m/s2 evaluated at physical time. These values are the selected configuration, validated empirically as described below; they are not a hardware calibration, so the platform is a simulated model, not a specific vehicle. Each actuator is a unit-gain motor acting through one gear component, so the body thrust or moment is the control multiplied by its gear; the controller sets the control to the physical value divided by the gear. The limits above are control limits (MuJoCo ctrlrange, [0,0.35] for thrust, \pm 600 for each moment control at gear -10^{-5}); no actuator output limit is set. A script checks this mapping on the runtime model with one positive and one negative command per moment axis and legal thrust commands, at two attitudes, and checks that commands outside the range are clamped. Over all physics steps of the E1 and E3 runs, recomputed from the logged controls, the peak thrust is 76 % of the cap and the peak body moment 0.0056 N m (94 % of the limit); 0 steps reach a limit. The outer model is a planar double integrator per axis with h=0.2 s, \mathcal{X}=[0,6]\times[0,5]\times[-1,1]^{2}, \|u\|_{\infty}\leq 0.9, \mathcal{W} a box with half-widths 1/125 (position) and 1/40 (velocity), and \varepsilon=1/25. Each axis uses the gain K=(-49/4,-231/40) (a double closed-loop pole at 3/10); the tail condition A_{K}^{4}\mathcal{W}\subseteq\frac{1}{5}\mathcal{W} is checked exactly and \mathcal{E}=\frac{5}{4}\bigoplus_{i<4}A_{K}^{i}\mathcal{W}. Inside a sample the inner loop tracks v_{k}+Ke(\tau); the residual w_{k}=x_{k+1}-Ax_{k}-Bu_{k} is measured against u_{k}=v_{k}+Ke_{k} at the sample boundary, so inner-loop lag and wind both enter w. Every sample of every run checks e\in\mathcal{E}, w\in\mathcal{W}, u\in\mathcal{U} and x\in\mathcal{X} exactly and counts the physics steps at which the thrust or moment limits or the acceleration clip are active, or a contact exists. A run is compliant only if the four memberships hold at every sample and all three counts are zero.

The interface was chosen on development routes; as empirical validation of the selected configuration it was run on 21 runs (three wind seeds, seven routes) not used for tuning; all were compliant. A one-factor sweep around a wind-free baseline varied reference acceleration and speed, gain, zero-order hold, attitude bandwidth, moment and acceleration limits and wind (14 settings, four runs each); only the moment limit 0.0005 N m broke compliance. Compliance on finitely many runs is not a nonlinear tracking certificate.

K-B Scenes and libraries

Both scenes share the platform. Library regions are translates c\oplus T of one invariant shape T with law v=g+K(z-c) along routes; the final region is the post set z^{\star}\oplus T. Every region, edge, label and the post law is verified in exact rational arithmetic. The revisit scene has R_{1} centred at (2,2.5) with half-width 0.3, task \mathbf{F}_{[3,20]}\mathbf{G}_{[0,2]}\mu_{R_{1}}, D=8, H=30, an initial speed of 0.8 m/s into R_{1} and a zero-input history; its library has 23 regions. The branching scene adds an obstacle between two channels and a second region R_{2} at (5,2.5) to be reached and held for 2 samples within [\,\text{arrival}-4,\text{arrival}+D\,] of the channel route (H=107, 164 regions, 166 edges).

K-C Costs

Table VII collects every timed stage. Development search is repeated until a configuration certifies; preprocessing runs once per library and task; online rows are per query or tick. E2 medians and tails are over verified candidates only, with the other outcomes counted in the denominator column. All times are wall time of one process on the host above. R6 times are method times inside a fresh worker process, excluding library loading, and are reported with peak memory in Table XIII.

TABLE VII: Costs, read from the formal records by scripts/cost_table.py.
  • Development search
  • R4 window search (quadrotor)
    timer covers
    one recursion per window a, stop at the first certified
    denominator
    5 windows (a=10–14)
    time
    173.0 s (28.4 s–41.0 s each)
  • Fixed-instance preprocessing
  • R1 library (unicycle)
    timer covers
    verify every edge on whole cells for all of \mathcal{W}
    denominator
    27 076 edges
    time
    7.6 s
  • R1 recursion (unicycle)
    timer covers
    ordered recursion, one task
    denominator
    1 task
    time
    3.4 s
  • R4 library (quadrotor)
    timer covers
    as R1, intermediate samples and inputs included
    denominator
    224 094 edges
    time
    133.9 s
  • R4 recursion (quadrotor)
    timer covers
    ordered recursion for the chosen window a=14
    denominator
    423 772 generators
    time
    40.4 s
  • R5 library (two-target)
    timer covers
    as R1, robust and safety-only variants
    denominator
    75 327 edges
    time
    39.4 s
  • R5 recursion (two-target)
    timer covers
    ordered recursion, two tasks
    denominator
    62 872 generators
    time
    20.2 s
  • E2 library (revisit)
    timer covers
    scene, route library with exact labels, verification, certificates
    denominator
    23 regions
    time
    5.6 s
  • E2 patching (revisit)
    timer covers
    whole procedure: N{=}5 attempts, references, checks, rebuilt certificates
    denominator
    12 queries, 4 patches
    time
    63.7 s (53.7 s certificates)
  • E3 library (branching)
    timer covers
    as E2 library
    denominator
    164 regions
    time
    28.5 s
  • Online queries
  • \mathcal{P}_{0}, N{=}10 (revisit)
    timer covers
    build, solve, exact check, first complete plan
    denominator
    60/60 verified
    time
    58 ms median, 72 ms p95
  • \mathcal{P}_{0}, N{=}5 (revisit)
    timer covers
    build, solve, exact check, first complete plan
    denominator
    38/60 verified (22 infeasible after tightening)
    time
    45 ms median, 54 ms p95
  • full-H (stl) (revisit)
    timer covers
    build, solve, exact check
    denominator
    60/60 verified
    time
    37 ms median, 53 ms p95
  • two-sided (raman2) (revisit)
    timer covers
    as full-H
    denominator
    60/60 verified
    time
    176 ms median, 287 ms p95
  • R3 filter tick (unicycle)
    timer covers
    proposal, projection and filter query per tick
    denominator
    60 runs (3 arms), 0 overruns of 100 ms
    time
    0.75 ms max

K-D E1

Exact evidence: an exact full-horizon reference verifies a plan; the single-witness encoding is infeasible as a solver claim (no tightening); an exact lower bound on the x-position over all admissible nominal inputs proves that the position exceeds \bar{R}_{1} at samples 5–12, which blocks every dwell start in [a,b-D] and every single continuous visit. Ten closed-loop MuJoCo runs (seeds 400–409, fixed before the runs) use the online loop of E3 with N=10 and lookahead 1, adopting short candidates and extending them by the backup rule. For each run the compact monitor and the full bitset are evaluated tick by tick on the nominal bits, the bits of the measured positions, and a counterfactual history with the second visit removed from sample 13 on. The failure verdicts are compared at every sample; coverage against the suffix [c,D] and the dwell counters are compared at every sample at which the compact monitor has not failed, since afterwards it has no state to compare. Panel (d) of Fig. 6 is chosen by a fixed rule among the adopted candidates of all ten runs: those with \tau<b+\ell=22 whose predicted monitor still has c_{\tau}>0 (53 candidates), the one adopted closest to k=8 (seed 403). Its tail is the default chain of its validated terminal pair (the witness the backup rule appends at every step), checked equal to the inputs the backup rule executes, and the whole plan is validated exactly up to H.

K-E E2

E2 results. An exact full-horizon reference verifies 60 of 60 test queries around the start; these form the denominator. With a 2 s budget and identical semantics, history and constraints, library-certified horizons N=5,10,30 verify 63, 100 and 100 % (median 45, 58, 87 ms) and the full-horizon STL encoding 100 % (median 37 ms; Fig. 8). Patching the library along references of 4 separate queries (regions z_{t}\oplus T, law v_{t}+K(z-z_{t}), exactly verified, old winning set kept; 23 to 143 regions) lifts N=5 to 100 % and N=10 to 100 %, at median 139 and 152 ms. At H=30 the full-horizon encoding plans fastest; its two-sided form (Section J-A) verifies 60/60 at median 176 ms and is slower on every query in our implementation. With one reach task every reachable bitset is a suffix, so bitset and compact recursions store the same states (Table VIII); ordered generators store fewer on the branching library (11487 vs. 15742) in similar time. All answers agree and no recursion exceeds 40 ms. Offline, building and verifying the initial library takes 5.6 s and patching 64 s (54 s re-verifying it).

Fig. 8: E2: share of the 60 reference-feasible test queries with an exactly verified candidate against median time (bars 5–95 %), before and after patching. STL: full horizon H=30.
TABLE VIII: E2 recursions on identical graphs and query domains, per library (regions, H): total time [ms] / stored states / peak resident memory of the isolated process [MiB]. Fewer stored states need not mean less memory or time.
  • revisit (23, 30)
    bitset
    1.0/544/53
    compact
    0.8/544/53
    ordered
    2.2/627/53
  • patched (143, 30)
    bitset
    5.6/3546/56
    compact
    6.3/3546/55
    ordered
    14.4/3337/54
  • branching (164, 107)
    bitset
    33.3/15742/65
    compact
    38.2/15742/65
    ordered
    39.6/11487/59

E2 protocol. Test queries perturb the start by at most (3/50,1/10) m in position and 1/20 m/s in velocity on a rational grid (seed 401); patch queries are drawn separately (seed 400). A reference with a 30 s limit defines the denominator. Every method gets one solve with a 2 s limit and exact validation; for the short horizons the first complete plan (candidate and certificate rollout) must also verify. Outcomes are kept apart: verified, timeout, infeasible only for the tightened model, solver-infeasible, rejected. Patches are added for patch queries that N=5 misses, at most five; each solves a reference with constraints tightened by T and target z^{\star}\oplus\frac{1}{10}T, adds z_{t}\oplus T with law v_{t}+K(z-z_{t}), verifies the new edges exactly, and rejects the patch if any old winning state is lost. The recursions in Table VIII use the same certificate graph and query domain (every region at k=0 with a neutral history), count forward reachability for the sparse methods, and run in isolated processes. Offline cost is measured in the same run: constructing the revisit scene (tube sets, post set and the route library with exact labels) and verifying its library and certificates takes 5.6 s, and 28 s for the branching scene. The patching procedure takes 64 s in total, including the N=5 attempts on all patch queries, the tightened references and the exact checks of the new regions and edges; 54 s of it re-verify the whole grown library and rebuild its certificates after each patch.

K-F E3

E3 results. A branching scene adds a second region behind an obstacle, reached through one of two channels (H=107). A soft cost prefers one channel and is replaced at k=10 by a preference for the other. All arms start from one plan that is both a verified short candidate and a valid full-horizon plan, and apply the same inputs until the update. Ours re-solves \mathcal{P}_{k} (N=10) 2 samples ahead and, within the same request, appends the library tail that R4 would execute and validates the plan exactly to H; full-H re-solves the exact full-horizon encoding with the executed prefix fixed and a complete warm start, with its tuned 6-sample window or with ours (solver limit tuned on development seeds); no-solve executes only the backup. Ours and six-sample full-H also run with the optimizer lost over samples [30,45). Every request has a budget of 1 s from issue, capped by its target boundary (on average 371 ms two and 1000 ms six samples ahead); adopted plans reach H and are then only shifted. Seeds 400–409 use the original obstacle and 500–509 a shifted one fixed by preset conditions before any arm ran on it; intervals are bootstraps per geometry, stratified by revealed direction. Every run completes with the interface intact (Table X); 1 of 11550 inputs reached the plant late (13.6 ms; work per sample below 54 ms, host scheduling unbounded).

Re-solving lowers the revealed cost relative to the backup alone by 118 [115, 121] (original) and 108 [107, 109] (shifted), and ours switches channel in every configuration whose backup takes the other (Fig. 9, Table IX). A useful update is an adopted plan whose full revealed cost is at least 1 below the backup it replaces. Two samples ahead, full-H is worse than ours in every original configuration, J(\text{full-}H_{2})-J(\text{ours})=67 [62, 72] (118 when the upper channel is revealed, 17 otherwise): both adopt a revealed-cost plan 2 samples after the update, but its first useful update comes after 31–37 samples (ours 7–24) and it never switches. On the shifted geometry the difference is 22 [-7, 51]. Six samples ahead full-H is better on both geometries, by -21 [-26, -16] and -33 [-35, -29], and updates usefully first in 8 and 5 of 10 configurations. In this scene the certificate-based controller thus updates usefully under a two-sample deadline more reliably than full-horizon replanning, which costs less given a longer window. Ours selects by the check alone and does not see its tail’s cost (19 % of its adoptions raise the full cost; full-H 3 %); pricing the library tail lowered the full cost by about 1 in an offline diagnosis (below) and was not adopted, and this experiment does not separate that mismatch from library restrictions and timing. Every arm keeps a legal backup, which carries all 15 outage samples; the outage changes the cost by 2.8 [-0.8, 5.6] (ours) and -2.0 [-8.3, 4.2] (full-H).

Fig. 9: E3: paired differences of the revealed cost per configuration (dots, colored by the revealed channel) with mean and 95 % bootstrap interval stratified by direction, per geometry; full-H_{6}, full-H_{2}: six- and two-sample windows. Positive values favour the second arm.
TABLE IX: E3 per arm and geometry over 10 configurations each: mean revealed cost on the executed nominal trajectory; switches to the revealed channel among the 5 configurations whose backup takes the other; range of samples from the update to the first useful update (full revealed cost at least 1 below the replaced backup).
  • ours
    original geometry J
    -116.6
    original geometry switch
    5/5
    original geometry useful
    7–24
    shifted geometry J
    -106.7
    shifted geometry switch
    5/5
    shifted geometry useful
    6–31
  • full-H_{6}
    original geometry J
    -137.7
    original geometry switch
    5/5
    original geometry useful
    6–15
    shifted geometry J
    -139.7
    shifted geometry switch
    5/5
    shifted geometry useful
    6–15
  • full-H_{2}
    original geometry J
    -49.3
    original geometry switch
    0/5
    original geometry useful
    31–37
    shifted geometry J
    -84.6
    shifted geometry switch
    3/5
    shifted geometry useful
    8–41
  • no-solve
    original geometry J
    1.1
    original geometry switch
    0/5
    original geometry useful
    –
    shifted geometry J
    1.2
    shifted geometry switch
    0/5
    shifted geometry useful
    –
TABLE X: Robot runs, totals (E3 over both geometries): adopted plans / requests; samples k=1,\dots,H-1 from a new plan / the backup; inputs more than 10 ms late / all samples.
  • interface check (21)
    compl.
    –
    compliant
    21
    adopted/req.
    –
    new/backup
    –
    late
    –
  • E1 online (10)
    compl.
    10
    compliant
    10
    adopted/req.
    254/290
    new/backup
    254/36
    late
    0/350
  • E3 ours (20)
    compl.
    20
    compliant
    20
    adopted/req.
    830/1900
    new/backup
    830/1290
    late
    0/2240
  • E3 full-H_{6} (20)
    compl.
    20
    compliant
    20
    adopted/req.
    422/1820
    new/backup
    422/1698
    late
    1/2240
  • E3 full-H_{2} (20)
    compl.
    20
    compliant
    20
    adopted/req.
    1102/1900
    new/backup
    1102/1018
    late
    0/2240
  • E3 no-solve (20)
    compl.
    20
    compliant
    20
    adopted/req.
    –
    new/backup
    0/2120
    late
    0/2240
  • E3 ours, outage (10)
    compl.
    10
    compliant
    10
    adopted/req.
    384/800
    new/backup
    384/676
    late
    0/1120
  • E3 full-H_{6}, outage (10)
    compl.
    10
    compliant
    10
    adopted/req.
    231/760
    new/backup
    231/829
    late
    0/1120

E3 protocol. Each geometry has 10 formal configurations alternating the initial and revealed channel preference: wind seeds 400–409 on the original obstacle and 500–509 on the shifted one, fixed before the runs; the soft cost is \frac{1}{20}\|v\|_{1}\pm y. The shifted obstacle was fixed before any arm ran on it, as the first of a short pre-listed sequence of candidate geometries meeting four conditions written down in advance: its library and certificates verify exactly; the common plan is both a short candidate and a complete plan; in both directions, at the update, the other channel admits an exact full-horizon reference through its gate and a library witness; and the two channels are told apart by their gates. In both geometries the common plan takes the lower channel, so only configurations revealing the upper one require a switch. The common initial plan is the initial short candidate, extended to H by the backup rule (R4) and validated exactly as a full plan; every arm starts from it and requests are issued only from k=10 on, so all arms apply the same inputs before the update.

Ours solves \mathcal{P}_{k} with N=10; in the same solver process the validated candidate is extended along the default chain of its terminal pair (the library tail R4 would append, identified by a digest of its edges) and the resulting plan is validated exactly up to H; construction, solve, extension and validation all count against the request’s budget, and a failed extension leaves the backup in place. Full-H solves the exact full-horizon encoding with the executed prefix fixed, warm-started with the stored plan and all its auxiliary binaries, and its result is validated as an online prefix to H. Every adopted plan therefore reaches H, becomes the backup and is then only shifted. All arms share the backup rule, the exact check and a budget of 1 s per request from its issue (deadline \min\{\text{issue}+B,\ \text{boundary}-10\,\text{ms}\}, the solver stops 30 ms before it). Each request is logged at issue with its target sample, boundary, deadline, effective budget B_{\mathrm{eff}} and cost version, and ends in exactly one recorded outcome. Lookahead and solver limit were tuned per arm on development seeds and frozen: ours 2 samples and 400 ms; full-H 6 samples and 800 ms; and full-H with ours’ window, 2 samples, with the limit chosen among 150, 250 and 350 ms on development seeds 200–203 by mean revealed cost (150 ms; longer limits let fewer results arrive in time). B_{\mathrm{eff}} averages 371 ms for the two-sample windows and 1000 ms for the six-sample one. Period 0.2 s, cost update at k=10, outage over samples [30,45), five post-mission samples; the arms of a configuration run in a random order, and the wind is a function of physical time, so its value at each sample start is equal across arms (checked). The solver process skips requests made obsolete by a newer request or by an adoption. A request issued during sample k uses the cost known at k, so the revealed cost first enters the request issued at k=10; each result carries a unique identifier, the cost version and the issue sample of its request (outcomes on the original geometry, ours: 431 ready, 322 superseded, 113 stale, 81 skipped in queue, 3 late; full-H: 446 skipped in queue, 210 ready, 198 over budget, 56 superseded; full-H, two-sample window: 556 ready, 226 stale, 145 skipped in queue, 20 superseded, 3 late; superseded: made obsolete by an adoption, skipped in queue: replaced by a newer request, stale: returned after its target sample, over budget: its check ended after issue plus B). A result is ready if its target is the current sample, its (z,q) equal the executed nominal and monitor states exactly, the inputs it assumed equal the executed nominal inputs v (not u), its validation is bound to the same (k,z,q), and this check ends before the guard; a result whose check ends later is discarded as late (11 in the reported runs). The first version is the first applied plan whose request carried the revealed cost; the first useful update is the first such plan whose exact full revealed cost is at least \delta=1 below that of the backup it replaced at the same (k,z,q) (\delta fixed before the runs; both are plans to H). The command for a sample is decided before its boundary; at the boundary the clock is read and the simulator is advanced with that command with no computation in between, and the nominal update, the backup for the next sample and the next request follow. A late input is one for which this clock reading is more than 10 ms after the boundary. The loop is a wall-clock-paced simulation with measured dispatch latency: simulated time does not advance while the host waits, and a late command still drives the full sample interval, so holding the old input during the delay is not simulated (Fig. 10, a late input of an earlier, archived run). Lateness therefore measures host scheduling, not an executed delay, and no robustness to input delay is claimed.

Tail cost (diagnosis, not adopted). The short objective does not see the cost of the library tail. An experimental objective adds, per terminal option, the exact cost of its default chain and of up to two chains with another stored first witness, through an epigraph variable with a common lower bound; the selected chain is the one extended and validated, so its recursive feasibility argument is unchanged. Before any formal run, an offline diagnosis re-solved, with both objectives and a 5 s limit, all states of the archived formal E3 runs (ours and full-H) in the ten samples after the update, rebuilt exactly from the recorded adoptions (220 states; all verified under both objectives). The tail-priced plans had an exact full cost lower by 1.1 on average (median 0.9, at most 4.8); the threshold set in advance for a development ablation, at least 5 on average in most configurations, was met in none of 10, so the objective was not adopted and the formal runs use the short objective. The code, tests and diagnosis are kept with the records.

Fig. 10: Historical: the one late input of the archived main3-baseline records (E1, seed 306, sample 24; historical record, archive key in generated/late_tick_timeline.json). Top: plant call and the work after it (nominal update, backup, next request) and the arrival of the next candidate, in wall-clock time. The candidate for sample 24 was checked 167 ms before its deadline, so the loop was idle and the host woke it 13.9 ms late. Bottom: each command drives its full simulated interval regardless of the clock reading.

The revealed cost is evaluated on the executed nominal trajectory from k=10 to H (the planners’ objective; the same stage cost on the applied inputs and measured states gives the same signs); intervals are percentile bootstraps over the configurations of one geometry, resampled within each revealed direction, and per-direction means are reported alongside. Selection is by the exact check alone: on the original geometry 84 of the 431 plans adopted by ours (19 %) had an exact full cost above that of the backup they replaced at the same (k,z,q), against 7 of 210 for full-H and 19 of 556 for its two-sample variant (shifted: ours 74 of 399), so no decrease of the remaining cost is claimed.

K-G R1–R3 protocol

Fig. 11: (a) R1 gate 3: two admissible disturbances put the successor of v{=}1,\,\theta_{\rm ref}{=}-1/4 in different cells with disjoint feasible sets A_{1}, A_{2}. (b) R3 distracted proposer (cross: nominal certificate lost); blue: \bar{R}, green: \mathcal{K}_{\mathrm{post}} (projected); grey: obstacle and clearance.

Code and identities. The robust experiments live in a separate package (src/mjctrl/robust); the main3 code is unchanged. Each record carries a verification identity (digest of model, \mathcal{W}, grid, obstacles, clearance, primitives, tightened regions, task, subdivision depths, Z_{\rm post} and the verifier sources), a recursion identity (verification identity, task, algorithm, recursion sources), a source digest of the robust package, and the full parsed experiment and scene configuration with its digest, which also enters every run key. The assets script refuses records whose source digest or configuration snapshot differs from the working tree.

Verifier. Endpoints are rationals; products and transcendental values are rounded outward to dyadics with 64 fractional bits; \sin and \cos at rational points use Taylor polynomials with Lagrange remainder, and over an interval the hull of the endpoint enclosures plus the extreme value whenever a critical point (located with rational bounds on \pi) may lie inside. The heading update (1-hk_{\theta})\theta+hk_{\theta}\theta_{\rm ref} is evaluated in this affine form to avoid the dependency between \theta and \omega. Unit tests compare the enclosures with sampled values, reproduce the 1-x^{2} counterexample, check a disturbance-induced branching example, match sampled successors of randomly chosen verified edges to branches, check that a single position box is rejected for a pure heading law and a position law, and run the \mathcal{K}_{\mathrm{post}} switching law for 100 steps from 20 sampled states.

Scenes. Obstacles are closed boxes, and a region is admissible only if its closed cell keeps \ell_{\infty} distance at least \tfrac{1}{4} m from every obstacle, so a cell touching an obstacle is never admissible; \mathrm{RA} is computed from this test. Geometry A has the obstacle [\tfrac{13}{4},\tfrac{15}{4}]\times[\tfrac{9}{4},\tfrac{11}{4}]; geometry B the obstacle [\tfrac{9}{4},\tfrac{11}{4}]^{2} and a block [\tfrac{21}{4},\tfrac{23}{4}]\times[\tfrac{19}{4},5] at the top edge. With the clearance they cover [3,4]\times[2,3], respectively [2,3]\times[2,3] and [5,6]\times[4.5,5]. A cell may touch the boundary of such a band but not its interior; for example [2.5,3]\times[1.5,2] keeps distance exactly \tfrac{1}{4} from the obstacle of geometry A. Declaring the bands themselves as closed obstacles with the same clearance would leave the declared start uncertified for every window with a\leq 39 in either geometry. Headings stay in [-\tfrac{9}{8},\tfrac{9}{8}], and on the verified library with the widened band the recursion finds no certified passage into the winning set; this is a result on this library, not a reachability claim for the continuous system. The negative-time history is checked against the same predicate. Both use \bar{R}=[5.5,7.5]\times[1.5,3.5], Z_{\rm post}=[5,8]\times[0.5,4.5] and the start (\tfrac{1}{8},\tfrac{18}{5},\tfrac{1}{4}) propagated by two recorded history steps with v=\tfrac{1}{4}, \theta_{\rm ref}=\tfrac{1}{4}, w=0. The window is the earliest certifiable one: [13,16] for A and [11,14] for B (H=19, 17). A start aligned with the obstacle row is not certifiable for any tested window, because a committed heading must serve all three possible next rows; the start therefore lies in the upper lane.

R1 search. Gate 3 searches exactly reachable box states. It starts from the rational enclosure X_{0} of the history endpoint (no float conversion) and extends 40 rollouts: at each step it picks a random completion-preserving edge and a branch cell, steers a rational disturbance to the midpoint of \mathcal{W}\cap(P_{\rho_{b}}-F_{e}(X_{k})), with F_{e}(X_{k}) the interval enclosure of f(x,\kappa_{e}(x),0) over X_{k}, and keeps the successor enclosure X_{k+1} if it lies strictly inside P_{\rho_{b}} with decided bits and a winning successor state. At every (k,X_{k},q_{k}) with k\leq H-2 and every completion-preserving edge, it applies the same steering to each branch cell, requires a strictly positive margin and decided bits for the whole box, advances the monitor on those bits and enumerates all outgoing edges at k+1 with the all-successor check. The evidence is therefore valid for every state in X_{k}, which contains the actual state under the recorded history and disturbances. Primitive identities are digests of the law parameters, independent of the source cell.

R3 protocol. The configuration file (2 geometries \times 10 seeds, proposer parameters, disturbance law, budget and the four targeted cases) was frozen before any arm ran. Each coordinate of w_{k} is a vertex of \mathcal{W} with probability 1/2 and uniform otherwise, drawn from the seed independently of the actions. The proposer is a 4-iteration CEM (population 48, 8 elites) over 5-step (v,\theta_{\rm ref}) sequences on the nominal model, with an approach cost before a, a window cost on \bar{R} shrunk by 0.5 m, obstacle and boundary penalties, and, after completion, attraction to the centre of Z_{\rm post}; the safety-only arm uses the same cost. The tick deadline covers proposal, projection and filtering and is checked after the final selection, before execution; on an overrun the certified witness edge is executed instead. In the targeted distracted case (Fig. 11b), the proposer’s task objective is replaced for the entire mission (ticks 0–H-1) by attraction to the safe waypoint (1,4.2) far from \bar{R} (obstacle and boundary penalties unchanged); the case tests the filter against a proposer that never pursues the task, not the shared proposer. Only the robust arm completes, after 9 interventions on physically safe proposals. The one-step filter acts only from certified states: at q_{0}, 650 of the 1,404 admissible regions are certified, and from any other state it has no completion-preserving action to select. Every tick logs the raw proposal, the projected primitive, the executed primitive, the matched branch and the actual bits. Outcomes are classified as physical violation, task miss, post-set violation or completed; certificate loss is recorded separately. Completability is lost at the first tick (or at H) at which no region containing the actual state is winning, at the actual monitor state, in the robust recursion of the full library. The same criterion and robust winning family are used for all three arms. The loss time is evaluated separately on each arm’s actual trajectory.

TABLE XI: R3, 20 frozen configurations, all reported.
  • A
    arm
    robust
    done
    10/10
    safe
    10/10
    cert. lost
    0
    compl. lost
    0
    interv.
    59
    acc. %
    69
    J_{\rm path} m
    9.5
  • A
    arm
    nominal
    done
    10/10
    safe
    10/10
    cert. lost
    2
    compl. lost
    5
    interv.
    6
    acc. %
    97
    J_{\rm path} m
    9.4
  • A
    arm
    safety-only
    done
    10/10
    safe
    10/10
    cert. lost
    0
    compl. lost
    4
    interv.
    12
    acc. %
    94
    J_{\rm path} m
    9.4
  • B
    arm
    robust
    done
    10/10
    safe
    10/10
    cert. lost
    0
    compl. lost
    0
    interv.
    41
    acc. %
    76
    J_{\rm path} m
    8.9
  • B
    arm
    nominal
    done
    10/10
    safe
    10/10
    cert. lost
    3
    compl. lost
    1
    interv.
    15
    acc. %
    91
    J_{\rm path} m
    8.9
  • B
    arm
    safety-only
    done
    10/10
    safe
    10/10
    cert. lost
    0
    compl. lost
    4
    interv.
    8
    acc. %
    95
    J_{\rm path} m
    8.8

Table XI also reports the acceptance rate (ticks on which the executed primitive is the projected proposal), and the logs count branch-dependent ticks (the complete feasible sets at k+1 differ across the executed edge’s branches: 324 for the robust arm) and the path length J_{\rm path} over all H ticks, from which no cost claim is made. In the distracted case completability is lost at k=2 (nominal) and k=1 (safety-only), before the nominal certificate is lost at k=8. In the other three targeted cases, vertex disturbances leave every nominal branch at k=5; replaying the gate-3 disturbances changes the executed primitive at k=1; and through an optimizer outage on ticks 3–8 the robust arm completes on 7 certified fallbacks. The targeted cases are written through the record store with run keys.

R2 details. Table XII varies D and adds a second obligation on the same region (a=14, b=16, \ell=2). Compact states grow linearly in D per task and explicit ones exponentially; antichains stay small. The smaller representation does not pay off in resources here: with one task and D=2 the ordered recursion takes 3.52 s and 39.8 MB peak against 3.21 s and 4.6 MB for the compact table (two tasks: 6.04 s, 42.6 MB against 3.9 s, 9.7 MB). The ordered implementation stores generator lists and witnesses per entry; Section K-J measures and profiles the difference on matched queries. On the same partition, the single-successor sub-library has 0 edges: every verified one-step enclosure is wider than a cell, so each edge has 4, 6 or 9 branches, and even the w=0 library has 0 single-successor edges. Corollary S8 makes this independent of the grid: with heading primitives and product-box regions, 2\bar{w}a=2.6\geq 2 m rules out a single-successor certificate on every partition; position-feedback primitives and non-product regions are outside that statement.

TABLE XII: R2 on the R1 graph: compact and explicit state counts, stored generators, largest antichain, evaluated label combinations and the naive number of target vectors \sum\prod_{b}|M_{k+1}(\rho_{b})|. All three recursions agree in every row. Bottom: untraced wall time and tracemalloc peak (separate run) for the traced rows.
  • 1
    D
    1
    |\mathcal{Q}|
    9
    bitset
    12
    gen.
    19348
    width
    2
    combos
    306122
    naive
    5.6e5
  • 1
    D
    2
    |\mathcal{Q}|
    12
    bitset
    24
    gen.
    19478
    width
    2
    combos
    308780
    naive
    6.9e5
  • 1
    D
    4
    |\mathcal{Q}|
    18
    bitset
    96
    gen.
    19738
    width
    2
    combos
    314096
    naive
    9.6e5
  • 1
    D
    6
    |\mathcal{Q}|
    24
    bitset
    384
    gen.
    19998
    width
    2
    combos
    319412
    naive
    1.2e6
  • 2
    D
    1
    |\mathcal{Q}|
    108
    bitset
    192
    gen.
    20202
    width
    6
    combos
    327408
    naive
    5.4e8
  • 2
    D
    2
    |\mathcal{Q}|
    192
    bitset
    768
    gen.
    20820
    width
    6
    combos
    343222
    naive
    1.1e9
  • 2
    D
    3
    |\mathcal{Q}|
    300
    bitset
    3072
    gen.
    21438
    width
    6
    combos
    359216
    naive
    1.6e9

K-H R4 protocol: branching policy on the quadrotor

Model. The certified system is the platform’s declared outer model (Section F) per axis, x_{j+1}=Ax_{j}+Bu_{j}+w_{j} with h=\tfrac{1}{5} s, |w_{p}|\leq\tfrac{1}{125} m, |w_{\nu}|\leq\tfrac{1}{40} m/s and |u|\leq\tfrac{9}{10}, grouped into a macro tick of 5 samples (1 s). All task times (a, b, \ell, D, H) are macro ticks, and target bits are read only at macro boundaries. A primitive is a velocity reference v_{\rm ref}\in\{0,\pm\tfrac{1}{4},\pm\tfrac{1}{2}\}^{2} (25 primitives) applied at every sample as u_{j}=\tfrac{9}{4}(v_{\rm ref}-\nu_{j}) on the measured velocity. The macro map is the exact composition of the 5 steps; its disturbance enclosure is the exact interval hull of the sum of the 5 propagated per-sample boxes. An edge is verified on its whole source cell and for all disturbances if the inputs satisfy |u_{j}|\leq\tfrac{9}{10} at all 5 samples, every intermediate sample keeps the clearance \tfrac{1}{10} m from the closed obstacle [3,3.8]\times[1.5,3.5] and stays in the workspace [0,6]\times[0,5] (safety between macro boundaries is thus an additional verified property of each edge), and the successor enclosure is covered by present cells with conservative labels, as in R1. Regions are product cells of \tfrac{1}{8} m in position and \tfrac{1}{4} m/s in velocity over [-\tfrac{5}{8},\tfrac{5}{8}]^{2}. The task is \mathbf{F}_{[a,a+3]}\mathbf{G}_{[0,1]}\mu_{R} with \bar{R}=[4.5,5.5]\times[2,3], D=2 and H=a+7; \mathcal{K}_{\mathrm{post}} is the safety fixed point inside Z_{\rm post}=[4.25,5.75]\times[1.75,3.25] (all velocity cells), 1,936 of 3,600 candidates. The deadline was searched on the model before any robot run from the commanded start (\tfrac{33}{16},\tfrac{41}{16},0,0) with an all-zero history: a=10,\dots,13 are not certified, a=14 is (H=21). Library construction takes 134 s and the ordered recursion 41 s.

Design log. The planned 0.5 m cells were replaced before any robot run; this is the one refinement we allowed. On 0.5 m cells the macro position image of a cell overlaps the cell itself even at full speed (about [0.36,1.07] from [0,0.5]), so every moving region keeps a branch back to itself. With \tfrac{1}{4} m cells (we tried gains \tfrac{5}{4} and \tfrac{9}{4}, hold laws and a braking gain), the abstraction admitted neither a robust stop inside \bar{R} nor entry into the channels beside the obstacle. With \tfrac{1}{8} m cells the macro displacement at |v_{\rm ref}|\geq\tfrac{1}{4} exceeds one cell on the whole source cell. The refinement was chosen by certification on the model alone.

Execution. Each fine sample j of macro tick k calls the unchanged robot interface with the measured outer state z=x_{j}, the input u_{j}, the tube gain K and the global sample index 5k+j, so e_{j}=0 at every boundary and the residual w_{j}=x_{j+1}-Ax_{j}-Bu_{j} is the quantity the platform evidence already reports. Before the mission the vehicle hovers under v_{\rm ref}=0 for D macro ticks from the commanded start; the measured states give the history bits and q_{0}, each is checked against the safety predicate, x_{0} must lie strictly inside one cell \rho_{0}, and gate 2 is \mathrm{Win}_{0}(\rho_{0},q_{0}). The policy executes witness edges of the ordered recursion, matches the branch on the measured macro successor and advances the monitor on the actual bits; after H it executes the \mathcal{K}_{\mathrm{post}} witness edges for 5 further macro ticks and checks residence in \mathcal{K}_{\mathrm{post}}. A run counts as guaranteed only if gate 2 holds, every successor up to H and during the post ticks matches a certified branch, and every residual lies in \mathcal{W} (no slack). The 10 wind seeds were fixed in the configuration before any run; the record keys include the MuJoCo version (3.14.0), the scene hash and the upstream model hash.

Results. Of the 10 seeds, 10 pass gate 2, 10 complete, 10 are safe at every sample with no obstacle contact, 10 stay in \mathcal{K}_{\mathrm{post}} and 10 keep every residual in \mathcal{W}; the largest residual is 35 % of \bar{w}_{p} and 34 % of \bar{w}_{\nu}, with peaks at changes of v_{\rm ref} (Fig. 12b). The executed edges have up to 16 branches and the feasible sets at k+1 differ across branches at 150 of 210 executed ticks, but the hover pre-run ends within a few millimetres for all seeds and every seed realized the same branch at each of the 21 keys (k,\rho,q,e) (Fig. 12a). The runs therefore show that the robot executed the branching policy, not that successors or continuations differed between seeds.

Paired witness. We searched, on the declared fine-sample model, for two legal 5-sample disturbance sequences (every w_{i}\in\mathcal{W}, propagated exactly with the feedback evaluated on the propagated states) from the measured x_{0}, taken as an exact rational, that end strictly inside different cells with decided bits and nonempty disjoint complete feasible sets: first at k=0 over all winning edges, then along the executed edges with a common exactly steered prefix. None was found from x_{0} (witness found: no); on the region graph alone, the executed edge at k=12 has two abstract branches with nonempty disjoint certified action sets at k+1.

The second search starts from measured decision states: from the measured states at all 210 recorded decision points of the 10 seeds, 710 candidate pairs of branches were classified exactly on the same fine-step outer dynamics (support-function margins on rational zonogons, no floating-point LP): 702 are unreachable, 0 reach only a cell boundary, 0 are undecided, and 8 are witnesses, i.e., two legal disturbance sequences from one measured state end strictly inside two cells whose certified next-action sets are nonempty and disjoint. All witnesses lie at k=5 on 4 seeds and use the same certified primitive v_{\rm ref}{=}(1/4,0), which the original runs did not execute; the margins inside the target cells are 0.22–4.5 mm. The two searches do not conflict: the first starts at x_{0}, the second from measured decision states, and all 8 witnesses occur at k=5.

Each witness side was then replayed once in MuJoCo from the recorded snapshot with a frozen gust (16 sides): in all 8 pairs the two trajectories reach different certified regions, but no side ends strictly inside its target cell (misses 23–27 mm), and in all 8 pairs the certified next-action sets of the two landing regions are strictly nested, so 0 pairs are disjoint. All 16 continuations complete with every residual in \mathcal{W}. The outer model therefore admits successors from an actual state that require incompatible certified actions; the MuJoCo replays did not reproduce such a pair.

Fig. 12: R4 in MuJoCo. (a) Measured paths of the 10 wind seeds (dots: macro boundaries) from the hover start (black) around the obstacle (grey, clearance band light grey) into \bar{R} (blue); dashed: Z_{\rm post}. (b) Largest measured residual per sample relative to the declared bound (line at 1); negative times are the hover pre-run.

K-I R5 protocol: same state, different histories

Scene. Model, \mathcal{W}, primitives and cell sizes are those of R1; the workspace is [0,12]\times[0,7.5] m without obstacles (3 240 regions, 75 327 verified edges). The two tasks are \mathbf{F}_{[3,19]}\mathbf{G}_{[0,1]}\mu_{R_{j}} with \bar{R}_{\rm A}=[3,11]\times[5,7] and \bar{R}_{\rm B}=[3,11]\times[\tfrac{1}{2},\tfrac{5}{2}], D=2, H=28, and \mathcal{K}_{\mathrm{post}} is the fixed point inside Z_{\rm post}=[10.5,12]\times[0.5,7] (313 regions). The scene is mirror-symmetric about p_{y}=\tfrac{15}{4}. The targets are 2 m wide because a whole-cell successor enclosure is about 0.8 m wide; with 1 m targets no robust two-sample dwell was certified. Plain, explicit-bitset and ordered recursions agree at every (k,\rho,q) of the formal domain (144 compact and 576 bitset states).

Histories. Three prefixes start at the declared x_{0}=(\tfrac{3}{4},\tfrac{15}{4},0), reached by a recorded zero-disturbance history, and end at x^{\star}=(\tfrac{25}{4},\tfrac{15}{4},0) at k=12 in the region \rho^{\star}=[6,6.5]\times[3.5,4]\times[-\tfrac{1}{8},\tfrac{1}{8}], which contains x^{\star} with margin \tfrac{1}{8} (Fig. 7). A visits only \bar{R}_{\rm A}; B, its mirror image, only \bar{R}_{\rm B}; AB both. Each step applies one library primitive and is enclosed in rational interval arithmetic; inputs, the safety predicate and decided bits are checked on every enclosure. Every step but the last uses a rational disturbance in \mathcal{W}. The last disturbance is the exact residual w^{\star}=x^{\star}-f(x_{\rm prev},\kappa_{e}(x_{\rm prev}),0) of the additive model for the actual x_{\rm prev}, so every prefix ends exactly at x^{\star} in every state component. It need not be rational and is never rounded; w^{\star}\in\mathcal{W} holds because its rational interval enclosure lies in \mathcal{W} (largest component 0.0082 m for A and B, 0.0085 m for AB). At x^{\star} the clock, region, bits and dwell counters coincide, and q_{\rm A}=((0,0),(3,0)), q_{\rm B}=((3,0),(0,0)), q_{\rm AB}=((0,0),(0,0)). The prefixes are legal but not certified throughout: A and B are certified from k=11, AB from k=5.

Certified sets. Enumerating every outgoing edge of \rho^{\star} at k=12, q_{\rm A} certifies \{(-\tfrac{1}{4},-1),\,(\tfrac{1}{4},-1)\} and q_{\rm B} \{(-\tfrac{1}{4},1),\,(\tfrac{1}{4},1)\} (primitives written (v,\theta_{\rm ref})): both nonempty, disjoint. q_{\rm AB} certifies all 28 primitives, a strict superset; each of the 26 actions in the difference has 1–6 branches whose successor state is not winning under q_{\rm A}. The reset state ((3,0),(3,0)) lies below q_{\rm A} and q_{\rm B}, so its certified set is contained in their intersection and is empty. Any rule that maps (k,x) to an action takes the same action at x^{\star} after A and after B and therefore leaves the certified set of at least one; this is a statement about certificates on this library, not about every controller.

Filter and continuation. All arms share one task-unaware proposer (speed \tfrac{1}{2}, heading towards the centre of Z_{\rm post} clipped to [-1,1]), one filter rule (keep the projected proposal if it is certified, else the nearest certified primitive) and seeded disturbance sequences drawn as in R3 (10 seeds, fixed in the configuration). At x^{\star} the proposal projects to (\tfrac{1}{2},0); the filter executes (\tfrac{1}{4},-1) after A, (\tfrac{1}{4},1) after B and (\tfrac{1}{2},0) after AB. The all-monitor-memory reset controller re-initialises coverage and dwell of both tasks at x^{\star} but keeps the task clock, so windows and expiry are unchanged; without a completion certificate it filters with the robust safety-only certificate and executes (\tfrac{1}{2},0). Task outcomes are judged by an independent monitor that is never reset and has read every actual bit since the declared start. With memory, 30/30 runs complete, keep the certificate, stay safe and remain in \mathcal{K}_{\mathrm{post}} for 5 ticks after H. The reset controller loses its certificate at k=12 in every run; the independent monitor records completion in 0/10 runs after A, 0/10 after B and 10/10 after AB, whose tasks were already complete. All reset runs are safe and end in \mathcal{K}_{\mathrm{post}}. These failures depend on the proposer and the fallback; they do not show that no controller without memory can complete.

Partial coverage. On the unchanged R1 library and task (\mathbf{F}_{[13,16]}\mathbf{G}_{[0,1]}\mu_{R}, D=2, H=19, the same declared start and recorded history), two prefixes P and Q end exactly at x^{\star}=(\tfrac{87}{16},\tfrac{7}{4},\tfrac{1}{2}) at k=14, inside one region with margin \tfrac{1}{16}. Both have visited \bar{R} and are outside it at sample 14 with dwell counter 0. P leaves one sample earlier, so its last completed dwell starts at s=11 and serves offsets \{2\} (c=2); Q’s starts at s=12 and serves \{1,2\} (c=1). P’s earlier witness serves no offset, and Q’s earlier witness at s=11 serves \{2\}, already inside its last set. Every step but the last uses zero disturbance; the last is the exact residual, inside \mathcal{W} by its interval enclosure (largest component 0.0510 m for P, 0.0509 m for Q). The explicit bitset monitor, run on the same bits, gives the same served sets, and from k=2 onward every region–monitor state reached along either prefix is winning. Enumerating every outgoing edge at x^{\star}, the compact monitor on the ordered recursion and the bitset monitor on its table both give \{(1,1)\} after P and \{(1,1),\,(\tfrac{1}{2},\tfrac{1}{2})\} after Q. The order guarantees only the inclusion; the complete enumeration shows that here P’s set is nonempty and the inclusion strict. The action (\tfrac{1}{2},\tfrac{1}{2}) in the difference has 2 branches with the conservative label \sigma=0 at k=14+1 (not certified inside \bar{R}, which does not place the actual successor outside); through them the library recursion cannot certify offset 1 by its deadline b-1+\ell=16, which Q has already met. The R5 proposer projects to (\tfrac{1}{2},\tfrac{1}{2}) at x^{\star}; the filter keeps it after Q and executes (1,1) after P. With memory, 20/20 seeded continuations complete, keep the certificate, stay safe and remain in \mathcal{K}_{\mathrm{post}}; the reset state is not certified at x^{\star}.

K-J R6 protocol: what the compact and ordered states cost

Scene and settings. Model, \mathcal{W}, primitives, cells and workspace are those of R1, without the obstacle (1 440 regions, 30 282 verified edges, H=30). There are four tasks \mathbf{F}_{[2,26]}\mathbf{G}_{[0,1]}\mu_{R_{j}} with upper targets [\tfrac{3}{2},\tfrac{7}{2}]\times[2,\tfrac{9}{2}], [\tfrac{9}{2},\tfrac{13}{2}]\times[2,\tfrac{9}{2}] and lower targets [\tfrac{5}{2},\tfrac{9}{2}]\times[\tfrac{1}{2},3], [\tfrac{11}{2},\tfrac{15}{2}]\times[\tfrac{1}{2},3]; upper and lower targets overlap in p_{y}\in[2,3], so one visit can serve two tasks. \mathcal{K}_{\mathrm{post}} is the fixed point inside [6,8]\times[\tfrac{1}{2},\tfrac{9}{2}]. A setting (n,D) keeps the first n tasks, projects the labels on them (branches that then coincide are merged) and sets the offset bound to D. The sweeps vary n=1,\dots,4 at D=4 and D\in\{2,4,8,16\} at n=2, with (1,2), (3,8), (4,8) and (3,16) added. The code and the scene were developed on the 2 settings marked dev; the remaining ones were run once after the configuration was frozen.

Queries and methods. Every method answers the same queries: for each region \rho, whether (0,\rho,\Gamma(h)) is winning, where h has no target bit on -D,\dots,0. The two sparse methods traverse forward from the queried states over every edge and branch to the states reachable on the graph and evaluate the robust AND/OR recursion backward on these only, with explicit (D+1)-bit masks (sparse bitset) or the compact pair (c,r) (sparse compact). The ordered method computes minimal generators and witnesses on the whole compact domain at every k (Theorem 29) and answers by lookup. Two auxiliary methods tabulate every monitor state at every (k,\rho), in compact form (full compact) or as bitsets (full bitset); they show the cost of whole domains and are not part of the matched comparison.

Measurement. Each run is a fresh worker process, the only child of a launcher. The worker loads the pickled library, then times the method alone; peak resident memory is the launcher’s getrusage(RUSAGE_CHILDREN).ru_maxrss after the worker exits, and a load-only run per setting gives the baseline. A watchdog in the worker stops it at 600 s of method time or 12 GiB resident memory and records the run as over budget. Function profiles (cProfile, grouped into the categories of Fig. 13c by the calling function) and tracemalloc peaks are separate runs; no time in the table comes from them.

Checks. Answers agree across all methods that finish, in all 11 settings. In 11 completed checks, 1 321 164 reachable sparse states were compared with the ordered table (all of them on the 4 smallest settings, a seeded sample of 2000 per method elsewhere), every ordered witness was checked to be a winning action, and on the smallest settings the full compact and full bitset tables were compared with the ordered table on the whole domain; there was no mismatch.

Online batches. A second workload sends 16 query batches in sequence: batch j asks every region at k=j with one seeded random bit history on -D,\dots,j (each bit 1 with probability 0.3). The sparse methods traverse again for each batch; the ordered method builds its table once, inside the first batch.

Results. Table XIII and Fig. 13 give times and memory. Sparse bitset and sparse compact reach the same number of states in all settings. This is Theorem 14: on a non-failed history the served offsets form a suffix, so a bitset state and its compact pair determine each other and the two reachable sets are in bijection, so the compact state does not reduce the number of visited states. With bitsets stored as integer masks, the sweep shows no clear resource gain of the compact state in sparse evaluation (times and memory in Table XIII); this is a statement about this implementation and these settings. The main difference appears when whole domains are stored: at (2,4) the full bitset table needs 63.4 s and 607 MiB against 7.63 s and 149 MiB for full compact, and it exceeds the budget in 7 of 11 settings (full compact in 3).

On the fixed k=0 queries the ordered method takes 6.0–45.9 times as long as sparse compact. It computes generators for every state of the domain at every k, not only for the states reachable from the queries, and 68–84 % of its profiled time is spent in tuple generation, state transitions and dominance tests. Its table answers later queries at any k and history by lookup, but in this workload that at best draws level: over the 16 online batches sparse compact needs 9.84, 8.35 and 36.4 s in total at (2,4), (2,16) and (4,4), against 9.87, 17.1 and 128 s for the ordered method. Later batches start closer to H, and some random histories are already failed, so each forward traversal is shorter than the first (Fig. 13d). The ordered method’s advantage is memory, which grows more slowly with the task count. It is below sparse compact only at (3,4) and with four tasks: at (3,4) its peak is 55 MiB above load against 59 MiB, at (4,4) 83 against 116 MiB, and in the online workload at (4,4) its peak is 202 against 311 MiB. At (3,16) and (4,8) no region is certified from the neutral history; every method still evaluates its recursion in full. The code is Python and not optimized; the ratios describe this implementation.

TABLE XIII: R6: certified regions at k=0 (of 1 440), reachable sparse states (k,\rho,q), method time and peak resident memory (including the loaded library) per method and setting. ∗Auxiliary whole-domain tabulations. “budget”: stopped at 600 s or 12 GiB.
  • 1
    D
    4
    split
    hold
    cert.
    358
    reach. states
    85 104
    sparse bitset s
    0.62
    sparse bitset MiB
    146
    sparse compact s
    0.64
    sparse compact MiB
    147
    ordered s
    7.39
    ordered MiB
    196
    full compact∗ s
    5.63
    full compact∗ MiB
    131
    full bitset∗ s
    6.04
    full bitset∗ MiB
    134
  • 2
    D
    4
    split
    hold
    cert.
    230
    reach. states
    231 187
    sparse bitset s
    1.44
    sparse bitset MiB
    160
    sparse compact s
    1.48
    sparse compact MiB
    160
    ordered s
    9.79
    ordered MiB
    192
    full compact∗ s
    7.63
    full compact∗ MiB
    149
    full bitset∗ s
    63.4
    full bitset∗ MiB
    607
  • 3
    D
    4
    split
    hold
    cert.
    230
    reach. states
    508 408
    sparse bitset s
    3.32
    sparse bitset MiB
    186
    sparse compact s
    3.59
    sparse compact MiB
    189
    ordered s
    22.4
    ordered MiB
    185
    full compact∗ s
    45.9
    full compact∗ MiB
    405
    full bitset∗ s
    budget (time)
  • 4
    D
    4
    split
    hold
    cert.
    28
    reach. states
    1 181 283
    sparse bitset s
    8.89
    sparse bitset MiB
    235
    sparse compact s
    9.65
    sparse compact MiB
    235
    ordered s
    130
    ordered MiB
    202
    full compact∗ s
    budget (time)
    full bitset∗ s
    budget (mem)
  • 2
    D
    2
    split
    dev
    cert.
    230
    reach. states
    242 947
    sparse bitset s
    1.63
    sparse bitset MiB
    160
    sparse compact s
    1.68
    sparse compact MiB
    162
    ordered s
    10.1
    ordered MiB
    191
    full compact∗ s
    6.98
    full compact∗ MiB
    139
    full bitset∗ s
    10.6
    full bitset∗ MiB
    161
  • 2
    D
    8
    split
    hold
    cert.
    230
    reach. states
    207 667
    sparse bitset s
    1.44
    sparse bitset MiB
    161
    sparse compact s
    1.47
    sparse compact MiB
    159
    ordered s
    12.8
    ordered MiB
    192
    full compact∗ s
    12.0
    full compact∗ MiB
    177
    full bitset∗ s
    budget (time)
  • 2
    D
    16
    split
    hold
    cert.
    150
    reach. states
    160 627
    sparse bitset s
    1.19
    sparse bitset MiB
    158
    sparse compact s
    1.15
    sparse compact MiB
    158
    ordered s
    17.1
    ordered MiB
    195
    full compact∗ s
    22.2
    full compact∗ MiB
    276
    full bitset∗ s
    budget (mem)
  • 1
    D
    2
    split
    dev
    cert.
    358
    reach. states
    87 344
    sparse bitset s
    0.64
    sparse bitset MiB
    147
    sparse compact s
    0.67
    sparse compact MiB
    147
    ordered s
    7.55
    ordered MiB
    196
    full compact∗ s
    5.75
    full compact∗ MiB
    130
    full bitset∗ s
    5.73
    full bitset∗ MiB
    131
  • 3
    D
    8
    split
    hold
    cert.
    181
    reach. states
    423 736
    sparse bitset s
    2.85
    sparse bitset MiB
    178
    sparse compact s
    2.98
    sparse compact MiB
    178
    ordered s
    35.1
    ordered MiB
    188
    full compact∗ s
    160
    full compact∗ MiB
    1393
    full bitset∗ s
    budget (mem)
  • 3
    D
    16
    split
    hold
    cert.
    0
    reach. states
    255 470
    sparse bitset s
    1.93
    sparse bitset MiB
    164
    sparse compact s
    1.93
    sparse compact MiB
    164
    ordered s
    64.5
    ordered MiB
    192
    full compact∗ s
    budget (time)
    full bitset∗ s
    budget (mem)
  • 4
    D
    8
    split
    hold
    cert.
    0
    reach. states
    922 563
    sparse bitset s
    7.07
    sparse bitset MiB
    210
    sparse compact s
    7.53
    sparse compact MiB
    212
    ordered s
    346
    ordered MiB
    202
    full compact∗ s
    budget (time)
    full bitset∗ s
    budget (mem)
Fig. 13: R6. (a) Method time per setting (n,D) (open markers: stopped at the budget, dashed line). (b) Peak resident memory above the load-only run. (c) Share of profiled time by category (separate cProfile runs). (d) Cumulative time over the online query batches, ordered (red) against sparse bitset (orange) and sparse compact (blue).

References

  1. [1] Luke Baird and Samuel Coogan. Runtime assurance from signal temporal logic safety specifications. In American Control Conference (ACC), 2023. doi: 10.23919/ACC55779.2023.10156487.
  2. [2] Michaël Cadilhac and Guillermo A. Pérez. Acacia-Bonsai: A modern implementation of downset-based LTL realizability. In Tools and Algorithms for the Construction and Analysis of Systems (TACAS), volume 13994 of Lecture Notes in Computer Science, pages 192–207, 2023.
  3. [3] Martin De Wulf, Laurent Doyen, Thomas A. Henzinger, and Jean-François Raskin. Antichains: A new algorithm for checking universality of finite automata. In Computer Aided Verification (CAV), volume 4144 of Lecture Notes in Computer Science, pages 17–30, 2006.
  4. [4] Roland Ilyes, Lara Brudermüller, Nick Hawes, and Bruno Lacerda. Receding horizon control for signal temporal logic using robustness-conserving partial formula evaluation. IEEE Robotics and Automation Letters, 10(10):10775–10782, 2025.
  5. [5] Roland Ilyes, Lara Brudermüller, Nick Hawes, and Bruno Lacerda. Ro-to-go! Robust reactive control with signal temporal logic. In IEEE International Conference on Robotics and Automation (ICRA), pages 7625–7632, 2026.
  6. [6] Frank J. Jiang, Kaj Munhoz Arfvidsson, Chong He, Mo Chen, and Karl H. Johansson. Guaranteed completion of complex tasks via temporal logic trees and Hamilton-Jacobi reachability. In IEEE Conference on Decision and Control (CDC), 2024. doi: 10.1109/CDC56724.2024.10886233.
  7. [7] Vince Kurtz and Hai Lin. Mixed-integer programming for signal temporal logic with fewer binary variables, 2022. arXiv:2204.06367.
  8. [8] Alexis Linard, Anna Gautier, Daniel Duberg, and Jana Tumova. Robust MITL planning under uncertain navigation times. In IEEE International Conference on Robotics and Automation (ICRA), pages 2498–2504, 2024.
  9. [9] Oded Maler and Dejan Ničković. Monitoring temporal properties of continuous signals. In Formal Techniques, Modelling and Analysis of Timed and Fault-Tolerant Systems (FORMATS/FTRTFT), volume 3253 of Lecture Notes in Computer Science, pages 152–166, 2004.
  10. [10] David Q. Mayne, María M. Seron, and Saša V. Raković. Robust model predictive control of constrained linear systems with bounded disturbances. Automatica, 41(2):219–224, 2005.
  11. [11] David Q. Mayne, Saša V. Raković, Rolf Findeisen, and Frank Allgöwer. Robust output feedback model predictive control of constrained linear systems. Automatica, 42:1217–1222, 2006. doi: 10.1016/j.automatica.2006.03.005.
  12. [12] Vasumathi Raman, Alexandre Donzé, Mehdi Maasoumy, Richard M. Murray, Alberto Sangiovanni-Vincentelli, and Sanjit A. Seshia. Model predictive control with signal temporal logic specifications. In IEEE Conference on Decision and Control (CDC), pages 81–87, 2014.
  13. [13] Gunther Reissig, Alexander Weber, and Matthias Rungger. Feedback refinement relations for the synthesis of symbolic controllers. IEEE Transactions on Automatic Control, 62(4):1781–1796, 2017. doi: 10.1109/TAC.2016.2593947.
  14. [14] Alëna Rodionova, Lars Lindemann, Manfred Morari, and George J. Pappas. Combined left and right temporal robustness for control under STL specifications. IEEE Control Systems Letters, 7:619–624, 2023a. doi: 10.1109/LCSYS.2022.3209928.
  15. [15] Alëna Rodionova, Lars Lindemann, Manfred Morari, and George J. Pappas. Temporal robustness of temporal logic specifications: Analysis and control design. ACM Transactions on Embedded Computing Systems, 22(1):1–44, 2023b. doi: 10.1145/3550072.
  16. [16] Sadra Sadraddini and Calin Belta. Robust temporal logic model predictive control. In Annual Allerton Conference on Communication, Control, and Computing, pages 772–779, 2015.
  17. [17] Oliver Schön and Lars Lindemann. Spatiotemporal robustness of temporal logic tasks using multi-objective reasoning. In Computer Aided Verification (CAV), volume 16684 of Lecture Notes in Computer Science, pages 432–456, 2026. doi: 10.1007/978-3-032-32537-2_21.
  18. [18] Oswin So, William Sharpless, Sylvia Herbert, and Chuchu Fan. Value functions for temporal logic: Optimal policies and safety filters, 2026. arXiv:2605.01051.
  19. [19] Emanuel Todorov, Tom Erez, and Yuval Tassa. MuJoCo: A physics engine for model-based control. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 5026–5033, 2012. doi: 10.1109/IROS.2012.6386109.
  20. [20] Cristian-Ioan Vasile, Derya Aksaray, and Calin Belta. Time window temporal logic. Theoretical Computer Science, 691:27–54, 2017. doi: 10.1016/j.tcs.2017.07.012.
  21. [21] Eleftherios E. Vlahakis, Lars Lindemann, and Dimos V. Dimarogonas. Distributed sequential receding horizon control of multi-agent systems under recurring signal temporal logic. In European Control Conference (ECC), pages 305–310, 2024.
  22. [22] Xinyi Yu, Chuwei Wang, Dingran Yuan, Shaoyuan Li, and Xiang Yin. Model predictive control for signal temporal logic specifications with time interval decomposition. In IEEE Conference on Decision and Control (CDC), pages 7849–7855, 2023a.
  23. [23] Xinyi Yu, Xiang Yin, and Lars Lindemann. Efficient STL control synthesis under asynchronous temporal robustness constraints. In IEEE Conference on Decision and Control (CDC), 2023b.
  24. [24] Xinyi Yu, Weijie Dong, Shaoyuan Li, and Xiang Yin. Model predictive monitoring of dynamical systems for signal temporal logic specifications. Automatica, 160:111445, 2024. doi: 10.1016/j.automatica.2023.111445.
  25. [25] Kevin Zakka, Yuval Tassa, and MuJoCo Menagerie Contributors. MuJoCo Menagerie: A collection of high-quality simulation models for MuJoCo. Software, 2022.