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