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