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