(vl-alwaystype-string x) → str
Function:
(defun vl-alwaystype-string (x) (declare (xargs :guard (vl-alwaystype-p x))) (let ((__function__ 'vl-alwaystype-string)) (declare (ignorable __function__)) (case (vl-alwaystype-fix x) (:vl-always "always") (:vl-always-comb "always_comb") (:vl-always-ff "always_ff") (:vl-always-latch "always_latch") (otherwise (progn$ (impossible) "")))))
Theorem:
(defthm stringp-of-vl-alwaystype-string (b* ((str (vl-alwaystype-string x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-alwaystype-string-of-vl-alwaystype-fix-x (equal (vl-alwaystype-string (vl-alwaystype-fix x)) (vl-alwaystype-string x)))
Theorem:
(defthm vl-alwaystype-string-vl-alwaystype-equiv-congruence-on-x (implies (vl-alwaystype-equiv x x-equiv) (equal (vl-alwaystype-string x) (vl-alwaystype-string x-equiv))) :rule-classes :congruence)