Recognizer for primitivex-value.
(primitivex-valuep x) → yes/no
Function:
(defun primitivex-valuep (x) (declare (xargs :guard t)) (let ((__function__ 'primitivex-valuep)) (declare (ignorable __function__)) (or (primitive-valuep x) (floatx-valuep x) (doublex-valuep x))))
Theorem:
(defthm booleanp-of-primitivex-valuep (b* ((yes/no (primitivex-valuep x))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm primitivex-valuep-when-primitive-valuep (implies (primitive-valuep x) (primitivex-valuep x)))
Theorem:
(defthm primitivex-valuep-when-numericx-valuep (implies (numericx-valuep x) (primitivex-valuep x)))