(vl-blocktype-endstring x) → str
Function:
(defun vl-blocktype-endstring (x) (declare (xargs :guard (vl-blocktype-p x))) (let ((__function__ 'vl-blocktype-endstring)) (declare (ignorable __function__)) (case (vl-blocktype-fix x) (:vl-beginend "end") (:vl-forkjoin "join") (:vl-forkjoinany "join_any") (:vl-forkjoinnone "join_none") (otherwise (or (impossible) "")))))
Theorem:
(defthm stringp-of-vl-blocktype-endstring (b* ((str (vl-blocktype-endstring x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-blocktype-endstring-of-vl-blocktype-fix-x (equal (vl-blocktype-endstring (vl-blocktype-fix x)) (vl-blocktype-endstring x)))
Theorem:
(defthm vl-blocktype-endstring-vl-blocktype-equiv-congruence-on-x (implies (vl-blocktype-equiv x x-equiv) (equal (vl-blocktype-endstring x) (vl-blocktype-endstring x-equiv))) :rule-classes :congruence)