src/HOL/AxClasses/Tutorial/Group.thy
author nipkow
Fri, 04 Apr 1997 16:03:44 +0200
changeset 2907 0e272e4c7cb2
parent 1247 18b1441fb603
child 8920 af5e09b6c208
permissions -rw-r--r--
inv -> inverse

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

Define classes "semigroup", "group", "agroup".
*)

Group = Sigs +

(* semigroups *)

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


(* groups *)

axclass
  group < semigroup
  left_unit     "1 <*> x = x"
  left_inverse  "inverse x <*> x = 1"


(* abelian groups *)

axclass
  agroup < group
  commut        "x <*> y = y <*> x"

end