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