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