Recognizer for base58-value.
(base58-valuep x) → yes/no
Function:
(defun base58-valuep (x) (declare (xargs :guard t)) (let ((__function__ 'base58-valuep)) (declare (ignorable __function__)) (dab-digitp 58 x)))
Theorem:
(defthm booleanp-of-base58-valuep (b* ((yes/no (base58-valuep x))) (booleanp yes/no)) :rule-classes :rewrite)
Theorem:
(defthm natp-when-base58-valuep (implies (base58-valuep x) (natp x)) :rule-classes :compound-recognizer)
Theorem:
(defthm below-58-when-base58-valuep (implies (base58-valuep x) (< x 58)) :rule-classes :forward-chaining)
Theorem:
(defthm base58-valuep-rewrite-dab-digitp-58 (equal (base58-valuep x) (dab-digitp 58 x)))
Theorem:
(defthm dab-digitp-58-rewrite-base58-valuep (equal (dab-digitp 58 x) (base58-valuep x)))