
(/VERSIONCHECK 2) 

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

(DEFUN |UTSSOL;seriesSolve;MLUTSF;1!1| ($$)
  (PROG (|st| $ |f|)
    (LETT |st| (QREFELT $$ 2) . #1=(|UTSSOL;seriesSolve;MLUTSF;1|))
    (LETT $ (QREFELT $$ 1) . #1#)
    (LETT |f| (QREFELT $$ 0) . #1#)
    (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)) |f|)
                                 (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!0| ($)
  (SPADCALL (|spadConstant| $ 18) (|spadConstant| $ 21) (QREFELT $ 22))) 

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

(DEFUN |TaylorSolve;| (|#1| |#2| |#3|)
  (PROG (|pv$| $ |dv$| DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|TaylorSolve|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT |dv$| (LIST '|TaylorSolve| DV$1 DV$2 DV$3) . #1#)
      (LETT $ (GETREFV 68) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|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|)) 
