
(/VERSIONCHECK 2) 

(DEFUN |POLYCAT-;eval;SLS;1| (|p| |l| $)
  (PROG (#1=#:G6323 |e| #2=#:G6322 |lvar| #3=#:G6321 #4=#:G6320 #5=#:G6313
         #6=#:G6319)
    (RETURN
     (SEQ
      (COND ((NULL |l|) |p|)
            ('T
             (SEQ
              (SEQ
               (EXIT
                (SEQ (LETT |e| NIL . #7=(|POLYCAT-;eval;SLS;1|))
                     (LETT #6# |l| . #7#) G190
                     (COND
                      ((OR (ATOM #6#) (PROGN (LETT |e| (CAR #6#) . #7#) NIL))
                       #8=(GO G191)))
                     (SEQ
                      (EXIT
                       (COND
                        ((QEQCAR
                          (SPADCALL (SPADCALL |e| (QREFELT $ 11))
                                    (QREFELT $ 13))
                          1)
                         (PROGN
                          (LETT #5#
                                (|error| "cannot find a variable to evaluate")
                                . #7#)
                          (GO #5#))))))
                     (LETT #6# (CDR #6#) . #7#) #9=(GO G190) G191 (EXIT NIL)))
               #5# (EXIT #5#))
              (LETT |lvar|
                    (PROGN
                     (LETT #4# NIL . #7#)
                     (SEQ (LETT |e| NIL . #7#) (LETT #3# |l| . #7#) G190
                          (COND
                           ((OR (ATOM #3#)
                                (PROGN (LETT |e| (CAR #3#) . #7#) NIL))
                            #8#))
                          (SEQ
                           (EXIT
                            (LETT #4#
                                  (CONS
                                   (SPADCALL (SPADCALL |e| (QREFELT $ 11))
                                             (QREFELT $ 14))
                                   #4#)
                                  . #7#)))
                          (LETT #3# (CDR #3#) . #7#) #9# G191
                          (EXIT (NREVERSE0 #4#))))
                    . #7#)
              (EXIT
               (SPADCALL |p| |lvar|
                         (PROGN
                          (LETT #2# NIL . #7#)
                          (SEQ (LETT |e| NIL . #7#) (LETT #1# |l| . #7#) G190
                               (COND
                                ((OR (ATOM #1#)
                                     (PROGN (LETT |e| (CAR #1#) . #7#) NIL))
                                 #8#))
                               (SEQ
                                (EXIT
                                 (LETT #2#
                                       (CONS (SPADCALL |e| (QREFELT $ 15)) #2#)
                                       . #7#)))
                               (LETT #1# (CDR #1#) . #7#) #9# G191
                               (EXIT (NREVERSE0 #2#))))
                         (QREFELT $ 18)))))))))) 

(DEFUN |POLYCAT-;monomials;SL;2| (|p| $)
  (PROG (|ml|)
    (RETURN
     (SEQ (LETT |ml| NIL . #1=(|POLYCAT-;monomials;SL;2|))
          (SEQ G190
               (COND
                ((NULL
                  (COND
                   ((SPADCALL |p| (|spadConstant| $ 21) (QREFELT $ 24)) 'NIL)
                   ('T 'T)))
                 (GO G191)))
               (SEQ (LETT |ml| (CONS (SPADCALL |p| (QREFELT $ 25)) |ml|) . #1#)
                    (EXIT (LETT |p| (SPADCALL |p| (QREFELT $ 26)) . #1#)))
               NIL (GO G190) G191 (EXIT NIL))
          (EXIT (REVERSE |ml|)))))) 

(DEFUN |POLYCAT-;isPlus;SU;3| (|p| $)
  (PROG (|l|)
    (RETURN
     (COND
      ((NULL
        (CDR (LETT |l| (SPADCALL |p| (QREFELT $ 28)) |POLYCAT-;isPlus;SU;3|)))
       (CONS 1 "failed"))
      ('T (CONS 0 |l|)))))) 

(DEFUN |POLYCAT-;isTimes;SU;4| (|p| $)
  (PROG (|r| |l| #1=#:G6346 |v| #2=#:G6345 |lv|)
    (RETURN
     (SEQ
      (COND
       ((OR
         (NULL
          (LETT |lv| (SPADCALL |p| (QREFELT $ 31))
                . #3=(|POLYCAT-;isTimes;SU;4|)))
         (NULL (SPADCALL |p| (QREFELT $ 32))))
        (CONS 1 "failed"))
       ('T
        (SEQ
         (LETT |l|
               (PROGN
                (LETT #2# NIL . #3#)
                (SEQ (LETT |v| NIL . #3#) (LETT #1# |lv| . #3#) G190
                     (COND
                      ((OR (ATOM #1#) (PROGN (LETT |v| (CAR #1#) . #3#) NIL))
                       (GO G191)))
                     (SEQ
                      (EXIT
                       (LETT #2#
                             (CONS
                              (SPADCALL (|spadConstant| $ 33) |v|
                                        (SPADCALL |p| |v| (QREFELT $ 36))
                                        (QREFELT $ 37))
                              #2#)
                             . #3#)))
                     (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                     (EXIT (NREVERSE0 #2#))))
               . #3#)
         (LETT |r| (SPADCALL |p| (QREFELT $ 38)) . #3#)
         (EXIT
          (COND
           ((SPADCALL |r| (|spadConstant| $ 34) (QREFELT $ 39))
            (COND ((NULL (CDR |lv|)) (CONS 1 "failed")) (#4='T (CONS 0 |l|))))
           (#4# (CONS 0 (CONS (SPADCALL |r| (QREFELT $ 40)) |l|)))))))))))) 

(DEFUN |POLYCAT-;isExpt;SU;5| (|p| $)
  (PROG (|d| |u|)
    (RETURN
     (SEQ
      (LETT |u| (SPADCALL |p| (QREFELT $ 42)) . #1=(|POLYCAT-;isExpt;SU;5|))
      (EXIT
       (COND
        ((OR (QEQCAR |u| 1)
             (NULL
              (SPADCALL |p|
                        (SPADCALL (|spadConstant| $ 33) (QCDR |u|)
                                  (LETT |d|
                                        (SPADCALL |p| (QCDR |u|)
                                                  (QREFELT $ 36))
                                        . #1#)
                                  (QREFELT $ 37))
                        (QREFELT $ 24))))
         (CONS 1 "failed"))
        ('T (CONS 0 (CONS (QCDR |u|) |d|))))))))) 

(DEFUN |POLYCAT-;coefficient;SVarSetNniS;6| (|p| |v| |n| $)
  (SPADCALL (SPADCALL |p| |v| (QREFELT $ 47)) |n| (QREFELT $ 49))) 

(DEFUN |POLYCAT-;coefficient;SLLS;7| (|p| |lv| |ln| $)
  (COND
   ((NULL |lv|)
    (COND ((NULL |ln|) |p|)
          (#1='T (|error| "mismatched lists in coefficient"))))
   ((NULL |ln|) (|error| "mismatched lists in coefficient"))
   (#1#
    (SPADCALL
     (SPADCALL (SPADCALL |p| (|SPADfirst| |lv|) (QREFELT $ 47))
               (|SPADfirst| |ln|) (QREFELT $ 49))
     (CDR |lv|) (CDR |ln|) (QREFELT $ 52))))) 

(DEFUN |POLYCAT-;monomial;SLLS;8| (|p| |lv| |ln| $)
  (COND
   ((NULL |lv|)
    (COND ((NULL |ln|) |p|) (#1='T (|error| "mismatched lists in monomial"))))
   ((NULL |ln|) (|error| "mismatched lists in monomial"))
   (#1#
    (SPADCALL
     (SPADCALL |p| (|SPADfirst| |lv|) (|SPADfirst| |ln|) (QREFELT $ 37))
     (CDR |lv|) (CDR |ln|) (QREFELT $ 54))))) 

(DEFUN |POLYCAT-;retract;SVarSet;9| (|p| $)
  (PROG (|q| #1=#:G6371)
    (RETURN
     (SEQ
      (LETT |q|
            (PROG2
                (LETT #1# (SPADCALL |p| (QREFELT $ 42))
                      . #2=(|POLYCAT-;retract;SVarSet;9|))
                (QCDR #1#)
              (|check-union| (QEQCAR #1# 0) (QREFELT $ 9) #1#))
            . #2#)
      (EXIT
       (COND ((SPADCALL (SPADCALL |q| (QREFELT $ 56)) |p| (QREFELT $ 24)) |q|)
             ('T (|error| "Polynomial is not a single variable")))))))) 

(DEFUN |POLYCAT-;retractIfCan;SU;10| (|p| $)
  (PROG (#1=#:G6379 |q|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ
         (LETT |q| (SPADCALL |p| (QREFELT $ 42))
               . #2=(|POLYCAT-;retractIfCan;SU;10|))
         (EXIT
          (COND
           ((QEQCAR |q| 0)
            (COND
             ((SPADCALL (SPADCALL (QCDR |q|) (QREFELT $ 56)) |p|
                        (QREFELT $ 24))
              (PROGN (LETT #1# |q| . #2#) (GO #1#))))))))
        (EXIT (CONS 1 "failed"))))
      #1# (EXIT #1#))))) 

(DEFUN |POLYCAT-;mkPrim| (|p| $)
  (SPADCALL (|spadConstant| $ 34) (SPADCALL |p| (QREFELT $ 59)) (QREFELT $ 60))) 

(DEFUN |POLYCAT-;primitiveMonomials;SL;12| (|p| $)
  (PROG (#1=#:G6385 |q| #2=#:G6384)
    (RETURN
     (SEQ
      (PROGN
       (LETT #2# NIL . #3=(|POLYCAT-;primitiveMonomials;SL;12|))
       (SEQ (LETT |q| NIL . #3#) (LETT #1# (SPADCALL |p| (QREFELT $ 28)) . #3#)
            G190
            (COND
             ((OR (ATOM #1#) (PROGN (LETT |q| (CAR #1#) . #3#) NIL))
              (GO G191)))
            (SEQ (EXIT (LETT #2# (CONS (|POLYCAT-;mkPrim| |q| $) #2#) . #3#)))
            (LETT #1# (CDR #1#) . #3#) (GO G190) G191
            (EXIT (NREVERSE0 #2#)))))))) 

(DEFUN |POLYCAT-;totalDegree;SNni;13| (|p| $)
  (PROG (|u| |d| #1=#:G6387)
    (RETURN
     (SEQ
      (COND ((SPADCALL |p| (QREFELT $ 62)) 0)
            ('T
             (SEQ
              (LETT |u|
                    (SPADCALL |p|
                              (PROG2
                                  (LETT #1# (SPADCALL |p| (QREFELT $ 42))
                                        . #2=(|POLYCAT-;totalDegree;SNni;13|))
                                  (QCDR #1#)
                                (|check-union| (QEQCAR #1# 0) (QREFELT $ 9)
                                               #1#))
                              (QREFELT $ 47))
                    . #2#)
              (LETT |d| 0 . #2#)
              (SEQ G190
                   (COND
                    ((NULL
                      (COND
                       ((SPADCALL |u| (|spadConstant| $ 63) (QREFELT $ 64))
                        'NIL)
                       ('T 'T)))
                     (GO G191)))
                   (SEQ
                    (LETT |d|
                          (MAX |d|
                               (+ (SPADCALL |u| (QREFELT $ 65))
                                  (SPADCALL (SPADCALL |u| (QREFELT $ 66))
                                            (QREFELT $ 67))))
                          . #2#)
                    (EXIT (LETT |u| (SPADCALL |u| (QREFELT $ 68)) . #2#)))
                   NIL (GO G190) G191 (EXIT NIL))
              (EXIT |d|)))))))) 

(DEFUN |POLYCAT-;totalDegree;SLNni;14| (|p| |lv| $)
  (PROG (|u| |d| |w| |v| #1=#:G6395)
    (RETURN
     (SEQ
      (COND ((SPADCALL |p| (QREFELT $ 62)) 0)
            ('T
             (SEQ
              (LETT |u|
                    (SPADCALL |p|
                              (LETT |v|
                                    (PROG2
                                        (LETT #1# (SPADCALL |p| (QREFELT $ 42))
                                              . #2=(|POLYCAT-;totalDegree;SLNni;14|))
                                        (QCDR #1#)
                                      (|check-union| (QEQCAR #1# 0)
                                                     (QREFELT $ 9) #1#))
                                    . #2#)
                              (QREFELT $ 47))
                    . #2#)
              (LETT |d| 0 . #2#) (LETT |w| 0 . #2#)
              (COND ((SPADCALL |v| |lv| (QREFELT $ 70)) (LETT |w| 1 . #2#)))
              (SEQ G190
                   (COND
                    ((NULL
                      (COND
                       ((SPADCALL |u| (|spadConstant| $ 63) (QREFELT $ 64))
                        'NIL)
                       ('T 'T)))
                     (GO G191)))
                   (SEQ
                    (LETT |d|
                          (MAX |d|
                               (+ (* |w| (SPADCALL |u| (QREFELT $ 65)))
                                  (SPADCALL (SPADCALL |u| (QREFELT $ 66)) |lv|
                                            (QREFELT $ 71))))
                          . #2#)
                    (EXIT (LETT |u| (SPADCALL |u| (QREFELT $ 68)) . #2#)))
                   NIL (GO G190) G191 (EXIT NIL))
              (EXIT |d|)))))))) 

(DEFUN |POLYCAT-;resultant;2SVarSetS;15| (|p1| |p2| |mvar| $)
  (SPADCALL (SPADCALL |p1| |mvar| (QREFELT $ 47))
            (SPADCALL |p2| |mvar| (QREFELT $ 47)) (QREFELT $ 73))) 

(DEFUN |POLYCAT-;discriminant;SVarSetS;16| (|p| |var| $)
  (SPADCALL (SPADCALL |p| |var| (QREFELT $ 47)) (QREFELT $ 75))) 

(DEFUN |POLYCAT-;allMonoms| (|l| $)
  (PROG (#1=#:G6408 |p| #2=#:G6407)
    (RETURN
     (SEQ
      (SPADCALL
       (SPADCALL
        (PROGN
         (LETT #2# NIL . #3=(|POLYCAT-;allMonoms|))
         (SEQ (LETT |p| NIL . #3#) (LETT #1# |l| . #3#) G190
              (COND
               ((OR (ATOM #1#) (PROGN (LETT |p| (CAR #1#) . #3#) NIL))
                (GO G191)))
              (SEQ
               (EXIT
                (LETT #2# (CONS (SPADCALL |p| (QREFELT $ 77)) #2#) . #3#)))
              (LETT #1# (CDR #1#) . #3#) (GO G190) G191
              (EXIT (NREVERSE0 #2#))))
        (QREFELT $ 79))
       (QREFELT $ 80)))))) 

(DEFUN |POLYCAT-;P2R| (|p| |b| |n| $)
  (PROG (#1=#:G6413 |i| #2=#:G6414 |bj| |w|)
    (RETURN
     (SEQ
      (LETT |w| (SPADCALL |n| (|spadConstant| $ 22) (QREFELT $ 82))
            . #3=(|POLYCAT-;P2R|))
      (SEQ (LETT |bj| NIL . #3#) (LETT #2# |b| . #3#)
           (LETT |i| (SPADCALL |w| (QREFELT $ 84)) . #3#)
           (LETT #1# (QVSIZE |w|) . #3#) G190
           (COND
            ((OR (> |i| #1#) (ATOM #2#)
                 (PROGN (LETT |bj| (CAR #2#) . #3#) NIL))
             (GO G191)))
           (SEQ
            (EXIT
             (SPADCALL |w| |i| (SPADCALL |p| |bj| (QREFELT $ 85))
                       (QREFELT $ 86))))
           (LETT |i| (PROG1 (+ |i| 1) (LETT #2# (CDR #2#) . #3#)) . #3#)
           (GO G190) G191 (EXIT NIL))
      (EXIT |w|))))) 

(DEFUN |POLYCAT-;eq2R| (|l| |b| $)
  (PROG (#1=#:G6421 |p| #2=#:G6420 #3=#:G6419 |bj| #4=#:G6418)
    (RETURN
     (SEQ
      (SPADCALL
       (PROGN
        (LETT #4# NIL . #5=(|POLYCAT-;eq2R|))
        (SEQ (LETT |bj| NIL . #5#) (LETT #3# |b| . #5#) G190
             (COND
              ((OR (ATOM #3#) (PROGN (LETT |bj| (CAR #3#) . #5#) NIL))
               #6=(GO G191)))
             (SEQ
              (EXIT
               (LETT #4#
                     (CONS
                      (PROGN
                       (LETT #2# NIL . #5#)
                       (SEQ (LETT |p| NIL . #5#) (LETT #1# |l| . #5#) G190
                            (COND
                             ((OR (ATOM #1#)
                                  (PROGN (LETT |p| (CAR #1#) . #5#) NIL))
                              #6#))
                            (SEQ
                             (EXIT
                              (LETT #2#
                                    (CONS (SPADCALL |p| |bj| (QREFELT $ 85))
                                          #2#)
                                    . #5#)))
                            (LETT #1# (CDR #1#) . #5#) #7=(GO G190) G191
                            (EXIT (NREVERSE0 #2#))))
                      #4#)
                     . #5#)))
             (LETT #3# (CDR #3#) . #5#) #7# G191 (EXIT (NREVERSE0 #4#))))
       (QREFELT $ 89)))))) 

(DEFUN |POLYCAT-;reducedSystem;MM;20| (|m| $)
  (PROG (|l| |mm| |d| #1=#:G6434 |bj| #2=#:G6433 |b| #3=#:G6432 |r| #4=#:G6431)
    (RETURN
     (SEQ
      (LETT |l| (SPADCALL |m| (QREFELT $ 92))
            . #5=(|POLYCAT-;reducedSystem;MM;20|))
      (LETT |b|
            (SPADCALL
             (SPADCALL
              (PROGN
               (LETT #4# NIL . #5#)
               (SEQ (LETT |r| NIL . #5#) (LETT #3# |l| . #5#) G190
                    (COND
                     ((OR (ATOM #3#) (PROGN (LETT |r| (CAR #3#) . #5#) NIL))
                      #6=(GO G191)))
                    (SEQ
                     (EXIT
                      (LETT #4# (CONS (|POLYCAT-;allMonoms| |r| $) #4#)
                            . #5#)))
                    (LETT #3# (CDR #3#) . #5#) #7=(GO G190) G191
                    (EXIT (NREVERSE0 #4#))))
              (QREFELT $ 79))
             (QREFELT $ 80))
            . #5#)
      (LETT |d|
            (PROGN
             (LETT #2# NIL . #5#)
             (SEQ (LETT |bj| NIL . #5#) (LETT #1# |b| . #5#) G190
                  (COND
                   ((OR (ATOM #1#) (PROGN (LETT |bj| (CAR #1#) . #5#) NIL))
                    #6#))
                  (SEQ
                   (EXIT
                    (LETT #2# (CONS (SPADCALL |bj| (QREFELT $ 59)) #2#)
                          . #5#)))
                  (LETT #1# (CDR #1#) . #5#) #7# G191 (EXIT (NREVERSE0 #2#))))
            . #5#)
      (LETT |mm| (|POLYCAT-;eq2R| (|SPADfirst| |l|) |d| $) . #5#)
      (LETT |l| (CDR |l|) . #5#)
      (SEQ G190 (COND ((NULL (COND ((NULL |l|) 'NIL) ('T 'T))) #6#))
           (SEQ
            (LETT |mm|
                  (SPADCALL |mm| (|POLYCAT-;eq2R| (|SPADfirst| |l|) |d| $)
                            (QREFELT $ 93))
                  . #5#)
            (EXIT (LETT |l| (CDR |l|) . #5#)))
           NIL #7# G191 (EXIT NIL))
      (EXIT |mm|))))) 

(DEFUN |POLYCAT-;reducedSystem;MVR;21| (|m| |v| $)
  (PROG (|r| |l| |w| |mm| |n| |d| #1=#:G6449 |bj| #2=#:G6448 |b| #3=#:G6447 |s|
         #4=#:G6446)
    (RETURN
     (SEQ
      (LETT |l| (SPADCALL |m| (QREFELT $ 92))
            . #5=(|POLYCAT-;reducedSystem;MVR;21|))
      (LETT |r| (SPADCALL |v| (QREFELT $ 97)) . #5#)
      (LETT |b|
            (SPADCALL
             (SPADCALL (|POLYCAT-;allMonoms| |r| $)
                       (SPADCALL
                        (PROGN
                         (LETT #4# NIL . #5#)
                         (SEQ (LETT |s| NIL . #5#) (LETT #3# |l| . #5#) G190
                              (COND
                               ((OR (ATOM #3#)
                                    (PROGN (LETT |s| (CAR #3#) . #5#) NIL))
                                #6=(GO G191)))
                              (SEQ
                               (EXIT
                                (LETT #4#
                                      (CONS (|POLYCAT-;allMonoms| |s| $) #4#)
                                      . #5#)))
                              (LETT #3# (CDR #3#) . #5#) #7=(GO G190) G191
                              (EXIT (NREVERSE0 #4#))))
                        (QREFELT $ 79))
                       (QREFELT $ 98))
             (QREFELT $ 80))
            . #5#)
      (LETT |d|
            (PROGN
             (LETT #2# NIL . #5#)
             (SEQ (LETT |bj| NIL . #5#) (LETT #1# |b| . #5#) G190
                  (COND
                   ((OR (ATOM #1#) (PROGN (LETT |bj| (CAR #1#) . #5#) NIL))
                    #6#))
                  (SEQ
                   (EXIT
                    (LETT #2# (CONS (SPADCALL |bj| (QREFELT $ 59)) #2#)
                          . #5#)))
                  (LETT #1# (CDR #1#) . #5#) #7# G191 (EXIT (NREVERSE0 #2#))))
            . #5#)
      (LETT |n| (LENGTH |d|) . #5#)
      (LETT |mm| (|POLYCAT-;eq2R| (|SPADfirst| |l|) |d| $) . #5#)
      (LETT |w| (|POLYCAT-;P2R| (|SPADfirst| |r|) |d| |n| $) . #5#)
      (LETT |l| (CDR |l|) . #5#) (LETT |r| (CDR |r|) . #5#)
      (SEQ G190 (COND ((NULL (COND ((NULL |l|) 'NIL) ('T 'T))) #6#))
           (SEQ
            (LETT |mm|
                  (SPADCALL |mm| (|POLYCAT-;eq2R| (|SPADfirst| |l|) |d| $)
                            (QREFELT $ 93))
                  . #5#)
            (LETT |w|
                  (SPADCALL |w| (|POLYCAT-;P2R| (|SPADfirst| |r|) |d| |n| $)
                            (QREFELT $ 99))
                  . #5#)
            (LETT |l| (CDR |l|) . #5#) (EXIT (LETT |r| (CDR |r|) . #5#)))
           NIL #7# G191 (EXIT NIL))
      (EXIT (CONS |mm| |w|)))))) 

(DEFUN |POLYCAT-;gcdPolynomial;3Sup;22| (|pp| |qq| $)
  (SPADCALL |pp| |qq| (QREFELT $ 104))) 

(DEFUN |POLYCAT-;solveLinearPolynomialEquation;LSupU;23| (|lpp| |pp| $)
  (SPADCALL |lpp| |pp| (QREFELT $ 109))) 

(DEFUN |POLYCAT-;factorPolynomial;SupF;24| (|pp| $)
  (SPADCALL |pp| (QREFELT $ 114))) 

(DEFUN |POLYCAT-;factorSquareFreePolynomial;SupF;25| (|pp| $)
  (SPADCALL |pp| (QREFELT $ 117))) 

(DEFUN |POLYCAT-;factor;SF;26| (|p| $)
  (PROG (#1=#:G6494 |ww| #2=#:G6493 |ansSUP| |up| #3=#:G6492 |w| #4=#:G6491
         |ansR| |v|)
    (RETURN
     (SEQ
      (LETT |v| (SPADCALL |p| (QREFELT $ 42)) . #5=(|POLYCAT-;factor;SF;26|))
      (EXIT
       (COND
        ((QEQCAR |v| 1)
         (SEQ
          (LETT |ansR| (SPADCALL (SPADCALL |p| (QREFELT $ 38)) (QREFELT $ 120))
                . #5#)
          (EXIT
           (SPADCALL
            (SPADCALL (SPADCALL |ansR| (QREFELT $ 122)) (QREFELT $ 40))
            (PROGN
             (LETT #4# NIL . #5#)
             (SEQ (LETT |w| NIL . #5#)
                  (LETT #3# (SPADCALL |ansR| (QREFELT $ 126)) . #5#) G190
                  (COND
                   ((OR (ATOM #3#) (PROGN (LETT |w| (CAR #3#) . #5#) NIL))
                    #6=(GO G191)))
                  (SEQ
                   (EXIT
                    (LETT #4#
                          (CONS
                           (VECTOR (QVELT |w| 0)
                                   (SPADCALL (QVELT |w| 1) (QREFELT $ 40))
                                   (QVELT |w| 2))
                           #4#)
                          . #5#)))
                  (LETT #3# (CDR #3#) . #5#) #7=(GO G190) G191
                  (EXIT (NREVERSE0 #4#))))
            (QREFELT $ 130)))))
        ('T
         (SEQ (LETT |up| (SPADCALL |p| (QCDR |v|) (QREFELT $ 47)) . #5#)
              (LETT |ansSUP| (SPADCALL |up| (QREFELT $ 114)) . #5#)
              (EXIT
               (SPADCALL
                (SPADCALL (SPADCALL |ansSUP| (QREFELT $ 131)) (QCDR |v|)
                          (QREFELT $ 132))
                (PROGN
                 (LETT #2# NIL . #5#)
                 (SEQ (LETT |ww| NIL . #5#)
                      (LETT #1# (SPADCALL |ansSUP| (QREFELT $ 135)) . #5#) G190
                      (COND
                       ((OR (ATOM #1#) (PROGN (LETT |ww| (CAR #1#) . #5#) NIL))
                        #6#))
                      (SEQ
                       (EXIT
                        (LETT #2#
                              (CONS
                               (VECTOR (QVELT |ww| 0)
                                       (SPADCALL (QVELT |ww| 1) (QCDR |v|)
                                                 (QREFELT $ 132))
                                       (QVELT |ww| 2))
                               #2#)
                              . #5#)))
                      (LETT #1# (CDR #1#) . #5#) #7# G191
                      (EXIT (NREVERSE0 #2#))))
                (QREFELT $ 130))))))))))) 

(DEFUN |POLYCAT-;conditionP;MU;27| (|mat| $)
  (PROG (#1=#:G6523 #2=#:G6522 #3=#:G6524 |i| #4=#:G6542 |m| #5=#:G6541 |mons|
         #6=#:G6540 #7=#:G6539 |ans| |monslist| |llR| #8=#:G6537 |u| #9=#:G6538
         |v| #10=#:G6536 |redmons| |deg1| #11=#:G6508 #12=#:G6528 |nd|
         #13=#:G6535 |d| #14=#:G6534 |degs| |vars| #15=#:G6533 #16=#:G6500
         #17=#:G6499 #18=#:G6501 #19=#:G6532 #20=#:G6531 |l| |ch| #21=#:G6530
         |z| #22=#:G6529 |ll|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (LETT |ll| (SPADCALL (SPADCALL |mat| (QREFELT $ 137)) (QREFELT $ 92))
              . #23=(|POLYCAT-;conditionP;MU;27|))
        (LETT |llR|
              (PROGN
               (LETT #22# NIL . #23#)
               (SEQ (LETT |z| NIL . #23#) (LETT #21# (|SPADfirst| |ll|) . #23#)
                    G190
                    (COND
                     ((OR (ATOM #21#) (PROGN (LETT |z| (CAR #21#) . #23#) NIL))
                      #24=(GO G191)))
                    (SEQ (EXIT (LETT #22# (CONS NIL #22#) . #23#)))
                    (LETT #21# (CDR #21#) . #23#) #25=(GO G190) G191
                    (EXIT (NREVERSE0 #22#))))
              . #23#)
        (LETT |monslist| NIL . #23#)
        (LETT |ch| (SPADCALL (QREFELT $ 138)) . #23#)
        (SEQ (LETT |l| NIL . #23#) (LETT #20# |ll| . #23#) G190
             (COND
              ((OR (ATOM #20#) (PROGN (LETT |l| (CAR #20#) . #23#) NIL)) #24#))
             (SEQ
              (LETT |mons|
                    (PROGN
                     (LETT #16# NIL . #23#)
                     (SEQ (LETT |u| NIL . #23#) (LETT #19# |l| . #23#) G190
                          (COND
                           ((OR (ATOM #19#)
                                (PROGN (LETT |u| (CAR #19#) . #23#) NIL))
                            #24#))
                          (SEQ
                           (EXIT
                            (PROGN
                             (LETT #18# (SPADCALL |u| (QREFELT $ 77)) . #23#)
                             (COND
                              (#16#
                               (LETT #17# (SPADCALL #17# #18# (QREFELT $ 139))
                                     . #23#))
                              ('T
                               (PROGN
                                (LETT #17# #18# . #23#)
                                (LETT #16# 'T . #23#)))))))
                          (LETT #19# (CDR #19#) . #23#) #25# G191 (EXIT NIL))
                     (COND (#16# #17#) ('T (|IdentityError| '|setUnion|))))
                    . #23#)
              (LETT |redmons| NIL . #23#)
              (SEQ (LETT |m| NIL . #23#) (LETT #15# |mons| . #23#) G190
                   (COND
                    ((OR (ATOM #15#) (PROGN (LETT |m| (CAR #15#) . #23#) NIL))
                     #24#))
                   (SEQ (LETT |vars| (SPADCALL |m| (QREFELT $ 31)) . #23#)
                        (LETT |degs| (SPADCALL |m| |vars| (QREFELT $ 140))
                              . #23#)
                        (LETT |deg1|
                              (PROGN
                               (LETT #14# NIL . #23#)
                               (SEQ (LETT |d| NIL . #23#)
                                    (LETT #13# |degs| . #23#) G190
                                    (COND
                                     ((OR (ATOM #13#)
                                          (PROGN
                                           (LETT |d| (CAR #13#) . #23#)
                                           NIL))
                                      #24#))
                                    (SEQ
                                     (EXIT
                                      (LETT #14#
                                            (CONS
                                             (SEQ
                                              (LETT |nd|
                                                    (SPADCALL |d| |ch|
                                                              (QREFELT $ 142))
                                                    . #23#)
                                              (EXIT
                                               (COND
                                                ((QEQCAR |nd| 1)
                                                 (PROGN
                                                  (LETT #12# (CONS 1 "failed")
                                                        . #23#)
                                                  (GO #12#)))
                                                ('T
                                                 (PROG1
                                                     (LETT #11# (QCDR |nd|)
                                                           . #23#)
                                                   (|check-subtype| (>= #11# 0)
                                                                    '(|NonNegativeInteger|)
                                                                    #11#))))))
                                             #14#)
                                            . #23#)))
                                    (LETT #13# (CDR #13#) . #23#) #25# G191
                                    (EXIT (NREVERSE0 #14#))))
                              . #23#)
                        (LETT |redmons|
                              (CONS
                               (SPADCALL (|spadConstant| $ 33) |vars| |deg1|
                                         (QREFELT $ 54))
                               |redmons|)
                              . #23#)
                        (EXIT
                         (LETT |llR|
                               (PROGN
                                (LETT #10# NIL . #23#)
                                (SEQ (LETT |v| NIL . #23#)
                                     (LETT #9# |llR| . #23#)
                                     (LETT |u| NIL . #23#)
                                     (LETT #8# |l| . #23#) G190
                                     (COND
                                      ((OR (ATOM #8#)
                                           (PROGN
                                            (LETT |u| (CAR #8#) . #23#)
                                            NIL)
                                           (ATOM #9#)
                                           (PROGN
                                            (LETT |v| (CAR #9#) . #23#)
                                            NIL))
                                       #24#))
                                     (SEQ
                                      (EXIT
                                       (LETT #10#
                                             (CONS
                                              (CONS
                                               (SPADCALL
                                                (SPADCALL |u| |vars| |degs|
                                                          (QREFELT $ 52))
                                                (QREFELT $ 143))
                                               |v|)
                                              #10#)
                                             . #23#)))
                                     (LETT #8#
                                           (PROG1 (CDR #8#)
                                             (LETT #9# (CDR #9#) . #23#))
                                           . #23#)
                                     #25# G191 (EXIT (NREVERSE0 #10#))))
                               . #23#)))
                   (LETT #15# (CDR #15#) . #23#) #25# G191 (EXIT NIL))
              (EXIT (LETT |monslist| (CONS |redmons| |monslist|) . #23#)))
             (LETT #20# (CDR #20#) . #23#) #25# G191 (EXIT NIL))
        (LETT |ans|
              (SPADCALL
               (SPADCALL (SPADCALL |llR| (QREFELT $ 89)) (QREFELT $ 144))
               (QREFELT $ 146))
              . #23#)
        (EXIT
         (COND ((QEQCAR |ans| 1) (CONS 1 "failed"))
               ('T
                (SEQ (LETT |i| 0 . #23#)
                     (EXIT
                      (CONS 0
                            (PROGN
                             (LETT #7# (GETREFV (SIZE |monslist|)) . #23#)
                             (SEQ (LETT #6# 0 . #23#) (LETT |mons| NIL . #23#)
                                  (LETT #5# |monslist| . #23#) G190
                                  (COND
                                   ((OR (ATOM #5#)
                                        (PROGN
                                         (LETT |mons| (CAR #5#) . #23#)
                                         NIL))
                                    #24#))
                                  (SEQ
                                   (EXIT
                                    (SETELT #7# #6#
                                            (PROGN
                                             (LETT #1# NIL . #23#)
                                             (SEQ (LETT |m| NIL . #23#)
                                                  (LETT #4# |mons| . #23#) G190
                                                  (COND
                                                   ((OR (ATOM #4#)
                                                        (PROGN
                                                         (LETT |m| (CAR #4#)
                                                               . #23#)
                                                         NIL))
                                                    #24#))
                                                  (SEQ
                                                   (EXIT
                                                    (PROGN
                                                     (LETT #3#
                                                           (SPADCALL |m|
                                                                     (SPADCALL
                                                                      (SPADCALL
                                                                       (QCDR
                                                                        |ans|)
                                                                       (LETT
                                                                        |i|
                                                                        (+ |i|
                                                                           1)
                                                                        . #23#)
                                                                       (QREFELT
                                                                        $ 147))
                                                                      (QREFELT
                                                                       $ 40))
                                                                     (QREFELT $
                                                                              148))
                                                           . #23#)
                                                     (COND
                                                      (#1#
                                                       (LETT #2#
                                                             (SPADCALL #2# #3#
                                                                       (QREFELT
                                                                        $ 149))
                                                             . #23#))
                                                      ('T
                                                       (PROGN
                                                        (LETT #2# #3# . #23#)
                                                        (LETT #1# 'T
                                                              . #23#)))))))
                                                  (LETT #4# (CDR #4#) . #23#)
                                                  #25# G191 (EXIT NIL))
                                             (COND (#1# #2#)
                                                   ('T
                                                    (|spadConstant| $ 21)))))))
                                  (LETT #5#
                                        (PROG1 (CDR #5#)
                                          (LETT #6# (QSADD1 #6#) . #23#))
                                        . #23#)
                                  #25# G191 (EXIT NIL))
                             #7#)))))))))
      #12# (EXIT #12#))))) 

(DEFUN |POLYCAT-;charthRoot;SU;28| (|p| $)
  (PROG (|ch| |ans| |vars|)
    (RETURN
     (SEQ
      (LETT |vars| (SPADCALL |p| (QREFELT $ 31))
            . #1=(|POLYCAT-;charthRoot;SU;28|))
      (EXIT
       (COND
        ((NULL |vars|)
         (SEQ
          (LETT |ans| (SPADCALL (SPADCALL |p| (QREFELT $ 143)) (QREFELT $ 151))
                . #1#)
          (EXIT
           (COND ((QEQCAR |ans| 1) (CONS 1 "failed"))
                 (#2='T (CONS 0 (SPADCALL (QCDR |ans|) (QREFELT $ 40))))))))
        (#2#
         (SEQ (LETT |ch| (SPADCALL (QREFELT $ 138)) . #1#)
              (EXIT (|POLYCAT-;charthRootlv| |p| |vars| |ch| $)))))))))) 

(DEFUN |POLYCAT-;charthRootlv| (|p| |vars| |ch| $)
  (PROG (#1=#:G6570 |ansx| |ans| #2=#:G6563 |d| |cp| |dd| |v|)
    (RETURN
     (SEQ
      (EXIT
       (COND
        ((NULL |vars|)
         (SEQ
          (LETT |ans| (SPADCALL (SPADCALL |p| (QREFELT $ 143)) (QREFELT $ 151))
                . #3=(|POLYCAT-;charthRootlv|))
          (EXIT
           (COND ((QEQCAR |ans| 1) (CONS 1 "failed"))
                 (#4='T (CONS 0 (SPADCALL (QCDR |ans|) (QREFELT $ 40))))))))
        (#4#
         (SEQ (LETT |v| (|SPADfirst| |vars|) . #3#)
              (LETT |vars| (CDR |vars|) . #3#)
              (LETT |d| (SPADCALL |p| |v| (QREFELT $ 36)) . #3#)
              (LETT |ans| (|spadConstant| $ 21) . #3#)
              (SEQ G190 (COND ((NULL (< 0 |d|)) (GO G191)))
                   (SEQ (LETT |dd| (SPADCALL |d| |ch| (QREFELT $ 142)) . #3#)
                        (EXIT
                         (COND
                          ((QEQCAR |dd| 1)
                           (PROGN (LETT #1# (CONS 1 "failed") . #3#) (GO #1#)))
                          ('T
                           (SEQ
                            (LETT |cp| (SPADCALL |p| |v| |d| (QREFELT $ 154))
                                  . #3#)
                            (LETT |p|
                                  (SPADCALL |p|
                                            (SPADCALL |cp| |v| |d|
                                                      (QREFELT $ 37))
                                            (QREFELT $ 155))
                                  . #3#)
                            (LETT |ansx|
                                  (|POLYCAT-;charthRootlv| |cp| |vars| |ch| $)
                                  . #3#)
                            (EXIT
                             (COND
                              ((QEQCAR |ansx| 1)
                               (PROGN
                                (LETT #1# (CONS 1 "failed") . #3#)
                                (GO #1#)))
                              ('T
                               (SEQ
                                (LETT |d| (SPADCALL |p| |v| (QREFELT $ 36))
                                      . #3#)
                                (EXIT
                                 (LETT |ans|
                                       (SPADCALL |ans|
                                                 (SPADCALL (QCDR |ansx|) |v|
                                                           (PROG1
                                                               (LETT #2#
                                                                     (QCDR
                                                                      |dd|)
                                                                     . #3#)
                                                             (|check-subtype|
                                                              (>= #2# 0)
                                                              '(|NonNegativeInteger|)
                                                              #2#))
                                                           (QREFELT $ 37))
                                                 (QREFELT $ 149))
                                       . #3#)))))))))))
                   NIL (GO G190) G191 (EXIT NIL))
              (LETT |ansx| (|POLYCAT-;charthRootlv| |p| |vars| |ch| $) . #3#)
              (EXIT
               (COND
                ((QEQCAR |ansx| 1)
                 (PROGN (LETT #1# (CONS 1 "failed") . #3#) (GO #1#)))
                (#4#
                 (PROGN
                  (LETT #1#
                        (CONS 0 (SPADCALL |ans| (QCDR |ansx|) (QREFELT $ 149)))
                        . #3#)
                  (GO #1#)))))))))
      #1# (EXIT #1#))))) 

(DEFUN |POLYCAT-;monicDivide;2SVarSetR;30| (|p1| |p2| |mvar| $)
  (PROG (|result|)
    (RETURN
     (SEQ
      (LETT |result|
            (SPADCALL (SPADCALL |p1| |mvar| (QREFELT $ 47))
                      (SPADCALL |p2| |mvar| (QREFELT $ 47)) (QREFELT $ 157))
            |POLYCAT-;monicDivide;2SVarSetR;30|)
      (EXIT
       (CONS (SPADCALL (QCAR |result|) |mvar| (QREFELT $ 132))
             (SPADCALL (QCDR |result|) |mvar| (QREFELT $ 132)))))))) 

(DEFUN |POLYCAT-;squareFree;SF;31| (|p| $) (SPADCALL |p| (QREFELT $ 160))) 

(DEFUN |POLYCAT-;squareFree;SF;32| (|p| $) (SPADCALL |p| (QREFELT $ 163))) 

(DEFUN |POLYCAT-;squareFree;SF;33| (|p| $) (SPADCALL |p| (QREFELT $ 163))) 

(DEFUN |POLYCAT-;squareFreePart;2S;34| (|p| $)
  (PROG (#1=#:G6583 #2=#:G6582 #3=#:G6584 #4=#:G6586 |f| |s|)
    (RETURN
     (SEQ
      (SPADCALL
       (SPADCALL
        (LETT |s| (SPADCALL |p| (QREFELT $ 164))
              . #5=(|POLYCAT-;squareFreePart;2S;34|))
        (QREFELT $ 165))
       (PROGN
        (LETT #1# NIL . #5#)
        (SEQ (LETT |f| NIL . #5#)
             (LETT #4# (SPADCALL |s| (QREFELT $ 168)) . #5#) G190
             (COND
              ((OR (ATOM #4#) (PROGN (LETT |f| (CAR #4#) . #5#) NIL))
               (GO G191)))
             (SEQ
              (EXIT
               (PROGN
                (LETT #3# (QCAR |f|) . #5#)
                (COND (#1# (LETT #2# (SPADCALL #2# #3# (QREFELT $ 148)) . #5#))
                      ('T (PROGN (LETT #2# #3# . #5#) (LETT #1# 'T . #5#)))))))
             (LETT #4# (CDR #4#) . #5#) (GO G190) G191 (EXIT NIL))
        (COND (#1# #2#) ('T (|spadConstant| $ 33))))
       (QREFELT $ 148)))))) 

(DEFUN |POLYCAT-;content;SVarSetS;35| (|p| |v| $)
  (SPADCALL (SPADCALL |p| |v| (QREFELT $ 47)) (QREFELT $ 170))) 

(DEFUN |POLYCAT-;primitivePart;2S;36| (|p| $)
  (PROG (#1=#:G6589)
    (RETURN
     (COND ((SPADCALL |p| (QREFELT $ 172)) |p|)
           ('T
            (QVELT
             (SPADCALL
              (PROG2
                  (LETT #1#
                        (SPADCALL |p| (SPADCALL |p| (QREFELT $ 173))
                                  (QREFELT $ 174))
                        |POLYCAT-;primitivePart;2S;36|)
                  (QCDR #1#)
                (|check-union| (QEQCAR #1# 0) (QREFELT $ 6) #1#))
              (QREFELT $ 176))
             1)))))) 

(DEFUN |POLYCAT-;primitivePart;SVarSetS;37| (|p| |v| $)
  (PROG (#1=#:G6596)
    (RETURN
     (COND ((SPADCALL |p| (QREFELT $ 172)) |p|)
           ('T
            (QVELT
             (SPADCALL
              (PROG2
                  (LETT #1#
                        (SPADCALL |p| (SPADCALL |p| |v| (QREFELT $ 178))
                                  (QREFELT $ 179))
                        |POLYCAT-;primitivePart;SVarSetS;37|)
                  (QCDR #1#)
                (|check-union| (QEQCAR #1# 0) (QREFELT $ 6) #1#))
              (QREFELT $ 176))
             1)))))) 

(DEFUN |POLYCAT-;smaller?;2SB;38| (|p| |q| $)
  (PROG (|dq| |dp|)
    (RETURN
     (SEQ
      (LETT |dp| (SPADCALL |p| (QREFELT $ 59))
            . #1=(|POLYCAT-;smaller?;2SB;38|))
      (LETT |dq| (SPADCALL |q| (QREFELT $ 59)) . #1#)
      (EXIT
       (COND
        ((SPADCALL |dp| |dq| (QREFELT $ 181))
         (SPADCALL (|spadConstant| $ 22) (SPADCALL |q| (QREFELT $ 38))
                   (QREFELT $ 182)))
        ((SPADCALL |dq| |dp| (QREFELT $ 181))
         (SPADCALL (SPADCALL |p| (QREFELT $ 38)) (|spadConstant| $ 22)
                   (QREFELT $ 182)))
        ('T
         (SPADCALL (SPADCALL (SPADCALL |p| |q| (QREFELT $ 155)) (QREFELT $ 38))
                   (|spadConstant| $ 22) (QREFELT $ 182))))))))) 

(DEFUN |POLYCAT-;patternMatch;SP2Pmr;39| (|p| |pat| |l| $)
  (SPADCALL |p| |pat| |l| (QREFELT $ 187))) 

(DEFUN |POLYCAT-;patternMatch;SP2Pmr;40| (|p| |pat| |l| $)
  (SPADCALL |p| |pat| |l| (QREFELT $ 193))) 

(DEFUN |POLYCAT-;convert;SP;41| (|x| $)
  (SPADCALL (ELT $ 196) (ELT $ 197) |x| (QREFELT $ 201))) 

(DEFUN |POLYCAT-;convert;SP;42| (|x| $)
  (SPADCALL (ELT $ 203) (ELT $ 204) |x| (QREFELT $ 208))) 

(DEFUN |POLYCAT-;convert;SIf;43| (|p| $)
  (SPADCALL (ELT $ 211) (ELT $ 212) |p| (QREFELT $ 216))) 

(DEFUN |PolynomialCategory&| (|#1| |#2| |#3| |#4|)
  (PROG (|pv$| $ |dv$| DV$4 DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|PolynomialCategory&|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT DV$4 (|devaluate| |#4|) . #1#)
      (LETT |dv$| (LIST '|PolynomialCategory&| DV$1 DV$2 DV$3 DV$4) . #1#)
      (LETT $ (GETREFV 226) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| |#2|
                                                         '(|PolynomialFactorizationExplicit|))
                                          (|HasCategory| |#2|
                                                         '(|canonicalUnitNormal|))
                                          (|HasCategory| |#2| '(|GcdDomain|))
                                          (|HasCategory| |#2|
                                                         '(|CommutativeRing|))
                                          (|HasCategory| |#4|
                                                         '(|PatternMatchable|
                                                           (|Float|)))
                                          (|HasCategory| |#2|
                                                         '(|PatternMatchable|
                                                           (|Float|)))
                                          (|HasCategory| |#4|
                                                         '(|PatternMatchable|
                                                           (|Integer|)))
                                          (|HasCategory| |#2|
                                                         '(|PatternMatchable|
                                                           (|Integer|)))
                                          (|HasCategory| |#4|
                                                         '(|ConvertibleTo|
                                                           (|Pattern|
                                                            (|Float|))))
                                          (|HasCategory| |#2|
                                                         '(|ConvertibleTo|
                                                           (|Pattern|
                                                            (|Float|))))
                                          (|HasCategory| |#4|
                                                         '(|ConvertibleTo|
                                                           (|Pattern|
                                                            (|Integer|))))
                                          (|HasCategory| |#2|
                                                         '(|ConvertibleTo|
                                                           (|Pattern|
                                                            (|Integer|))))
                                          (|HasCategory| |#4|
                                                         '(|ConvertibleTo|
                                                           (|InputForm|)))
                                          (|HasCategory| |#2|
                                                         '(|ConvertibleTo|
                                                           (|InputForm|)))
                                          (|HasCategory| |#2|
                                                         '(|Comparable|))))
                      . #1#))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (QSETREFV $ 9 |#4|)
      (COND
       ((|testBitVector| |pv$| 4)
        (PROGN
         (QSETREFV $ 74
                   (CONS (|dispatchFunction| |POLYCAT-;resultant;2SVarSetS;15|)
                         $))
         (QSETREFV $ 76
                   (CONS
                    (|dispatchFunction| |POLYCAT-;discriminant;SVarSetS;16|)
                    $)))))
      (COND
       ((|HasCategory| |#2| '(|IntegralDomain|))
        (PROGN
         (QSETREFV $ 95
                   (CONS (|dispatchFunction| |POLYCAT-;reducedSystem;MM;20|)
                         $))
         (QSETREFV $ 102
                   (CONS (|dispatchFunction| |POLYCAT-;reducedSystem;MVR;21|)
                         $)))))
      (COND
       ((|testBitVector| |pv$| 1)
        (PROGN
         (QSETREFV $ 105
                   (CONS (|dispatchFunction| |POLYCAT-;gcdPolynomial;3Sup;22|)
                         $))
         (QSETREFV $ 112
                   (CONS
                    (|dispatchFunction|
                     |POLYCAT-;solveLinearPolynomialEquation;LSupU;23|)
                    $))
         (QSETREFV $ 116
                   (CONS
                    (|dispatchFunction| |POLYCAT-;factorPolynomial;SupF;24|)
                    $))
         (QSETREFV $ 118
                   (CONS
                    (|dispatchFunction|
                     |POLYCAT-;factorSquareFreePolynomial;SupF;25|)
                    $))
         (QSETREFV $ 136 (CONS (|dispatchFunction| |POLYCAT-;factor;SF;26|) $))
         (COND
          ((|HasCategory| |#2| '(|CharacteristicNonZero|))
           (PROGN
            (QSETREFV $ 150
                      (CONS (|dispatchFunction| |POLYCAT-;conditionP;MU;27|)
                            $))))))))
      (COND
       ((|HasCategory| |#2| '(|CharacteristicNonZero|))
        (PROGN
         (QSETREFV $ 152
                   (CONS (|dispatchFunction| |POLYCAT-;charthRoot;SU;28|)
                         $)))))
      (COND
       ((|testBitVector| |pv$| 3)
        (PROGN
         (COND
          ((|HasCategory| |#2| '(|EuclideanDomain|))
           (COND
            ((|HasCategory| |#2| '(|CharacteristicZero|))
             (QSETREFV $ 161
                       (CONS (|dispatchFunction| |POLYCAT-;squareFree;SF;31|)
                             $)))
            ('T
             (QSETREFV $ 161
                       (CONS (|dispatchFunction| |POLYCAT-;squareFree;SF;32|)
                             $)))))
          ('T
           (QSETREFV $ 161
                     (CONS (|dispatchFunction| |POLYCAT-;squareFree;SF;33|)
                           $))))
         (QSETREFV $ 169
                   (CONS (|dispatchFunction| |POLYCAT-;squareFreePart;2S;34|)
                         $))
         (QSETREFV $ 171
                   (CONS (|dispatchFunction| |POLYCAT-;content;SVarSetS;35|)
                         $))
         (QSETREFV $ 177
                   (CONS (|dispatchFunction| |POLYCAT-;primitivePart;2S;36|)
                         $))
         (QSETREFV $ 180
                   (CONS
                    (|dispatchFunction| |POLYCAT-;primitivePart;SVarSetS;37|)
                    $)))))
      (COND
       ((|testBitVector| |pv$| 15)
        (PROGN
         (QSETREFV $ 183
                   (CONS (|dispatchFunction| |POLYCAT-;smaller?;2SB;38|) $))
         (COND
          ((|testBitVector| |pv$| 8)
           (COND
            ((|testBitVector| |pv$| 7)
             (QSETREFV $ 189
                       (CONS
                        (|dispatchFunction| |POLYCAT-;patternMatch;SP2Pmr;39|)
                        $))))))
         (COND
          ((|testBitVector| |pv$| 6)
           (COND
            ((|testBitVector| |pv$| 5)
             (QSETREFV $ 195
                       (CONS
                        (|dispatchFunction| |POLYCAT-;patternMatch;SP2Pmr;40|)
                        $)))))))))
      (COND
       ((|testBitVector| |pv$| 12)
        (COND
         ((|testBitVector| |pv$| 11)
          (QSETREFV $ 202
                    (CONS (|dispatchFunction| |POLYCAT-;convert;SP;41|) $))))))
      (COND
       ((|testBitVector| |pv$| 10)
        (COND
         ((|testBitVector| |pv$| 9)
          (QSETREFV $ 209
                    (CONS (|dispatchFunction| |POLYCAT-;convert;SP;42|) $))))))
      (COND
       ((|testBitVector| |pv$| 14)
        (COND
         ((|testBitVector| |pv$| 13)
          (QSETREFV $ 217
                    (CONS (|dispatchFunction| |POLYCAT-;convert;SIf;43|)
                          $))))))
      $)))) 

(MAKEPROP '|PolynomialCategory&| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) (|local| |#4|) (|Equation| 6) (0 . |lhs|)
              (|Union| 9 '#1="failed") (5 . |retractIfCan|) (10 . |retract|)
              (15 . |rhs|) (|List| 9) (|List| $) (20 . |eval|) (|List| 221)
              |POLYCAT-;eval;SLS;1| (27 . |Zero|) (31 . |Zero|) (|Boolean|)
              (35 . =) (41 . |leadingMonomial|) (46 . |reductum|)
              |POLYCAT-;monomials;SL;2| (51 . |monomials|)
              (|Union| 17 '"failed") |POLYCAT-;isPlus;SU;3| (56 . |variables|)
              (61 . |monomial?|) (66 . |One|) (70 . |One|)
              (|NonNegativeInteger|) (74 . |degree|) (80 . |monomial|)
              (87 . |leadingCoefficient|) (92 . =) (98 . |coerce|)
              |POLYCAT-;isTimes;SU;4| (103 . |mainVariable|)
              (|Record| (|:| |var| 9) (|:| |exponent| 35))
              (|Union| 43 '"failed") |POLYCAT-;isExpt;SU;5|
              (|SparseUnivariatePolynomial| $) (108 . |univariate|)
              (|SparseUnivariatePolynomial| 6) (114 . |coefficient|)
              |POLYCAT-;coefficient;SVarSetNniS;6| (|List| 35)
              (120 . |coefficient|) |POLYCAT-;coefficient;SLLS;7|
              (127 . |monomial|) |POLYCAT-;monomial;SLLS;8| (134 . |coerce|)
              |POLYCAT-;retract;SVarSet;9| |POLYCAT-;retractIfCan;SU;10|
              (139 . |degree|) (144 . |monomial|)
              |POLYCAT-;primitiveMonomials;SL;12| (150 . |ground?|)
              (155 . |Zero|) (159 . =) (165 . |degree|)
              (170 . |leadingCoefficient|) (175 . |totalDegree|)
              (180 . |reductum|) |POLYCAT-;totalDegree;SNni;13|
              (185 . |member?|) (191 . |totalDegree|)
              |POLYCAT-;totalDegree;SLNni;14| (197 . |resultant|)
              (203 . |resultant|) (210 . |discriminant|) (215 . |discriminant|)
              (221 . |primitiveMonomials|) (|List| 6) (226 . |concat|)
              (231 . |removeDuplicates!|) (|Vector| 7) (236 . |new|)
              (|Integer|) (242 . |minIndex|) (247 . |coefficient|)
              (253 . |qsetelt!|) (|List| 220) (|Matrix| 7) (260 . |matrix|)
              (|List| 78) (|Matrix| 6) (265 . |listOfLists|)
              (270 . |vertConcat|) (|Matrix| $) (276 . |reducedSystem|)
              (|Vector| 6) (281 . |entries|) (286 . |concat|) (292 . |concat|)
              (|Record| (|:| |mat| 88) (|:| |vec| 81)) (|Vector| $)
              (298 . |reducedSystem|) (|GeneralPolynomialGcdPackage| 8 9 7 6)
              (304 . |gcdPolynomial|) (310 . |gcdPolynomial|)
              (|Union| 107 '"failed") (|List| 48)
              (|PolynomialFactorizationByRecursion| 7 8 9 6)
              (316 . |solveLinearPolynomialEquationByRecursion|)
              (|Union| 111 '#2="failed") (|List| 46)
              (322 . |solveLinearPolynomialEquation|) (|Factored| 48)
              (328 . |factorByRecursion|) (|Factored| 46)
              (333 . |factorPolynomial|) (338 . |factorSquareFreeByRecursion|)
              (343 . |factorSquareFreePolynomial|) (|Factored| $)
              (348 . |factor|) (|Factored| 7) (353 . |unit|)
              (|Union| '"nil" '"sqfr" '"irred" '"prime")
              (|Record| (|:| |flg| 123) (|:| |fctr| 7) (|:| |xpnt| 83))
              (|List| 124) (358 . |factorList|)
              (|Record| (|:| |flg| 123) (|:| |fctr| 6) (|:| |xpnt| 83))
              (|List| 127) (|Factored| 6) (363 . |makeFR|) (369 . |unit|)
              (374 . |multivariate|)
              (|Record| (|:| |flg| 123) (|:| |fctr| 48) (|:| |xpnt| 83))
              (|List| 133) (380 . |factorList|) (385 . |factor|)
              (390 . |transpose|) (395 . |characteristic|) (399 . |setUnion|)
              (405 . |degree|) (|Union| $ '"failed") (411 . |exquo|)
              (417 . |ground|) (422 . |transpose|) (|Union| 101 '#2#)
              (427 . |conditionP|) (432 . |elt|) (438 . *) (444 . +)
              (450 . |conditionP|) (455 . |charthRoot|) (460 . |charthRoot|)
              (465 . |Zero|) (469 . |coefficient|) (476 . -)
              (|Record| (|:| |quotient| $) (|:| |remainder| $))
              (482 . |monicDivide|) |POLYCAT-;monicDivide;2SVarSetR;30|
              (|MultivariateSquareFree| 8 9 7 6) (488 . |squareFree|)
              (493 . |squareFree|) (|PolynomialSquareFree| 9 8 7 6)
              (498 . |squareFree|) (503 . |squareFree|) (508 . |unit|)
              (|Record| (|:| |factor| 6) (|:| |exponent| 83)) (|List| 166)
              (513 . |factors|) (518 . |squareFreePart|) (523 . |content|)
              (528 . |content|) (534 . |zero?|) (539 . |content|)
              (544 . |exquo|)
              (|Record| (|:| |unit| $) (|:| |canonical| $) (|:| |associate| $))
              (550 . |unitNormal|) (555 . |primitivePart|) (560 . |content|)
              (566 . |exquo|) (572 . |primitivePart|) (578 . <)
              (584 . |smaller?|) (590 . |smaller?|) (|PatternMatchResult| 83 6)
              (|Pattern| 83) (|PatternMatchPolynomialCategory| 83 8 9 7 6)
              (596 . |patternMatch|) (|PatternMatchResult| 83 $)
              (603 . |patternMatch|) (|PatternMatchResult| (|Float|) 6)
              (|Pattern| (|Float|))
              (|PatternMatchPolynomialCategory| (|Float|) 8 9 7 6)
              (610 . |patternMatch|) (|PatternMatchResult| (|Float|) $)
              (617 . |patternMatch|) (624 . |convert|) (629 . |convert|)
              (|Mapping| 185 9) (|Mapping| 185 7)
              (|PolynomialCategoryLifting| 8 9 7 6 185) (634 . |map|)
              (641 . |convert|) (646 . |convert|) (651 . |convert|)
              (|Mapping| 191 9) (|Mapping| 191 7)
              (|PolynomialCategoryLifting| 8 9 7 6 191) (656 . |map|)
              (663 . |convert|) (|InputForm|) (668 . |convert|)
              (673 . |convert|) (|Mapping| 210 9) (|Mapping| 210 7)
              (|PolynomialCategoryLifting| 8 9 7 6 210) (678 . |map|)
              (685 . |convert|)
              (|Record| (|:| |mat| 219) (|:| |vec| (|Vector| 83)))
              (|Matrix| 83) (|List| 7) (|Equation| $) (|Union| 83 '#1#)
              (|Union| 224 '#1#) (|Fraction| 83) (|Union| 7 '#1#))
           '#(|totalDegree| 690 |squareFreePart| 701 |squareFree| 706
              |solveLinearPolynomialEquation| 711 |smaller?| 717 |retractIfCan|
              723 |retract| 728 |resultant| 733 |reducedSystem| 740
              |primitivePart| 751 |primitiveMonomials| 762 |patternMatch| 767
              |monomials| 781 |monomial| 786 |monicDivide| 793 |isTimes| 800
              |isPlus| 805 |isExpt| 810 |gcdPolynomial| 815
              |factorSquareFreePolynomial| 821 |factorPolynomial| 826 |factor|
              831 |eval| 836 |discriminant| 842 |convert| 848 |content| 863
              |conditionP| 869 |coefficient| 874 |charthRoot| 888)
           'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 217
                                                 '(1 10 6 0 11 1 6 12 0 13 1 6
                                                   9 0 14 1 10 6 0 15 3 6 0 0
                                                   16 17 18 0 6 0 21 0 7 0 22 2
                                                   6 23 0 0 24 1 6 0 0 25 1 6 0
                                                   0 26 1 6 17 0 28 1 6 16 0 31
                                                   1 6 23 0 32 0 6 0 33 0 7 0
                                                   34 2 6 35 0 9 36 3 6 0 0 9
                                                   35 37 1 6 7 0 38 2 7 23 0 0
                                                   39 1 6 0 7 40 1 6 12 0 42 2
                                                   6 46 0 9 47 2 48 6 0 35 49 3
                                                   6 0 0 16 51 52 3 6 0 0 16 51
                                                   54 1 6 0 9 56 1 6 8 0 59 2 6
                                                   0 7 8 60 1 6 23 0 62 0 48 0
                                                   63 2 48 23 0 0 64 1 48 35 0
                                                   65 1 48 6 0 66 1 6 35 0 67 1
                                                   48 0 0 68 2 16 23 9 0 70 2 6
                                                   35 0 16 71 2 48 6 0 0 73 3 0
                                                   0 0 0 9 74 1 48 6 0 75 2 0 0
                                                   0 9 76 1 6 17 0 77 1 78 0 17
                                                   79 1 78 0 0 80 2 81 0 35 7
                                                   82 1 81 83 0 84 2 6 7 0 8 85
                                                   3 81 7 0 83 7 86 1 88 0 87
                                                   89 1 91 90 0 92 2 88 0 0 0
                                                   93 1 0 88 94 95 1 96 78 0 97
                                                   2 78 0 0 0 98 2 81 0 0 0 99
                                                   2 0 100 94 101 102 2 103 48
                                                   48 48 104 2 0 46 46 46 105 2
                                                   108 106 107 48 109 2 0 110
                                                   111 46 112 1 108 113 48 114
                                                   1 0 115 46 116 1 108 113 48
                                                   117 1 0 115 46 118 1 7 119 0
                                                   120 1 121 7 0 122 1 121 125
                                                   0 126 2 129 0 6 128 130 1
                                                   113 48 0 131 2 6 0 46 9 132
                                                   1 113 134 0 135 1 0 119 0
                                                   136 1 91 0 0 137 0 6 35 138
                                                   2 78 0 0 0 139 2 6 51 0 16
                                                   140 2 83 141 0 0 142 1 6 7 0
                                                   143 1 88 0 0 144 1 7 145 94
                                                   146 2 81 7 0 83 147 2 6 0 0
                                                   0 148 2 6 0 0 0 149 1 0 145
                                                   94 150 1 7 141 0 151 1 0 141
                                                   0 152 0 8 0 153 3 6 0 0 9 35
                                                   154 2 6 0 0 0 155 2 48 156 0
                                                   0 157 1 159 129 6 160 1 0
                                                   119 0 161 1 162 129 6 163 1
                                                   6 119 0 164 1 129 6 0 165 1
                                                   129 167 0 168 1 0 0 0 169 1
                                                   48 6 0 170 2 0 0 0 9 171 1 6
                                                   23 0 172 1 6 7 0 173 2 6 141
                                                   0 7 174 1 6 175 0 176 1 0 0
                                                   0 177 2 6 0 0 9 178 2 6 141
                                                   0 0 179 2 0 0 0 9 180 2 8 23
                                                   0 0 181 2 7 23 0 0 182 2 0
                                                   23 0 0 183 3 186 184 6 185
                                                   184 187 3 0 188 0 185 188
                                                   189 3 192 190 6 191 190 193
                                                   3 0 194 0 191 194 195 1 9
                                                   185 0 196 1 7 185 0 197 3
                                                   200 185 198 199 6 201 1 0
                                                   185 0 202 1 9 191 0 203 1 7
                                                   191 0 204 3 207 191 205 206
                                                   6 208 1 0 191 0 209 1 9 210
                                                   0 211 1 7 210 0 212 3 215
                                                   210 213 214 6 216 1 0 210 0
                                                   217 2 0 35 0 16 72 1 0 35 0
                                                   69 1 0 0 0 169 1 0 119 0 161
                                                   2 0 110 111 46 112 2 0 23 0
                                                   0 183 1 0 12 0 58 1 0 9 0 57
                                                   3 0 0 0 0 9 74 1 0 88 94 95
                                                   2 0 100 94 101 102 2 0 0 0 9
                                                   180 1 0 0 0 177 1 0 17 0 61
                                                   3 0 188 0 185 188 189 3 0
                                                   194 0 191 194 195 1 0 17 0
                                                   27 3 0 0 0 16 51 55 3 0 156
                                                   0 0 9 158 1 0 29 0 41 1 0 29
                                                   0 30 1 0 44 0 45 2 0 46 46
                                                   46 105 1 0 115 46 118 1 0
                                                   115 46 116 1 0 119 0 136 2 0
                                                   0 0 19 20 2 0 0 0 9 76 1 0
                                                   210 0 217 1 0 185 0 202 1 0
                                                   191 0 209 2 0 0 0 9 171 1 0
                                                   145 94 150 3 0 0 0 16 51 53
                                                   3 0 0 0 9 35 50 1 0 141 0
                                                   152)))))
           '|lookupComplete|)) 
