
(/VERSIONCHECK 2) 

(DEFUN |QCMPACK;squareFreeFactors| (|lp| $)
  (PROG (|lsflp| |lsfp| #1=#:G1875 |p|)
    (RETURN
     (SEQ (LETT |lsflp| NIL . #2=(|QCMPACK;squareFreeFactors|))
          (SEQ (LETT |p| NIL . #2#) (LETT #1# |lp| . #2#) G190
               (COND
                ((OR (ATOM #1#) (PROGN (LETT |p| (CAR #1#) . #2#) NIL))
                 (GO G191)))
               (SEQ (LETT |lsfp| (SPADCALL |p| (QREFELT $ 13)) . #2#)
                    (EXIT
                     (LETT |lsflp| (SPADCALL |lsfp| |lsflp| (QREFELT $ 14))
                           . #2#)))
               (LETT #1# (CDR #1#) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT
           (SPADCALL (ELT $ 16) (SPADCALL |lsflp| (QREFELT $ 17))
                     (QREFELT $ 19))))))) 

(DEFUN |QCMPACK;startTable!;3SV;2| (|ok| |ko| |domainName| $)
  (SEQ (SPADCALL (QREFELT $ 23))
       (COND
        ((NULL (SPADCALL |ok| (QREFELT $ 25)))
         (COND
          ((NULL (SPADCALL |ko| (QREFELT $ 25)))
           (SPADCALL |ok| |ko| (QREFELT $ 26))))))
       (COND
        ((NULL (SPADCALL |domainName| (QREFELT $ 25)))
         (SPADCALL |domainName| (QREFELT $ 27))))
       (EXIT (SPADCALL (QREFELT $ 28))))) 

(DEFUN |QCMPACK;stopTable!;V;3| ($)
  (SEQ (COND ((SPADCALL (QREFELT $ 30)) (SPADCALL (QREFELT $ 31))))
       (EXIT (SPADCALL (QREFELT $ 32))))) 

(DEFUN |QCMPACK;supDimElseRittWu?;2TSB;4| (|ts| |us| $)
  (PROG (|lp2| |lp1|)
    (RETURN
     (SEQ
      (COND
       ((< (SPADCALL |ts| (QREFELT $ 35)) (SPADCALL |us| (QREFELT $ 35))) 'T)
       ((< (SPADCALL |us| (QREFELT $ 35)) (SPADCALL |ts| (QREFELT $ 35))) 'NIL)
       (#1='T
        (SEQ
         (LETT |lp1| (SPADCALL |ts| (QREFELT $ 36))
               . #2=(|QCMPACK;supDimElseRittWu?;2TSB;4|))
         (LETT |lp2| (SPADCALL |us| (QREFELT $ 36)) . #2#)
         (SEQ G190
              (COND
               ((NULL
                 (COND
                  ((OR (NULL |lp1|)
                       (SPADCALL (|SPADfirst| |lp2|) (|SPADfirst| |lp1|)
                                 (QREFELT $ 16)))
                   'NIL)
                  ('T 'T)))
                (GO G191)))
              (SEQ (LETT |lp1| (CDR |lp1|) . #2#)
                   (EXIT (LETT |lp2| (CDR |lp2|) . #2#)))
              NIL (GO G190) G191 (EXIT NIL))
         (EXIT (COND ((NULL |lp1|) 'NIL) (#1# 'T)))))))))) 

(DEFUN |QCMPACK;algebraicSort;2L;5| (|lts| $)
  (SEQ
   (LETT |lts| (SPADCALL |lts| (QREFELT $ 39)) |QCMPACK;algebraicSort;2L;5|)
   (EXIT (SPADCALL (ELT $ 37) |lts| (QREFELT $ 41))))) 

(DEFUN |QCMPACK;moreAlgebraic?;2TSB;6| (|ts| |us| $)
  (PROG (#1=#:G1898 #2=#:G1903 #3=#:G1904 |p|)
    (RETURN
     (SEQ
      (EXIT
       (COND ((SPADCALL |ts| (QREFELT $ 43)) (SPADCALL |us| (QREFELT $ 43)))
             ((SPADCALL |us| (QREFELT $ 43)) 'T)
             ((< (SPADCALL |ts| (QREFELT $ 35)) (SPADCALL |us| (QREFELT $ 35)))
              'NIL)
             ('T
              (SEQ
               (SEQ
                (EXIT
                 (SEQ (LETT |p| NIL . #4=(|QCMPACK;moreAlgebraic?;2TSB;6|))
                      (LETT #3# (SPADCALL |us| (QREFELT $ 36)) . #4#) G190
                      (COND
                       ((OR (ATOM #3#) (PROGN (LETT |p| (CAR #3#) . #4#) NIL))
                        (GO G191)))
                      (SEQ
                       (EXIT
                        (COND
                         ((NULL
                           (SPADCALL (SPADCALL |p| (QREFELT $ 44)) |ts|
                                     (QREFELT $ 45)))
                          (PROGN
                           (LETT #1# (PROGN (LETT #2# 'NIL . #4#) (GO #2#))
                                 . #4#)
                           (GO #1#))))))
                      (LETT #3# (CDR #3#) . #4#) (GO G190) G191 (EXIT NIL)))
                #1# (EXIT #1#))
               (EXIT 'T)))))
      #2# (EXIT #2#))))) 

(DEFUN |QCMPACK;subTriSet?;2TSB;7| (|ts| |us| $)
  (PROG (#1=#:G1909 #2=#:G1915)
    (RETURN
     (COND ((SPADCALL |ts| (QREFELT $ 43)) 'T)
           ((OR (SPADCALL |us| (QREFELT $ 43))
                (SPADCALL (SPADCALL |us| (QREFELT $ 47))
                          (SPADCALL |ts| (QREFELT $ 47)) (QREFELT $ 48)))
            'NIL)
           ((SPADCALL (SPADCALL |ts| (QREFELT $ 47))
                      (SPADCALL |us| (QREFELT $ 47)) (QREFELT $ 48))
            (SPADCALL |ts|
                      (PROG2
                          (LETT #1# (SPADCALL |us| (QREFELT $ 50))
                                . #3=(|QCMPACK;subTriSet?;2TSB;7|))
                          (QCDR #1#)
                        (|check-union| (QEQCAR #1# 0) (QREFELT $ 10) #1#))
                      (QREFELT $ 51)))
           ((SPADCALL
             (PROG2
                 (LETT #2# (SPADCALL |ts| (QREFELT $ 53)) . #3#)
                 (QCDR #2#)
               (|check-union| (QEQCAR #2# 0) (QREFELT $ 9) #2#))
             (PROG2
                 (LETT #2# (SPADCALL |us| (QREFELT $ 53)) . #3#)
                 (QCDR #2#)
               (|check-union| (QEQCAR #2# 0) (QREFELT $ 9) #2#))
             (QREFELT $ 54))
            (SPADCALL
             (PROG2
                 (LETT #1# (SPADCALL |ts| (QREFELT $ 50)) . #3#)
                 (QCDR #1#)
               (|check-union| (QEQCAR #1# 0) (QREFELT $ 10) #1#))
             (PROG2
                 (LETT #1# (SPADCALL |us| (QREFELT $ 50)) . #3#)
                 (QCDR #1#)
               (|check-union| (QEQCAR #1# 0) (QREFELT $ 10) #1#))
             (QREFELT $ 51)))
           ('T 'NIL))))) 

(DEFUN |QCMPACK;internalSubPolSet?;2LB;8| (|lp1| |lp2| $)
  (COND ((NULL |lp1|) 'T) ((NULL |lp2|) 'NIL)
        ((SPADCALL (|SPADfirst| |lp1|) (|SPADfirst| |lp2|) (QREFELT $ 55))
         (SPADCALL (CDR |lp1|) (CDR |lp2|) (QREFELT $ 56)))
        ((SPADCALL (|SPADfirst| |lp1|) (|SPADfirst| |lp2|) (QREFELT $ 16))
         'NIL)
        ('T (SPADCALL |lp1| (CDR |lp2|) (QREFELT $ 56))))) 

(DEFUN |QCMPACK;subPolSet?;2LB;9| (|lp1| |lp2| $)
  (SEQ
   (LETT |lp1| (SPADCALL (ELT $ 16) |lp1| (QREFELT $ 19))
         . #1=(|QCMPACK;subPolSet?;2LB;9|))
   (LETT |lp2| (SPADCALL (ELT $ 16) |lp2| (QREFELT $ 19)) . #1#)
   (EXIT (SPADCALL |lp1| |lp2| (QREFELT $ 56))))) 

(DEFUN |QCMPACK;infRittWu?;2LB;10| (|lp1| |lp2| $)
  (SEQ
   (LETT |lp1| (SPADCALL (ELT $ 16) |lp1| (QREFELT $ 19))
         . #1=(|QCMPACK;infRittWu?;2LB;10|))
   (LETT |lp2| (SPADCALL (ELT $ 16) |lp2| (QREFELT $ 19)) . #1#)
   (EXIT (SPADCALL |lp1| |lp2| (QREFELT $ 58))))) 

(DEFUN |QCMPACK;internalInfRittWu?;2LB;11| (|lp1| |lp2| $)
  (COND ((NULL |lp1|) (COND ((NULL |lp2|) 'NIL) (#1='T 'T)))
        ((NULL |lp2|) 'NIL)
        ((SPADCALL (|SPADfirst| |lp1|) (|SPADfirst| |lp2|) (QREFELT $ 16)) 'T)
        ((SPADCALL (|SPADfirst| |lp2|) (|SPADfirst| |lp1|) (QREFELT $ 16))
         'NIL)
        (#1# (SPADCALL (CDR |lp1|) (CDR |lp2|) (QREFELT $ 59))))) 

(DEFUN |QCMPACK;subCase?;2RB;12| (|lpwt1| |lpwt2| $)
  (COND ((NULL (SPADCALL (QCAR |lpwt2|) (QCAR |lpwt1|) (QREFELT $ 56))) 'NIL)
        ('T (SPADCALL (QCDR |lpwt1|) (QCDR |lpwt2|) (QREFELT $ 60))))) 

(DEFUN |QCMPACK;internalSubQuasiComponent?;2TSU;13| (|ts| |us| $)
  (PROG (#1=#:G1955 #2=#:G1961 #3=#:G1964 |p| |lsfp| #4=#:G1953 #5=#:G1963
         #6=#:G1951 #7=#:G1948 #8=#:G1962)
    (RETURN
     (SEQ
      (EXIT
       (COND ((SPADCALL |us| |ts| (QREFELT $ 51)) (CONS 0 'T))
             ((NULL (SPADCALL |ts| |us| (QREFELT $ 46))) (CONS 0 'NIL))
             ('T
              (SEQ
               (SEQ
                (EXIT
                 (SEQ
                  (LETT |p| NIL
                        . #9=(|QCMPACK;internalSubQuasiComponent?;2TSU;13|))
                  (LETT #8# (SPADCALL |us| (QREFELT $ 36)) . #9#) G190
                  (COND
                   ((OR (ATOM #8#) (PROGN (LETT |p| (CAR #8#) . #9#) NIL))
                    #10=(GO G191)))
                  (SEQ
                   (EXIT
                    (COND
                     ((< (SPADCALL |p| (QREFELT $ 63))
                         (SPADCALL
                          (PROG2
                              (LETT #7#
                                    (SPADCALL |ts|
                                              (SPADCALL |p| (QREFELT $ 44))
                                              (QREFELT $ 64))
                                    . #9#)
                              (QCDR #7#)
                            (|check-union| (QEQCAR #7# 0) (QREFELT $ 9) #7#))
                          (QREFELT $ 63)))
                      (PROGN
                       (LETT #6#
                             (PROGN
                              (LETT #2# (CONS 1 "failed") . #9#)
                              (GO #2#))
                             . #9#)
                       (GO #6#))))))
                  (LETT #8# (CDR #8#) . #9#) #11=(GO G190) G191 (EXIT NIL)))
                #6# (EXIT #6#))
               (SEQ
                (EXIT
                 (SEQ (LETT |p| NIL . #9#)
                      (LETT #5# (SPADCALL |us| (QREFELT $ 36)) . #9#) G190
                      (COND
                       ((OR (ATOM #5#) (PROGN (LETT |p| (CAR #5#) . #9#) NIL))
                        #10#))
                      (SEQ
                       (EXIT
                        (COND
                         ((NULL
                           (SPADCALL (SPADCALL |p| |ts| (QREFELT $ 65))
                                     (QREFELT $ 66)))
                          (PROGN
                           (LETT #4#
                                 (PROGN
                                  (LETT #2# (CONS 1 "failed") . #9#)
                                  (GO #2#))
                                 . #9#)
                           (GO #4#))))))
                      (LETT #5# (CDR #5#) . #9#) #11# G191 (EXIT NIL)))
                #4# (EXIT #4#))
               (LETT |lsfp|
                     (|QCMPACK;squareFreeFactors|
                      (SPADCALL |us| (QREFELT $ 67)) $)
                     . #9#)
               (SEQ
                (EXIT
                 (SEQ (LETT |p| NIL . #9#) (LETT #3# |lsfp| . #9#) G190
                      (COND
                       ((OR (ATOM #3#) (PROGN (LETT |p| (CAR #3#) . #9#) NIL))
                        #10#))
                      (SEQ
                       (EXIT
                        (COND
                         ((NULL (SPADCALL |p| |ts| (QREFELT $ 68)))
                          (PROGN
                           (LETT #1#
                                 (PROGN
                                  (LETT #2# (CONS 0 'NIL) . #9#)
                                  (GO #2#))
                                 . #9#)
                           (GO #1#))))))
                      (LETT #3# (CDR #3#) . #9#) #11# G191 (EXIT NIL)))
                #1# (EXIT #1#))
               (EXIT (CONS 0 'T))))))
      #2# (EXIT #2#))))) 

(DEFUN |QCMPACK;subQuasiComponent?;2TSB;14| (|ts| |us| $)
  (PROG (|b| |ubf| |e| |k|)
    (RETURN
     (SEQ
      (LETT |k| (CONS |ts| |us|) . #1=(|QCMPACK;subQuasiComponent?;2TSB;14|))
      (LETT |e| (SPADCALL |k| (QREFELT $ 71)) . #1#)
      (EXIT
       (COND ((QEQCAR |e| 0) (QCDR |e|))
             (#2='T
              (SEQ (LETT |ubf| (SPADCALL |ts| |us| (QREFELT $ 70)) . #1#)
                   (LETT |b| (COND ((QEQCAR |ubf| 0) (QCDR |ubf|)) (#2# 'NIL))
                         . #1#)
                   (SPADCALL |k| |b| (QREFELT $ 72)) (EXIT |b|))))))))) 

(DEFUN |QCMPACK;subQuasiComponent?;TSLB;15| (|ts| |lus| $)
  (PROG (#1=#:G1973 #2=#:G1975 #3=#:G1976 |us|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ
         (EXIT
          (SEQ (LETT |us| NIL . #4=(|QCMPACK;subQuasiComponent?;TSLB;15|))
               (LETT #3# |lus| . #4#) G190
               (COND
                ((OR (ATOM #3#) (PROGN (LETT |us| (CAR #3#) . #4#) NIL))
                 (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((SPADCALL |ts| |us| (QREFELT $ 60))
                   (PROGN
                    (LETT #1# (PROGN (LETT #2# 'T . #4#) (GO #2#)) . #4#)
                    (GO #1#))))))
               (LETT #3# (CDR #3#) . #4#) (GO G190) G191 (EXIT NIL)))
         #1# (EXIT #1#))
        (EXIT 'NIL)))
      #2# (EXIT #2#))))) 

(DEFUN |QCMPACK;removeSuperfluousCases;2L;16| (|cases| $)
  (PROG (|toSee| |headmaxcases| |copymaxcases| |maxcases| |toSave| |lpwt1|
         #1=#:G1999 |lpwt2|)
    (RETURN
     (SEQ
      (COND ((< (LENGTH |cases|) 2) |cases|)
            ('T
             (SEQ
              (LETT |toSee|
                    (SPADCALL
                     (CONS #'|QCMPACK;removeSuperfluousCases;2L;16!0| $)
                     |cases| (QREFELT $ 76))
                    . #2=(|QCMPACK;removeSuperfluousCases;2L;16|))
              (SEQ G190
                   (COND
                    ((NULL (COND ((NULL |toSee|) 'NIL) ('T 'T))) #3=(GO G191)))
                   (SEQ (LETT |lpwt1| (|SPADfirst| |toSee|) . #2#)
                        (LETT |toSee| (CDR |toSee|) . #2#)
                        (LETT |toSave| NIL . #2#)
                        (SEQ (LETT |lpwt2| NIL . #2#) (LETT #1# |toSee| . #2#)
                             G190
                             (COND
                              ((OR (ATOM #1#)
                                   (PROGN (LETT |lpwt2| (CAR #1#) . #2#) NIL))
                               #3#))
                             (SEQ
                              (EXIT
                               (COND
                                ((SPADCALL |lpwt1| |lpwt2| (QREFELT $ 62))
                                 (LETT |lpwt1| |lpwt2| . #2#))
                                ((NULL
                                  (SPADCALL |lpwt2| |lpwt1| (QREFELT $ 62)))
                                 (LETT |toSave| (CONS |lpwt2| |toSave|)
                                       . #2#)))))
                             (LETT #1# (CDR #1#) . #2#) #4=(GO G190) G191
                             (EXIT NIL))
                        (COND
                         ((NULL |maxcases|)
                          (SEQ (LETT |headmaxcases| (LIST |lpwt1|) . #2#)
                               (EXIT (LETT |maxcases| |headmaxcases| . #2#))))
                         ('T
                          (SEQ (LETT |copymaxcases| |maxcases| . #2#)
                               (SEQ G190
                                    (COND
                                     ((NULL
                                       (COND
                                        ((OR (NULL |copymaxcases|)
                                             (SPADCALL |lpwt1|
                                                       (|SPADfirst|
                                                        |copymaxcases|)
                                                       (QREFELT $ 62)))
                                         'NIL)
                                        ('T 'T)))
                                      #3#))
                                    (SEQ
                                     (EXIT
                                      (LETT |copymaxcases| (CDR |copymaxcases|)
                                            . #2#)))
                                    NIL #4# G191 (EXIT NIL))
                               (EXIT
                                (COND
                                 ((NULL |copymaxcases|)
                                  (SEQ
                                   (SPADCALL |headmaxcases| (LIST |lpwt1|)
                                             (QREFELT $ 77))
                                   (EXIT
                                    (LETT |headmaxcases| (CDR |headmaxcases|)
                                          . #2#)))))))))
                        (EXIT (LETT |toSee| (REVERSE |toSave|) . #2#)))
                   NIL #4# G191 (EXIT NIL))
              (EXIT |maxcases|)))))))) 

(DEFUN |QCMPACK;removeSuperfluousCases;2L;16!0| (|x| |y| $)
  (SPADCALL (QCDR |x|) (QCDR |y|) (QREFELT $ 37))) 

(DEFUN |QCMPACK;removeSuperfluousQuasiComponents;2L;17| (|lts| $)
  (PROG (|toSee| |headmaxlts| |copymaxlts| |maxlts| |toSave| |ts| #1=#:G2016
         |us|)
    (RETURN
     (SEQ
      (LETT |lts| (SPADCALL |lts| (QREFELT $ 39))
            . #2=(|QCMPACK;removeSuperfluousQuasiComponents;2L;17|))
      (EXIT
       (COND ((< (LENGTH |lts|) 2) |lts|)
             ('T
              (SEQ (LETT |toSee| (SPADCALL |lts| (QREFELT $ 42)) . #2#)
                   (SEQ G190
                        (COND
                         ((NULL (COND ((NULL |toSee|) 'NIL) ('T 'T)))
                          #3=(GO G191)))
                        (SEQ (LETT |ts| (|SPADfirst| |toSee|) . #2#)
                             (LETT |toSee| (CDR |toSee|) . #2#)
                             (LETT |toSave| NIL . #2#)
                             (SEQ (LETT |us| NIL . #2#)
                                  (LETT #1# |toSee| . #2#) G190
                                  (COND
                                   ((OR (ATOM #1#)
                                        (PROGN
                                         (LETT |us| (CAR #1#) . #2#)
                                         NIL))
                                    #3#))
                                  (SEQ
                                   (EXIT
                                    (COND
                                     ((SPADCALL |ts| |us| (QREFELT $ 60))
                                      (LETT |ts| |us| . #2#))
                                     ((NULL
                                       (SPADCALL |us| |ts| (QREFELT $ 60)))
                                      (LETT |toSave| (CONS |us| |toSave|)
                                            . #2#)))))
                                  (LETT #1# (CDR #1#) . #2#) #4=(GO G190) G191
                                  (EXIT NIL))
                             (COND
                              ((NULL |maxlts|)
                               (SEQ (LETT |headmaxlts| (LIST |ts|) . #2#)
                                    (EXIT (LETT |maxlts| |headmaxlts| . #2#))))
                              ('T
                               (SEQ (LETT |copymaxlts| |maxlts| . #2#)
                                    (SEQ G190
                                         (COND
                                          ((NULL
                                            (COND
                                             ((OR (NULL |copymaxlts|)
                                                  (SPADCALL |ts|
                                                            (|SPADfirst|
                                                             |copymaxlts|)
                                                            (QREFELT $ 60)))
                                              'NIL)
                                             ('T 'T)))
                                           #3#))
                                         (SEQ
                                          (EXIT
                                           (LETT |copymaxlts|
                                                 (CDR |copymaxlts|) . #2#)))
                                         NIL #4# G191 (EXIT NIL))
                                    (EXIT
                                     (COND
                                      ((NULL |copymaxlts|)
                                       (SEQ
                                        (SPADCALL |headmaxlts| (LIST |ts|)
                                                  (QREFELT $ 79))
                                        (EXIT
                                         (LETT |headmaxlts| (CDR |headmaxlts|)
                                               . #2#)))))))))
                             (EXIT (LETT |toSee| (REVERSE |toSave|) . #2#)))
                        NIL #4# G191 (EXIT NIL))
                   (EXIT (SPADCALL |maxlts| (QREFELT $ 42))))))))))) 

(DEFUN |QCMPACK;removeAssociates| (|lp| $)
  (PROG (#1=#:G2020 |p| #2=#:G2019)
    (RETURN
     (SEQ
      (SPADCALL
       (PROGN
        (LETT #2# NIL . #3=(|QCMPACK;removeAssociates|))
        (SEQ (LETT |p| NIL . #3#) (LETT #1# |lp| . #3#) G190
             (COND
              ((OR (ATOM #1#) (PROGN (LETT |p| (CAR #1#) . #3#) NIL))
               (GO G191)))
             (SEQ
              (EXIT (LETT #2# (CONS (SPADCALL |p| (QREFELT $ 81)) #2#) . #3#)))
             (LETT #1# (CDR #1#) . #3#) (GO G190) G191 (EXIT (NREVERSE0 #2#))))
       (QREFELT $ 17)))))) 

(DEFUN |QCMPACK;branchIfCan;LTSL5BU;19|
       (|leq| |ts| |lineq| |b1| |b2| |b3| |b4| |b5| $)
  (PROG (|newleq| #1=#:G2050 |newp| #2=#:G2038 |g| #3=#:G2054 |q| #4=#:G2053
         |p| #5=#:G2036 #6=#:G2052 #7=#:G2031 #8=#:G2051 |ps| #9=#:G2026)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (COND
         (|b1|
          (SEQ
           (EXIT
            (SEQ
             (LETT |leq| (|QCMPACK;removeAssociates| |leq| $)
                   . #10=(|QCMPACK;branchIfCan;LTSL5BU;19|))
             (LETT |leq| (SPADCALL (ELT $ 66) |leq| (QREFELT $ 83)) . #10#)
             (EXIT
              (COND
               ((SPADCALL (ELT $ 84) |leq| (QREFELT $ 85))
                (PROGN
                 (LETT #9# (PROGN (LETT #1# (CONS 1 "failed") . #10#) (GO #1#))
                       . #10#)
                 (GO #9#)))))))
           #9# (EXIT #9#))))
        (COND
         (|b2|
          (COND
           ((SPADCALL (ELT $ 66) |lineq| (QREFELT $ 85))
            (PROGN (LETT #1# (CONS 1 "failed") . #10#) (GO #1#)))
           ('T (LETT |lineq| (SPADCALL |lineq| (QREFELT $ 86)) . #10#)))))
        (COND
         (|b3|
          (SEQ (LETT |ps| (SPADCALL |leq| (QREFELT $ 88)) . #10#)
               (EXIT
                (SEQ
                 (EXIT
                  (SEQ (LETT |q| NIL . #10#) (LETT #8# |lineq| . #10#) G190
                       (COND
                        ((OR (ATOM #8#)
                             (PROGN (LETT |q| (CAR #8#) . #10#) NIL))
                         #11=(GO G191)))
                       (SEQ
                        (EXIT
                         (COND
                          ((SPADCALL
                            (QVELT (SPADCALL |q| |ps| (QREFELT $ 90)) 1)
                            (QREFELT $ 66))
                           (PROGN
                            (LETT #7#
                                  (PROGN
                                   (LETT #1# (CONS 1 "failed") . #10#)
                                   (GO #1#))
                                  . #10#)
                            (GO #7#))))))
                       (LETT #8# (CDR #8#) . #10#) #12=(GO G190) G191
                       (EXIT NIL)))
                 #7# (EXIT #7#))))))
        (COND
         ((OR (NULL |leq|) (NULL |lineq|))
          (EXIT (CONS 0 (VECTOR |leq| |ts| |lineq|)))))
        (COND
         (|b4|
          (SEQ
           (EXIT
            (SEQ (LETT |q| NIL . #10#) (LETT #6# |lineq| . #10#) G190
                 (COND
                  ((OR (ATOM #6#) (PROGN (LETT |q| (CAR #6#) . #10#) NIL))
                   #11#))
                 (SEQ
                  (EXIT
                   (COND
                    ((SPADCALL (SPADCALL |q| |ts| (QREFELT $ 65))
                               (QREFELT $ 66))
                     (PROGN
                      (LETT #5#
                            (PROGN
                             (LETT #1# (CONS 1 "failed") . #10#)
                             (GO #1#))
                            . #10#)
                      (GO #5#))))))
                 (LETT #6# (CDR #6#) . #10#) #12# G191 (EXIT NIL)))
           #5# (EXIT #5#))))
        (COND
         (|b5|
          (SEQ (LETT |newleq| NIL . #10#)
               (SEQ (LETT |p| NIL . #10#) (LETT #4# |leq| . #10#) G190
                    (COND
                     ((OR (ATOM #4#) (PROGN (LETT |p| (CAR #4#) . #10#) NIL))
                      #11#))
                    (SEQ
                     (EXIT
                      (SEQ (LETT |q| NIL . #10#) (LETT #3# |lineq| . #10#) G190
                           (COND
                            ((OR (ATOM #3#)
                                 (PROGN (LETT |q| (CAR #3#) . #10#) NIL))
                             #11#))
                           (SEQ
                            (EXIT
                             (COND
                              ((SPADCALL (SPADCALL |p| (QREFELT $ 44))
                                         (SPADCALL |q| (QREFELT $ 44))
                                         (QREFELT $ 91))
                               (SEQ
                                (LETT |g| (SPADCALL |p| |q| (QREFELT $ 92))
                                      . #10#)
                                (LETT |newp|
                                      (PROG2
                                          (LETT #2#
                                                (SPADCALL |p| |g|
                                                          (QREFELT $ 93))
                                                . #10#)
                                          (QCDR #2#)
                                        (|check-union| (QEQCAR #2# 0)
                                                       (QREFELT $ 9) #2#))
                                      . #10#)
                                (EXIT
                                 (COND
                                  ((SPADCALL |newp| (QREFELT $ 84))
                                   (PROGN
                                    (LETT #1# (CONS 1 "failed") . #10#)
                                    (GO #1#)))
                                  ('T
                                   (LETT |newleq| (CONS |newp| |newleq|)
                                         . #10#))))))
                              ('T
                               (LETT |newleq| (CONS |p| |newleq|) . #10#)))))
                           (LETT #3# (CDR #3#) . #10#) #12# G191 (EXIT NIL))))
                    (LETT #4# (CDR #4#) . #10#) #12# G191 (EXIT NIL))
               (EXIT (LETT |leq| |newleq| . #10#)))))
        (LETT |leq|
              (SPADCALL (ELT $ 16) (SPADCALL |leq| (QREFELT $ 17))
                        (QREFELT $ 19))
              . #10#)
        (EXIT (CONS 0 (VECTOR |leq| |ts| |lineq|)))))
      #1# (EXIT #1#))))) 

(DEFUN |QCMPACK;prepareDecompose;LL2BL;20| (|lp| |lts| |b1| |b2| $)
  (PROG (#1=#:G2083 |ts| #2=#:G2082 |toSee| |lq| |branches| #3=#:G2058
         |newBranch| |lineq| |leq| |ubf2| |ubf1| #4=#:G2081 |branch| #5=#:G2080
         |f| |lsfp| #6=#:G2079 |p| #7=#:G2078 #8=#:G2077)
    (RETURN
     (SEQ
      (LETT |lp|
            (SPADCALL (ELT $ 16)
                      (SPADCALL (ELT $ 66) (|QCMPACK;removeAssociates| |lp| $)
                                (QREFELT $ 83))
                      (QREFELT $ 19))
            . #9=(|QCMPACK;prepareDecompose;LL2BL;20|))
      (EXIT
       (COND ((OR (SPADCALL (ELT $ 84) |lp| (QREFELT $ 85)) (NULL |lts|)) NIL)
             ('T
              (SEQ
               (COND (|b1| (LETT |lts| (SPADCALL |lts| (QREFELT $ 80)) . #9#)))
               (EXIT
                (COND
                 (|b2|
                  (SEQ (LETT |lq| NIL . #9#)
                       (LETT |toSee|
                             (PROGN
                              (LETT #8# NIL . #9#)
                              (SEQ (LETT |ts| NIL . #9#) (LETT #7# |lts| . #9#)
                                   G190
                                   (COND
                                    ((OR (ATOM #7#)
                                         (PROGN
                                          (LETT |ts| (CAR #7#) . #9#)
                                          NIL))
                                     #10=(GO G191)))
                                   (SEQ
                                    (EXIT
                                     (LETT #8#
                                           (CONS
                                            (VECTOR |lq| |ts|
                                                    (|QCMPACK;squareFreeFactors|
                                                     (SPADCALL |ts|
                                                               (QREFELT $ 67))
                                                     $))
                                            #8#)
                                           . #9#)))
                                   (LETT #7# (CDR #7#) . #9#) #11=(GO G190)
                                   G191 (EXIT (NREVERSE0 #8#))))
                             . #9#)
                       (EXIT
                        (COND ((NULL |lp|) |toSee|)
                              (#12='T
                               (SEQ
                                (SEQ (LETT |p| NIL . #9#) (LETT #6# |lp| . #9#)
                                     G190
                                     (COND
                                      ((OR (ATOM #6#)
                                           (PROGN
                                            (LETT |p| (CAR #6#) . #9#)
                                            NIL))
                                       #10#))
                                     (SEQ
                                      (LETT |lsfp|
                                            (SPADCALL |p| (QREFELT $ 13))
                                            . #9#)
                                      (LETT |branches| NIL . #9#)
                                      (LETT |lq| NIL . #9#)
                                      (SEQ (LETT |f| NIL . #9#)
                                           (LETT #5# |lsfp| . #9#) G190
                                           (COND
                                            ((OR (ATOM #5#)
                                                 (PROGN
                                                  (LETT |f| (CAR #5#) . #9#)
                                                  NIL))
                                             #10#))
                                           (SEQ
                                            (SEQ (LETT |branch| NIL . #9#)
                                                 (LETT #4# |toSee| . #9#) G190
                                                 (COND
                                                  ((OR (ATOM #4#)
                                                       (PROGN
                                                        (LETT |branch|
                                                              (CAR #4#) . #9#)
                                                        NIL))
                                                   #10#))
                                                 (SEQ
                                                  (LETT |leq|
                                                        (QVELT |branch| 0)
                                                        . #9#)
                                                  (LETT |ts| (QVELT |branch| 1)
                                                        . #9#)
                                                  (LETT |lineq|
                                                        (QVELT |branch| 2)
                                                        . #9#)
                                                  (LETT |ubf1|
                                                        (SPADCALL |leq| |ts|
                                                                  |lq| 'NIL
                                                                  'NIL 'T 'T 'T
                                                                  (QREFELT $
                                                                           96))
                                                        . #9#)
                                                  (EXIT
                                                   (COND
                                                    ((QEQCAR |ubf1| 1) "leave")
                                                    ('T
                                                     (SEQ
                                                      (LETT |ubf2|
                                                            (SPADCALL
                                                             (LIST |f|) |ts|
                                                             |lineq| 'NIL 'NIL
                                                             'T 'T 'T
                                                             (QREFELT $ 96))
                                                            . #9#)
                                                      (EXIT
                                                       (COND
                                                        ((QEQCAR |ubf2| 1)
                                                         "leave")
                                                        ('T
                                                         (SEQ
                                                          (LETT |leq|
                                                                (SPADCALL
                                                                 (ELT $ 16)
                                                                 (SPADCALL
                                                                  (SPADCALL
                                                                   (QVELT
                                                                    (QCDR
                                                                     |ubf1|)
                                                                    0)
                                                                   (QVELT
                                                                    (QCDR
                                                                     |ubf2|)
                                                                    0)
                                                                   (QREFELT $
                                                                            14))
                                                                  (QREFELT $
                                                                           17))
                                                                 (QREFELT $
                                                                          19))
                                                                . #9#)
                                                          (LETT |lineq|
                                                                (SPADCALL
                                                                 (ELT $ 16)
                                                                 (SPADCALL
                                                                  (SPADCALL
                                                                   (QVELT
                                                                    (QCDR
                                                                     |ubf1|)
                                                                    2)
                                                                   (QVELT
                                                                    (QCDR
                                                                     |ubf2|)
                                                                    2)
                                                                   (QREFELT $
                                                                            14))
                                                                  (QREFELT $
                                                                           17))
                                                                 (QREFELT $
                                                                          19))
                                                                . #9#)
                                                          (LETT |newBranch|
                                                                (SPADCALL |leq|
                                                                          |ts|
                                                                          |lineq|
                                                                          'NIL
                                                                          'NIL
                                                                          'NIL
                                                                          'NIL
                                                                          'NIL
                                                                          (QREFELT
                                                                           $
                                                                           96))
                                                                . #9#)
                                                          (EXIT
                                                           (LETT |branches|
                                                                 (CONS
                                                                  (PROG2
                                                                      (LETT #3#
                                                                            |newBranch|
                                                                            . #9#)
                                                                      (QCDR
                                                                       #3#)
                                                                    (|check-union|
                                                                     (QEQCAR
                                                                      #3# 0)
                                                                     (|Record|
                                                                      (|:| |eq|
                                                                           (|List|
                                                                            (QREFELT
                                                                             $
                                                                             9)))
                                                                      (|:|
                                                                       |tower|
                                                                       (QREFELT
                                                                        $ 10))
                                                                      (|:|
                                                                       |ineq|
                                                                       (|List|
                                                                        (QREFELT
                                                                         $
                                                                         9))))
                                                                     #3#))
                                                                  |branches|)
                                                                 . #9#)))))))))))
                                                 (LETT #4# (CDR #4#) . #9#)
                                                 #11# G191 (EXIT NIL))
                                            (EXIT
                                             (LETT |lq| (CONS |f| |lq|)
                                                   . #9#)))
                                           (LETT #5# (CDR #5#) . #9#) #11# G191
                                           (EXIT NIL))
                                      (EXIT (LETT |toSee| |branches| . #9#)))
                                     (LETT #6# (CDR #6#) . #9#) #11# G191
                                     (EXIT NIL))
                                (EXIT
                                 (SPADCALL
                                  (CONS #'|QCMPACK;prepareDecompose;LL2BL;20!0|
                                        $)
                                  |toSee| (QREFELT $ 99)))))))))
                 (#12#
                  (PROGN
                   (LETT #2# NIL . #9#)
                   (SEQ (LETT |ts| NIL . #9#) (LETT #1# |lts| . #9#) G190
                        (COND
                         ((OR (ATOM #1#)
                              (PROGN (LETT |ts| (CAR #1#) . #9#) NIL))
                          #10#))
                        (SEQ
                         (EXIT
                          (LETT #2#
                                (CONS
                                 (VECTOR |lp| |ts|
                                         (|QCMPACK;squareFreeFactors|
                                          (SPADCALL |ts| (QREFELT $ 67)) $))
                                 #2#)
                                . #9#)))
                        (LETT #1# (CDR #1#) . #9#) #11# G191
                        (EXIT (NREVERSE0 #2#))))))))))))))) 

(DEFUN |QCMPACK;prepareDecompose;LL2BL;20!0| (|x| |y| $)
  (SPADCALL (QVELT |x| 1) (QVELT |y| 1) (QREFELT $ 37))) 

(DEFUN |QuasiComponentPackage| (&REST #1=#:G2084)
  (PROG ()
    (RETURN
     (PROG (#2=#:G2085)
       (RETURN
        (COND
         ((LETT #2#
                (|lassocShiftWithFunction| (|devaluateList| #1#)
                                           (HGET |$ConstructorCache|
                                                 '|QuasiComponentPackage|)
                                           '|domainEqualList|)
                . #3=(|QuasiComponentPackage|))
          (|CDRwithIncrement| #2#))
         ('T
          (UNWIND-PROTECT
              (PROG1 (APPLY (|function| |QuasiComponentPackage;|) #1#)
                (LETT #2# T . #3#))
            (COND
             ((NOT #2#)
              (HREM |$ConstructorCache| '|QuasiComponentPackage|))))))))))) 

(DEFUN |QuasiComponentPackage;| (|#1| |#2| |#3| |#4| |#5|)
  (PROG (|pv$| $ |dv$| DV$5 DV$4 DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|QuasiComponentPackage|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT DV$4 (|devaluate| |#4|) . #1#)
      (LETT DV$5 (|devaluate| |#5|) . #1#)
      (LETT |dv$| (LIST '|QuasiComponentPackage| DV$1 DV$2 DV$3 DV$4 DV$5)
            . #1#)
      (LETT $ (GETREFV 101) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|QuasiComponentPackage|
                  (LIST DV$1 DV$2 DV$3 DV$4 DV$5) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (QSETREFV $ 9 |#4|)
      (QSETREFV $ 10 |#5|)
      $)))) 

(MAKEPROP '|QuasiComponentPackage| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) (|local| |#4|) (|local| |#5|) (|List| 9)
              (|PolynomialSetUtilitiesPackage| 6 7 8 9)
              (0 . |squareFreeFactors|) (5 . |concat|) (|Boolean|)
              (11 . |infRittWu?|) (17 . |removeDuplicates|) (|Mapping| 15 9 9)
              (22 . |sort|) (|Void|)
              (|Record| (|:| |left| 10) (|:| |right| 10))
              (|TabulatedComputationPackage| 21 15) (28 . |initTable!|)
              (|String|) (32 . |empty?|) (37 . |printInfo!|)
              (43 . |startStats!|) (48 . |void|) |QCMPACK;startTable!;3SV;2|
              (52 . |makingStats?|) (56 . |printStats!|) (60 . |clearTable!|)
              |QCMPACK;stopTable!;V;3| (|NonNegativeInteger|) (64 . |#|)
              (69 . |members|) |QCMPACK;supDimElseRittWu?;2TSB;4| (|List| 10)
              (74 . |removeDuplicates|) (|Mapping| 15 10 10) (79 . |sort|)
              |QCMPACK;algebraicSort;2L;5| (85 . |empty?|) (90 . |mvar|)
              (95 . |algebraic?|) |QCMPACK;moreAlgebraic?;2TSB;6|
              (101 . |mvar|) (106 . <) (|Union| $ '#1="failed") (112 . |rest|)
              |QCMPACK;subTriSet?;2TSB;7| (|Union| 9 '#1#) (117 . |first|)
              (122 . =) (128 . |associates?|)
              |QCMPACK;internalSubPolSet?;2LB;8| |QCMPACK;subPolSet?;2LB;9|
              |QCMPACK;internalInfRittWu?;2LB;11| |QCMPACK;infRittWu?;2LB;10|
              |QCMPACK;subQuasiComponent?;2TSB;14|
              (|Record| (|:| |val| 11) (|:| |tower| 10))
              |QCMPACK;subCase?;2RB;12| (134 . |mdeg|) (139 . |select|)
              (145 . |initiallyReduce|) (151 . |zero?|) (156 . |initials|)
              (161 . |invertible?|) (|Union| 15 '"failed")
              |QCMPACK;internalSubQuasiComponent?;2TSU;13|
              (167 . |extractIfCan|) (172 . |insert!|)
              |QCMPACK;subQuasiComponent?;TSLB;15| (|Mapping| 15 61 61)
              (|List| 61) (178 . |sort|) (184 . |setrest!|)
              |QCMPACK;removeSuperfluousCases;2L;16| (190 . |setrest!|)
              |QCMPACK;removeSuperfluousQuasiComponents;2L;17|
              (196 . |primitivePart|) (|Mapping| 15 9) (201 . |remove|)
              (207 . |ground?|) (212 . |any?|) (218 . |removeRedundantFactors|)
              (|GeneralPolynomialSet| 6 7 8 9) (223 . |construct|)
              (|Record| (|:| |rnum| 6) (|:| |polnum| 9) (|:| |den| 6))
              (228 . |remainder|) (234 . =) (240 . |gcd|) (246 . |exquo|)
              (|Record| (|:| |eq| 11) (|:| |tower| 10) (|:| |ineq| 11))
              (|Union| 94 '"failed") |QCMPACK;branchIfCan;LTSL5BU;19|
              (|Mapping| 15 94 94) (|List| 94) (252 . |sort|)
              |QCMPACK;prepareDecompose;LL2BL;20|)
           '#(|supDimElseRittWu?| 258 |subTriSet?| 264 |subQuasiComponent?| 270
              |subPolSet?| 282 |subCase?| 288 |stopTable!| 294 |startTable!|
              298 |removeSuperfluousQuasiComponents| 305
              |removeSuperfluousCases| 310 |prepareDecompose| 315
              |moreAlgebraic?| 323 |internalSubQuasiComponent?| 329
              |internalSubPolSet?| 335 |internalInfRittWu?| 341 |infRittWu?|
              347 |branchIfCan| 353 |algebraicSort| 365)
           'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 100
                                                 '(1 12 11 9 13 2 11 0 0 0 14 2
                                                   9 15 0 0 16 1 11 0 0 17 2 11
                                                   0 18 0 19 0 22 20 23 1 24 15
                                                   0 25 2 22 20 24 24 26 1 22
                                                   20 24 27 0 20 0 28 0 22 15
                                                   30 0 22 20 31 0 22 20 32 1
                                                   10 34 0 35 1 10 11 0 36 1 38
                                                   0 0 39 2 38 0 40 0 41 1 10
                                                   15 0 43 1 9 8 0 44 2 10 15 8
                                                   0 45 1 10 8 0 47 2 8 15 0 0
                                                   48 1 10 49 0 50 1 10 52 0 53
                                                   2 9 15 0 0 54 2 9 15 0 0 55
                                                   1 9 34 0 63 2 10 52 0 8 64 2
                                                   10 9 9 0 65 1 9 15 0 66 1 10
                                                   11 0 67 2 10 15 9 0 68 1 22
                                                   69 21 71 2 22 20 21 15 72 2
                                                   75 0 74 0 76 2 75 0 0 0 77 2
                                                   38 0 0 0 79 1 9 0 0 81 2 11
                                                   0 82 0 83 1 9 15 0 84 2 11
                                                   15 82 0 85 1 12 11 11 86 1
                                                   87 0 11 88 2 87 89 9 0 90 2
                                                   8 15 0 0 91 2 9 0 0 0 92 2 9
                                                   49 0 0 93 2 98 0 97 0 99 2 0
                                                   15 10 10 37 2 0 15 10 10 51
                                                   2 0 15 10 38 73 2 0 15 10 10
                                                   60 2 0 15 11 11 57 2 0 15 61
                                                   61 62 0 0 20 33 3 0 20 24 24
                                                   24 29 1 0 38 38 80 1 0 75 75
                                                   78 4 0 98 11 38 15 15 100 2
                                                   0 15 10 10 46 2 0 69 10 10
                                                   70 2 0 15 11 11 56 2 0 15 11
                                                   11 58 2 0 15 11 11 59 8 0 95
                                                   11 10 11 15 15 15 15 15 96 1
                                                   0 38 38 42)))))
           '|lookupComplete|)) 
