Set :custom-p
(set-custom-p content hint) → new-hint
Function:
(defun set-custom-p (content hint) (declare (xargs :guard (and (booleanp content) (smtlink-hint-p hint)))) (let ((acl2::__function__ 'set-custom-p)) (declare (ignorable acl2::__function__)) (b* ((hint (smtlink-hint-fix hint)) (new-hint (change-smtlink-hint hint :custom-p content))) new-hint)))
Theorem:
(defthm smtlink-hint-p-of-set-custom-p (b* ((new-hint (set-custom-p content hint))) (smtlink-hint-p new-hint)) :rule-classes :rewrite)