Get the tyspec field from a fun-declon.
(fun-declon->tyspec x) → tyspec
This is an ordinary field accessor created by fty::defprod.
Function:
(defun fun-declon->tyspec$inline (x) (declare (xargs :guard (fun-declonp x))) (declare (xargs :guard t)) (let ((__function__ 'fun-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-fun-declon->tyspec (b* ((tyspec (fun-declon->tyspec$inline x))) (tyspecseqp tyspec)) :rule-classes :rewrite)
Theorem:
(defthm fun-declon->tyspec$inline-of-fun-declon-fix-x (equal (fun-declon->tyspec$inline (fun-declon-fix x)) (fun-declon->tyspec$inline x)))
Theorem:
(defthm fun-declon->tyspec$inline-fun-declon-equiv-congruence-on-x (implies (fun-declon-equiv x x-equiv) (equal (fun-declon->tyspec$inline x) (fun-declon->tyspec$inline x-equiv))) :rule-classes :congruence)