now uses mono_Increasing_o
authorpaulson
Mon, 24 May 1999 15:44:20 +0200
changeset 6701 e84a0b941beb
parent 6700 716d2d253a3c
child 6702 27a2e763daf8
now uses mono_Increasing_o
src/HOL/UNITY/Client.ML
--- a/src/HOL/UNITY/Client.ML	Mon May 24 15:43:45 1999 +0200
+++ b/src/HOL/UNITY/Client.ML	Mon May 24 15:44:20 1999 +0200
@@ -7,8 +7,6 @@
 *)
 
 
-claset_ref() := claset();
-
 Addsimps [Cli_prg_def RS def_prg_Init];
 program_defs_ref := [Cli_prg_def];
 
@@ -102,13 +100,15 @@
 
 val rewrite_o = rewrite_rule [o_def];
 
+val Increasing_length = mono_length RS mono_Increasing_o;
+
 Goal "Cli_prg : \
 \      (Increasing giv Int (rel localTo Cli_prg) Int (ask localTo Cli_prg)) \
 \      guarantees Always ({s. size (ask s) <= Suc (size (rel s))} Int \
 \                            {s. size (rel s) <= size (giv s)})";
 by (rtac guaranteesI 1);
 by (Clarify_tac 1);
-by (dtac (impOfSubs (rewrite_o Increasing_size)) 1);
+by (dtac (impOfSubs (rewrite_o Increasing_length)) 1);
 by (rtac AlwaysI 1);
 by (Force_tac 1);
 by (rtac Stable_Int 1);
@@ -129,7 +129,7 @@
 by (Clarify_tac 1);
 by (rtac Stable_transient_Always_LeadsTo 1);
 by (res_inst_tac [("k", "k")] transient_lemma 2);
-by (force_tac (claset() addDs [impOfSubs Increasing_size,
+by (force_tac (claset() addDs [impOfSubs Increasing_length,
 			       impOfSubs Increasing_Stable_less],
 	       simpset()) 1);
 by (rtac (make_elim (lemma1 RS guaranteesD)) 1);