(vl-leftright-string x) → str
Function:
(defun vl-leftright-string (x) (declare (xargs :guard (vl-leftright-p x))) (let ((__function__ 'vl-leftright-string)) (declare (ignorable __function__)) (case (vl-leftright-fix x) (:left "<<") (otherwise ">>"))))
Theorem:
(defthm stringp-of-vl-leftright-string (b* ((str (vl-leftright-string x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-leftright-string-of-vl-leftright-fix-x (equal (vl-leftright-string (vl-leftright-fix x)) (vl-leftright-string x)))
Theorem:
(defthm vl-leftright-string-vl-leftright-equiv-congruence-on-x (implies (vl-leftright-equiv x x-equiv) (equal (vl-leftright-string x) (vl-leftright-string x-equiv))) :rule-classes :congruence)