Formalising the pi-calculus using nominal logic
arXiv:0809.3960 · doi:10.2168/LMCS-5(2:16)2009
Abstract
We formalise the pi-calculus using the nominal datatype package, based on ideas from the nominal logic by Pitts et al., and demonstrate an implementation in Isabelle/HOL. The purpose is to derive powerful induction rules for the semantics in order to conduct machine checkable proofs, closely following the intuitive arguments found in manual proofs. In this way we have covered many of the standard theorems of bisimulation equivalence and congruence, both late and early, and both strong and weak in a uniform manner. We thus provide one of the most extensive formalisations of a process calculus ever done inside a theorem prover. A significant gain in our formulation is that agents are identified up to alpha-equivalence, thereby greatly reducing the arguments about bound names. This is a normal strategy for manual proofs about the pi-calculus, but that kind of hand waving has previously been difficult to incorporate smoothly in an interactive theorem prover. We show how the nominal logic formalism and its support in Isabelle accomplishes this and thus significantly reduces the tedium of conducting completely formal proofs. This improves on previous work using weak higher order abstract syntax since we do not need extra assumptions to filter out exotic terms and can keep all arguments within a familiar first-order logic.
36 pages, 3 figures
Cited by in corpus (10)
- Psi-calculi: a framework for mobile processes with nominal data and logic
- A Concurrent Pattern Calculus
- On the Expressiveness of Intensional Communication
- Proof-relevant pi-calculus
- Locally Nameless Permutation Types
- A Beluga Formalization of the Harmony Lemma in the -Calculus
- Rule Formats for Nominal Process Calculi
- Nominal Sets in Agda -- A Fresh and Immature Mechanization
- Unique Solutions of Contractions, CCS, and their HOL Formalisation
- Proofs about Network Communication: For Humans and Machines