[Paper Review] Dynamic Logic of Common Knowledge in a Proof Assistant
This paper presents a formal integration of dynamic logic and common knowledge logic within the Coq proof assistant, enabling fully machine-checked proofs of epistemic reasoning under change. It demonstrates the approach through a mechanized proof of the muddy children puzzle, showing that combining epistemic and dynamic modalities via a deep embedding supports rigorous, readable, and reusable verification of knowledge evolution in multi-agent systems.
Common Knowledge Logic is meant to describe situations of the real world where a group of agents is involved. These agents share knowledge and make strong statements on the knowledge of the other agents (the so called \emph{common knowledge}). But as we know, the real world changes and overall information on what is known about the world changes as well. The changes are described by dynamic logic. To describe knowledge changes, dynamic logic should be combined with logic of common knowledge. In this paper we describe experiments which we have made about the integration in a unique framework of common knowledge logic and dynamic logic in the proof assistant \Coq. This results in a set of fully checked proofs for readable statements. We describe the framework and how a proof can be
Motivation & Objective
- To integrate dynamic logic and common knowledge logic into a single formal framework for reasoning about knowledge evolution in multi-agent systems.
- To demonstrate the feasibility and benefits of using a proof assistant like Coq for mechanizing complex epistemic reasoning involving knowledge change.
- To provide a fully checked, readable, and extensible Coq implementation of epistemic and dynamic logic with common knowledge.
- To validate the approach through a formal proof of the muddy children puzzle, a classic benchmark in epistemic logic.
- To explore how proof assistants can reveal structural and logical intricacies in combined epistemic-dynamic systems.
Proposed method
- A deep embedding of dynamic logic of common knowledge (DLCK) in Coq, using higher-order logic to represent modalities and logical constructs precisely.
- Adaptation of an existing Coq library for epistemic logic (system $\mathcal{T}^C_G$) to include dynamic modalities and event-based updates.
- Use of a core axiom (KT1) to model the commutativity between epistemic and dynamic modalities, ensuring consistency in knowledge updates.
- Formalization of the muddy children puzzle as a sequence of epistemic and dynamic transitions, with each step verified in Coq.
- Construction of a proof script of nearly 1100 lines, where each lemma corresponds directly to a step in the hand-proven argument for maximal readability.
- Design of a modular system where new axioms or modalities can be added without breaking existing proofs, enhancing reusability.
Experimental results
Research questions
- RQ1How can dynamic logic and common knowledge logic be formally combined in a way that supports machine-checked reasoning about knowledge evolution?
- RQ2What are the practical challenges in mechanizing epistemic reasoning with dynamic updates using a proof assistant like Coq?
- RQ3To what extent does a deep embedding in Coq improve the clarity, correctness, and extensibility of epistemic-dynamic proofs compared to informal or shallow formalizations?
- RQ4Can the muddy children puzzle be fully mechanized and verified in Coq using a combined dynamic logic of common knowledge framework?
- RQ5What design principles are necessary to ensure that mechanized proofs remain human-readable while being machine-checkable?
Key findings
- The integration of dynamic logic and common knowledge logic in Coq results in a fully machine-checked proof of the muddy children puzzle, with 1100 lines of Coq code ensuring correctness at every step.
- The use of a deep embedding allows for precise, readable, and modular representation of logical statements and proofs, closely mirroring hand-written derivations.
- The core axiom (KT1) governing the interaction between epistemic and dynamic modalities is effectively implemented and reused across proof steps, supporting compositional reasoning.
- The formal system supports incremental development: new axioms or modalities can be added without modifying existing proofs, enhancing maintainability and reusability.
- The mechanized proof reveals subtle dependencies and structural properties in epistemic reasoning under change that are often overlooked in informal presentations.
- The approach demonstrates that proof assistants like Coq are viable and effective tools for formalizing complex epistemic-dynamic reasoning, even in non-trivial scenarios like the muddy children puzzle.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.