
(/VERSIONCHECK 2) 

(DEFPARAMETER |CancellationAbelianMonoid;AL| 'NIL) 

(DEFUN |CancellationAbelianMonoid| ()
  (LET (#:G2833)
    (COND (|CancellationAbelianMonoid;AL|)
          (T
           (SETQ |CancellationAbelianMonoid;AL|
                   (|CancellationAbelianMonoid;|)))))) 

(DEFUN |CancellationAbelianMonoid;| ()
  (PROG (#1=#:G2831)
    (RETURN
     (PROG1
         (LETT #1#
               (|Join| (|AbelianMonoid|)
                       (|mkCategory| '|domain|
                                     '(((|subtractIfCan|
                                         ((|Union| $ "failed") $ $))
                                        T))
                                     NIL 'NIL NIL))
               |CancellationAbelianMonoid|)
       (SETELT #1# 0 '(|CancellationAbelianMonoid|)))))) 

(MAKEPROP '|CancellationAbelianMonoid| 'NILADIC T) 
