
(/VERSIONCHECK 2) 

(DEFPARAMETER |SemiGroup;AL| 'NIL) 

(DEFUN |SemiGroup| ()
  (LET (#:G1817)
    (COND (|SemiGroup;AL|) (T (SETQ |SemiGroup;AL| (|SemiGroup;|)))))) 

(DEFUN |SemiGroup;| ()
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|Join| (|SetCategory|)
                           (|mkCategory| '|domain|
                               '(((* ($ $ $)) T)
                                 ((** ($ $ (|PositiveInteger|))) T)
                                 ((^ ($ $ (|PositiveInteger|))) T))
                               NIL '((|PositiveInteger|)) NIL))
                   |SemiGroup|)
        (SETELT #0# 0 '(|SemiGroup|)))))) 

(MAKEPROP '|SemiGroup| 'NILADIC T) 
