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