Fixing function for function-syntax-p
(function-syntax-fix term) → fixed-term
Function:
(defun function-syntax-fix (term) (declare (xargs :guard (function-syntax-p term))) (let ((acl2::__function__ 'function-syntax-fix)) (declare (ignorable acl2::__function__)) (mbe :logic (if (function-syntax-p term) term nil) :exec term)))
Theorem:
(defthm function-syntax-p-of-function-syntax-fix (b* ((fixed-term (function-syntax-fix term))) (function-syntax-p fixed-term)) :rule-classes :rewrite)