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