Dmitry Chistikov, Jérôme Leroux, Henry Sinclair-Banks, Nicolas Waldburger
{"title":"具有二义性检验的单计数器自动机的不变式","authors":"Dmitry Chistikov, Jérôme Leroux, Henry Sinclair-Banks, Nicolas Waldburger","doi":"arxiv-2408.11908","DOIUrl":null,"url":null,"abstract":"We study the reachability problem for one-counter automata in which\ntransitions can carry disequality tests. A disequality test is a guard that\nprohibits a specified counter value. This reachability problem has been known\nto be NP-hard and in PSPACE, and characterising its computational complexity\nhas been left as a challenging open question by Almagor, Cohen, P\\'erez,\nShirmohammadi, and Worrell (2020). We reduce the complexity gap, placing the\nproblem into the second level of the polynomial hierarchy, namely into the\nclass $\\mathsf{coNP}^{\\mathsf{NP}}$. In the presence of both equality and\ndisequality tests, our upper bound is at the third level,\n$\\mathsf{P}^{\\mathsf{NP}^{\\mathsf{NP}}}$. To prove this result, we show that non-reachability can be witnessed by a\npair of invariants (forward and backward). These invariants are almost\ninductive. They aim to over-approximate only a \"core\" of the reachability set\ninstead of the entire set. The invariants are also leaky: it is possible to\nescape the set. We complement this with separate checks as the leaks can only\noccur in a controlled way.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"70 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Invariants for One-Counter Automata with Disequality Tests\",\"authors\":\"Dmitry Chistikov, Jérôme Leroux, Henry Sinclair-Banks, Nicolas Waldburger\",\"doi\":\"arxiv-2408.11908\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"We study the reachability problem for one-counter automata in which\\ntransitions can carry disequality tests. A disequality test is a guard that\\nprohibits a specified counter value. This reachability problem has been known\\nto be NP-hard and in PSPACE, and characterising its computational complexity\\nhas been left as a challenging open question by Almagor, Cohen, P\\\\'erez,\\nShirmohammadi, and Worrell (2020). We reduce the complexity gap, placing the\\nproblem into the second level of the polynomial hierarchy, namely into the\\nclass $\\\\mathsf{coNP}^{\\\\mathsf{NP}}$. In the presence of both equality and\\ndisequality tests, our upper bound is at the third level,\\n$\\\\mathsf{P}^{\\\\mathsf{NP}^{\\\\mathsf{NP}}}$. To prove this result, we show that non-reachability can be witnessed by a\\npair of invariants (forward and backward). These invariants are almost\\ninductive. They aim to over-approximate only a \\\"core\\\" of the reachability set\\ninstead of the entire set. The invariants are also leaky: it is possible to\\nescape the set. We complement this with separate checks as the leaks can only\\noccur in a controlled way.\",\"PeriodicalId\":501208,\"journal\":{\"name\":\"arXiv - CS - Logic in Computer Science\",\"volume\":\"70 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-08-21\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Logic in Computer Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2408.11908\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Logic in Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.11908","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Invariants for One-Counter Automata with Disequality Tests
We study the reachability problem for one-counter automata in which
transitions can carry disequality tests. A disequality test is a guard that
prohibits a specified counter value. This reachability problem has been known
to be NP-hard and in PSPACE, and characterising its computational complexity
has been left as a challenging open question by Almagor, Cohen, P\'erez,
Shirmohammadi, and Worrell (2020). We reduce the complexity gap, placing the
problem into the second level of the polynomial hierarchy, namely into the
class $\mathsf{coNP}^{\mathsf{NP}}$. In the presence of both equality and
disequality tests, our upper bound is at the third level,
$\mathsf{P}^{\mathsf{NP}^{\mathsf{NP}}}$. To prove this result, we show that non-reachability can be witnessed by a
pair of invariants (forward and backward). These invariants are almost
inductive. They aim to over-approximate only a "core" of the reachability set
instead of the entire set. The invariants are also leaky: it is possible to
escape the set. We complement this with separate checks as the leaks can only
occur in a controlled way.