Get the name from a vl-sysfunexpr-p as a string, e.g.,
Function:
(defun vl-sysfunexpr->name$inline (x) (declare (xargs :guard (vl-expr-p x))) (declare (xargs :guard (vl-sysfunexpr-p x))) (let ((__function__ 'vl-sysfunexpr->name)) (declare (ignorable __function__)) (vl-sysfunname->name (vl-atom->guts x))))
Theorem:
(defthm stringp-of-vl-sysfunexpr->name (b* ((name (vl-sysfunexpr->name$inline x))) (stringp name)) :rule-classes :type-prescription)
Theorem:
(defthm vl-sysfunexpr->name$inline-of-vl-expr-fix-x (equal (vl-sysfunexpr->name$inline (vl-expr-fix x)) (vl-sysfunexpr->name$inline x)))
Theorem:
(defthm vl-sysfunexpr->name$inline-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-sysfunexpr->name$inline x) (vl-sysfunexpr->name$inline x-equiv))) :rule-classes :congruence)