Recognizer for symbol-value structures.
(symbol-valuep x) → *
Function:
(defun symbol-valuep (x) (declare (xargs :guard t)) (let ((__function__ 'symbol-valuep)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(package name))) :exec (fty::alist-with-carsp x '(package name))) (b* ((package (cdr (std::da-nth 0 x))) (name (cdr (std::da-nth 1 x)))) (and (stringp package) (stringp name))))))
Theorem:
(defthm consp-when-symbol-valuep (implies (symbol-valuep x) (consp x)) :rule-classes :compound-recognizer)