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