
(/VERSIONCHECK 2) 

(DEFPARAMETER |ConvertibleTo;CAT| 'NIL) 

(DEFPARAMETER |ConvertibleTo;AL| 'NIL) 

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

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