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