
(/VERSIONCHECK 2) 

(PUT '|ODR;coerce;R$;1| '|SPADreplace| '(XLAM (|u|) |u|)) 

(DEFUN |ODR;coerce;R$;1| (|u| $) |u|) 

(PUT '|ODR;coerce;$R;2| '|SPADreplace| '(XLAM (|p|) |p|)) 

(DEFUN |ODR;coerce;$R;2| (|p| $) |p|) 

(DEFUN |ODR;differentiate;2$;3| (|p| $)
  (SPADCALL |p| (QREFELT $ 8) (QREFELT $ 12))) 

(DEFUN |ODR;/;3$;4| (|p| |q| $)
  (SPADCALL (SPADCALL |p| (QREFELT $ 11)) (SPADCALL |q| (QREFELT $ 11))
            (QREFELT $ 14))) 

(DEFUN |ODR;^;$I$;5| (|p| |n| $)
  (SPADCALL (SPADCALL |p| (QREFELT $ 11)) |n| (QREFELT $ 17))) 

(DEFUN |ODR;inv;2$;6| (|p| $)
  (SPADCALL (SPADCALL |p| (QREFELT $ 11)) (QREFELT $ 19))) 

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

(DEFUN |OrdinaryDifferentialRing;| (|#1| |#2| |#3|)
  (PROG (|pv$| $ |dv$| DV$3 DV$2 DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|OrdinaryDifferentialRing|))
      (LETT DV$2 (|devaluate| |#2|) . #1#)
      (LETT DV$3 (|devaluate| |#3|) . #1#)
      (LETT |dv$| (LIST '|OrdinaryDifferentialRing| DV$1 DV$2 DV$3) . #1#)
      (LETT $ (GETREFV 39) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| |#2| '(|Field|))))
                      . #1#))
      (|haddProp| |$ConstructorCache| '|OrdinaryDifferentialRing|
                  (LIST DV$1 DV$2 DV$3) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 5 |#2|)
      (QSETREFV $ 6 |#1|)
      (QSETREFV $ 7 |#2|)
      (QSETREFV $ 8 |#3|)
      (QSETREFV $ 9 |#2|)
      (COND
       ((|testBitVector| |pv$| 1)
        (PROGN
         (QSETREFV $ 15 (CONS (|dispatchFunction| |ODR;/;3$;4|) $))
         (QSETREFV $ 18 (CONS (|dispatchFunction| |ODR;^;$I$;5|) $))
         (QSETREFV $ 20 (CONS (|dispatchFunction| |ODR;inv;2$;6|) $)))))
      $)))) 

(MAKEPROP '|OrdinaryDifferentialRing| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL (|local| |#2|) (|local| |#1|) (|local| |#2|)
              (|local| |#3|) '|Rep| |ODR;coerce;R$;1| |ODR;coerce;$R;2|
              (0 . |differentiate|) |ODR;differentiate;2$;3| (6 . /) (12 . /)
              (|Integer|) (18 . ^) (24 . ^) (30 . |inv|) (35 . |inv|)
              (|Record| (|:| |unit| $) (|:| |canonical| $) (|:| |associate| $))
              (|Union| $ '"failed") (|Boolean|) (|List| $)
              (|SparseUnivariatePolynomial| $) (|Union| 24 '"failed")
              (|Record| (|:| |coef| 24) (|:| |generator| $))
              (|NonNegativeInteger|)
              (|Record| (|:| |quotient| $) (|:| |remainder| $))
              (|Record| (|:| |coef1| $) (|:| |coef2| $)) (|Union| 30 '"failed")
              (|Record| (|:| |coef1| $) (|:| |coef2| $) (|:| |generator| $))
              (|Factored| $) (|Fraction| 16) (|PositiveInteger|) (|String|)
              (|OutputForm|) (|SingleInteger|))
           '#(~= 40 |zero?| 46 |unitNormal| 51 |unitCanonical| 56 |unit?| 61
              |subtractIfCan| 66 |squareFreePart| 72 |squareFree| 77
              |sizeLess?| 82 |sample| 88 |rem| 92 |recip| 98 |quo| 103
              |principalIdeal| 109 |prime?| 114 |one?| 119 |multiEuclidean| 124
              |lcm| 130 |latex| 141 |inv| 146 |hash| 151 |gcdPolynomial| 156
              |gcd| 162 |factor| 173 |extendedEuclidean| 178 |exquo| 191
              |expressIdealMember| 197 |euclideanSize| 203 |divide| 208
              |differentiate| 214 |coerce| 225 |characteristic| 255
              |associates?| 259 ^ 265 |Zero| 283 |One| 287 D 291 = 302 / 308 -
              314 + 325 * 331)
           'NIL
           (CONS
            (|makeByteWordVec2| 1
                                '(1 1 1 1 1 1 1 1 1 0 1 1 1 1 0 0 1 0 0 0 1 1 0
                                  0 0 0 0 0 0 0 0 0 0 0 1 1 1 1))
            (CONS
             '#(|Field&| |EuclideanDomain&| NIL |UniqueFactorizationDomain&|
                |GcdDomain&| |IntegralDomain&| |DivisionRing&| |Algebra&|
                |Algebra&| |DifferentialRing&| |Module&| NIL NIL |Module&| NIL
                |Ring&| NIL NIL NIL NIL NIL NIL |AbelianGroup&| NIL NIL NIL
                |Monoid&| |AbelianMonoid&| |SemiGroup&| |AbelianSemiGroup&|
                |SetCategory&| NIL |BasicType&| NIL NIL NIL NIL NIL)
             (CONS
              '#((|Field|) (|EuclideanDomain|) (|PrincipalIdealDomain|)
                 (|UniqueFactorizationDomain|) (|GcdDomain|) (|IntegralDomain|)
                 (|DivisionRing|) (|Algebra| $$) (|Algebra| 34)
                 (|DifferentialRing|) (|Module| $$) (|CommutativeRing|)
                 (|EntireRing|) (|Module| 34) (|BiModule| $$ $$) (|Ring|)
                 (|BiModule| 34 34) (|LeftModule| $$) (|Rng|)
                 (|RightModule| $$) (|LeftModule| 34) (|RightModule| 34)
                 (|AbelianGroup|) (|SemiRing|) (|CancellationAbelianMonoid|)
                 (|SemiRng|) (|Monoid|) (|AbelianMonoid|) (|SemiGroup|)
                 (|AbelianSemiGroup|) (|SetCategory|) (|unitsKnown|)
                 (|BasicType|) (|CoercibleTo| 37) (|CommutativeStar|)
                 (|noZeroDivisors|) (|canonicalUnitNormal|)
                 (|canonicalsClosed|))
              (|makeByteWordVec2| 38
                                  '(2 9 0 0 6 12 2 5 0 0 0 14 2 0 0 0 0 15 2 5
                                    0 0 16 17 2 0 0 0 16 18 1 5 0 0 19 1 0 0 0
                                    20 2 0 23 0 0 1 1 0 23 0 1 1 1 21 0 1 1 1 0
                                    0 1 1 1 23 0 1 2 0 22 0 0 1 1 1 0 0 1 1 1
                                    33 0 1 2 1 23 0 0 1 0 0 0 1 2 1 0 0 0 1 1 0
                                    22 0 1 2 1 0 0 0 1 1 1 27 24 1 1 1 23 0 1 1
                                    0 23 0 1 2 1 26 24 0 1 2 1 0 0 0 1 1 1 0 24
                                    1 1 0 36 0 1 1 1 0 0 20 1 0 38 0 1 2 1 25
                                    25 25 1 2 1 0 0 0 1 1 1 0 24 1 1 1 33 0 1 3
                                    1 31 0 0 0 1 2 1 32 0 0 1 2 1 22 0 0 1 2 1
                                    26 24 0 1 1 1 28 0 1 2 1 29 0 0 1 1 0 0 0
                                    13 2 0 0 0 28 1 1 1 0 0 1 1 1 0 34 1 1 0 0
                                    5 10 1 0 5 0 11 1 0 0 16 1 1 0 37 0 1 0 0
                                    28 1 2 1 23 0 0 1 2 1 0 0 16 18 2 0 0 0 35
                                    1 2 0 0 0 28 1 0 0 0 1 0 0 0 1 1 0 0 0 1 2
                                    0 0 0 28 1 2 0 23 0 0 1 2 1 0 0 0 15 1 0 0
                                    0 1 2 0 0 0 0 1 2 0 0 0 0 1 2 1 0 0 34 1 2
                                    1 0 34 0 1 2 0 0 0 0 1 2 0 0 16 0 1 2 0 0 0
                                    0 1 2 0 0 28 0 1 2 0 0 35 0 1)))))
           '|lookupComplete|)) 
