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