
(/VERSIONCHECK 2) 

(DEFPARAMETER |RightModule;CAT| 'NIL) 

(DEFPARAMETER |RightModule;AL| 'NIL) 

(DEFUN |RightModule| (#1=#:G2835)
  (LET (#2=#:G2836)
    (COND
     ((SETQ #2# (|assoc| #3=(|devaluate| #1#) |RightModule;AL|)) (CDR #2#))
     (T
      (SETQ |RightModule;AL|
              (|cons5| (CONS #3# (SETQ #2# (|RightModule;| #1#)))
                       |RightModule;AL|))
      #2#)))) 

(DEFUN |RightModule;| (|t#1|)
  (PROG (#1=#:G2834)
    (RETURN
     (PROG1
         (LETT #1#
               (|sublisV| (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
                          (COND (|RightModule;CAT|)
                                ('T
                                 (LETT |RightModule;CAT|
                                       (|Join| (|AbelianGroup|)
                                               (|mkCategory| '|domain|
                                                             '(((* ($ $ |t#1|))
                                                                T))
                                                             NIL 'NIL NIL))
                                       . #2=(|RightModule|)))))
               . #2#)
       (SETELT #1# 0 (LIST '|RightModule| (|devaluate| |t#1|))))))) 
