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