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