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