
(/VERSIONCHECK 2) 

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

(DEFUN |InnerFiniteField;| (|#1| |#2|)
  (PROG (DV$1 DV$2 |dv$| $ #0=#:G1848 |pv$|)
    (RETURN
      (PROGN
        (LETT DV$1 (|devaluate| |#1|) . #1=(|InnerFiniteField|))
        (LETT DV$2 (|devaluate| |#2|) . #1#)
        (LETT |dv$| (LIST '|InnerFiniteField| DV$1 DV$2) . #1#)
        (LETT $ (GETREFV 43) . #1#)
        (QSETREFV $ 0 |dv$|)
        (QSETREFV $ 3
            (LETT |pv$|
                  (|buildPredVector| 0 0
                      (LIST (|HasCategory| (|InnerPrimeField| |#1|)
                                '(|CharacteristicZero|))
                            (|HasCategory| (|InnerPrimeField| |#1|)
                                '(|Finite|))
                            (LETT #0#
                                  (|HasCategory|
                                      (|InnerPrimeField| |#1|)
                                      '(|CharacteristicNonZero|)) . #1#)
                            (OR #0#
                                (|HasCategory| (|InnerPrimeField| |#1|)
                                    '(|Finite|))))) . #1#))
        (|haddProp| |$ConstructorCache| '|InnerFiniteField|
            (LIST DV$1 DV$2) (CONS 1 $))
        (|stuffDomainSlots| $)
        (QSETREFV $ 6 |#1|)
        (QSETREFV $ 7 |#2|)
        $)))) 

(MAKEPROP '|InnerFiniteField| '|infovec|
    (LIST '#(NIL NIL NIL NIL NIL (|FiniteFieldExtension| 25 7)
             (|local| |#1|) (|local| |#2|) (|Union| $ '"failed")
             (|Union| 11 '"failed") (|OnePointCompletion| 13)
             (|NonNegativeInteger|) (|List| $) (|PositiveInteger|)
             (|Union| 27 '"failed") (|Matrix| $) (|Table| 13 11)
             (|Integer|)
             (|Record| (|:| |factor| 17) (|:| |exponent| 17))
             (|List| 18) (|Boolean|)
             (|Union| '"prime" '"polynomial" '"normal" '"cyclic")
             (|SparseUnivariatePolynomial| 25) (|Union| 22 '"failed")
             (|SparseUnivariatePolynomial| $) (|InnerPrimeField| 6)
             (|Matrix| 25) (|Vector| $) (|Vector| 25)
             (|CardinalNumber|) (|Union| 25 '"failed") (|Fraction| 17)
             (|Factored| $) (|Union| 12 '"failed")
             (|Record| (|:| |coef1| $) (|:| |coef2| $))
             (|Union| 34 '"failed")
             (|Record| (|:| |coef1| $) (|:| |coef2| $)
                 (|:| |generator| $))
             (|Record| (|:| |quotient| $) (|:| |remainder| $))
             (|Record| (|:| |coef| 12) (|:| |generator| $))
             (|Record| (|:| |unit| $) (|:| |canonical| $)
                 (|:| |associate| $))
             (|String|) (|OutputForm|) (|SingleInteger|))
          '#() 'NIL
          (CONS (|makeByteWordVec2| 4
                    '(0 0 2 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 1 2 0 0 0
                      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 0 0 0 0 0 0 0
                      0 0))
                (CONS '#(|FiniteAlgebraicExtensionField&|
                         |ExtensionField&| |FiniteFieldCategory&|
                         |FieldOfPrimeCharacteristic&| |Field&|
                         |EuclideanDomain&| NIL
                         |UniqueFactorizationDomain&| |GcdDomain&|
                         |DivisionRing&| |IntegralDomain&|
                         |VectorSpace&| |Algebra&| |Algebra&| |Module&|
                         |Module&| NIL NIL |Module&| NIL NIL
                         |DifferentialRing&| NIL NIL NIL |Ring&| NIL
                         NIL NIL NIL NIL NIL NIL |AbelianGroup&| NIL
                         NIL |AbelianMonoid&| |Monoid&| NIL
                         |SemiGroup&| |AbelianSemiGroup&| |Finite&| NIL
                         |SetCategory&| |RetractableTo&| NIL NIL NIL
                         NIL NIL |BasicType&| NIL)
                      (CONS '#((|FiniteAlgebraicExtensionField|
                                   (|InnerPrimeField| 6))
                               (|ExtensionField| (|InnerPrimeField| 6))
                               (|FiniteFieldCategory|)
                               (|FieldOfPrimeCharacteristic|) (|Field|)
                               (|EuclideanDomain|)
                               (|PrincipalIdealDomain|)
                               (|UniqueFactorizationDomain|)
                               (|GcdDomain|) (|DivisionRing|)
                               (|IntegralDomain|)
                               (|VectorSpace| (|InnerPrimeField| 6))
                               (|Algebra| 31) (|Algebra| $$)
                               (|Module| (|InnerPrimeField| 6))
                               (|Module| 31) (|EntireRing|)
                               (|CommutativeRing|) (|Module| $$)
                               (|CharacteristicNonZero|)
                               (|CharacteristicZero|)
                               (|DifferentialRing|)
                               (|BiModule| (|InnerPrimeField| 6)
                                   (|InnerPrimeField| 6))
                               (|BiModule| 31 31) (|BiModule| $$ $$)
                               (|Ring|)
                               (|RightModule| (|InnerPrimeField| 6))
                               (|LeftModule| (|InnerPrimeField| 6))
                               (|RightModule| 31) (|LeftModule| 31)
                               (|LeftModule| $$) (|Rng|)
                               (|RightModule| $$) (|AbelianGroup|)
                               (|CancellationAbelianMonoid|)
                               (|SemiRing|) (|AbelianMonoid|)
                               (|Monoid|) (|SemiRng|) (|SemiGroup|)
                               (|AbelianSemiGroup|) (|Finite|)
                               (|StepThrough|) (|SetCategory|)
                               (|RetractableTo| (|InnerPrimeField| 6))
                               (|canonicalsClosed|)
                               (|canonicalUnitNormal|)
                               (|noZeroDivisors|) (|CommutativeStar|)
                               (|unitsKnown|) (|BasicType|)
                               (|CoercibleTo| 41))
                            (|makeByteWordVec2| -999999 'NIL))))
          '|lookupIncomplete|)) 
