
(/VERSIONCHECK 2) 

(DEFUN |LAZM3PK;convert| (|st| $)
  (PROG (|lp| |p| #0=#:G1827 |ts|)
    (RETURN
      (SEQ (LETT |ts| (SPADCALL (QREFELT $ 12))
                 . #1=(|LAZM3PK;convert|))
           (LETT |lp| (SPADCALL |st| (QREFELT $ 14)) . #1#)
           (LETT |lp| (SPADCALL (ELT $ 16) |lp| (QREFELT $ 18)) . #1#)
           (SEQ (LETT |p| NIL . #1#) (LETT #0# |lp| . #1#) G190
                (COND
                  ((OR (ATOM #0#)
                       (PROGN (LETT |p| (CAR #0#) . #1#) NIL))
                   (GO G191)))
                (SEQ (EXIT (LETT |ts|
                                 (SPADCALL |p| |ts| (QREFELT $ 19)) . #1#)))
                (LETT #0# (CDR #0#) . #1#) (GO G190) G191 (EXIT NIL))
           (EXIT |ts|))))) 

(DEFUN |LAZM3PK;squareFree| (|ts| $)
  (PROG (|lp| |newts| |p| #0=#:G1841 |us| |lpwt| |pwt| #1=#:G1842
              |newus| |toSave| |toSee|)
    (RETURN
      (SEQ (COND
             ((SPADCALL |ts| (QREFELT $ 20))
              (LIST (SPADCALL (QREFELT $ 21))))
             ('T
              (SEQ (LETT |lp| (SPADCALL |ts| (QREFELT $ 22))
                         . #2=(|LAZM3PK;squareFree|))
                   (LETT |lp|
                         (SPADCALL (ELT $ 16) |lp| (QREFELT $ 18)) . #2#)
                   (LETT |newts| (SPADCALL (QREFELT $ 21)) . #2#)
                   (LETT |toSee| (LIST |newts|) . #2#)
                   (SEQ (LETT |p| NIL . #2#) (LETT #0# |lp| . #2#) G190
                        (COND
                          ((OR (ATOM #0#)
                               (PROGN (LETT |p| (CAR #0#) . #2#) NIL))
                           #3=(GO G191)))
                        (SEQ (LETT |toSave| NIL . #2#)
                             (SEQ G190
                                  (COND
                                    ((NULL
                                      (COND
                                        ((NULL |toSee|) 'NIL)
                                        ('T 'T)))
                                     #3#))
                                  (SEQ (LETT |us|
                                        (|SPADfirst| |toSee|) . #2#)
                                       (LETT |toSee|
                                        (CDR |toSee|) . #2#)
                                       (LETT |lpwt|
                                        (SPADCALL |p| |us|
                                         (QREFELT $ 26)) . #2#)
                                       (EXIT
                                        (SEQ (LETT |pwt| NIL . #2#)
                                         (LETT #1# |lpwt| . #2#) G190
                                         (COND
                                           ((OR (ATOM #1#)
                                             (PROGN
                                               (LETT |pwt|
                                                (CAR #1#) . #2#)
                                               NIL))
                                            #3#))
                                         (SEQ
                                          (LETT |newus|
                                           (SPADCALL (QCAR |pwt|)
                                            (QCDR |pwt|)
                                            (QREFELT $ 27)) . #2#)
                                          (EXIT
                                           (LETT |toSave|
                                            (CONS |newus| |toSave|) . #2#)))
                                         (LETT #1# (CDR #1#) . #2#)
                                         #4=(GO G190) G191 (EXIT NIL))))
                                  NIL #4# G191 (EXIT NIL))
                             (EXIT (LETT |toSee| |toSave| . #2#)))
                        (LETT #0# (CDR #0#) . #2#) #4# G191 (EXIT NIL))
                   (EXIT |toSave|)))))))) 

(DEFUN |LAZM3PK;normalizeIfCan;2ST;3| (|ts| $)
  (PROG (|lv| |v| #0=#:G1853 #1=#:G1852 #2=#:G1845 |lp| |p| |newts|)
    (RETURN
      (SEQ (EXIT (COND
                   ((SPADCALL |ts| (QREFELT $ 28)) |ts|)
                   ('T
                    (SEQ (LETT |lp| (SPADCALL |ts| (QREFELT $ 14))
                               . #3=(|LAZM3PK;normalizeIfCan;2ST;3|))
                         (LETT |lp|
                               (SPADCALL (ELT $ 16) |lp|
                                   (QREFELT $ 18)) . #3#)
                         (LETT |p| (|SPADfirst| |lp|) . #3#)
                         (COND
                           ((NULL (SPADCALL |p| (QREFELT $ 30)))
                            (EXIT |ts|)))
                         (LETT |lp| (CDR |lp|) . #3#)
                         (LETT |newts| (SPADCALL (QREFELT $ 21)) . #3#)
                         (LETT |newts|
                               (SPADCALL |p| |newts| (QREFELT $ 27)) . #3#)
                         (SEQ G190
                              (COND
                                ((NULL (COND
                                         ((NULL |lp|) 'NIL)
                                         ('T 'T)))
                                 #4=(GO G191)))
                              (SEQ (LETT |p| (|SPADfirst| |lp|) . #3#)
                                   (LETT |lv|
                                    (SPADCALL |p| (QREFELT $ 32)) . #3#)
                                   (SEQ (LETT |v| NIL . #3#)
                                    (LETT #0# |lv| . #3#) G190
                                    (COND
                                      ((OR (ATOM #0#)
                                        (PROGN
                                          (LETT |v| (CAR #0#) . #3#)
                                          NIL))
                                       #4#))
                                    (SEQ
                                     (EXIT
                                      (COND
                                        ((SPADCALL |v|
                                          (SPADCALL |p| (QREFELT $ 33))
                                          (QREFELT $ 34))
                                         "leave")
                                        ('T
                                         (SEQ
                                          (EXIT
                                           (COND
                                             ((NULL
                                               (SPADCALL |v| |newts|
                                                (QREFELT $ 35)))
                                              (PROGN
                                                (LETT #2#
                                                 (PROGN
                                                   (LETT #1#
                                                    (SPADCALL |lp|
                                                     |newts|
                                                     (QREFELT $ 36)) . #3#)
                                                   (GO #1#)) . #3#)
                                                (GO #2#)))))
                                          #2# (EXIT #2#))))))
                                    (LETT #0# (CDR #0#) . #3#)
                                    #5=(GO G190) G191 (EXIT NIL))
                                   (LETT |lp| (CDR |lp|) . #3#)
                                   (LETT |p|
                                    (SPADCALL |p| |newts|
                                     (QREFELT $ 38)) . #3#)
                                   (EXIT
                                    (LETT |newts|
                                     (SPADCALL |p| |newts|
                                      (QREFELT $ 27)) . #3#)))
                              NIL #5# G191 (EXIT NIL))
                         (EXIT |newts|)))))
           #1# (EXIT #1#))))) 

(DEFUN |LAZM3PK;zeroSetSplit;LBL;4| (|lp| |clos?| $)
  (PROG (|toSee| #0=#:G1858 |toSave| #1=#:G1859 |ts| #2=#:G1860)
    (RETURN
      (SEQ (LETT |toSee| (SPADCALL |lp| |clos?| (QREFELT $ 41))
                 . #3=(|LAZM3PK;zeroSetSplit;LBL;4|))
           (LETT |toSave| NIL . #3#)
           (SEQ (LETT |ts| NIL . #3#) (LETT #0# |toSee| . #3#) G190
                (COND
                  ((OR (ATOM #0#)
                       (PROGN (LETT |ts| (CAR #0#) . #3#) NIL))
                   #4=(GO G191)))
                (SEQ (EXIT (LETT |toSave|
                                 (SPADCALL
                                     (|LAZM3PK;squareFree| |ts| $)
                                     |toSave| (QREFELT $ 43)) . #3#)))
                (LETT #0# (CDR #0#) . #3#) #5=(GO G190) G191
                (EXIT NIL))
           (LETT |toSave| (SPADCALL |toSave| (QREFELT $ 45)) . #3#)
           (EXIT (PROGN
                   (LETT #1# NIL . #3#)
                   (SEQ (LETT |ts| NIL . #3#) (LETT #2# |toSave| . #3#)
                        G190
                        (COND
                          ((OR (ATOM #2#)
                               (PROGN (LETT |ts| (CAR #2#) . #3#) NIL))
                           #4#))
                        (SEQ (EXIT (LETT #1#
                                    (CONS
                                     (SPADCALL |ts| (QREFELT $ 39))
                                     #1#) . #3#)))
                        (LETT #2# (CDR #2#) . #3#) #5# G191
                        (EXIT (NREVERSE0 #1#))))))))) 

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

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

(MAKEPROP '|LazardSetSolvingPackage| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|local| |#3|) (|local| |#4|) (|local| |#5|)
             (|local| |#6|) (0 . |empty|) (|List| 9) (4 . |members|)
             (|Boolean|) (9 . |infRittWu?|) (|Mapping| 15 9 9)
             (15 . |sort|) (21 . |internalAugment|) (27 . |empty?|)
             (32 . |empty|) (36 . |members|)
             (|Record| (|:| |val| 9) (|:| |tower| 11)) (|List| 23)
             (|SquareFreeRegularTriangularSetGcdPackage| 6 7 8 9 11)
             (41 . |stoseSquareFreePart|) (47 . |internalAugment|)
             (53 . |empty?|) (|PolynomialSetUtilitiesPackage| 6 7 8 9)
             (58 . |univariate?|) (|List| 8) (63 . |variables|)
             (68 . |mvar|) (73 . =) (79 . |algebraic?|)
             (85 . |internalAugment|)
             (|NormalizationPackage| 6 7 8 9 11)
             (91 . |normalizedAssociate|)
             |LAZM3PK;normalizeIfCan;2ST;3| (|List| $)
             (97 . |zeroSetSplit|) (|List| 11) (103 . |concat|)
             (|SquareFreeQuasiComponentPackage| 6 7 8 9 11)
             (109 . |removeSuperfluousQuasiComponents|)
             |LAZM3PK;zeroSetSplit;LBL;4|)
          '#(|zeroSetSplit| 114 |normalizeIfCan| 120) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 46
                                '(0 10 0 12 1 11 13 0 14 2 9 15 0 0 16
                                  2 13 0 17 0 18 2 10 0 9 0 19 1 10 15
                                  0 20 0 11 0 21 1 10 13 0 22 2 25 24 9
                                  11 26 2 11 0 9 0 27 1 11 15 0 28 1 29
                                  15 9 30 1 9 31 0 32 1 9 8 0 33 2 8 15
                                  0 0 34 2 11 15 8 0 35 2 11 0 13 0 36
                                  2 37 9 9 11 38 2 10 40 13 15 41 2 42
                                  0 0 0 43 1 44 42 42 45 2 0 42 13 15
                                  46 1 0 11 11 39)))))
          '|lookupComplete|)) 
