
(/VERSIONCHECK 2) 

(DEFPARAMETER |LeftAlgebra;CAT| 'NIL) 

(DEFPARAMETER |LeftAlgebra;AL| 'NIL) 

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

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