Get the
Function:
(defun node->regp (node) (declare (xargs :guard (node-p node))) (let ((__function__ 'node->regp)) (declare (ignorable __function__)) (regp (stype node))))
Theorem:
(defthm bitp-of-node->regp (b* ((bit (node->regp node))) (bitp bit)) :rule-classes :rewrite)
Theorem:
(defthm node->regp-of-node-fix-node (equal (node->regp (node-fix node)) (node->regp node)))
Theorem:
(defthm node->regp-node-equiv-congruence-on-node (implies (node-equiv node node-equiv) (equal (node->regp node) (node->regp node-equiv))) :rule-classes :congruence)