equal
deleted
inserted
replaced
135 bind_thm("linorder_neqE", linorder_neq_iff RS iffD1 RS disjE); |
135 bind_thm("linorder_neqE", linorder_neq_iff RS iffD1 RS disjE); |
136 |
136 |
137 (** min & max **) |
137 (** min & max **) |
138 |
138 |
139 Goalw [min_def] "min (x::'a::order) x = x"; |
139 Goalw [min_def] "min (x::'a::order) x = x"; |
140 by(Simp_tac 1); |
140 by (Simp_tac 1); |
141 qed "min_same"; |
141 qed "min_same"; |
142 Addsimps [min_same]; |
142 Addsimps [min_same]; |
143 |
143 |
144 Goalw [max_def] "max (x::'a::order) x = x"; |
144 Goalw [max_def] "max (x::'a::order) x = x"; |
145 by(Simp_tac 1); |
145 by (Simp_tac 1); |
146 qed "max_same"; |
146 qed "max_same"; |
147 Addsimps [max_same]; |
147 Addsimps [max_same]; |
148 |
148 |
149 Goalw [max_def] "!!z::'a::linorder. (z <= max x y) = (z <= x | z <= y)"; |
149 Goalw [max_def] "!!z::'a::linorder. (z <= max x y) = (z <= x | z <= y)"; |
150 by (Simp_tac 1); |
150 by (Simp_tac 1); |