
(/VERSIONCHECK 2) 

(DEFPARAMETER |IntegerNumberSystem;AL| 'NIL) 

(DEFUN |IntegerNumberSystem| ()
  (LET (#:G10999)
    (COND (|IntegerNumberSystem;AL|)
          (T (SETQ |IntegerNumberSystem;AL| (|IntegerNumberSystem;|)))))) 

(DEFUN |IntegerNumberSystem;| ()
  (PROG (#1=#:G10997)
    (RETURN
     (PROG1
         (LETT #1#
               (|sublisV|
                (PAIR
                 '(#2=#:G10991 #3=#:G10992 #4=#:G10993 #5=#:G10994 #6=#:G10995
                   #7=#:G10996)
                 (LIST '(|Integer|) '(|Integer|) '(|Integer|) '(|InputForm|)
                       '(|Pattern| (|Integer|)) '(|Integer|)))
                (|Join| (|UniqueFactorizationDomain|) (|EuclideanDomain|)
                        (|OrderedIntegralDomain|) (|DifferentialRing|)
                        (|ConvertibleTo| '#2#) (|RetractableTo| '#3#)
                        (|LinearlyExplicitRingOver| '#4#)
                        (|ConvertibleTo| '#5#) (|ConvertibleTo| '#6#)
                        (|PatternMatchable| '#7#)
                        (|CombinatorialFunctionCategory|) (|RealConstant|)
                        (|CharacteristicZero|) (|StepThrough|)
                        (|canonicalUnitNormal|) (|multiplicativeValuation|)
                        (|mkCategory| '|domain|
                                      '(((|odd?| ((|Boolean|) $)) T)
                                        ((|even?| ((|Boolean|) $)) T)
                                        ((|base| ($)) T) ((|length| ($ $)) T)
                                        ((|shift| ($ $ $)) T)
                                        ((|bit?| ((|Boolean|) $ $)) T)
                                        ((|positiveRemainder| ($ $ $)) T)
                                        ((|symmetricRemainder| ($ $ $)) T)
                                        ((|rational?| ((|Boolean|) $)) T)
                                        ((|rational|
                                          ((|Fraction| (|Integer|)) $))
                                         T)
                                        ((|rationalIfCan|
                                          ((|Union| (|Fraction| (|Integer|))
                                                    "failed")
                                           $))
                                         T)
                                        ((|random| ($)) T) ((|random| ($ $)) T)
                                        ((|hash| ($ $)) T) ((|copy| ($ $)) T)
                                        ((|inc| ($ $)) T) ((|dec| ($ $)) T)
                                        ((|mask| ($ $)) T)
                                        ((|addmod| ($ $ $ $)) T)
                                        ((|submod| ($ $ $ $)) T)
                                        ((|mulmod| ($ $ $ $)) T)
                                        ((|powmod| ($ $ $ $)) T)
                                        ((|invmod| ($ $ $)) T))
                                      NIL
                                      '((|Fraction| (|Integer|)) (|Boolean|))
                                      NIL)))
               |IntegerNumberSystem|)
       (SETELT #1# 0 '(|IntegerNumberSystem|)))))) 

(MAKEPROP '|IntegerNumberSystem| 'NILADIC T) 
