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