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