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