(vl-unparam-newname-exprstring x) → str
Function:
(defun vl-unparam-newname-exprstring (x) (declare (xargs :guard (vl-maybe-expr-p x))) (let ((__function__ 'vl-unparam-newname-exprstring)) (declare (ignorable __function__)) (if x (if (and (vl-expr-resolved-p x) (equal (vl-expr->finalwidth x) 32) (equal (vl-expr->finaltype x) :vl-signed)) (natstr (vl-resolved->val x)) (common-lisp::substitute #\_ #\Space (vl-pps-expr x))) "NULL")))
Theorem:
(defthm stringp-of-vl-unparam-newname-exprstring (b* ((str (vl-unparam-newname-exprstring x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-unparam-newname-exprstring-of-vl-maybe-expr-fix-x (equal (vl-unparam-newname-exprstring (vl-maybe-expr-fix x)) (vl-unparam-newname-exprstring x)))
Theorem:
(defthm vl-unparam-newname-exprstring-vl-maybe-expr-equiv-congruence-on-x (implies (vl-maybe-expr-equiv x x-equiv) (equal (vl-unparam-newname-exprstring x) (vl-unparam-newname-exprstring x-equiv))) :rule-classes :congruence)