src/HOL/UNITY/Union.thy
author paulson
Wed Aug 05 10:56:58 1998 +0200 (1998-08-05)
changeset 5252 1b0f14d11142
child 5259 86d80749453f
permissions -rw-r--r--
Union primitives and examples
paulson@5252
     1
(*  Title:      HOL/UNITY/Union.thy
paulson@5252
     2
    ID:         $Id$
paulson@5252
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
paulson@5252
     4
    Copyright   1998  University of Cambridge
paulson@5252
     5
paulson@5252
     6
Unions of programs
paulson@5252
     7
paulson@5252
     8
From Misra's Chapter 5: Asynchronous Compositions of Programs
paulson@5252
     9
*)
paulson@5252
    10
paulson@5252
    11
Union = SubstAx + FP +
paulson@5252
    12
paulson@5252
    13
constdefs
paulson@5252
    14
paulson@5252
    15
   Join :: "['a program, 'a program] => 'a program"
paulson@5252
    16
    "Join prgF prgG == (|Init = Init prgF Int Init prgG,
paulson@5252
    17
			 Acts = Acts prgF Un Acts prgG|)"
paulson@5252
    18
paulson@5252
    19
end