src/HOL/ex/BT.ML
changeset 5069 3ea049f7979d
parent 4089 96fba19bcbe2
child 5184 9b8547a9496a
--- a/src/HOL/ex/BT.ML	Mon Jun 22 17:13:09 1998 +0200
+++ b/src/HOL/ex/BT.ML	Mon Jun 22 17:26:46 1998 +0200
@@ -10,48 +10,48 @@
 
 (** BT simplification **)
 
-goal BT.thy "n_leaves(reflect(t)) = n_leaves(t)";
+Goal "n_leaves(reflect(t)) = n_leaves(t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS (asm_simp_tac (simpset() addsimps [add_commute])));
 qed "n_leaves_reflect";
 
-goal BT.thy "n_nodes(reflect(t)) = n_nodes(t)";
+Goal "n_nodes(reflect(t)) = n_nodes(t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS (asm_simp_tac (simpset() addsimps [add_commute])));
 qed "n_nodes_reflect";
 
 (*The famous relationship between the numbers of leaves and nodes*)
-goal BT.thy "n_leaves(t) = Suc(n_nodes(t))";
+Goal "n_leaves(t) = Suc(n_nodes(t))";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "n_leaves_nodes";
 
-goal BT.thy "reflect(reflect(t))=t";
+Goal "reflect(reflect(t))=t";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "reflect_reflect_ident";
 
-goal BT.thy "bt_map f (reflect t) = reflect (bt_map f t)";
+Goal "bt_map f (reflect t) = reflect (bt_map f t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "bt_map_reflect";
 
-goal BT.thy "inorder (bt_map f t) = map f (inorder t)";
+Goal "inorder (bt_map f t) = map f (inorder t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "inorder_bt_map";
 
-goal BT.thy "preorder (reflect t) = rev (postorder t)";
+Goal "preorder (reflect t) = rev (postorder t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "preorder_reflect";
 
-goal BT.thy "inorder (reflect t) = rev (inorder t)";
+Goal "inorder (reflect t) = rev (inorder t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "inorder_reflect";
 
-goal BT.thy "postorder (reflect t) = rev (preorder t)";
+Goal "postorder (reflect t) = rev (preorder t)";
 by (bt.induct_tac "t" 1);
 by (ALLGOALS Asm_simp_tac);
 qed "postorder_reflect";