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