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