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