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