Affiliation:
1. Instituto de Computação , Universidade Federal Fluminense, Gal. Milton Tavares Av., Niterói, 24210-360, RJ, Brazil
2. Université de Lille, CNRS , Inria, Centrale Lille, UMR 9189 CRIStAL, Lille, F-59000, France
Abstract
Abstract
Guarded Kleene Algebra with Tests (GKAT) was presented as a fragment of KAT to abstract imperative programming languages, where only if-then-else and while-do statements are allowed in the language. The loss of expressiveness is, nevertheless, compensated by a clear advantage over KAT: it allows almost linear decidability of program equivalence. In this work, we give the first step to optimizing the complexity of dynamic logic equivalence, which is EXPTIME-complete in propositional dynamic logic (PDL). First, and based on strict deterministic PDL, we present guarded propositional dynamic logic (GPDL), a fragment of PDL where programs correspond to GKAT terms. It comes embedded, as expected, with a semantics over relational models and a sound axiomatisation. Then, we present a Natural Deduction system for GPDL, proving its soundness and completeness, concerning the axiomatisation. Based on Smolka et al. (2019, Proceedings of the ACM Programming Language 4), we obtain the main result of this work—the equivalence of GPDL programs can be established in almost linear time.
Publisher
Oxford University Press (OUP)
Reference15 articles.
1. Guarded Kleene algebra with tests: verification of uninterpreted programs in nearly linear time;Smolka;Proceedings of the ACM Programming Language 4 (POPL),2019
2. Propositional dynamic logic of regular programs;Fischer;Journal of Computer and System Sciences,1979
3. Dynamic Logic
4. The propositional dynamic logic of deterministic, well-structured programs;Halpern;Theoretical Computer Science,1983
5. Kleene algebra with tests;Kozen;ACM Transactions on Programming Languages and Systems,1997