src/HOL/AxClasses/Tutorial/Xor.ML
author paulson
Fri, 06 Dec 1996 10:47:10 +0100
changeset 2330 3eea6b72bb4f
parent 1899 0075a8d26a80
child 2907 0e272e4c7cb2
permissions -rw-r--r--
MLWorks compatibility: it sort of works

(*  Title:      HOL/AxClasses/Tutorial/Xor.ML
    ID:         $Id$
    Author:     Markus Wenzel, TU Muenchen

Proof the instantiation theorem bool :: agroup by hand.
*)

open AxClass;

goal_arity Xor.thy ("bool", [], "agroup");
by (axclass_tac Xor.thy []);
by (rewrite_goals_tac [Xor.prod_bool_def, Xor.inv_bool_def, Xor.unit_bool_def]);
by (ALLGOALS (Fast_tac));
qed "bool_in_agroup";