src/HOL/AxClasses/Semigroups.thy
author huffman
Sun, 19 Feb 2006 02:11:27 +0100
changeset 19105 3aabd46340e0
parent 16417 9bc16273c2d4
permissions -rw-r--r--
use minimal imports

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

theory Semigroups imports Main begin

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

axclass semigroup < type
  assoc: "(x [*] y) [*] z = x [*] (y [*] z)"


consts
  plus :: "'a => 'a => 'a"    (infixl "[+]" 70)

axclass plus_semigroup < type
  assoc: "(x [+] y) [+] z = x [+] (y [+] z)"

end