Identity for FAIG constants, or constant X otherwise.
(faig-const-fix x) → *
Note that an older version of this function independently coerced
the car/cdr of
Function:
(defun faig-const-fix (x) (declare (xargs :guard t)) (let ((__function__ 'faig-const-fix)) (declare (ignorable __function__)) (if (faig-const-p x) x (faig-x))))
Theorem:
(defthm faig-const-fix-of-faig-eval (equal (faig-const-fix (faig-eval x env)) (faig-eval x env)))
Theorem:
(defthm faig-const-p-of-faig-const-fix (faig-const-p (faig-const-fix x)))
Theorem:
(defthm faig-const-fix-of-faig-const (implies (faig-const-p x) (equal (faig-const-fix x) x)))