
(DECLAIM (NOTINLINE |GcdDomain;|)) 

(DEFPARAMETER |GcdDomain;AL| 'NIL) 

(DEFUN |GcdDomain| ()
  (COND (|GcdDomain;AL|) (T (SETQ |GcdDomain;AL| (|GcdDomain;|))))) 

(DEFUN |GcdDomain;| ()
  (SPROG ((#1=#:G6 NIL))
         (PROG1
             (LETT #1#
                   (|Join| (|IntegralDomain|) (|LeftOreRing|)
                           (|mkCategory|
                            '(((|gcd| (% % %)) T) ((|gcd| (% (|List| %))) T)
                              ((|lcm| (% % %)) T) ((|lcm| (% (|List| %))) T)
                              ((|gcdPolynomial|
                                ((|SparseUnivariatePolynomial| %)
                                 (|SparseUnivariatePolynomial| %)
                                 (|SparseUnivariatePolynomial| %)))
                               T))
                            NIL NIL NIL)))
           (SETELT #1# 0 '(|GcdDomain|))))) 
