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