src/HOL/AxClasses/Tutorial/Xor.ML
author wenzelm
Wed, 17 Mar 1999 16:53:32 +0100
changeset 6393 b8dafa978382
parent 2907 0e272e4c7cb2
permissions -rw-r--r--
fixed axclass_tac;

(*  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 []);
by (rewrite_goals_tac
      [Xor.prod_bool_def,Xor.inverse_bool_def, Xor.unit_bool_def]);
by (ALLGOALS (Fast_tac));
qed "bool_in_agroup";