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