
(/VERSIONCHECK 2) 

(DEFPARAMETER |NormalizedTriangularSetCategory;CAT| 'NIL) 

(DEFPARAMETER |NormalizedTriangularSetCategory;AL| 'NIL) 

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

(DEFUN |NormalizedTriangularSetCategory;| (|t#1| |t#2| |t#3| |t#4|)
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(|t#1| |t#2| |t#3| |t#4|)
                             (LIST (|devaluate| |t#1|)
                                   (|devaluate| |t#2|)
                                   (|devaluate| |t#3|)
                                   (|devaluate| |t#4|)))
                       (COND
                         (|NormalizedTriangularSetCategory;CAT|)
                         ('T
                          (LETT |NormalizedTriangularSetCategory;CAT|
                                (|Join| (|RegularTriangularSetCategory|
                                         '|t#1| '|t#2| '|t#3| '|t#4|))
                                . #1=(|NormalizedTriangularSetCategory|))))) . #1#)
        (SETELT #0# 0
                (LIST '|NormalizedTriangularSetCategory|
                      (|devaluate| |t#1|) (|devaluate| |t#2|)
                      (|devaluate| |t#3|) (|devaluate| |t#4|))))))) 
