
(/VERSIONCHECK 2) 

(DEFUN |LPEFRAC;pullback| (|pF| $)
  (PROG (|r| |c|)
    (RETURN
     (SEQ
      (COND
       ((SPADCALL |pF| (|spadConstant| $ 11) (QREFELT $ 13))
        (CONS 0 (|spadConstant| $ 9)))
       (#1='T
        (SEQ
         (LETT |c| (SPADCALL (SPADCALL |pF| (QREFELT $ 15)) (QREFELT $ 17))
               . #2=(|LPEFRAC;pullback|))
         (EXIT
          (COND ((QEQCAR |c| 1) (CONS 1 "failed"))
                (#1#
                 (SEQ
                  (LETT |r|
                        (|LPEFRAC;pullback| (SPADCALL |pF| (QREFELT $ 18)) $)
                        . #2#)
                  (EXIT
                   (COND ((QEQCAR |r| 1) (CONS 1 "failed"))
                         (#1#
                          (CONS 0
                                (SPADCALL
                                 (SPADCALL (QCDR |c|)
                                           (SPADCALL |pF| (QREFELT $ 20))
                                           (QREFELT $ 21))
                                 (QCDR |r|) (QREFELT $ 22))))))))))))))))) 

(DEFUN |LPEFRAC;solveLinearPolynomialEquationByFractions;LSupU;2| (|lp| |pp| $)
  (PROG (#1=#:G690 |vv| #2=#:G694 |v| #3=#:G693 |ans| |pF| |lpF| #4=#:G692 |u|
         #5=#:G691)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (LETT |lpF|
              (PROGN
               (LETT #5# NIL
                     . #6=(|LPEFRAC;solveLinearPolynomialEquationByFractions;LSupU;2|))
               (SEQ (LETT |u| NIL . #6#) (LETT #4# |lp| . #6#) G190
                    (COND
                     ((OR (ATOM #4#) (PROGN (LETT |u| (CAR #4#) . #6#) NIL))
                      #7=(GO G191)))
                    (SEQ
                     (EXIT
                      (LETT #5#
                            (CONS (SPADCALL (ELT $ 23) |u| (QREFELT $ 26)) #5#)
                            . #6#)))
                    (LETT #4# (CDR #4#) . #6#) #8=(GO G190) G191
                    (EXIT (NREVERSE0 #5#))))
              . #6#)
        (LETT |pF| (SPADCALL (ELT $ 23) |pp| (QREFELT $ 26)) . #6#)
        (LETT |ans| (SPADCALL |lpF| |pF| (QREFELT $ 30)) . #6#)
        (EXIT
         (COND ((QEQCAR |ans| 1) (CONS 1 "failed"))
               ('T
                (CONS 0
                      (PROGN
                       (LETT #3# NIL . #6#)
                       (SEQ (LETT |v| NIL . #6#) (LETT #2# (QCDR |ans|) . #6#)
                            G190
                            (COND
                             ((OR (ATOM #2#)
                                  (PROGN (LETT |v| (CAR #2#) . #6#) NIL))
                              #7#))
                            (SEQ
                             (EXIT
                              (LETT #3#
                                    (CONS
                                     (SEQ
                                      (LETT |vv| (|LPEFRAC;pullback| |v| $)
                                            . #6#)
                                      (EXIT
                                       (COND
                                        ((QEQCAR |vv| 1)
                                         (PROGN
                                          (LETT #1# (CONS 1 "failed") . #6#)
                                          (GO #1#)))
                                        ('T (QCDR |vv|)))))
                                     #3#)
                                    . #6#)))
                            (LETT #2# (CDR #2#) . #6#) #8# G191
                            (EXIT (NREVERSE0 #3#))))))))))
      #1# (EXIT #1#))))) 

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

(DEFUN |LinearPolynomialEquationByFractions;| (|#1|)
  (PROG (|pv$| $ |dv$| DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|)
            . #1=(|LinearPolynomialEquationByFractions|))
      (LETT |dv$| (LIST '|LinearPolynomialEquationByFractions| DV$1) . #1#)
      (LETT $ (GETREFV 34) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|haddProp| |$ConstructorCache| '|LinearPolynomialEquationByFractions|
                  (LIST DV$1) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      $)))) 

(MAKEPROP '|LinearPolynomialEquationByFractions| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (0 . |Zero|)
              (|SparseUnivariatePolynomial| 6) (4 . |Zero|)
              (|SparseUnivariatePolynomial| 14) (8 . |Zero|) (|Boolean|)
              (12 . =) (|Fraction| 6) (18 . |leadingCoefficient|)
              (|Union| 6 '"failed") (23 . |retractIfCan|) (28 . |reductum|)
              (|NonNegativeInteger|) (33 . |degree|) (38 . |monomial|) (44 . +)
              (50 . |coerce|) (|Mapping| 14 6)
              (|UnivariatePolynomialCategoryFunctions2| 6 8 14 10) (55 . |map|)
              (|Union| 28 '"failed") (|List| 29)
              (|SparseUnivariatePolynomial| $)
              (61 . |solveLinearPolynomialEquation|) (|Union| 32 '"failed")
              (|List| 8)
              |LPEFRAC;solveLinearPolynomialEquationByFractions;LSupU;2|)
           '#(|solveLinearPolynomialEquationByFractions| 67) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 33
                                                 '(0 6 0 7 0 8 0 9 0 10 0 11 2
                                                   10 12 0 0 13 1 10 14 0 15 1
                                                   14 16 0 17 1 10 0 0 18 1 10
                                                   19 0 20 2 8 0 6 19 21 2 8 0
                                                   0 0 22 1 14 0 6 23 2 25 10
                                                   24 8 26 2 14 27 28 29 30 2 0
                                                   31 32 8 33)))))
           '|lookupComplete|)) 
