Get the ellipsis field from a dirdeclor-function-params.
(dirdeclor-function-params->ellipsis x) → ellipsis
This is an ordinary field accessor created by fty::defprod.
Function:
(defun dirdeclor-function-params->ellipsis$inline (x) (declare (xargs :guard (dirdeclorp x))) (declare (xargs :guard (equal (dirdeclor-kind x) :function-params))) (let ((__function__ 'dirdeclor-function-params->ellipsis)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (dirdeclor-kind x) :function-params) x))) (bool-fix (std::da-nth 2 (cdr x)))) :exec (std::da-nth 2 (cdr x)))))
Theorem:
(defthm booleanp-of-dirdeclor-function-params->ellipsis (b* ((ellipsis (dirdeclor-function-params->ellipsis$inline x))) (booleanp ellipsis)) :rule-classes :rewrite)
Theorem:
(defthm dirdeclor-function-params->ellipsis$inline-of-dirdeclor-fix-x (equal (dirdeclor-function-params->ellipsis$inline (dirdeclor-fix x)) (dirdeclor-function-params->ellipsis$inline x)))
Theorem:
(defthm dirdeclor-function-params->ellipsis$inline-dirdeclor-equiv-congruence-on-x (implies (dirdeclor-equiv x x-equiv) (equal (dirdeclor-function-params->ellipsis$inline x) (dirdeclor-function-params->ellipsis$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm dirdeclor-function-params->ellipsis-when-wrong-kind (implies (not (equal (dirdeclor-kind x) :function-params)) (equal (dirdeclor-function-params->ellipsis x) (bool-fix nil))))