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