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