FGL binder that checks whether X is syntactically a bit.
(check-bitp ans x) → *
See fgl-syntactic-checker-binders and see binder for details.
Function:
(defun check-bitp (ans x) (declare (xargs :guard t)) (let ((__function__ 'check-bitp)) (declare (ignorable __function__)) (and (bitp x) ans t)))
Theorem:
(defthm check-bitp-implies-bitp (implies (check-bitp ans x) (bitp x)) :rule-classes :forward-chaining)