src/HOL/Hoare_Parallel/RG_Com.thy
author ballarin
Wed, 26 May 2010 21:20:18 +0200
changeset 37133 1d048c6940c8
parent 32621 a073cb249a06
child 42174 d0be2722ce9f
permissions -rw-r--r--
Merge mixins of distinct interpretations with same base.


header {* \chapter{The Rely-Guarantee Method} 

\section {Abstract Syntax}
*}

theory RG_Com imports Main begin

text {* Semantics of assertions and boolean expressions (bexp) as sets
of states.  Syntax of commands @{text com} and parallel commands
@{text par_com}. *}

types
  'a bexp = "'a set"

datatype 'a com = 
    Basic "'a \<Rightarrow>'a"
  | Seq "'a com" "'a com"
  | Cond "'a bexp" "'a com" "'a com"         
  | While "'a bexp" "'a com"       
  | Await "'a bexp" "'a com"                 

types 'a par_com = "(('a com) option) list"

end