src/HOL/AxClasses/Semigroups.thy
author huffman
Mon, 28 May 2007 03:45:41 +0200
changeset 23112 2bc882fbe51c
parent 16417 9bc16273c2d4
permissions -rw-r--r--
remove division_by_zero requirement from termdiffs lemmas; cleaned up some proofs

(*  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