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