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