src/HOL/UNITY/README.html
author ballarin
Wed, 19 Jul 2006 19:25:58 +0200
changeset 20168 ed7bced29e1b
parent 15582 7219facb3fd0
child 51404 90a598019aeb
permissions -rw-r--r--
Reimplemented algebra method; now controlled by attribute.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15283
f21466450330 DOCTYPE declaration added
webertj
parents: 11193
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
f21466450330 DOCTYPE declaration added
webertj
parents: 11193
diff changeset
     2
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     3
<!-- $Id$ -->
15582
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
     4
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
     5
<HTML>
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
     6
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
     7
<HEAD>
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
     8
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
     9
  <TITLE>HOL/UNITY/README</TITLE>
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
    10
</HEAD>
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
    11
7219facb3fd0 HTML 4.01 Transitional conformity
webertj
parents: 15283
diff changeset
    12
<BODY>
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    13
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    14
<H2>UNITY--Chandy and Misra's UNITY formalism</H2>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    15
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    16
<P>The book <EM>Parallel Program Design: A Foundation</EM> by Chandy and Misra
5679
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    17
(Addison-Wesley, 1988) presents the UNITY formalism.  UNITY consists of an
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    18
abstract programming language of guarded assignments and a calculus for
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    19
reasoning about such programs.  Misra's 1994 paper "A Logic for Concurrent
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    20
Programming" presents New UNITY, giving more elegant foundations for a more
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    21
general class of languages.  In recent work, Chandy and Sanders have proposed
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    22
new methods for reasoning about systems composed of many components.
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    23
5679
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    24
<P>This directory formalizes these new ideas for UNITY.  The Isabelle examples
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    25
may seem strange to UNITY traditionalists.  Hand UNITY proofs tend to be
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    26
written in the forwards direction, as in informal mathematics, while Isabelle
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    27
works best in a backwards (goal-directed) style.  Programs are expressed as
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    28
sets of commands, where each command is a relation on states.  Quantification
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    29
over commands using [] is easily expressed.  At present, there are no examples
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    30
of quantification using ||.
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    31
5679
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    32
<P>A UNITY assertion denotes the set of programs satisfying it, as
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    33
in the propositions-as-types paradigm.  The resulting style is readable if
916c75592bf6 updated
paulson
parents: 5461
diff changeset
    34
unconventional.
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    35
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    36
<P> Safety proofs (invariants) are often proved automatically.  Progress
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    37
proofs involving ENSURES can sometimes be proved automatically.  The
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    38
level of automation appears to be about the same as in HOL-UNITY by Flemming
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    39
Andersen et al.
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    40
11193
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    41
<P>
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    42
The directory <A HREF="Simple/"><CODE>Simple</CODE></A>
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    43
presents a few examples, mostly taken from Misra's 1994
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    44
paper, involving single programs.
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    45
The directory <A HREF="Comp/"><CODE>Comp</CODE></A>
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    46
presents examples of proofs involving program composition.
851c90b23a9e reorganization of HOL/UNITY, moving examples to subdirectories Simple and Comp
paulson
parents: 5679
diff changeset
    47
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    48
<HR>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    49
<P>Last modified on $Date$
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    50
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    51
<ADDRESS>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    52
<A NAME="lcp@cl.cam.ac.uk" HREF="mailto:lcp@cl.cam.ac.uk">lcp@cl.cam.ac.uk</A>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    53
</ADDRESS>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    54
</BODY></HTML>