src/HOL/AxClasses/Tutorial/Xor.thy
author wenzelm
Mon, 29 Nov 1999 11:21:44 +0100
changeset 8036 8510def05d71
parent 2907 0e272e4c7cb2
permissions -rw-r--r--
Isar_examples/Minimal.thy;

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

Define overloaded constants "<*>", "inverse", "1" on type "bool".
*)

Xor = Group +

defs
  prod_bool_def     "x <*> y   == x ~= (y::bool)"
  inverse_bool_def  "inverse x == x::bool"
  unit_bool_def     "1         == False"

end