| author | paulson |
| Fri, 06 Dec 1996 10:47:10 +0100 | |
| changeset 2330 | 3eea6b72bb4f |
| parent 1899 | 0075a8d26a80 |
| child 2907 | 0e272e4c7cb2 |
| permissions | -rw-r--r-- |
| 1247 | 1 |
(* Title: HOL/AxClasses/Tutorial/Xor.ML |
2 |
ID: $Id$ |
|
3 |
Author: Markus Wenzel, TU Muenchen |
|
4 |
||
5 |
Proof the instantiation theorem bool :: agroup by hand. |
|
6 |
*) |
|
7 |
||
8 |
open AxClass; |
|
9 |
||
10 |
goal_arity Xor.thy ("bool", [], "agroup");
|
|
11 |
by (axclass_tac Xor.thy []); |
|
12 |
by (rewrite_goals_tac [Xor.prod_bool_def, Xor.inv_bool_def, Xor.unit_bool_def]); |
|
| 1899 | 13 |
by (ALLGOALS (Fast_tac)); |
| 1247 | 14 |
qed "bool_in_agroup"; |