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