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