
(/VERSIONCHECK 2) 

(DEFUN |XPolynomial| (#0=#:G1826)
  (PROG ()
    (RETURN
      (PROG (#1=#:G1827)
        (RETURN
          (COND
            ((LETT #1#
                   (|lassocShiftWithFunction| (LIST (|devaluate| #0#))
                       (HGET |$ConstructorCache| '|XPolynomial|)
                       '|domainEqualList|)
                   . #2=(|XPolynomial|))
             (|CDRwithIncrement| #1#))
            ('T
             (UNWIND-PROTECT
               (PROG1 (|XPolynomial;| #0#) (LETT #1# T . #2#))
               (COND
                 ((NOT #1#) (HREM |$ConstructorCache| '|XPolynomial|))))))))))) 

(DEFUN |XPolynomial;| (|#1|)
  (PROG (DV$1 |dv$| $ |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #0=(|XPolynomial|))
        (LETT |dv$| (LIST '|XPolynomial| DV$1) . #0#)
        (LETT $ (GETREFV 24) . #0#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3
            (LETT |pv$|
                  (|buildPredVector| 0 0
                      (LIST (|HasCategory| |#1| '(|noZeroDivisors|))
                            (|HasCategory| |#1| '(|CommutativeRing|)))) . #0#))
        (|haddProp| |$ConstructorCache| '|XPolynomial| (LIST DV$1)
            (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        $)))) 

(MAKEPROP '|XPolynomial| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL (|XRecursivePolynomial| 15 6)
             (|local| |#1|) (|NonNegativeInteger|)
             (|Record| (|:| |k| 15) (|:| |c| $)) (|List| 8)
             (|XDistributedPolynomial| 15 6) (|List| 15)
             (|OrderedFreeMonoid| 15) (|Mapping| 6 6) (|Boolean|)
             (|Symbol|) (|Record| (|:| |k| 12) (|:| |c| 6))
             (|Union| 12 '"failed") (|Integer|) (|Union| $ '"failed")
             (|PositiveInteger|) (|String|) (|OutputForm|)
             (|SingleInteger|))
          '#() 'NIL
          (CONS (|makeByteWordVec2| 2
                    '(0 0 0 2 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
                      1))
                (CONS '#(NIL NIL NIL |Algebra&| |Module&| NIL |Ring&|
                         NIL NIL NIL NIL |AbelianGroup&| NIL NIL
                         |AbelianMonoid&| |Monoid&| NIL |SemiGroup&|
                         |AbelianSemiGroup&| |SetCategory&|
                         |RetractableTo&| NIL |BasicType&| NIL NIL)
                      (CONS '#((|XPolynomialsCat| 15 6)
                               (|XFreeAlgebra| 15 6) (|XAlgebra| 6)
                               (|Algebra| 6) (|Module| 6)
                               (|BiModule| 6 6) (|Ring|)
                               (|LeftModule| 6) (|Rng|)
                               (|RightModule| 6) (|LeftModule| $$)
                               (|AbelianGroup|)
                               (|CancellationAbelianMonoid|)
                               (|SemiRing|) (|AbelianMonoid|)
                               (|Monoid|) (|SemiRng|) (|SemiGroup|)
                               (|AbelianSemiGroup|) (|SetCategory|)
                               (|RetractableTo| 12) (|unitsKnown|)
                               (|BasicType|) (|CoercibleTo| 22)
                               (|noZeroDivisors|))
                            (|makeByteWordVec2| -999999 'NIL))))
          '|lookupIncomplete|)) 
