Get the spec field from a vl-dpiimport.
(vl-dpiimport->spec x) → spec
This is an ordinary field accessor created by defprod.
Function:
(defun vl-dpiimport->spec$inline (x) (declare (xargs :guard (vl-dpiimport-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-dpiimport->spec)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-dpispec-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 vl-dpispec-p-of-vl-dpiimport->spec (b* ((spec (vl-dpiimport->spec$inline x))) (vl-dpispec-p spec)) :rule-classes :rewrite)
Theorem:
(defthm vl-dpiimport->spec$inline-of-vl-dpiimport-fix-x (equal (vl-dpiimport->spec$inline (vl-dpiimport-fix x)) (vl-dpiimport->spec$inline x)))
Theorem:
(defthm vl-dpiimport->spec$inline-vl-dpiimport-equiv-congruence-on-x (implies (vl-dpiimport-equiv x x-equiv) (equal (vl-dpiimport->spec$inline x) (vl-dpiimport->spec$inline x-equiv))) :rule-classes :congruence)