
(/VERSIONCHECK 2) 

(DEFPARAMETER |LinearlyExplicitRingOver;CAT| 'NIL) 

(DEFPARAMETER |LinearlyExplicitRingOver;AL| 'NIL) 

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

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