Get the base field from a vl-tname.
(vl-tname->base x) → base
This is an ordinary field accessor created by defprod.
Function:
(defun vl-tname->base$inline (x) (declare (xargs :guard (vl-tname-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-tname->base)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (str-fix (cdr (std::da-nth 0 (cdr x))))) :exec (cdr (std::da-nth 0 (cdr x))))))
Theorem:
(defthm stringp-of-vl-tname->base (b* ((base (vl-tname->base$inline x))) (stringp base)) :rule-classes :type-prescription)
Theorem:
(defthm vl-tname->base$inline-of-vl-tname-fix-x (equal (vl-tname->base$inline (vl-tname-fix x)) (vl-tname->base$inline x)))
Theorem:
(defthm vl-tname->base$inline-vl-tname-equiv-congruence-on-x (implies (vl-tname-equiv x x-equiv) (equal (vl-tname->base$inline x) (vl-tname->base$inline x-equiv))) :rule-classes :congruence)