| author | wenzelm |
| Wed, 11 Feb 2009 21:40:16 +0100 | |
| changeset 29728 | 2a4f000d1e4d |
| parent 16417 | 9bc16273c2d4 |
| permissions | -rw-r--r-- |
(* 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