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