Fine-Grained Complexity of Safety Verification
-
Published:2020-07-14
Issue:7
Volume:64
Page:1419-1444
-
ISSN:0168-7433
-
Container-title:Journal of Automated Reasoning
-
language:en
-
Short-container-title:J Autom Reasoning
Author:
Chini Peter,Meyer Roland,Saivasan Prakash
Abstract
AbstractWe study the fine-grained complexity of Leader Contributor Reachability ($${\textsf {LCR}} $$
LCR
) and Bounded-Stage Reachability ($${\textsf {BSR}} $$
BSR
), two variants of the safety verification problem for shared memory concurrent programs. For both problems, the memory is a single variable over a finite data domain. Our contributions are new verification algorithms and lower bounds. The latter are based on the Exponential Time Hypothesis ($${\textsf {ETH}} $$
ETH
), the problem $${\textsf {Set~Cover}} $$
Set
Cover
, and cross-compositions. $${\textsf {LCR}} $$
LCR
is the question whether a designated leader thread can reach an unsafe state when interacting with a certain number of equal contributor threads. We suggest two parameterizations: (1) By the size of the data domain $${\texttt {D}}$$
D
and the size of the leader $${\texttt {L}}$$
L
, and (2) by the size of the contributors $${\texttt {C}}$$
C
. We present algorithms for both cases. The key techniques are compact witnesses and dynamic programming. The algorithms run in $${\mathcal {O}}^*(({\texttt {L}}\cdot ({\texttt {D}}+1))^{{\texttt {L}}\cdot {\texttt {D}}} \cdot {\texttt {D}}^{{\texttt {D}}})$$
O
∗
(
(
L
·
(
D
+
1
)
)
L
·
D
·
D
D
)
and $${\mathcal {O}}^*(2^{{\texttt {C}}})$$
O
∗
(
2
C
)
time, showing that both parameterizations are fixed-parameter tractable. We complement the upper bounds by (matching) lower bounds based on $${\textsf {ETH}} $$
ETH
and $${\textsf {Set~Cover}} $$
Set
Cover
. Moreover, we prove the absence of polynomial kernels. For $${\textsf {BSR}} $$
BSR
, we consider programs involving $${\texttt {t}}$$
t
different threads. We restrict the analysis to computations where the write permission changes $${\texttt {s}}$$
s
times between the threads. $${\textsf {BSR}} $$
BSR
asks whether a given configuration is reachable via such an $${\texttt {s}}$$
s
-stage computation. When parameterized by $${\texttt {P}}$$
P
, the maximum size of a thread, and $${\texttt {t}}$$
t
, the interesting observation is that the problem has a large number of difficult instances. Formally, we show that there is no polynomial kernel, no compression algorithm that reduces the size of the data domain $${\texttt {D}}$$
D
or the number of stages $${\texttt {s}}$$
s
to a polynomial dependence on $${\texttt {P}}$$
P
and $${\texttt {t}}$$
t
. This indicates that symbolic methods may be harder to find for this problem.
Funder
Technische Universität Braunschweig
Publisher
Springer Science and Business Media LLC
Subject
Artificial Intelligence,Computational Theory and Mathematics,Software
Reference42 articles.
1. Atig, M.F., Bouajjani, A., Kumar, K.N., Saivasan, P.: On bounded reachability analysis of shared memory systems. In: FSTTCS, LIPIcs, vol. 29, pp. 611–623. Schloss Dagstuhl (2014) 2. Atig, M.F., Bouajjani, A., Qadeer, S.: Context-bounded analysis for concurrent programs with dynamic creation of threads. In: TACAS, LNCS, vol. 5505, pp. 107–123. Springer, Berlin (2009) 3. Atig, M.F., Bouajjani, A., Touili, T.: On the reachability analysis of acyclic networks of pushdown systems. In: CONCUR, LNCS, vol. 5201, pp. 356–371. Springer, Berlin (2008) 4. Björklund, A., Kaski, P., Kowalik, L.: Constrained multilinear detection and generalized graph motifs. Algorithmica 74(2), 947–967 (2016) 5. Bodlaender, H.L., Downey, R.G., Fellows, M.R., Hermelin, D.: On problems without polynomial kernels. JCSS 75(8), 423–434 (2009)
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
|
|