Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Adding Formal Verification to occam-π

View through CrossRef
This is a proposal for the formal verification of occam-π programs to be managed entirely within occam-π. The language is extended with qualifiers on types and processes (to indicate relevance for verification and/or execution) and assertions about refinement (including deadlock, livelock and determinism). The compiler abstracts a set of CSPm equations and assertions, delegates their analysis to the FDR2 model checker and reports back in terms related to the occam-π source. The rules for mapping the extended occam-π to CSPm are given. The full range of CSPm assertions is accessible, with no knowledge of CSP formalism required by the occam-π programmer. Programs are proved just by writing and compiling programs. A case-study analysing a new (and elegant) solution to the Dining Philosophers problem is presented. Deadlock-freedom for colleges with any number of philosphers is established by verifying an induction argument (the base and induction steps). Finally, following guidelines laid down by Roscoe, the careful use of model compression is demonstrated to verify directly the deadlock-freedom of an occam-π college with 102000 philosphers (in around 30 seconds). All we need is a universe large enough to contain the computer on which to run it.
Title: Adding Formal Verification to occam-π
Description:
This is a proposal for the formal verification of occam-π programs to be managed entirely within occam-π.
The language is extended with qualifiers on types and processes (to indicate relevance for verification and/or execution) and assertions about refinement (including deadlock, livelock and determinism).
The compiler abstracts a set of CSPm equations and assertions, delegates their analysis to the FDR2 model checker and reports back in terms related to the occam-π source.
The rules for mapping the extended occam-π to CSPm are given.
The full range of CSPm assertions is accessible, with no knowledge of CSP formalism required by the occam-π programmer.
Programs are proved just by writing and compiling programs.
A case-study analysing a new (and elegant) solution to the Dining Philosophers problem is presented.
Deadlock-freedom for colleges with any number of philosphers is established by verifying an induction argument (the base and induction steps).
Finally, following guidelines laid down by Roscoe, the careful use of model compression is demonstrated to verify directly the deadlock-freedom of an occam-π college with 102000 philosphers (in around 30 seconds).
All we need is a universe large enough to contain the computer on which to run it.

Related Results

Focus on slow rotators - first results from stellar occultations campaign on long-period asteroids
Focus on slow rotators - first results from stellar occultations campaign on long-period asteroids
<p><strong>Most asteroids are slow rotators  </strong>      ...
Cometary Physics Laboratory: spectrophotometric experiments
Cometary Physics Laboratory: spectrophotometric experiments
<p><strong><span dir="ltr" role="presentation">1. Introduction</span></strong&...
North Syrian Mortaria and Other Late Roman Personal and Utility Objects Bearing Inscriptions of Good Luck
North Syrian Mortaria and Other Late Roman Personal and Utility Objects Bearing Inscriptions of Good Luck
<span style="font-size: 11pt; color: black; font-family: 'Times New Roman','serif'">&Pi;&Eta;&Lambda;&Iota;&Nu;&Alpha; &Iota;&Gamma;&Delta...
Morphometry of an hexagonal pit crater in Pavonis Mons, Mars
Morphometry of an hexagonal pit crater in Pavonis Mons, Mars
&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Pit craters are peculiar depressions found in almost every terrestria...
Un manoscritto equivocato del copista santo Theophilos († 1548)
Un manoscritto equivocato del copista santo Theophilos († 1548)
<p><font size="3"><span class="A1"><span style="font-family: 'Times New Roman','serif'">&Epsilon;&Nu;&Alpha; &Lambda;&Alpha;&Nu;&...
A Touch of Space Weather - Outreach project for visually impaired students
A Touch of Space Weather - Outreach project for visually impaired students
&lt;p&gt;&lt;em&gt;&lt;span data-preserver-spaces=&quot;true&quot;&gt;'A Touch of Space Weather' is a project that brings space weather science into...
Ballistic landslides on comet 67P/Churyumov&#8211;Gerasimenko
Ballistic landslides on comet 67P/Churyumov&#8211;Gerasimenko
&lt;p&gt;&lt;strong&gt;Introduction:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;The slow ejecta (i.e., with velocity lower than escape velocity) and l...

Back to Top