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