Get the recognizer field from a defstruct-info.
(defstruct-info->recognizer x) → recognizer
This is an ordinary field accessor created by fty::defprod.
Function:
(defun defstruct-info->recognizer$inline (x) (declare (xargs :guard (defstruct-infop x))) (declare (xargs :guard t)) (let ((__function__ 'defstruct-info->recognizer)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (symbol-fix (cdr (std::da-nth 4 x)))) :exec (cdr (std::da-nth 4 x)))))
Theorem:
(defthm symbolp-of-defstruct-info->recognizer (b* ((recognizer (defstruct-info->recognizer$inline x))) (symbolp recognizer)) :rule-classes :rewrite)
Theorem:
(defthm defstruct-info->recognizer$inline-of-defstruct-info-fix-x (equal (defstruct-info->recognizer$inline (defstruct-info-fix x)) (defstruct-info->recognizer$inline x)))
Theorem:
(defthm defstruct-info->recognizer$inline-defstruct-info-equiv-congruence-on-x (implies (defstruct-info-equiv x x-equiv) (equal (defstruct-info->recognizer$inline x) (defstruct-info->recognizer$inline x-equiv))) :rule-classes :congruence)