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