--- a/src/ZF/AC/DC_lemmas.ML Mon Jun 22 17:12:27 1998 +0200
+++ b/src/ZF/AC/DC_lemmas.ML Mon Jun 22 17:13:09 1998 +0200
@@ -14,7 +14,7 @@
by (REPEAT (eresolve_tac [RepFunE, LeastI, prem RS Ord_in_Ord] 1));
qed "RepFun_lepoll";
-goalw thy [lesspoll_def] "!!n. n:nat ==> n lesspoll nat";
+Goalw [lesspoll_def] "!!n. n:nat ==> n lesspoll nat";
by (rtac conjI 1);
by (eresolve_tac [Ord_nat RSN (2, OrdmemD) RS subset_imp_lepoll] 1);
by (rtac notI 1);
@@ -25,7 +25,7 @@
THEN (assume_tac 1));
qed "n_lesspoll_nat";
-goalw thy [lepoll_def]
+Goalw [lepoll_def]
"!!f. [| f:X->Y; Ord(X) |] ==> f``X lepoll X";
by (res_inst_tac [("x","lam x:f``X. LEAST y. f`y = x")] exI 1);
by (res_inst_tac [("d","%z. f`z")] lam_injective 1);
@@ -46,35 +46,35 @@
by (fast_tac (claset() addSEs [mem_irrefl]) 1);
qed "mem_not_eq";
-goalw thy [succ_def] "!!g. g:n->X ==> cons(<n,x>, g) : succ(n) -> cons(x, X)";
+Goalw [succ_def] "!!g. g:n->X ==> cons(<n,x>, g) : succ(n) -> cons(x, X)";
by (fast_tac (claset() addSIs [fun_extend] addSEs [mem_irrefl]) 1);
qed "cons_fun_type";
-goal thy "!!g. [| g:n->X; x:X |] ==> cons(<n,x>, g) : succ(n) -> X";
+Goal "!!g. [| g:n->X; x:X |] ==> cons(<n,x>, g) : succ(n) -> X";
by (etac (cons_absorb RS subst) 1 THEN etac cons_fun_type 1);
qed "cons_fun_type2";
-goal thy "!!n. n: nat ==> cons(<n,x>, g)``n = g``n";
+Goal "!!n. n: nat ==> cons(<n,x>, g)``n = g``n";
by (fast_tac (claset() addSEs [mem_irrefl]) 1);
qed "cons_image_n";
-goal thy "!!n. g:n->X ==> cons(<n,x>, g)`n = x";
+Goal "!!n. g:n->X ==> cons(<n,x>, g)`n = x";
by (fast_tac (claset() addSIs [apply_equality] addSEs [cons_fun_type]) 1);
qed "cons_val_n";
-goal thy "!!k. k : n ==> cons(<n,x>, g)``k = g``k";
+Goal "!!k. k : n ==> cons(<n,x>, g)``k = g``k";
by (fast_tac (claset() addEs [mem_asym]) 1);
qed "cons_image_k";
-goal thy "!!k. [| k:n; g:n->X |] ==> cons(<n,x>, g)`k = g`k";
+Goal "!!k. [| k:n; g:n->X |] ==> cons(<n,x>, g)`k = g`k";
by (fast_tac (claset() addSIs [apply_equality, consI2] addSEs [cons_fun_type, apply_Pair]) 1);
qed "cons_val_k";
-goal thy "!!f. domain(f)=x ==> domain(cons(<x,y>, f)) = succ(x)";
+Goal "!!f. domain(f)=x ==> domain(cons(<x,y>, f)) = succ(x)";
by (asm_full_simp_tac (simpset() addsimps [domain_cons, succ_def]) 1);
qed "domain_cons_eq_succ";
-goalw thy [restrict_def] "!!g. g:n->X ==> restrict(cons(<n,x>, g), n)=g";
+Goalw [restrict_def] "!!g. g:n->X ==> restrict(cons(<n,x>, g), n)=g";
by (rtac fun_extension 1);
by (rtac lam_type 1);
by (eresolve_tac [cons_fun_type RS apply_type] 1);
@@ -83,25 +83,25 @@
by (asm_full_simp_tac (simpset() addsimps [cons_val_k]) 1);
qed "restrict_cons_eq";
-goal thy "!!k. [| Ord(k); i:k |] ==> succ(i) : succ(k)";
+Goal "!!k. [| Ord(k); i:k |] ==> succ(i) : succ(k)";
by (resolve_tac [Ord_linear RS disjE] 1 THEN (assume_tac 3));
by (REPEAT (fast_tac (claset() addSIs [Ord_succ]
addEs [Ord_in_Ord, mem_irrefl, mem_asym]
addSDs [succ_inject]) 1));
qed "succ_in_succ";
-goalw thy [restrict_def]
+Goalw [restrict_def]
"!!f. [| restrict(f, domain(g)) = g; x: domain(g) |] ==> f`x = g`x";
by (etac subst 1);
by (Asm_full_simp_tac 1);
qed "restrict_eq_imp_val_eq";
-goal thy "!!f. [| domain(f)=A; f:B->C |] ==> f:A->C";
+Goal "!!f. [| domain(f)=A; f:B->C |] ==> f:A->C";
by (forward_tac [domain_of_fun] 1);
by (Fast_tac 1);
qed "domain_eq_imp_fun_type";
-goal thy "!!R. [| R <= A * B; R ~= 0 |] ==> EX x. x:domain(R)";
+Goal "!!R. [| R <= A * B; R ~= 0 |] ==> EX x. x:domain(R)";
by (fast_tac (claset() addSEs [not_emptyE]) 1);
qed "ex_in_domain";