Function:
(defun vl-hidexpr->endp$inline (x) (declare (xargs :guard (vl-expr-p x))) (declare (xargs :guard (vl-hidexpr-p x))) (let ((__function__ 'vl-hidexpr->endp)) (declare (ignorable __function__)) (vl-atom-p x)))
Theorem:
(defthm booleanp-of-vl-hidexpr->endp (b* ((endp (vl-hidexpr->endp$inline x))) (booleanp endp)) :rule-classes :type-prescription)
Theorem:
(defthm vl-hidname-p-when-vl-hidexpr->endp (implies (and (vl-hidexpr->endp x) (vl-hidexpr-p x)) (vl-hidname-p x)) :rule-classes ((:rewrite :backchain-limit-lst 1) (:forward-chaining :trigger-terms ((vl-hidexpr->endp x)))))
Theorem:
(defthm vl-hidexpr->endp$inline-of-vl-expr-fix-x (equal (vl-hidexpr->endp$inline (vl-expr-fix x)) (vl-hidexpr->endp$inline x)))
Theorem:
(defthm vl-hidexpr->endp$inline-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-hidexpr->endp$inline x) (vl-hidexpr->endp$inline x-equiv))) :rule-classes :congruence)