
(/VERSIONCHECK 2) 

(DEFPARAMETER |Eltable;CAT| 'NIL) 

(DEFPARAMETER |Eltable;AL| 'NIL) 

(DEFUN |Eltable| (&REST #0=#:G1816)
  (LET (#1=#:G1817)
    (COND
      ((SETQ #1# (|assoc| #2=(|devaluateList| #0#) |Eltable;AL|))
       (CDR #1#))
      (T (SETQ |Eltable;AL|
               (|cons5| (CONS #2# (SETQ #1# (APPLY #'|Eltable;| #0#)))
                        |Eltable;AL|))
         #1#)))) 

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