Get the traps field from a sinteger-format.
(sinteger-format->traps x) → fty::x.name
This is an ordinary field accessor created by fty::defprod.
Function:
(defun sinteger-format->traps$inline (x) (declare (xargs :guard (sinteger-formatp x))) (declare (xargs :guard t)) (let ((__function__ 'sinteger-format->traps)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (cdr (std::da-nth 2 x))) :exec (cdr (std::da-nth 2 x)))))
Theorem:
(defthm sinteger-format->traps$inline-of-sinteger-format-fix-x (equal (sinteger-format->traps$inline (sinteger-format-fix x)) (sinteger-format->traps$inline x)))
Theorem:
(defthm sinteger-format->traps$inline-sinteger-format-equiv-congruence-on-x (implies (sinteger-format-equiv x x-equiv) (equal (sinteger-format->traps$inline x) (sinteger-format->traps$inline x-equiv))) :rule-classes :congruence)