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