src/HOL/AxClasses/Tutorial/Monoid.thy
author paulson
Fri, 07 Jan 2000 11:00:56 +0100
changeset 8112 efbe50e2bef9
parent 1247 18b1441fb603
permissions -rw-r--r--
new theorem leadsTo_refl and induction rule leadsTo_induct_pre

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

Define class "monoid".
*)

Monoid = Sigs +

(* monoids *)

axclass
  monoid < term
  assoc         "(x <*> y) <*> z = x <*> (y <*> z)"
  left_unit     "1 <*> x = x"
  right_unit    "x <*> 1 = x"

end