
(/VERSIONCHECK 2) 

(DEFUN |ODECONST;constDsolve;LFSR;1| (|op| |g| |x| $)
  (PROG (#1=#:G1809 |b|)
    (RETURN
     (SEQ
      (LETT |b| (|ODECONST;homoBasis| |op| (SPADCALL |x| (QREFELT $ 10)) $)
            . #2=(|ODECONST;constDsolve;LFSR;1|))
      (EXIT
       (CONS
        (PROG2
            (LETT #1#
                  (SPADCALL |op| |g| |b|
                            (CONS #'|ODECONST;constDsolve;LFSR;1!0|
                                  (VECTOR $ |x|))
                            (QREFELT $ 17))
                  . #2#)
            (QCDR #1#)
          (|check-union| (QEQCAR #1# 0) (QREFELT $ 7) #1#))
        |b|)))))) 

(DEFUN |ODECONST;constDsolve;LFSR;1!0| (|f1| $$)
  (PROG (|x| $)
    (LETT |x| (QREFELT $$ 1) . #1=(|ODECONST;constDsolve;LFSR;1|))
    (LETT $ (QREFELT $$ 0) . #1#)
    (RETURN (PROGN (SPADCALL |f1| |x| (QREFELT $ 12)))))) 

(DEFUN |ODECONST;homoBasis| (|op| |x| $)
  (PROG (|b| #1=#:G1835 |ff| |p|)
    (RETURN
     (SEQ (LETT |p| (|spadConstant| $ 21) . #2=(|ODECONST;homoBasis|))
          (SEQ G190
               (COND
                ((NULL (SPADCALL |op| (|spadConstant| $ 24) (QREFELT $ 26)))
                 (GO G191)))
               (SEQ
                (LETT |p|
                      (SPADCALL |p|
                                (SPADCALL (SPADCALL |op| (QREFELT $ 27))
                                          (SPADCALL |op| (QREFELT $ 29))
                                          (QREFELT $ 30))
                                (QREFELT $ 31))
                      . #2#)
                (EXIT (LETT |op| (SPADCALL |op| (QREFELT $ 32)) . #2#)))
               NIL (GO G190) G191 (EXIT NIL))
          (LETT |b| NIL . #2#)
          (SEQ (LETT |ff| NIL . #2#)
               (LETT #1#
                     (SPADCALL (SPADCALL |p| (QREFELT $ 35)) (QREFELT $ 38))
                     . #2#)
               G190
               (COND
                ((OR (ATOM #1#) (PROGN (LETT |ff| (CAR #1#) . #2#) NIL))
                 (GO G191)))
               (SEQ
                (EXIT
                 (LETT |b|
                       (SPADCALL |b|
                                 (|ODECONST;basisSol| (QCAR |ff|)
                                  (- (QCDR |ff|) 1) |x| $)
                                 (QREFELT $ 39))
                       . #2#)))
               (LETT #1# (CDR #1#) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT |b|))))) 

(DEFUN |ODECONST;basisSol| (|p| |n| |x| $)
  (PROG (|xn| |l| #1=#:G1844 |f| #2=#:G1843 |i| |ll|)
    (RETURN
     (SEQ
      (LETT |l| (|ODECONST;basisSqfr| |p| |x| $) . #3=(|ODECONST;basisSol|))
      (EXIT
       (COND ((ZEROP |n|) |l|)
             ('T
              (SEQ (LETT |ll| (SPADCALL |l| (QREFELT $ 40)) . #3#)
                   (LETT |xn| |x| . #3#)
                   (SEQ (LETT |i| 1 . #3#) G190
                        (COND ((QSGREATERP |i| |n|) (GO G191)))
                        (SEQ
                         (LETT |l|
                               (SPADCALL |l|
                                         (PROGN
                                          (LETT #2# NIL . #3#)
                                          (SEQ (LETT |f| NIL . #3#)
                                               (LETT #1# |ll| . #3#) G190
                                               (COND
                                                ((OR (ATOM #1#)
                                                     (PROGN
                                                      (LETT |f| (CAR #1#)
                                                            . #3#)
                                                      NIL))
                                                 (GO G191)))
                                               (SEQ
                                                (EXIT
                                                 (LETT #2#
                                                       (CONS
                                                        (SPADCALL |xn| |f|
                                                                  (QREFELT $
                                                                           41))
                                                        #2#)
                                                       . #3#)))
                                               (LETT #1# (CDR #1#) . #3#)
                                               (GO G190) G191
                                               (EXIT (NREVERSE #2#))))
                                         (QREFELT $ 39))
                               . #3#)
                         (EXIT
                          (LETT |xn| (SPADCALL |x| |xn| (QREFELT $ 41))
                                . #3#)))
                        (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191
                        (EXIT NIL))
                   (EXIT |l|))))))))) 

(DEFUN |ODECONST;basisSqfr| (|p| |x| $)
  (PROG (#1=#:G1849 |a| #2=#:G1848 |d|)
    (RETURN
     (SEQ (LETT |d| (SPADCALL |p| (QREFELT $ 42)) . #3=(|ODECONST;basisSqfr|))
          (EXIT
           (COND
            ((EQL |d| 1)
             (LIST
              (SPADCALL
               (SPADCALL
                (SPADCALL
                 (SPADCALL (SPADCALL |p| 0 (QREFELT $ 45)) |x| (QREFELT $ 41))
                 (SPADCALL |p| (QREFELT $ 46)) (QREFELT $ 47))
                (QREFELT $ 48))
               (QREFELT $ 49))))
            ((EQL |d| 2) (|ODECONST;quadSol| |p| |x| $))
            ('T
             (PROGN
              (LETT #2# NIL . #3#)
              (SEQ (LETT |a| NIL . #3#)
                   (LETT #1# (SPADCALL |p| (QREFELT $ 52)) . #3#) G190
                   (COND
                    ((OR (ATOM #1#) (PROGN (LETT |a| (CAR #1#) . #3#) NIL))
                     (GO G191)))
                   (SEQ
                    (EXIT
                     (LETT #2#
                           (CONS
                            (SPADCALL (SPADCALL |a| |x| (QREFELT $ 41))
                                      (QREFELT $ 49))
                            #2#)
                           . #3#)))
                   (LETT #1# (CDR #1#) . #3#) (GO G190) G191
                   (EXIT (NREVERSE #2#))))))))))) 

(DEFUN |ODECONST;quadSol| (|p| |x| $)
  (PROG (#1=#:G1860 |a| #2=#:G1859 #3=#:G1857 |i| |r| |y| |u| |delta| |c| |b|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ
         (LETT |u|
               (SPADCALL
                (LETT |delta|
                      (SPADCALL
                       (SPADCALL
                        (LETT |b| (SPADCALL |p| 1 (QREFELT $ 45))
                              . #4=(|ODECONST;quadSol|))
                        2 (QREFELT $ 54))
                       (SPADCALL
                        (SPADCALL 4
                                  (LETT |a| (SPADCALL |p| (QREFELT $ 46))
                                        . #4#)
                                  (QREFELT $ 55))
                        (LETT |c| (SPADCALL |p| 0 (QREFELT $ 45)) . #4#)
                        (QREFELT $ 41))
                       (QREFELT $ 56))
                      . #4#)
                (QREFELT $ 59))
               . #4#)
         (EXIT
          (COND
           ((QEQCAR |u| 0)
            (COND
             ((MINUSP (QCDR |u|))
              (PROGN
               (LETT #3#
                     (SEQ
                      (LETT |y|
                            (SPADCALL |x| (SPADCALL 2 |a| (QREFELT $ 55))
                                      (QREFELT $ 47))
                            . #4#)
                      (LETT |r|
                            (SPADCALL (SPADCALL |b| |y| (QREFELT $ 41))
                                      (QREFELT $ 48))
                            . #4#)
                      (LETT |i|
                            (SPADCALL
                             (SPADCALL
                              (SPADCALL (SPADCALL |delta| (QREFELT $ 48))
                                        (QREFELT $ 60))
                              (QREFELT $ 62))
                             |y| (QREFELT $ 41))
                            . #4#)
                      (EXIT
                       (LIST
                        (SPADCALL (SPADCALL |r| (QREFELT $ 49))
                                  (SPADCALL |i| (QREFELT $ 63)) (QREFELT $ 41))
                        (SPADCALL (SPADCALL |r| (QREFELT $ 49))
                                  (SPADCALL |i| (QREFELT $ 64))
                                  (QREFELT $ 41)))))
                     . #4#)
               (GO #3#))))))))
        (EXIT
         (PROGN
          (LETT #2# NIL . #4#)
          (SEQ (LETT |a| NIL . #4#)
               (LETT #1# (SPADCALL |p| (QREFELT $ 65)) . #4#) G190
               (COND
                ((OR (ATOM #1#) (PROGN (LETT |a| (CAR #1#) . #4#) NIL))
                 (GO G191)))
               (SEQ
                (EXIT
                 (LETT #2#
                       (CONS
                        (SPADCALL (SPADCALL |a| |x| (QREFELT $ 41))
                                  (QREFELT $ 49))
                        #2#)
                       . #4#)))
               (LETT #1# (CDR #1#) . #4#) (GO G190) G191
               (EXIT (NREVERSE #2#)))))))
      #3# (EXIT #3#))))) 

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

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

(MAKEPROP '|ConstantLODE| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|local| |#2|)
              (|local| |#3|) (|Symbol|) (0 . |coerce|) (|ODEIntegration| 6 7)
              (5 . |int|) (|Union| 7 '"failed") (|List| 7) (|Mapping| 7 7)
              (|ODETools| 7 8) (11 . |particularSolution|)
              (|Record| (|:| |particular| 7) (|:| |basis| 14))
              |ODECONST;constDsolve;LFSR;1| (|SparseUnivariatePolynomial| 7)
              (19 . |Zero|) (23 . |Zero|) (27 . |Zero|) (31 . |Zero|)
              (|Boolean|) (35 . ~=) (41 . |leadingCoefficient|)
              (|NonNegativeInteger|) (46 . |degree|) (51 . |monomial|) (57 . +)
              (63 . |reductum|) (|Factored| 20)
              (|FunctionSpaceUnivariatePolynomialFactor| 6 7 20)
              (68 . |ffactor|)
              (|Record| (|:| |factor| 20) (|:| |exponent| (|Integer|)))
              (|List| 36) (73 . |factors|) (78 . |concat!|) (84 . |copy|)
              (89 . *) (95 . |degree|) (100 . |One|) (104 . |One|)
              (108 . |coefficient|) (114 . |leadingCoefficient|) (119 . /)
              (125 . -) (130 . |exp|) (|List| $)
              (|SparseUnivariatePolynomial| $) (135 . |rootsOf|)
              (|PositiveInteger|) (140 . ^) (146 . *) (152 . -)
              (|Union| (|Integer|) '"failed") (|ElementaryFunctionSign| 6 7)
              (158 . |sign|) (163 . |sqrt|) (|AlgebraicManipulations| 6 7)
              (168 . |rootSimp|) (173 . |cos|) (178 . |sin|) (183 . |zerosOf|))
           '#(|constDsolve| 188) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 65
                                                 '(1 7 0 9 10 2 11 7 7 9 12 4
                                                   16 13 8 7 14 15 17 0 20 0 21
                                                   0 6 0 22 0 7 0 23 0 8 0 24 2
                                                   8 25 0 0 26 1 8 7 0 27 1 8
                                                   28 0 29 2 20 0 7 28 30 2 20
                                                   0 0 0 31 1 8 0 0 32 1 34 33
                                                   20 35 1 33 37 0 38 2 14 0 0
                                                   0 39 1 14 0 0 40 2 7 0 0 0
                                                   41 1 20 28 0 42 0 6 0 43 0 7
                                                   0 44 2 20 7 0 28 45 1 20 7 0
                                                   46 2 7 0 0 0 47 1 7 0 0 48 1
                                                   7 0 0 49 1 7 50 51 52 2 7 0
                                                   0 53 54 2 7 0 53 0 55 2 7 0
                                                   0 0 56 1 58 57 7 59 1 7 0 0
                                                   60 1 61 7 7 62 1 7 0 0 63 1
                                                   7 0 0 64 1 7 50 51 65 3 0 18
                                                   8 7 9 19)))))
           '|lookupComplete|)) 
