
(/VERSIONCHECK 2) 

(DEFPARAMETER |PartialDifferentialRing;CAT| 'NIL) 

(DEFPARAMETER |PartialDifferentialRing;AL| 'NIL) 

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

(DEFUN |PartialDifferentialRing;| (|t#1|)
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
                       (COND
                         (|PartialDifferentialRing;CAT|)
                         ('T
                          (LETT |PartialDifferentialRing;CAT|
                                (|Join| (|Ring|)
                                        (|mkCategory| '|domain|
                                         '(((|differentiate|
                                             ($ $ |t#1|))
                                            T)
                                           ((|differentiate|
                                             ($ $ (|List| |t#1|)))
                                            T)
                                           ((|differentiate|
                                             ($ $ |t#1|
                                              (|NonNegativeInteger|)))
                                            T)
                                           ((|differentiate|
                                             ($ $ (|List| |t#1|)
                                              (|List|
                                               (|NonNegativeInteger|))))
                                            T)
                                           ((D ($ $ |t#1|)) T)
                                           ((D ($ $ (|List| |t#1|))) T)
                                           ((D
                                             ($ $ |t#1|
                                              (|NonNegativeInteger|)))
                                            T)
                                           ((D
                                             ($ $ (|List| |t#1|)
                                              (|List|
                                               (|NonNegativeInteger|))))
                                            T))
                                         NIL
                                         '((|List| |t#1|)
                                           (|List|
                                            (|NonNegativeInteger|))
                                           (|NonNegativeInteger|))
                                         NIL))
                                . #1=(|PartialDifferentialRing|))))) . #1#)
        (SETELT #0# 0
                (LIST '|PartialDifferentialRing| (|devaluate| |t#1|))))))) 
