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