
(DECLAIM (NOTINLINE |OrderedRing;|)) 

(DEFPARAMETER |OrderedRing;AL| 'NIL) 

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

(DEFUN |OrderedRing;| ()
  (SPROG ((#1=#:G7 NIL))
         (PROG1
             (LETT #1#
                   (|Join| (|OrderedAbelianGroup|) (|Ring|)
                           (|CharacteristicZero|)
                           (|mkCategory|
                            '(((|positive?| ((|Boolean|) %)) T)
                              ((|negative?| ((|Boolean|) %)) T)
                              ((|sign| ((|Integer|) %)) T) ((|abs| (% %)) T))
                            NIL NIL NIL)))
           (SETELT #1# 0 '(|OrderedRing|))))) 
