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