(vl-cstrength-string x) → str
Function:
(defun vl-cstrength-string (x) (declare (xargs :guard (vl-cstrength-p x))) (let ((__function__ 'vl-cstrength-string)) (declare (ignorable __function__)) (case (vl-cstrength-fix x) (:vl-large "large") (:vl-medium "medium") (:vl-small "small") (otherwise (or (impossible) "")))))
Theorem:
(defthm stringp-of-vl-cstrength-string (b* ((str (vl-cstrength-string x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-cstrength-string-of-vl-cstrength-fix-x (equal (vl-cstrength-string (vl-cstrength-fix x)) (vl-cstrength-string x)))
Theorem:
(defthm vl-cstrength-string-vl-cstrength-equiv-congruence-on-x (implies (vl-cstrength-equiv x x-equiv) (equal (vl-cstrength-string x) (vl-cstrength-string x-equiv))) :rule-classes :congruence)