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