Get the memsz field from a elf32-segment-header.
(elf32-segment-header->memsz x) → memsz
This is an ordinary field accessor created by defprod.
Function:
(defun elf32-segment-header->memsz$inline (x) (declare (xargs :guard (elf32-segment-header-p x))) (declare (xargs :guard t)) (let ((__function__ 'elf32-segment-header->memsz)) (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-elf32-segment-header->memsz (b* ((memsz (elf32-segment-header->memsz$inline x))) (natp memsz)) :rule-classes :rewrite)
Theorem:
(defthm elf32-segment-header->memsz$inline-of-elf32-segment-header-fix-x (equal (elf32-segment-header->memsz$inline (elf32-segment-header-fix x)) (elf32-segment-header->memsz$inline x)))
Theorem:
(defthm elf32-segment-header->memsz$inline-elf32-segment-header-equiv-congruence-on-x (implies (elf32-segment-header-equiv x x-equiv) (equal (elf32-segment-header->memsz$inline x) (elf32-segment-header->memsz$inline x-equiv))) :rule-classes :congruence)