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