
(/VERSIONCHECK 2) 

(DEFPARAMETER |FieldOfPrimeCharacteristic;AL| 'NIL) 

(DEFUN |FieldOfPrimeCharacteristic| ()
  (LET (#:G1794)
    (COND (|FieldOfPrimeCharacteristic;AL|)
          (T
           (SETQ |FieldOfPrimeCharacteristic;AL|
                   (|FieldOfPrimeCharacteristic;|)))))) 

(DEFUN |FieldOfPrimeCharacteristic;| ()
  (PROG (#1=#:G1792)
    (RETURN
     (PROG1
         (LETT #1#
               (|Join| (|Field|) (|CharacteristicNonZero|)
                       (|mkCategory| '|domain|
                                     '(((|order|
                                         ((|OnePointCompletion|
                                           (|PositiveInteger|))
                                          $))
                                        T)
                                       ((|discreteLog|
                                         ((|Union| (|NonNegativeInteger|)
                                                   "failed")
                                          $ $))
                                        T)
                                       ((|primeFrobenius| ($ $)) T)
                                       ((|primeFrobenius|
                                         ($ $ (|NonNegativeInteger|)))
                                        T))
                                     NIL
                                     '((|NonNegativeInteger|)
                                       (|OnePointCompletion|
                                        (|PositiveInteger|)))
                                     NIL))
               |FieldOfPrimeCharacteristic|)
       (SETELT #1# 0 '(|FieldOfPrimeCharacteristic|)))))) 

(MAKEPROP '|FieldOfPrimeCharacteristic| 'NILADIC T) 
