
(/VERSIONCHECK 2) 

(DEFPARAMETER |Algebra;CAT| 'NIL) 

(DEFPARAMETER |Algebra;AL| 'NIL) 

(DEFUN |Algebra| (#0=#:G1816)
  (LET (#1=#:G1817)
    (COND
      ((SETQ #1# (|assoc| #2=(|devaluate| #0#) |Algebra;AL|))
       (CDR #1#))
      (T (SETQ |Algebra;AL|
               (|cons5| (CONS #2# (SETQ #1# (|Algebra;| #0#)))
                        |Algebra;AL|))
         #1#)))) 

(DEFUN |Algebra;| (|t#1|)
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
                       (COND
                         (|Algebra;CAT|)
                         ('T
                          (LETT |Algebra;CAT|
                                (|Join| (|Ring|) (|Module| '|t#1|)
                                        (|mkCategory| '|domain|
                                         '(((|coerce| ($ |t#1|)) T))
                                         NIL 'NIL NIL))
                                . #1=(|Algebra|))))) . #1#)
        (SETELT #0# 0 (LIST '|Algebra| (|devaluate| |t#1|))))))) 
