src/HOL/UNITY/README.html
author oheimb
Mon, 27 Apr 1998 19:29:19 +0200
changeset 4836 fc5773ae2790
parent 4776 1f9362e769c1
child 5461 6376d5cbb6ac
permissions -rw-r--r--
added option_map_eq_Some via AddIffs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4776
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     1
<!-- $Id$ -->
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     2
<HTML><HEAD><TITLE>HOL/UNITY/README</TITLE></HEAD><BODY>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     3
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     4
<H2>UNITY--Chandy and Misra's UNITY formalism</H2>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     5
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     6
<P>The book <EM>Parallel Program Design: A Foundation</EM> by Chandy and Misra
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     7
(Addison-Wesley, 1988) presents UNITY, which consists of an abstract
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     8
programming language of guarded assignments and an associated calculus.
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
     9
Misra's 1994 paper "A Logic for Concurrent Programming" presents "New UNITY",
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    10
giving more elegant foundations for a more general class of languages.
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    11
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    12
<P> This directory is a preliminary formalization of New UNITY.  The Isabelle
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    13
examples may not represent the most natural treatment of UNITY style.  Hand
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    14
UNITY proofs tend to be written in the forwards direction, as in informal
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    15
mathematics, while Isabelle works best in a backwards (goal-directed) style.
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    16
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    17
<P>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    18
The syntax, also, is rather unnatural.   Programs are expressed as sets of 
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    19
commands, where each command is a relation on states.  Quantification over 
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    20
commands using [] is easily expressed.  At present, there are no examples of
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    21
quantification using ||.
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    22
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    23
<P>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    24
The directory presents a few small examples, mostly taken from Misra's 1994
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    25
paper:
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    26
<UL>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    27
<LI>common meeting time
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    28
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    29
<LI>the token ring
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    30
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    31
<LI>the communication network
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    32
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    33
<LI><EM>n</EM>-process deadlock
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    34
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    35
<LI>unordered channel
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    36
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    37
<LI>reachability in directed graphs (section 6.4 of the book)
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    38
</UL>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    39
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    40
<P> Safety proofs (invariants) are often proved automatically.  Progress
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    41
proofs involving ENSURES can sometimes be proved automatically.  The
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    42
level of automation appears to be about the same as in HOL-UNITY by Flemming
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    43
Andersen et al.
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    44
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    45
<HR>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    46
<P>Last modified on $Date$
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    47
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    48
<ADDRESS>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    49
<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
    50
</ADDRESS>
1f9362e769c1 New UNITY theory
paulson
parents:
diff changeset
    51
</BODY></HTML>