(vl-coretypename-string x) → str
Function:
(defun vl-coretypename-string (x) (declare (xargs :guard (vl-coretypename-p x))) (let ((__function__ 'vl-coretypename-string)) (declare (ignorable __function__)) (case (vl-coretypename-fix x) (:vl-logic "logic") (:vl-reg "reg") (:vl-bit "bit") (:vl-void "void") (:vl-byte "byte") (:vl-shortint "shortint") (:vl-int "int") (:vl-longint "longint") (:vl-integer "integer") (:vl-time "time") (:vl-shortreal "shortreal") (:vl-real "real") (:vl-realtime "realtime") (:vl-string "string") (:vl-chandle "chandle") (:vl-event "event") (:vl-untyped "untyped") (:vl-sequence "sequence") (:vl-property "property") (otherwise (or (impossible) "")))))
Theorem:
(defthm stringp-of-vl-coretypename-string (b* ((str (vl-coretypename-string x))) (stringp str)) :rule-classes :type-prescription)
Theorem:
(defthm vl-coretypename-string-of-vl-coretypename-fix-x (equal (vl-coretypename-string (vl-coretypename-fix x)) (vl-coretypename-string x)))
Theorem:
(defthm vl-coretypename-string-vl-coretypename-equiv-congruence-on-x (implies (vl-coretypename-equiv x x-equiv) (equal (vl-coretypename-string x) (vl-coretypename-string x-equiv))) :rule-classes :congruence)