src/ZF/UNITY/SubstAx.thy
author paulson
Wed, 08 Aug 2001 14:33:10 +0200
changeset 11479 697dcaaf478f
child 12195 ed2893765a08
permissions -rw-r--r--
new ZF/UNITY theory
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11479
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     1
(*  Title:      ZF/UNITY/SubstAx.thy
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     2
    ID:         $Id$
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     3
    Author:     Sidi O Ehmety, Computer Laboratory
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     4
    Copyright   2001  University of Cambridge
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     5
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     6
Weak LeadsTo relation (restricted to the set of reachable states)
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     7
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     8
Theory ported from HOL.
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
     9
*)
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    10
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    11
SubstAx = WFair + Constrains + 
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    12
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    13
constdefs
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    14
   Ensures :: "[i,i] => i"            (infixl 60)
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    15
    "A Ensures B == {F:program. F : (reachable(F) Int A) ensures B &
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    16
		                A:condition & B:condition}"
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    17
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    18
   LeadsTo :: "[i, i] => i"            (infixl 60)
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    19
    "A LeadsTo B == {F:program. F:(reachable(F) Int A) leadsTo B &
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    20
		                A:condition & B:condition}"
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    21
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    22
syntax (xsymbols)
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    23
  "op LeadsTo" :: "[i, i] => i" (infixl " \\<longmapsto>w " 60)
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    24
697dcaaf478f new ZF/UNITY theory
paulson
parents:
diff changeset
    25
end