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