Get the source code text for a basic unary operator.
(vl-unaryop-string x) → str
Function:
(defun vl-unaryop-string (x) (declare (xargs :guard (vl-unaryop-p x))) (let ((__function__ 'vl-unaryop-string)) (declare (ignorable __function__)) (cdr (assoc (vl-unaryop-fix x) *vl-unary-ops*))))
Theorem:
(defthm stringp-of-vl-unaryop-string (b* ((str (vl-unaryop-string x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-unaryop-string-of-vl-unaryop-fix-x (equal (vl-unaryop-string (vl-unaryop-fix x)) (vl-unaryop-string x)))
Theorem:
(defthm vl-unaryop-string-vl-unaryop-equiv-congruence-on-x (implies (vl-unaryop-equiv x x-equiv) (equal (vl-unaryop-string x) (vl-unaryop-string x-equiv))) :rule-classes :congruence)