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