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