src/HOL/AxClasses/Tutorial/Xor.ML
author nipkow
Mon Oct 21 09:50:50 1996 +0200 (1996-10-21)
changeset 2115 9709f9188549
parent 1899 0075a8d26a80
child 2907 0e272e4c7cb2
permissions -rw-r--r--
Added trans_tac (see Provers/nat_transitive.ML)
wenzelm@1247
     1
(*  Title:      HOL/AxClasses/Tutorial/Xor.ML
wenzelm@1247
     2
    ID:         $Id$
wenzelm@1247
     3
    Author:     Markus Wenzel, TU Muenchen
wenzelm@1247
     4
wenzelm@1247
     5
Proof the instantiation theorem bool :: agroup by hand.
wenzelm@1247
     6
*)
wenzelm@1247
     7
wenzelm@1247
     8
open AxClass;
wenzelm@1247
     9
wenzelm@1247
    10
goal_arity Xor.thy ("bool", [], "agroup");
wenzelm@1247
    11
by (axclass_tac Xor.thy []);
wenzelm@1247
    12
by (rewrite_goals_tac [Xor.prod_bool_def, Xor.inv_bool_def, Xor.unit_bool_def]);
berghofe@1899
    13
by (ALLGOALS (Fast_tac));
wenzelm@1247
    14
qed "bool_in_agroup";