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