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