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