
(/VERSIONCHECK 2) 

(DEFPARAMETER |ConvertibleTo;CAT| 'NIL) 

(DEFPARAMETER |ConvertibleTo;AL| 'NIL) 

(DEFUN |ConvertibleTo| (#1=#:G1963)
  (LET (#2=#:G1964)
    (COND
     ((SETQ #2# (|assoc| #3=(|devaluate| #1#) |ConvertibleTo;AL|)) (CDR #2#))
     (T
      (SETQ |ConvertibleTo;AL|
              (|cons5| (CONS #3# (SETQ #2# (|ConvertibleTo;| #1#)))
                       |ConvertibleTo;AL|))
      #2#)))) 

(DEFUN |ConvertibleTo;| (|t#1|)
  (PROG (#1=#:G1962)
    (RETURN
     (PROG1
         (LETT #1#
               (|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))
                                       . #2=(|ConvertibleTo|)))))
               . #2#)
       (SETELT #1# 0 (LIST '|ConvertibleTo| (|devaluate| |t#1|))))))) 
