moved wf_less from Nat.ML to NatDef.ML
authoroheimb
Thu, 15 Feb 2001 16:00:38 +0100
changeset 11135 8fd0dea26286
parent 11134 8bc06c4202cd
child 11136 e34e7f6d9b57
moved wf_less from Nat.ML to NatDef.ML
src/HOL/NatDef.ML
--- a/src/HOL/NatDef.ML	Thu Feb 15 16:00:36 2001 +0100
+++ b/src/HOL/NatDef.ML	Thu Feb 15 16:00:38 2001 +0100
@@ -114,12 +114,17 @@
 
 (*** Basic properties of "less than" ***)
 
-Goalw [wf_def, pred_nat_def] "wf(pred_nat)";
+Goalw [wf_def, pred_nat_def] "wf pred_nat";
 by (Clarify_tac 1);
 by (nat_ind_tac "x" 1);
 by (ALLGOALS Blast_tac);
 qed "wf_pred_nat";
 
+Goalw [less_def] "wf {(x,y::nat). x<y}"; 
+by (rtac (wf_pred_nat RS wf_trancl RS wf_subset) 1);
+by (Blast_tac 1); 
+qed "wf_less";
+
 (*Used in TFL/post.sml*)
 Goalw [less_def] "(m,n) : pred_nat^+ = (m<n)";
 by (rtac refl 1);