
(/VERSIONCHECK 2) 

(DEFPARAMETER |NonAssociativeAlgebra;CAT| 'NIL) 

(DEFPARAMETER |NonAssociativeAlgebra;AL| 'NIL) 

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

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