
(/VERSIONCHECK 2) 

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

(DEFUN |XPolynomial;| (|#1|)
  (PROG (|pv$| $ |dv$| DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|XPolynomial|))
      (LETT |dv$| (LIST '|XPolynomial| DV$1) . #1#)
      (LETT $ (GETREFV 24) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| |#1|
                                                         '(|noZeroDivisors|))
                                          (|HasCategory| |#1|
                                                         '(|CommutativeRing|))))
                      . #1#))
      (|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|)) 
