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