ParTypes is a toolchain for validating and synthesising message-based programs for Message Passing Interface (MPI) programs.
The general aim is to enforce program compliance with dependent-type based protocol specifications, enforcing properties such as protocol fidelity and the absence of deadlocks. The toolchain is composed of an Eclipse plug-in, an annotated MPI library, a C annotator, and makes use of the Verifying C Compiler (VCC), the Z3 SMT solver, and the Why3 platform.
A key result is that verification of C+MPI programs is immune to the state-explosion problem, and verification times are independent of input parameters such as the number of processes, contrasting with established prix du cialis methodologies for MPI program verification, e.g., employing model checking and/or symbol execution.
The Eclipse plug-in allows for the writing of protocol specifications, verifies that protocols are well formed (with the help of Z3 for checking dependent type restrictions), and generates protocol representations in VCC and WhyML formats for program verification. The plugin also synthesises C+MPI code programs that are correct-by-construction, also annotated with VCC logic that work as a proof of their correctness.

Team: Hugo Andrés López; César Santos; Vasco T. Vasconcelos; Eduardo R. B. Marques; Francisco Martins