
(/VERSIONCHECK 2) 

(DEFUN |UTSSOL;seriesSolve;MLUTSF;1| (|f| |l| $)
  (PROG (|c1| |coeffs| |st| |next|)
    (RETURN
      (SEQ (LETT |c1|
                 (SPADCALL
                     (SPADCALL
                         (CONS #'|UTSSOL;seriesSolve;MLUTSF;1!0| $) |l|
                         (QREFELT $ 15))
                     (QREFELT $ 17))
                 . #0=(|UTSSOL;seriesSolve;MLUTSF;1|))
           (LETT |coeffs|
                 (SPADCALL |c1|
                     (SPADCALL
                         (CONS #'|UTSSOL;seriesSolve;MLUTSF;1!1| $)
                         (QREFELT $ 24))
                     (QREFELT $ 25)) . #0#)
           (LETT |st| (LIST |coeffs| |coeffs|) . #0#)
           (LETT |next|
                 (CONS #'|UTSSOL;seriesSolve;MLUTSF;1!2|
                       (VECTOR |f| $ |st|)) . #0#)
           (EXIT (SPADCALL (SPADCALL |next| (QREFELT $ 64))
                     (QREFELT $ 65))))))) 

(DEFUN |UTSSOL;seriesSolve;MLUTSF;1!2| ($$)
  (PROG (|st| $)
    (LETT |st| (QREFELT $$ 2) . #0=(|UTSSOL;seriesSolve;MLUTSF;1|))
    (LETT $ (QREFELT $$ 1) . #0#)
    (RETURN
      (PROGN
        (PROG (|nr| |coeff| |ns| |eqs| |eq| |res|)
          (RETURN
            (SEQ (LETT |nr|
                       (SPADCALL |st| (|spadConstant| $ 43)
                           (QREFELT $ 29))
                       NIL)
                 (COND
                   ((SPADCALL
                        (LETT |coeff|
                              (SPADCALL |nr| (|spadConstant| $ 43)
                                  (QREFELT $ 30))
                              NIL)
                        (QREFELT $ 32))
                    (SEQ (LETT |res| (SPADCALL |coeff| (QREFELT $ 33))
                               NIL)
                         (EXIT (SPADCALL |st| (|spadConstant| $ 43)
                                   (SPADCALL |nr| (QREFELT $ 34))
                                   (QREFELT $ 35)))))
                   ('T
                    (SEQ (LETT |ns| (SPADCALL |st| 2 (QREFELT $ 29))
                               NIL)
                         (LETT |eqs|
                               (SPADCALL
                                   (SPADCALL
                                    (SPADCALL |ns| (QREFELT $ 36))
                                    (QREFELT $$ 0))
                                   (QREFELT $ 37))
                               NIL)
                         (SEQ G190
                              (COND
                                ((NULL (SPADCALL
                                        (SPADCALL |eqs| (QREFELT $ 38))
                                        (QREFELT $ 39)))
                                 (GO G191)))
                              (SEQ (EXIT
                                    (LETT |eqs|
                                     (SPADCALL |eqs| (QREFELT $ 34))
                                     NIL)))
                              NIL (GO G190) G191 (EXIT NIL))
                         (LETT |eq| (SPADCALL |eqs| (QREFELT $ 38))
                               NIL)
                         (COND
                           ((SPADCALL (|spadConstant| $ 43)
                                (SPADCALL |eq| (QREFELT $ 47))
                                (QREFELT $ 48))
                            (COND
                              ((SPADCALL |eq| (QREFELT $ 49))
                               (LETT |res| (|spadConstant| $ 50) NIL))
                              ('T
                               (SEQ (SPADCALL
                                     (SPADCALL "The equation is: "
                                      (SPADCALL |eq| (QREFELT $ 52))
                                      (QREFELT $ 53))
                                     (QREFELT $ 56))
                                    (EXIT
                                     (|error|
                                      "seriesSolve: equation for coefficient not linear"))))))
                           ('T
                            (LETT |res|
                                  (SPADCALL
                                      (SPADCALL
                                       (SPADCALL |eq|
                                        (|spadConstant| $ 57)
                                        (QREFELT $ 58))
                                       (SPADCALL |eq|
                                        (|spadConstant| $ 21)
                                        (QREFELT $ 58))
                                       (QREFELT $ 59))
                                      (QREFELT $ 60))
                                  NIL)))
                         (SPADCALL |nr| (|spadConstant| $ 43)
                             (SPADCALL |res| (QREFELT $ 10))
                             (QREFELT $ 61))
                         (EXIT (SPADCALL |st| (|spadConstant| $ 43)
                                   (SPADCALL |nr| (QREFELT $ 34))
                                   (QREFELT $ 35))))))
                 (EXIT |res|)))))))) 

(DEFUN |UTSSOL;seriesSolve;MLUTSF;1!1| ($)
  (SPADCALL (|spadConstant| $ 18) (|spadConstant| $ 21) (QREFELT $ 22))) 

(DEFUN |UTSSOL;seriesSolve;MLUTSF;1!0| (|#1| $)
  (SPADCALL |#1| (QREFELT $ 10))) 

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

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

(MAKEPROP '|TaylorSolve| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
             (|local| |#3|) (|SparseUnivariatePolynomialExpressions| 6)
             (0 . |coerce|) (|List| 9) (|Mapping| 9 6) (|List| 6)
             (|ListFunctions2| 6 9) (5 . |map|) (|Stream| 9)
             (11 . |coerce|) (16 . |One|) (|NonNegativeInteger|)
             (20 . |monomial|) (26 . |One|) (30 . |monomial|)
             (|Mapping| 9) (36 . |generate|) (41 . |concat|)
             (47 . |One|) (|Integer|) (|List| 16) (51 . |elt|)
             (57 . |elt|) (|Boolean|) (63 . |ground?|) (68 . |ground|)
             (73 . |rest|) (78 . |setelt|) (85 . |series|)
             (90 . |coefficients|) (95 . |first|) (100 . |zero?|)
             (105 . |One|) (109 . |One|) (|PositiveInteger|)
             (113 . |One|) (117 . |One|) (|Fraction| 9) (121 . |One|)
             (125 . |degree|) (130 . <) (136 . |monomial?|)
             (141 . |Zero|) (|OutputForm|) (145 . |coerce|)
             (150 . |hconcat|) (|Void|) (|OutputPackage|)
             (156 . |output|) (161 . |Zero|) (165 . |coefficient|)
             (171 . /) (177 . -) (182 . |setelt|) (|Mapping| 6)
             (|Stream| 6) (189 . |generate|) (194 . |series|)
             (|Mapping| 8 8) |UTSSOL;seriesSolve;MLUTSF;1|)
          '#(|seriesSolve| 199) 'NIL
          (CONS (|makeByteWordVec2| 1 'NIL)
                (CONS '#()
                      (CONS '#()
                            (|makeByteWordVec2| 67
                                '(1 9 0 6 10 2 14 11 12 13 15 1 16 0 11
                                  17 0 6 0 18 2 7 0 6 19 20 0 19 0 21 2
                                  9 0 6 19 22 1 16 0 23 24 2 16 0 0 0
                                  25 0 7 0 26 2 28 16 0 27 29 2 16 9 0
                                  27 30 1 9 31 0 32 1 9 6 0 33 1 16 0 0
                                  34 3 28 16 0 27 16 35 1 8 0 16 36 1 8
                                  16 0 37 1 16 9 0 38 1 9 31 0 39 0 8 0
                                  40 0 9 0 41 0 42 0 43 0 27 0 44 0 45
                                  0 46 1 9 19 0 47 2 19 31 0 0 48 1 9
                                  31 0 49 0 6 0 50 1 9 51 0 52 2 51 0 0
                                  0 53 1 55 54 51 56 0 19 0 57 2 9 6 0
                                  19 58 2 6 0 0 0 59 1 6 0 0 60 3 16 9
                                  0 27 9 61 1 63 0 62 64 1 7 0 63 65 2
                                  0 7 66 13 67)))))
          '|lookupComplete|)) 
