
(/VERSIONCHECK 2) 

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

(DEFUN |PAdicRational;| (|#1|)
  (PROG (DV$1 |dv$| $ #0=#:G1850 |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #1=(|PAdicRational|))
        (LETT |dv$| (LIST '|PAdicRational| DV$1) . #1#)
        (LETT $ (GETREFV 56) . #1#)
        (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|))
                            (LETT #0#
                                  (|HasCategory| (|PAdicInteger| |#1|)
                                      '(|OrderedSet|)) . #1#)
                            (OR (|HasCategory| (|PAdicInteger| |#1|)
                                    '(|OrderedIntegralDomain|))
                                #0#))) . #1#))
        (|haddProp| |$ConstructorCache| '|PAdicRational| (LIST DV$1)
            (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (AND (|HasCategory| $ '(|CharacteristicNonZero|))
             (|HasCategory| (|PAdicInteger| |#1|)
                 '(|PolynomialFactorizationExplicit|))
             (|augmentPredVector| $ 8388608))
        (AND (OR (AND (|HasCategory| $ '(|CharacteristicNonZero|))
                      (|HasCategory| (|PAdicInteger| |#1|)
                          '(|PolynomialFactorizationExplicit|)))
                 (|HasCategory| (|PAdicInteger| |#1|)
                     '(|CharacteristicNonZero|)))
             (|augmentPredVector| $ 16777216))
        $)))) 

(MAKEPROP '|PAdicRational| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL (|PAdicRationalConstructor| 6 14)
             (|local| |#1|) (|Union| 21 '"failed") (|Matrix| $)
             (|Union| $ '"failed") (|InputForm|) (|Pattern| 32)
             (|Pattern| 23) (|NonNegativeInteger|) (|PAdicInteger| 6)
             (|List| 16) (|Equation| 14) (|List| 14) (|Symbol|)
             (|List| 18)
             (|Record| (|:| |mat| 22) (|:| |vec| (|Vector| 23)))
             (|Vector| $) (|Matrix| 23) (|Integer|) (|Boolean|)
             (|List| 13) (|PatternMatchResult| 32 $)
             (|PatternMatchResult| 23 $) (|Factored| 29)
             (|SparseUnivariatePolynomial| $) (|Union| 31 '"failed")
             (|List| 29) (|Float|) (|DoubleFloat|)
             (|Union| 23 '"failed") (|Union| 36 '"failed")
             (|Fraction| 23) (|Union| 18 '"failed")
             (|ContinuedFraction| 36)
             (|Record| (|:| |mat| 40) (|:| |vec| (|Vector| 14)))
             (|Matrix| 14) (|Mapping| 14 14) (|Union| 14 '"failed")
             (|Factored| $) (|Union| 45 '"failed") (|List| $)
             (|Record| (|:| |coef1| $) (|:| |coef2| $)
                 (|:| |generator| $))
             (|Record| (|:| |coef1| $) (|:| |coef2| $))
             (|Union| 47 '"failed")
             (|Record| (|:| |quotient| $) (|:| |remainder| $))
             (|Record| (|:| |coef| 45) (|:| |generator| $))
             (|Record| (|:| |unit| $) (|:| |canonical| $)
                 (|:| |associate| $))
             (|PositiveInteger|) (|SingleInteger|) (|String|)
             (|OutputForm|))
          '#() 'NIL
          (CONS (|makeByteWordVec2| 23
                    '(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 0 0 0 0 0 0 0 7 0 7 0 0 7 0 0 0
                      0 7 0 0 0 23 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 |AbelianGroup&| NIL NIL NIL NIL NIL
                         |AbelianMonoid&| |Monoid&| NIL NIL
                         |FullyEvalableOver&| |SemiGroup&|
                         |AbelianSemiGroup&| |OrderedSet&| 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| 23)
                               (|PartialDifferentialRing| 18)
                               (|DifferentialRing|)
                               (|BiModule| (|PAdicInteger| 6)
                                   (|PAdicInteger| 6))
                               (|BiModule| 36 36) (|BiModule| $$ $$)
                               (|Ring|)
                               (|RightModule| (|PAdicInteger| 6))
                               (|LeftModule| (|PAdicInteger| 6))
                               (|RightModule| 36) (|LeftModule| 36)
                               (|LeftModule| $$) (|Rng|)
                               (|RightModule| $$)
                               (|OrderedAbelianGroup|) (|AbelianGroup|)
                               (|OrderedCancellationAbelianMonoid|)
                               (|CancellationAbelianMonoid|)
                               (|SemiRing|) (|OrderedAbelianMonoid|)
                               (|FullyPatternMatchable|
                                   (|PAdicInteger| 6))
                               (|AbelianMonoid|) (|Monoid|) (|SemiRng|)
                               (|OrderedAbelianSemiGroup|)
                               (|FullyEvalableOver| (|PAdicInteger| 6))
                               (|SemiGroup|) (|AbelianSemiGroup|)
                               (|OrderedSet|) (|StepThrough|)
                               (|PatternMatchable| 32)
                               (|PatternMatchable| 23)
                               (|Patternable| (|PAdicInteger| 6))
                               (|SetCategory|) (|RealConstant|)
                               (|Evalable| (|PAdicInteger| 6)) (|Type|)
                               (|RetractableTo| (|PAdicInteger| 6))
                               (|canonicalsClosed|)
                               (|canonicalUnitNormal|)
                               (|noZeroDivisors|) (|CommutativeStar|)
                               (|unitsKnown|) (|BasicType|)
                               (|CoercibleTo| 55) (|RetractableTo| 18)
                               (|ConvertibleTo| 10)
                               (|ConvertibleTo| 33)
                               (|ConvertibleTo| 32)
                               (|RetractableTo| 36)
                               (|RetractableTo| 23)
                               (|ConvertibleTo| 11)
                               (|ConvertibleTo| 12)
                               (|InnerEvalable| 18 (|PAdicInteger| 6))
                               (|InnerEvalable| (|PAdicInteger| 6)
                                   (|PAdicInteger| 6))
                               (|Eltable| (|PAdicInteger| 6) $$))
                            (|makeByteWordVec2| -999999 'NIL))))
          '|lookupIncomplete|)) 
