author | paulson |
Thu, 02 Jun 2005 13:47:08 +0200 | |
changeset 16184 | 80617b8d33c5 |
parent 15032 | 02aed07e01bf |
child 16417 | 9bc16273c2d4 |
permissions | -rw-r--r-- |
13786 | 1 |
(* Title: HOL/UNITY/UNITY_Main.thy |
2 |
ID: $Id$ |
|
3 |
Author: Lawrence C Paulson, Cambridge University Computer Laboratory |
|
4 |
Copyright 2003 University of Cambridge |
|
13798 | 5 |
*) |
13786 | 6 |
|
13798 | 7 |
header{*Comprehensive UNITY Theory*} |
13786 | 8 |
|
13853
89131afa9f01
New theory ProgressSets. Definition of closure sets
paulson
parents:
13851
diff
changeset
|
9 |
theory UNITY_Main = Detects + PPROD + Follows + ProgressSets |
13786 | 10 |
files "UNITY_tactics.ML": |
11 |
||
16184
80617b8d33c5
renamed "constrains" to "safety" to avoid keyword clash
paulson
parents:
15032
diff
changeset
|
12 |
method_setup safety = {* |
13786 | 13 |
Method.ctxt_args (fn ctxt => |
14 |
Method.METHOD (fn facts => |
|
15032 | 15 |
gen_constrains_tac (local_clasimpset_of ctxt) 1)) *} |
13786 | 16 |
"for proving safety properties" |
17 |
||
18 |
method_setup ensures_tac = {* |
|
19 |
fn args => fn ctxt => |
|
20 |
Method.goal_args' (Scan.lift Args.name) |
|
15032 | 21 |
(gen_ensures_tac (local_clasimpset_of ctxt)) |
13786 | 22 |
args ctxt *} |
23 |
"for proving progress properties" |
|
24 |
||
25 |
end |