
(/VERSIONCHECK 2) 

(DEFPARAMETER |LinearlyExplicitRingOver;CAT| 'NIL) 

(DEFPARAMETER |LinearlyExplicitRingOver;AL| 'NIL) 

(DEFUN |LinearlyExplicitRingOver| (#1=#:G2882)
  (LET (#2=#:G2883)
    (COND
     ((SETQ #2# (|assoc| #3=(|devaluate| #1#) |LinearlyExplicitRingOver;AL|))
      (CDR #2#))
     (T
      (SETQ |LinearlyExplicitRingOver;AL|
              (|cons5| (CONS #3# (SETQ #2# (|LinearlyExplicitRingOver;| #1#)))
                       |LinearlyExplicitRingOver;AL|))
      #2#)))) 

(DEFUN |LinearlyExplicitRingOver;| (|t#1|)
  (PROG (#1=#:G2881)
    (RETURN
     (PROG1
         (LETT #1#
               (|sublisV| (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
                          (COND (|LinearlyExplicitRingOver;CAT|)
                                ('T
                                 (LETT |LinearlyExplicitRingOver;CAT|
                                       (|Join| (|Ring|)
                                               (|mkCategory| '|domain|
                                                             '(((|reducedSystem|
                                                                 ((|Matrix|
                                                                   |t#1|)
                                                                  (|Matrix|
                                                                   $)))
                                                                T)
                                                               ((|reducedSystem|
                                                                 ((|Record|
                                                                   (|:| |mat|
                                                                        (|Matrix|
                                                                         |t#1|))
                                                                   (|:| |vec|
                                                                        (|Vector|
                                                                         |t#1|)))
                                                                  (|Matrix| $)
                                                                  (|Vector|
                                                                   $)))
                                                                T))
                                                             NIL
                                                             '((|Matrix| $)
                                                               (|Vector| $)
                                                               (|Matrix|
                                                                |t#1|))
                                                             NIL))
                                       . #2=(|LinearlyExplicitRingOver|)))))
               . #2#)
       (SETELT #1# 0 (LIST '|LinearlyExplicitRingOver| (|devaluate| |t#1|))))))) 
