
(/VERSIONCHECK 2) 

(DEFPARAMETER |InnerEvalable;CAT| 'NIL) 

(DEFPARAMETER |InnerEvalable;AL| 'NIL) 

(DEFUN |InnerEvalable| (&REST #1=#:G2038)
  (LET (#2=#:G2039)
    (COND
     ((SETQ #2# (|assoc| #3=(|devaluateList| #1#) |InnerEvalable;AL|))
      (CDR #2#))
     (T
      (SETQ |InnerEvalable;AL|
              (|cons5| (CONS #3# (SETQ #2# (APPLY #'|InnerEvalable;| #1#)))
                       |InnerEvalable;AL|))
      #2#)))) 

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