equal
deleted
inserted
replaced
68 "!!F. is_chain(F) ==> is_tord(range(F))" |
68 "!!F. is_chain(F) ==> is_tord(range(F))" |
69 (fn _ => |
69 (fn _ => |
70 [ |
70 [ |
71 Safe_tac, |
71 Safe_tac, |
72 (rtac nat_less_cases 1), |
72 (rtac nat_less_cases 1), |
73 (ALLGOALS (fast_tac (!claset addIs [refl_less, chain_mono RS mp])))]); |
73 (ALLGOALS (fast_tac (claset() addIs [refl_less, chain_mono RS mp])))]); |
74 |
74 |
75 (* ------------------------------------------------------------------------ *) |
75 (* ------------------------------------------------------------------------ *) |
76 (* technical lemmas about lub and is_lub *) |
76 (* technical lemmas about lub and is_lub *) |
77 (* ------------------------------------------------------------------------ *) |
77 (* ------------------------------------------------------------------------ *) |
78 bind_thm("lub",lub_def RS meta_eq_to_obj_eq); |
78 bind_thm("lub",lub_def RS meta_eq_to_obj_eq); |
112 ]); |
112 ]); |
113 |
113 |
114 |
114 |
115 goal thy "lub{x} = x"; |
115 goal thy "lub{x} = x"; |
116 by (rtac thelubI 1); |
116 by (rtac thelubI 1); |
117 by (simp_tac (!simpset addsimps [is_lub,is_ub]) 1); |
117 by (simp_tac (simpset() addsimps [is_lub,is_ub]) 1); |
118 qed "lub_singleton"; |
118 qed "lub_singleton"; |
119 Addsimps [lub_singleton]; |
119 Addsimps [lub_singleton]; |
120 |
120 |
121 (* ------------------------------------------------------------------------ *) |
121 (* ------------------------------------------------------------------------ *) |
122 (* access to some definition as inference rule *) |
122 (* access to some definition as inference rule *) |