Get the bytes field from a section-info.
(section-info->bytes x) → bytes
This is an ordinary field accessor created by defprod.
Function:
(defun section-info->bytes$inline (x) (declare (xargs :guard (section-info-p x))) (declare (xargs :guard t)) (let ((__function__ 'section-info->bytes)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (acl2::byte-list-fix (cdr (std::da-nth 1 x)))) :exec (cdr (std::da-nth 1 x)))))
Theorem:
(defthm byte-listp-of-section-info->bytes (b* ((bytes (section-info->bytes$inline x))) (byte-listp bytes)) :rule-classes :rewrite)
Theorem:
(defthm section-info->bytes$inline-of-section-info-fix-x (equal (section-info->bytes$inline (section-info-fix x)) (section-info->bytes$inline x)))
Theorem:
(defthm section-info->bytes$inline-section-info-equiv-congruence-on-x (implies (section-info-equiv x x-equiv) (equal (section-info->bytes$inline x) (section-info->bytes$inline x-equiv))) :rule-classes :congruence)