{"title":"A dynamic logic with branching modalities","authors":"Yuanrui Zhang , Zhiming Liu","doi":"10.1016/j.jlamp.2023.100921","DOIUrl":null,"url":null,"abstract":"<div><p>We propose a dynamic logic <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> called “dynamic logic with branching modalities”, which extends the temporal dynamic logic DLT with a “branching modality” for specifying safety properties of regular programs with tests (simply “regular programs”). Compared to the trace modality of DLT for <em>while</em> programs that do not abort, branching modality of <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> does not exclude aborting traces introduced by regular programs, thus is able to capture a type of safety properties which are important for systems with failure behaviors. Moreover, it is congruent to the compositionality of regular programs so that the proof system naturally extended from that of DLT is proved to be complete for <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span>. In this paper, we build the theory of <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> on both propositional and first-ordered levels, defining two logics: propositional <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> (<span><math><msub><mrow><mi>PDL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span>) and first-ordered <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> (<span><math><msub><mrow><mi>FODL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span>). <span><math><msub><mrow><mi>PDL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> forms the theoretical basis of <span><math><msub><mrow><mi>DL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> while <span><math><msub><mrow><mi>FODL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> is useful for practical verification. We propose the proof systems for <span><math><msub><mrow><mi>PDL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> and <span><math><msub><mrow><mi>FODL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span>, and analyze their decidability, soundness and (relative) completeness in a formal way, through comparing their expressiveness and deduction capabilities with propositional dynamic logic (PDL) and first-order dynamic logic (FODL) respectively. We show that <span><math><msub><mrow><mi>FODL</mi></mrow><mrow><mi>b</mi></mrow></msub></math></span> is actually an extension of DLT, and illustrate the motivations of using the branching modality through an example.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"136 ","pages":"Article 100921"},"PeriodicalIF":0.7000,"publicationDate":"2023-10-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Logical and Algebraic Methods in Programming","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2352220823000755","RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
Abstract
We propose a dynamic logic called “dynamic logic with branching modalities”, which extends the temporal dynamic logic DLT with a “branching modality” for specifying safety properties of regular programs with tests (simply “regular programs”). Compared to the trace modality of DLT for while programs that do not abort, branching modality of does not exclude aborting traces introduced by regular programs, thus is able to capture a type of safety properties which are important for systems with failure behaviors. Moreover, it is congruent to the compositionality of regular programs so that the proof system naturally extended from that of DLT is proved to be complete for . In this paper, we build the theory of on both propositional and first-ordered levels, defining two logics: propositional () and first-ordered (). forms the theoretical basis of while is useful for practical verification. We propose the proof systems for and , and analyze their decidability, soundness and (relative) completeness in a formal way, through comparing their expressiveness and deduction capabilities with propositional dynamic logic (PDL) and first-order dynamic logic (FODL) respectively. We show that is actually an extension of DLT, and illustrate the motivations of using the branching modality through an example.
期刊介绍:
The Journal of Logical and Algebraic Methods in Programming is an international journal whose aim is to publish high quality, original research papers, survey and review articles, tutorial expositions, and historical studies in the areas of logical and algebraic methods and techniques for guaranteeing correctness and performability of programs and in general of computing systems. All aspects will be covered, especially theory and foundations, implementation issues, and applications involving novel ideas.