Well-nested witnesses #
A pair (s, s') of the set WR of [AGKR20] is unrolled into a
well-nested run of the control from s to s' (Algorithm 5 of Appendix C). The search
MPDA.wnWitness k tries the closure rules of WellNestedReach with fuel k: the identity pair, a
nop transition followed by a pair, and a push, a pair, the matching pop and a pair. Each rule
recurses with one unit of fuel less, so the search always terminates. A found sequence is a
well-nested run, and the search succeeds on every pair of the k-th iterate of the fixed point
that computes WR (MPDA.wellNestedStep). With the fuel used for WR (MPDA.wrWitness), it
therefore succeeds exactly on the pairs of WR.
Algorithm 5 as printed recurses on pairs chosen without such a measure: its last case may choose the pair it was called on, so it need not terminate. The fuel is the repair.
The search enumerates letters, stack symbols and control states, so these types are FinEnum.
Main definitions #
MPDA.wnWitness: the search for a well-nested run with fuelk.MPDA.wrWitness: the search with the fuel ofWR.
Main results #
MPDA.wnWitness_spec: a found sequence is well-nested and runs the control fromstos'.MPDA.isSome_wrWitness: the search succeeds on every pair ofWR.
References #
- [S. Akshay, P. Gastin, S. Krishna, S. Roychowdhury, Revisiting Underapproximate Reachability for Multipushdown Systems] [AGKR20]
The search for a well-nested run of the control from s to s', with fuel k: the empty
run, a nop transition followed by a run, or a push, a run, the matching pop and a run.
The search for a well-nested run of the control from s to s', with the fuel that computes
WR.
Soundness of the search: a found sequence is well-nested and runs the control from s to
s'.
Completeness of the search: it succeeds on every pair of the k-th iterate of the fixed
point that computes WR.
The search with the fuel of WR succeeds on every pair of WR.
A pair has a found well-nested run exactly when it is in WR.