Fixing function for fnsyms.
(fnsym-fix x) → x
Function:
(defun fnsym-fix (x) (declare (xargs :guard t)) (let ((__function__ 'fnsym-fix)) (declare (ignorable __function__)) (if (fnsym-p x) x 'id)))
Theorem:
(defthm fnsym-p-of-fnsym-fix (b* ((x (fnsym-fix x))) (fnsym-p x)) :rule-classes :rewrite)
Theorem:
(defthm fnsym-fix-when-fnsym-p (implies (fnsym-p x) (equal (fnsym-fix x) x)))