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