
(/VERSIONCHECK 2) 

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

(DEFUN |PAdicRational;| (|#1|)
  (PROG (|pv$| #1=#:G916 $ |dv$| DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #2=(|PAdicRational|))
      (LETT |dv$| (LIST '|PAdicRational| DV$1) . #2#)
      (LETT $ (GETREFV 56) . #2#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|PolynomialFactorizationExplicit|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|RetractableTo|
                                                           (|Symbol|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|CharacteristicNonZero|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|CharacteristicZero|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|ConvertibleTo|
                                                           (|InputForm|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|RealConstant|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|OrderedIntegralDomain|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|RetractableTo|
                                                           (|Integer|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|StepThrough|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|PatternMatchable|
                                                           (|Float|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|PatternMatchable|
                                                           (|Integer|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|ConvertibleTo|
                                                           (|Pattern|
                                                            (|Float|))))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|ConvertibleTo|
                                                           (|Pattern|
                                                            (|Integer|))))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|LinearlyExplicitRingOver|
                                                           (|Integer|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|PartialDifferentialRing|
                                                           (|Symbol|)))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|DifferentialRing|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         (LIST '|InnerEvalable|
                                                               '(|Symbol|)
                                                               (LIST
                                                                '|PAdicInteger|
                                                                (|devaluate|
                                                                 |#1|))))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         (LIST '|Evalable|
                                                               (LIST
                                                                '|PAdicInteger|
                                                                (|devaluate|
                                                                 |#1|))))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         (LIST '|Eltable|
                                                               (LIST
                                                                '|PAdicInteger|
                                                                (|devaluate|
                                                                 |#1|))
                                                               (LIST
                                                                '|PAdicInteger|
                                                                (|devaluate|
                                                                 |#1|))))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|EuclideanDomain|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|IntegerNumberSystem|))
                                          (|HasCategory| (|PAdicInteger| |#1|)
                                                         '(|Comparable|))
                                          (LETT #1#
                                                (|HasCategory|
                                                 (|PAdicInteger| |#1|)
                                                 '(|OrderedSet|))
                                                . #2#)
                                          (OR
                                           (|HasCategory| (|PAdicInteger| |#1|)
                                                          '(|Comparable|))
                                           (|HasCategory| (|PAdicInteger| |#1|)
                                                          '(|OrderedIntegralDomain|))
                                           #1#)
                                          (OR
                                           (|HasCategory| (|PAdicInteger| |#1|)
                                                          '(|OrderedIntegralDomain|))
                                           #1#)))
                      . #2#))
      (|haddProp| |$ConstructorCache| '|PAdicRational| (LIST DV$1) (CONS 1 $))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      (AND (|HasCategory| $ '(|CharacteristicNonZero|))
           (|HasCategory| (|PAdicInteger| |#1|)
                          '(|PolynomialFactorizationExplicit|))
           (|augmentPredVector| $ 33554432))
      (AND
       (OR
        (AND (|HasCategory| $ '(|CharacteristicNonZero|))
             (|HasCategory| (|PAdicInteger| |#1|)
                            '(|PolynomialFactorizationExplicit|)))
        (|HasCategory| (|PAdicInteger| |#1|) '(|CharacteristicNonZero|)))
       (|augmentPredVector| $ 67108864))
      $)))) 

(MAKEPROP '|PAdicRational| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL (|PAdicRationalConstructor| 6 15)
              (|local| |#1|) (|Union| 22 '#1="failed") (|Matrix| $)
              (|Union| $ '#1#) (|Boolean|) (|InputForm|) (|Pattern| 32)
              (|Pattern| 24) (|NonNegativeInteger|) (|PAdicInteger| 6)
              (|List| 17) (|Equation| 15) (|List| 15) (|Symbol|) (|List| 19)
              (|Record| (|:| |mat| 23) (|:| |vec| (|Vector| 24))) (|Vector| $)
              (|Matrix| 24) (|Integer|) (|List| 14) (|PatternMatchResult| 32 $)
              (|PatternMatchResult| 24 $) (|Factored| 29)
              (|SparseUnivariatePolynomial| $) (|Union| 31 '#1#) (|List| 29)
              (|Float|) (|DoubleFloat|) (|Union| 24 '#2="failed")
              (|Union| 36 '#2#) (|Fraction| 24) (|Union| 19 '#2#)
              (|ContinuedFraction| 36) (|Matrix| 15)
              (|Record| (|:| |mat| 39) (|:| |vec| (|Vector| 15)))
              (|Mapping| 15 15) (|Union| 15 '#2#) (|Factored| $)
              (|Union| 45 '#3="failed") (|List| $)
              (|Record| (|:| |coef1| $) (|:| |coef2| $) (|:| |generator| $))
              (|Record| (|:| |coef1| $) (|:| |coef2| $)) (|Union| 47 '#3#)
              (|Record| (|:| |quotient| $) (|:| |remainder| $))
              (|Record| (|:| |coef| 45) (|:| |generator| $))
              (|Record| (|:| |unit| $) (|:| |canonical| $) (|:| |associate| $))
              (|PositiveInteger|) (|SingleInteger|) (|String|) (|OutputForm|))
           '#() 'NIL
           (CONS
            (|makeByteWordVec2| 25
                                '(0 0 0 1 0 0 0 7 0 0 0 0 0 0 0 0 0 0 0 0 0 3 4
                                  7 14 15 16 0 0 0 0 7 0 0 0 0 0 0 0 7 0 7 0 0
                                  7 0 0 0 0 25 0 0 0 24 9 10 11 0 0 6 18 0 0 0
                                  0 0 0 0 0 0 2 5 6 6 8 8 12 13 17 18 19))
            (CONS
             '#(|QuotientFieldCategory&| |Field&| |EuclideanDomain&|
                |PolynomialFactorizationExplicit&| NIL
                |UniqueFactorizationDomain&| |GcdDomain&| NIL |DivisionRing&|
                |IntegralDomain&| |FullyLinearlyExplicitRingOver&|
                |DifferentialExtension&| |Algebra&| |Algebra&| |Algebra&| NIL
                |Module&| |Module&| NIL NIL |Module&| NIL NIL |OrderedRing&|
                NIL |PartialDifferentialRing&| |DifferentialRing&| NIL NIL NIL
                |Ring&| NIL NIL NIL NIL NIL NIL NIL NIL NIL |AbelianGroup&| NIL
                NIL NIL NIL NIL |AbelianMonoid&| |Monoid&| NIL |OrderedSet&|
                |FullyEvalableOver&| |SemiGroup&| |AbelianSemiGroup&| NIL NIL
                NIL NIL NIL |SetCategory&| NIL |Evalable&| NIL |RetractableTo&|
                NIL NIL NIL NIL NIL |BasicType&| NIL |RetractableTo&| NIL NIL
                NIL |RetractableTo&| |RetractableTo&| NIL NIL |InnerEvalable&|
                |InnerEvalable&| NIL)
             (CONS
              '#((|QuotientFieldCategory| (|PAdicInteger| 6)) (|Field|)
                 (|EuclideanDomain|) (|PolynomialFactorizationExplicit|)
                 (|PrincipalIdealDomain|) (|UniqueFactorizationDomain|)
                 (|GcdDomain|) (|OrderedIntegralDomain|) (|DivisionRing|)
                 (|IntegralDomain|)
                 (|FullyLinearlyExplicitRingOver| (|PAdicInteger| 6))
                 (|DifferentialExtension| (|PAdicInteger| 6))
                 (|Algebra| (|PAdicInteger| 6)) (|Algebra| 36) (|Algebra| $$)
                 (|LinearlyExplicitRingOver| (|PAdicInteger| 6))
                 (|Module| (|PAdicInteger| 6)) (|Module| 36) (|EntireRing|)
                 (|CommutativeRing|) (|Module| $$) (|CharacteristicNonZero|)
                 (|CharacteristicZero|) (|OrderedRing|)
                 (|LinearlyExplicitRingOver| 24) (|PartialDifferentialRing| 19)
                 (|DifferentialRing|)
                 (|BiModule| (|PAdicInteger| 6) (|PAdicInteger| 6))
                 (|BiModule| 36 36) (|BiModule| $$ $$) (|Ring|)
                 (|OrderedAbelianGroup|) (|RightModule| (|PAdicInteger| 6))
                 (|LeftModule| (|PAdicInteger| 6)) (|RightModule| 36)
                 (|LeftModule| 36) (|LeftModule| $$) (|Rng|) (|RightModule| $$)
                 (|OrderedCancellationAbelianMonoid|) (|AbelianGroup|)
                 (|OrderedAbelianMonoid|) (|CancellationAbelianMonoid|)
                 (|SemiRing|) (|OrderedAbelianSemiGroup|)
                 (|FullyPatternMatchable| (|PAdicInteger| 6)) (|AbelianMonoid|)
                 (|Monoid|) (|SemiRng|) (|OrderedSet|)
                 (|FullyEvalableOver| (|PAdicInteger| 6)) (|SemiGroup|)
                 (|AbelianSemiGroup|) (|Comparable|) (|StepThrough|)
                 (|PatternMatchable| 32) (|PatternMatchable| 24)
                 (|Patternable| (|PAdicInteger| 6)) (|SetCategory|)
                 (|RealConstant|) (|Evalable| (|PAdicInteger| 6)) (|Type|)
                 (|RetractableTo| (|PAdicInteger| 6)) (|canonicalsClosed|)
                 (|canonicalUnitNormal|) (|noZeroDivisors|) (|CommutativeStar|)
                 (|unitsKnown|) (|BasicType|) (|CoercibleTo| 55)
                 (|RetractableTo| 19) (|ConvertibleTo| 11) (|ConvertibleTo| 33)
                 (|ConvertibleTo| 32) (|RetractableTo| 36) (|RetractableTo| 24)
                 (|ConvertibleTo| 12) (|ConvertibleTo| 13)
                 (|InnerEvalable| 19 (|PAdicInteger| 6))
                 (|InnerEvalable| (|PAdicInteger| 6) (|PAdicInteger| 6))
                 (|Eltable| (|PAdicInteger| 6) $$))
              (|makeByteWordVec2| -999999 'NIL))))
           '|lookupIncomplete|)) 
