src/HOL/Hoare_Parallel/RG_Com.thy
author hoelzl
Fri, 19 Feb 2016 12:25:57 +0100
changeset 62374 cb27a55d868a
parent 62042 6c6ccf573479
child 62390 842917225d56
permissions -rw-r--r--
remove lattice syntax from countable complete lattice

chapter \<open>The Rely-Guarantee Method\<close>

section \<open>Abstract Syntax\<close>

theory RG_Com imports Main begin

text \<open>Semantics of assertions and boolean expressions (bexp) as sets
of states.  Syntax of commands \<open>com\<close> and parallel commands
\<open>par_com\<close>.\<close>

type_synonym '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"

type_synonym 'a par_com = "'a com option list"

end