| author | wenzelm |
| Tue, 01 Jun 2004 12:36:10 +0200 | |
| changeset 14856 | 669a9a0e7279 |
| parent 12338 | de0f4a63baa5 |
| child 14981 | e73f8140af78 |
| permissions | -rw-r--r-- |
(* Title: HOL/AxClasses/Semigroups.thy ID: $Id$ Author: Markus Wenzel, TU Muenchen License: GPL (GNU GENERAL PUBLIC LICENSE) *) theory Semigroups = Main: 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