Get the sign? field from a bin-expo.
(bin-expo->sign? x) → sign?
This is an ordinary field accessor created by fty::defprod.
Function:
(defun bin-expo->sign?$inline (x) (declare (xargs :guard (bin-expop x))) (declare (xargs :guard t)) (let ((__function__ 'bin-expo->sign?)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (sign-option-fix (cdr (std::da-nth 1 x)))) :exec (cdr (std::da-nth 1 x)))))
Theorem:
(defthm sign-optionp-of-bin-expo->sign? (b* ((sign? (bin-expo->sign?$inline x))) (sign-optionp sign?)) :rule-classes :rewrite)
Theorem:
(defthm bin-expo->sign?$inline-of-bin-expo-fix-x (equal (bin-expo->sign?$inline (bin-expo-fix x)) (bin-expo->sign?$inline x)))
Theorem:
(defthm bin-expo->sign?$inline-bin-expo-equiv-congruence-on-x (implies (bin-expo-equiv x x-equiv) (equal (bin-expo->sign?$inline x) (bin-expo->sign?$inline x-equiv))) :rule-classes :congruence)