src/HOL/AxClasses/Tutorial/Semigroup.thy
author wenzelm
Wed, 12 Nov 1997 16:20:39 +0100
changeset 4208 b67223fddc11
parent 1247 18b1441fb603
permissions -rw-r--r--
added Thy/file.ML, Thy/use.ML; removed Thy/symbol_input.ML;

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

Define class "semigroup".
*)

Semigroup = HOL +

consts
  "<*>"         :: "['a, 'a] => 'a"             (infixl 70)

axclass
  semigroup < term
  assoc         "(x <*> y) <*> z = x <*> (y <*> z)"

end