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