We show that the emptiness (unsatisfiability) problem is undecidable and $\mathrmΠ^{0}_{1}$-complete for deterministic propositional while programs with (graph) loop. To this end, we introduce a hypothesis elimination procedure in propositional while programs using loops. Using this, we give reductions from the complement of the periodic domino problem, where the numbers of actions and primitive tests can be reduced by two and one, respectively. Moreover, as a corollary via hypothesis eliminations, we also show that the equational theory is $\mathrmΠ^{0}_{1}$-complete for the positive calculus of relations with transitive closure and difference. Additionally, we show that the emptiness problem (on the class of all relational models) is \textsc{PSpace}-complete for the existential calculus of relations with transitive closure.
翻译:暂无翻译