renamed Abs_Node_inject to Abs_Node_inj;
authorwenzelm
Tue, 16 Jan 2001 00:29:43 +0100
changeset 10908 a7cfffb5d7dc
parent 10907 51be80fc4439
child 10909 2bbb1797bbe2
renamed Abs_Node_inject to Abs_Node_inj;
src/HOL/Datatype_Universe.ML
--- a/src/HOL/Datatype_Universe.ML	Tue Jan 16 00:29:12 2001 +0100
+++ b/src/HOL/Datatype_Universe.ML	Tue Jan 16 00:29:43 2001 +0100
@@ -7,7 +7,7 @@
 (** apfst -- can be used in similar type definitions **)
 
 Goalw [apfst_def] "apfst f (a,b) = (f(a),b)";
-by (rtac split 1);
+by (rtac split_conv 1);
 qed "apfst_conv";
 
 val [major,minor] = Goal
@@ -61,7 +61,7 @@
 by (etac Abs_Node_inverse 1);
 qed "inj_on_Abs_Node";
 
-bind_thm ("Abs_Node_inject", inj_on_Abs_Node RS inj_onD);
+bind_thm ("Abs_Node_inj", inj_on_Abs_Node RS inj_onD);
 
 
 (*** Introduction rules for Node ***)
@@ -84,7 +84,7 @@
 by (rtac notI 1);
 by (etac (equalityD2 RS subsetD RS UnE) 1);
 by (rtac singletonI 1);
-by (REPEAT (eresolve_tac [imageE, Abs_Node_inject RS apfst_convE, 
+by (REPEAT (eresolve_tac [imageE, Abs_Node_inj RS apfst_convE, 
                           Pair_inject, sym RS Push_neq_K0] 1
      ORELSE resolve_tac [Node_K0_I, Rep_Node RS Node_Push_I] 1));
 qed "Scons_not_Atom";
@@ -96,7 +96,7 @@
 (** Atomic nodes **)
 
 Goalw [Atom_def] "inj(Atom)";
-by (blast_tac (claset() addSIs [injI, Node_K0_I] addSDs [Abs_Node_inject]) 1);
+by (blast_tac (claset() addSIs [injI, Node_K0_I] addSDs [Abs_Node_inj]) 1);
 qed "inj_Atom";
 bind_thm ("Atom_inject", inj_Atom RS injD);
 
@@ -126,7 +126,7 @@
 val [major,minor] = Goalw [Push_Node_def]
     "[| Push_Node i m =Push_Node j n;  [| i=j;  m=n |] ==> P \
 \    |] ==> P";
-by (rtac (major RS Abs_Node_inject RS apfst_convE) 1);
+by (rtac (major RS Abs_Node_inj RS apfst_convE) 1);
 by (REPEAT (resolve_tac [Rep_Node RS Node_Push_I] 1));
 by (etac (sym RS apfst_convE) 1);
 by (rtac minor 1);
@@ -207,7 +207,7 @@
 
 
 Goalw [ndepth_def] "ndepth (Abs_Node(%k. Inr 0, x)) = 0";
-by (EVERY1[stac (Node_K0_I RS Abs_Node_inverse), stac split]);
+by (EVERY1[stac (Node_K0_I RS Abs_Node_inverse), stac split_conv]);
 by (rtac Least_equality 1);
 by Auto_tac;  
 qed "ndepth_K0";