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