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