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