Institute of Computer Science, Pod Vodárenskou ví 271/2 11email: [email protected]
https://www.cs.cas.cz/staff/lin/en
On Graded Concurrent PDL
Abstract
Propositional Dynamic Logic, , is a modal logic designed to formalize the reasoning about programs. By extending accessibility between states to states and state sets, concurrent propositional dynamic logic , is introduced to include concurrent programs due to Peleg and Goldblatt. We study a many-valued generalization of where the satisfiability and the reachability relation between states and state sets are graded over a finite Łukasiewicz chain. Finitely-valued dynamic logic has been shown to be useful in formalizing reasoning about program behaviors under uncertainty. We obtain completeness results for all finitely valued .
Keywords:
Propositional dynamic logic Many valued modal logic Modal logic.1 Introduction
Propositional dynamic logic, , has been introduced as a logic of imperative computer programs [5], but it has found many applications in formalizing reasoning about actions in general. Many-valued versions of aim at formalizing reasoning about action in contexts where imprecise concepts are involved (e.g., [12]). For example, goals may be specified using vague notions, or weights may be attached to actions depending on the amount of resources their execution consumes. The concurrent propositional dynamic logic [6, 10] extends with an operator representing the parallel execution of two actions: means that a successful parallel execution of action and is guaranteed to make true.
In this paper, we outline a version with many values of . Our logic is based on propositional dynamic models in which formulas and accessibility relations are evaluated in finite Łukasiewicz chains; therefore, we extend the framework of [12] with the parallel execution operator. Our main technical result is a soundness and completeness theorem for logic.
2 Concurrent PDL over Łn
Let be a countable set of program variables which are used to denote the atomic programs. The intrinsic meaning of atomic programs is not examined further. Instead, we concentrate on the complex programs generated by operations on the given ones. Let P be a countable set of propositional variables. Let Łn be a finite Łukasiewicz chain. The language for concurrent propositional dynamic logic can be separated into two categories-the set of programs and formulas defined mutually recursively in Barckus-Naur form as follows:
-
•
-
•
where , and Łn. From [7], we know that two modal operators and are not interdefinable via in concurrent PDL.
The intended meanings for the operations on the programs are as follows.
-
•
execute then ,
-
•
execute or non-deterministically,
-
•
execute and concurrently,
-
•
execute for some finite number of times,
-
•
test : if is true, then continue; otherwise fail.
In the context of concurrency, the results of execution of an initial state will be a set of states rather than a single state. Therefore, the accessibility relation on a set in Kripke semantics of propositional dynamic logic should be generalized to a set of pair , with and . We then call the graded accessibility relation as a reachable -relation. \theorem@notefont
Definition 1
A reachable -relation on a set is a function from to .
The operations on reachable -relation are defined as another reachable -relations in the following paragraph. \theorem@notefont
Definition 2
Let be two reachable -relations on a set , and .
-
•
,
-
•
,
-
•
,
-
•
, , and ,
-
•
.
Lemma 1
For any reachable -relations on a set , we have the following properties.
-
1.
implies
-
2.
-
3.
A -valuation is any non-modal homomorphism from to , i.e. such that and where denote the Boolean operations and -operations respectively. \theorem@notefont
Definition 3
Let be a set of formulas and be a formula in . We say that is a -semantics consequence of if
for any -valuation . In this case, we write .
We then introduce the world semantics for concurrent PDL.
Definition 4
A -frame is a pair , where S is a nonempty set and . A -model is where is a -frame and . Given a -model , the -interpretation is a function such that for any , and :
-
•
,
-
•
,
-
•
,
-
•
where denote the boolean operations and -operations respectively,
-
•
,
-
•
Denote as a -reachable relation -
•
,
-
•
,
-
•
,
-
•
,
-
•
Clearly, fixed an , a -interpretation is a -valuation. A formula is called valid in a -model if for all .
3 Finite MV-chains
We briefly introduce the definitions and basic properties of finite MV-chains in this section. From more detailed introduction, we refer to the handbooks[4]. \theorem@notefont
Definition 5
A finite MV-chain is an algebraic structure
with such that :
-
•
is a finite bounded lattice,
-
•
is a finite commutative monoid,
-
•
Define the total ordering as iff iff ,
-
•
is residuated with , i.e. for all , iff ,
-
•
for all .
-
•
for all .
-
•
Define satisfying for all .
The above definition is an abstract formulation. According to Corollary 3.5.4 in [3], any finite MV-chain is isomorphic to the following more concrete finite MV-chains for any .
where , , and for any . Note that and . The truncated addition is the Łukasiewicz t-norm. In this article, we will use as our definition of finite MV-chain.
4 Proof System
For each , the axiomatic system is a Hilbert-style proof system consists the following axiom schemata and rule :
-
•
,
-
•
,
-
•
,
-
•
,
-
•
where denote the boolean operations and -operations respectively,
-
•
(MP): from and infer .
We give the definition of a formula being derivable in from a set of formulas . \theorem@notefont
Definition 6
A formula in is derivable from a set of formulas in if there exists a finite sequence of formulas such that is and each for is either an instance of an axiom schemata, a member of , or follows from and using MP for .
We use to denote that is derivable in from a set of formulas .
A slight modification of the proof of Proposition 6.4.5 in [4] gives the following theorem. \theorem@notefont
Theorem 4.1
Let be a set of formulas and be a formula in . We have
Extend with axiom schemata and rules for modal formulas, we get another Hilbert-style proof system called . \theorem@notefont
Definition 7
For each , define to be the Hilbert-style proof system that extends with the following axiomatic schemata and rules :
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
,
-
•
.
5 Canonical Model
In this section, we introduce the canonical models and filtration technique for connecting finite models and typical models. For , consists of the set
and
such that for all ,
The canonical model in is where and \theorem@notefont
Definition 8
A set of formulas of is called Fisher-Ladner clsoed if
-
•
is closed under subformulas,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies ,
-
•
implies
The closure of a set of formulas is the smallest closed set containing as a subset. Also, we write as the closure of the set . Given any and , we define a relation with respect to a as follows :
The equivalence class of under is defined as . \theorem@notefont
Definition 9
Let be a finite closed subset of . The filtration of through is where , for , is
6 Soundness and Completeness
In this section, we demonstrate that for each , the proof system is sound and complete with respect to the filtraion models. To prove completeness, we need to show that for all and all , . To achieve this goal, we define as the smallest set of program commands that includes all atomic programs, test occurring in members of , and is closed under program operations and . Then we define as for -models. \theorem@notefont
Lemma 2
For all , , and all , we have the following identities:
-
1.
For all , , ,
-
2.
For all , .
Lemma 3
for all iff .
Proof
The if direction holds by the definition of . Suppose that , then . From Theorem 4.1, there exists a -homomorphism such that but which is a contradiction.
Lemma 4
For all and all finite closed
-
1.
,
-
2.
If , then ,
-
3.
If , then
Theorem 6.1
For all and all finite closed , if , then .
Proof
By induction on the complexity of formulas and using Lemma4.
Now, we are ready to the soundness and completeness theorem. \theorem@notefont
Theorem 6.2
For all and ,
7 Conclusion
We studied many-valued concurrent propositional dynamic logics through relational models where both statisfaction of formulas and accessibility relations are evaluated in finite MV-chains. We provides a sound and weakly complete axiomatization based on extending the framework from many-valued bimodal logics in [13] and classical concurrent PDL in [7]. We believe this research direction lays the groundwork for future investigations.
For the future research directions, let us mention two here. Firstly, the revision and extension of PDL toward modeling concurrency have been studied in various models such as -calculus [2], Petri nets [9], and operational semantics [1]. It would be interesting to study the PDL in the setting of concurrency with imprecise concepts. Secondly, in light of [11] to use the finitely weighted Kleene algebra with tests as an algebraic semantic for graded PDL, it is interesting to explore the algebraic framework of graded concurrent PDL. A first step of this goal would be expanding the concurrent Kleene algebras with tests proposed in [8].
7.0.1 Acknowledgements
This work was supported by the Czech Science Foundation grant 22-16111S for the project GRADLACT: Graded Logics of Action and Charles University research grant GAUK 101724 for the project Zkoumání základu uvažování v racionálních interakcích za nejistých podmínek.
References
- [1] Matteo Acclavio, Fabrizio Montesi, and Marco Peressotti. On propositional dynamic logic and concurrency. arXiv preprint arXiv:2403.18508, 2024.
- [2] Mario RF Benevides and L Menasché Schechter. A propositional dynamic logic for concurrent programs based on the -calculus. Electronic Notes in Theoretical Computer Science, 262:49–64, 2010.
- [3] Roberto L Cignoli, Itala M d’Ottaviano, and Daniele Mundici. Algebraic foundations of many-valued reasoning, volume 7. Springer Science & Business Media, 2013.
- [4] Petr Cintula, Petr Hájek, and Carles Noguera. Handbook of mathematical fuzzy logic (in 2 volumes), Volume 37, 38 of Studies in Logic, Mathematical Logic and Foundations, 2011.
- [5] Michael J. Fischer and Richard E. Ladner. Propositional dynamic logic of regular programs. Journal of Computer and System Sciences, 18:194–211, 1979.
- [6] Robert Goldblatt. Parallel action: Concurrent dynamic logic with independent modalities. Studia logica, 51:551–578, 1992.
- [7] Robert Goldblatt. Parallel action: Concurrent dynamic logic with independent modalities. Studia logica, 51(3):551–578, 1992.
- [8] Peter Jipsen. Concurrent kleene algebra with tests. In Relational and Algebraic Methods in Computer Science: 14th International Conference, RAMiCS 2014, Marienstatt, Germany, April 28–May 1, 2014. Proceedings 14, pages 37–48. Springer, 2014.
- [9] Bruno Lopes, Mario Benevides, and Edward Hermann Haeusler. Propositional dynamic logic for petri nets. Logic Journal of the IGPL, 22(5):721–736, 2014.
- [10] David Peleg. Concurrent dynamic logic. J. ACM, 34(2):450–479, April 1987.
- [11] Igor Sedlár. Completeness of finitely weighted kleene algebra with tests. In International Workshop on Logic, Language, Information, and Computation, pages 210–224. Springer, 2024.
- [12] Igor Sedlár. Decidability and Complexity of Some Finitely-valued Dynamic Logics. In Proceedings of the 18th International Conference on Principles of Knowledge Representation and Reasoning (KR 2021), pages 570–580, 11 2021.
- [13] Amanda Vidal, Francesc Esteva, and Lluis Godo. On finite-valued bimodal logics with an application to reasoning about preferences. In Advances in Fuzzy Logic and Technology 2017, pages 505–517. Springer, 2017.