1. Interpreting Knowledge-based Programs (Extended Version with Proofs)
- Author
-
Knapp, Alexander, Mühlberger, Heribert, and Reus, Bernhard
- Subjects
Computer Science - Programming Languages ,Computer Science - Logic in Computer Science ,D.2.4 ,F.3.1 - Abstract
Knowledge-based programs specify multi-agent protocols with epistemic guards that abstract from how agents learn and record facts or information about other agents and the environment. Their interpretation involves a non-monotone mutual dependency between the evaluation of epistemic guards over the reachable states and the derivation of the reachable states depending on the evaluation of epistemic guards. We apply the technique of a must/cannot analysis invented for synchronous programming languages to the interpretation problem of knowledge-based programs and demonstrate that the resulting constructive interpretation is monotone and has a least fixed point. We relate our approach with existing interpretation schemes for both synchronous and asynchronous programs. Finally, we describe an implementation of the constructive interpretation and illustrate the procedure by several examples and an application to the Java memory model.
- Published
- 2023