
(/VERSIONCHECK 2) 

(SETQ |$CategoryFrame|
        (|put| #1='|PositiveInteger| '|SuperDomain| #2='(|NonNegativeInteger|)
               (|put| #2# #3='|SubDomain|
                      (CONS '(|PositiveInteger| < 0 |#1|)
                            (DELASC #1# (|get| #2# #3# |$CategoryFrame|)))
                      |$CategoryFrame|))) 

(DEFUN |PositiveInteger| #1=()
  (PROG #1#
    (RETURN
     (PROG (#2=#:G17330)
       (RETURN
        (COND
         ((LETT #2# (HGET |$ConstructorCache| '|PositiveInteger|)
                . #3=(|PositiveInteger|))
          (|CDRwithIncrement| (CDAR #2#)))
         ('T
          (UNWIND-PROTECT
              (PROG1
                  (CDDAR
                   (HPUT |$ConstructorCache| '|PositiveInteger|
                         (LIST (CONS NIL (CONS 1 (|PositiveInteger;|))))))
                (LETT #2# T . #3#))
            (COND
             ((NOT #2#) (HREM |$ConstructorCache| '|PositiveInteger|))))))))))) 

(DEFUN |PositiveInteger;| ()
  (PROG (|dv$| $ |pv$|)
    (RETURN
     (PROGN
      (LETT |dv$| '(|PositiveInteger|) . #1=(|PositiveInteger|))
      (LETT $ (GETREFV 12) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|PositiveInteger| NIL (CONS 1 $))
      (|stuffDomainSlots| $)
      $)))) 

(MAKEPROP '|PositiveInteger| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL (|NonNegativeInteger|) (|PositiveInteger|)
              (|Boolean|) (|Union| $ '"failed") (|SingleInteger|) (|String|)
              (|OutputForm|))
           '#(~= 0 |smaller?| 6 |sample| 12 |recip| 16 |one?| 21 |min| 26 |max|
              32 |latex| 38 |hash| 43 |gcd| 48 |coerce| 54 ^ 59 |One| 71 >= 75
              > 81 = 87 <= 93 < 99 + 105 * 111)
           'NIL
           (CONS (|makeByteWordVec2| 1 '(0 0 0 0 0 0 0 0 0 0))
                 (CONS
                  '#(NIL |OrderedSet&| |Monoid&| NIL |SemiGroup&|
                     |AbelianSemiGroup&| |SetCategory&| NIL |BasicType&| NIL)
                  (CONS
                   '#((|OrderedAbelianSemiGroup|) (|OrderedSet|) (|Monoid|)
                      (|Comparable|) (|SemiGroup|) (|AbelianSemiGroup|)
                      (|SetCategory|) (|CommutativeStar|) (|BasicType|)
                      (|CoercibleTo| 11))
                   (|makeByteWordVec2| 11
                                       '(2 0 7 0 0 1 2 0 7 0 0 1 0 0 0 1 1 0 8
                                         0 1 1 0 7 0 1 2 0 0 0 0 1 2 0 0 0 0 1
                                         1 0 10 0 1 1 0 9 0 1 2 0 0 0 0 1 1 0
                                         11 0 1 2 0 0 0 6 1 2 0 0 0 5 1 0 0 0 1
                                         2 0 7 0 0 1 2 0 7 0 0 1 2 0 7 0 0 1 2
                                         0 7 0 0 1 2 0 7 0 0 1 2 0 0 0 0 1 2 0
                                         0 0 0 1 2 0 0 6 0 1)))))
           '|lookupComplete|)) 

(MAKEPROP '|PositiveInteger| 'NILADIC T) 
