
(/VERSIONCHECK 2) 

(DEFPARAMETER |VectorSpace;CAT| 'NIL) 

(DEFPARAMETER |VectorSpace;AL| 'NIL) 

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

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