Skip to content

Menu

WorksComputer Science

Feedback Completion Certificates for Repeated Dwell Tasks with Time Windows

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_d9396nve. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

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.

Figure 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 I2I_2 and I1I_1. The visit ending at 7 serves I0I_0. The bottom trace records the first served index.

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.

Figure 2. A three-sample dwell must start in each window [3−d,20−d][3-d,20-d], d∈{0,…,8}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=6k=6 ends at t=16t=16 with c=1c=1: offset zero is still owed. The model-certified continuation serves it at its deadline, k=22k=22.

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

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.

Window Histories and Feedback Completion

What a completed visit establishes

A task type gg specifies one Boolean signal βg\beta_g and a dwell length ℓg≥0\ell_g \ge0. Its known integer intervals Igi=[agi,bgi]I_{gi} = [a_{gi}, b_{gi}] restrict the start of a visit. Together with sampled safety requirements StS_t, the objective is

xt∈St (t active),∀g,i ∃s∈Igi: ⋀j=0ℓg[βg(s+j)=1].(1)x_t \in S_t\ (\text{t active}),\quad\forall g,i\ \exists s\in I_{gi}:\ \bigwedge_{j=0}^{\ell_g}[\beta_g(s+j)=1]. \tag*{(1)}

The last admissible completion sample is bgi+ℓgb_{gi}+\ell_g. Several obligations may use the same witness ss. A fixed clock offset d∈[0,D]d\in[0,D] gives the equal-width family [a−d,b−d][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 MM 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>ba>b makes the task infeasible. At time kk a window is served if a witness in it has finished by kk. An unserved window has expired when k≥bi+ℓk\ge b_i+\ell. Write J(s)={i:s∈Ii}J(s)=\{i:s\in I_i\} and ek=min⁡({i:bi+ℓ≤k}∪{M})e_k=\min(\{i:b_i+\ell\le 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,…,M−1}\{c,\ldots,M-1\}. The pair (c,r)(c,r), with rr the trailing run of ones capped at ℓ+1\ell+1, determines acceptance of every future bit continuation at the same time. For GG types the full representation has at most 1+∏g(Mg+1)(ℓg+2)1+\prod_g(M_g+1)(\ell_g+2) states, including absorbing failure.

Proof sketch: A witness in a retained subinterval serves every raw interval containing it, and its deadline is no later. If a served interval ii has a witness starting at ss but j>ij>i remains unserved, then aj<ai≤sa_j<a_i\le s forces s>bjs>b_j. By the end of that dwell the unserved interval jj has already expired. Thus a live served set is a suffix. Its boundary records every completed obligation; the final rr 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 kk, the formal valid domain is Qk={0≤c≤ek, 0≤r≤ℓ+1}Q_k=\{0\le c\le e_k,\ 0\le r\le\ell+1\} in integers. To process sample k+1k+1, let r′=min⁡(r+1,ℓ+1)r'=\min(r+1,\ell+1) for bit one and r′=0r'=0 for bit zero. If r′=ℓ+1r'=\ell+1 and J(k+1−ℓ)J(k+1-\ell) is nonempty, set c′=min⁡(c,k+1−ℓ)c'=\min(c,k+1-\ell); otherwise set c′=cc'=c. Return failure if c′>ek+1c'>e_{k+1}. This order admits a visit ending on its deadline. Each further one after saturation yields another witness. The joint update Γk+1\Gamma_{k+1} acts coordinatewise; any failure is absorbing. At L=−1L=-1 initialize (Mg,0)(M_g,0) for every type, for $L\le0 covering all retained releases and required past safety checks. Read the recorded samples L,…,−1L,\ldots,-1 and the initial sample 0. Take H≥0H\ge0 covering the original deadlines and safety horizon.

Feedback game on a verified library

Let x+∈F(x,u)x^+\in F(x,u). At kk, RA⁡k(ρ)\operatorname{RA}_k(\rho) certifies the state and active safety constraints throughout region PρP_\rho. Each edge ee from ρ\rho supplies an admissible control law and a nonempty branch list (ρb,σb)(\rho_b,\sigma_b), where σb\sigma_b is a lower label. For every allowed successor under that law, verification must establish at least one branch with both x+∈Pρbx^+\in P_{\rho_b} and σb≤β(x+)\sigma_b\le\beta(x^+). The post-mission set Kpost\mathcal{K}_{\mathrm{post}} admits a verified invariant controller. For x+=f(x,u,w)x^+=f(x,u,w), take F(x,u)={f(x,u,w):w∈W(x)}F(x,u)=\{f(x,u,w):w\in\mathcal{W}(x)\}. We seek one actual policy that satisfies (1) for every allowed disturbance sequence. Let q=((cg,rg))g=1Gq=((c_g,r_g))_{g=1}^G be a live joint state. At HH, Win⁡H(ρ,q)=1\operatorname{Win}_H(\rho,q)=1 exactly when RA⁡H(ρ)\operatorname{RA}_H(\rho), ρ∈Kpost\rho\in\mathcal{K}_{\mathrm{post}} and cg=0c_g=0 for every gg. Failure or an invalid source loses at every time. For k<Hk<H, put qb+=Γk+1(q,σb)q_b^+=\Gamma_{k+1}(q,\sigma_b). Then

Win⁡k(ρ,q)=RA⁡k(ρ)∧⋁e∈A(ρ)⋀b∈Succ⁡(e)Win⁡k+1(ρb,qb+).(2)\operatorname{Win}_k(\rho,q)=\operatorname{RA}_k(\rho)\wedge\bigvee_{e\in A(\rho)}\bigwedge_{b\in\operatorname{Succ}(e)}\operatorname{Win}_{k+1}(\rho_b,q_b^+). \tag*{(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 to a scalar recursion.

For a single type write Tk,ρ(r)T_{k,\rho}(r) for the largest winning cc at run rr, or −1-1 for none. At HH store 0 in admissible post regions and −1-1 elsewhere. For a branch, compute the next run rb′r'_b from its label and put tb=Tk+1,ρb(rb′)t_b=T_{k+1,\rho_b}(r'_b), J=J(k+1−ℓ)J=J(k+1-\ell). Then

pb={−1,tb=−1,ek,rb′=ℓ+1, J≠∅, min⁡J≤tb,min⁡(ek,tb),otherwise.(3)p_b= \begin{cases} -1, & t_b=-1,\\ e_k, & r'_b=\ell+1,\ J\ne\varnothing,\ \min J\le t_b,\\ \min(e_k,t_b), & \text{otherwise}. \end{cases} \tag*{(3)}
Tk,ρ(r)=max⁡e∈A(ρ)min⁡b∈Succ⁡(e)pb.(4)T_{k,\rho}(r)=\max_{e\in A(\rho)}\min_{b\in\operatorname{Succ}(e)}p_b. \tag*{(4)}

An inadmissible source or empty action set gives −1-1.

Theorem 2 (Single-type threshold). For every formal state in QkQ_k, the explicit library game wins exactly when c≤Tk,ρ(r)c\le T_{k,\rho}(r). An edge attaining a nonnegative maximum in (4) certifies all such cc. With window indices and admissibility precomputed, the recursion takes O((ℓ+2)((H+1)∣R∣+H∑e∣Succ⁡(e)∣))O((\ell+2)((H+1)|\mathcal{R}|+H\sum_e|\operatorname{Succ}(e)|)) arithmetic operations and O((H+1)∣R∣(ℓ+2))O((H+1)|\mathcal{R}|(\ell+2)) storage for the threshold and policy entries.

Proof sketch: For a nonempty J(s)=[u,v]J(s)=[u,v] at s=k+1−ℓs=k+1-\ell, integer endpoints give v+1=ekv+1=e_k: both count the intervals with bi+ℓ>kb_i+\ell>k. All valid sources satisfy c≤ekc\le e_k, so an eligible new visit moves the boundary to min⁡(c,u)\min(c,u). If u≤tbu\le t_b, every source boundary passes; otherwise only c≤tbc\le t_b. 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][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.

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.DOI
  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.arxiv.org/abs/2204.06079
  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.DOI
  4. [4]Roland Ilyes, Lara Brudermeü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.DOI
  5. [5]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.DOI
  7. [7]Vince Kurtz and Hai Lin. Mixed-integer programming for signal temporal logic with fewer binary variables, 2022. arXiv:2204.06367.arxiv.org/abs/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.arxiv.org/abs/2403.03727
  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.DOI
  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.DOI
  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.DOI
  12. [12]Vasumathi Raman, Alexandre Donzé, Mehdi Maassoumy, 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.DOI
  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, 2023. doi: 10.1109/LCSYS.2022.3209928.DOI
  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, 2023. doi: 10.1145/3550072.DOI
  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.DOI
  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-25337-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.arxiv.org/abs/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.DOI
  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.DOI
  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.arxiv.org/abs/2311.06890
  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, 2023.arxiv.org/abs/2211.08031
  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), 2023.arxiv.org/abs/2307.12855
  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.DOI
  25. [25]Kevin Zakka, Yuval Tassa, and MuJoCo Menagerie Contributors. MuJoCo Menagerie: A collection of high-quality simulation models for MuJoCo. Software, 2022.

AI tools statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Table 1

1 / 14

Pick where to look, or just type