Get the args field from a svex-call.
(svex-call->args x) → args
This is an ordinary field accessor created by defprod.
Function:
(defun svex-call->args$inline (x) (declare (xargs :guard (svex-p x))) (declare (xargs :guard (equal (svex-kind x) :call))) (let ((__function__ 'svex-call->args)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (svex-kind x) :call) x))) (svexlist-fix (cdr x))) :exec (cdr x))))
Theorem:
(defthm svexlist-p-of-svex-call->args (b* ((args (svex-call->args$inline x))) (svexlist-p args)) :rule-classes :rewrite)
Theorem:
(defthm svex-call->args$inline-of-svex-fix-x (equal (svex-call->args$inline (svex-fix x)) (svex-call->args$inline x)))
Theorem:
(defthm svex-call->args$inline-svex-equiv-congruence-on-x (implies (svex-equiv x x-equiv) (equal (svex-call->args$inline x) (svex-call->args$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm svex-call->args-when-wrong-kind (implies (not (equal (svex-kind x) :call)) (equal (svex-call->args x) (svexlist-fix nil))))