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