Get the blockingp field from a svstmt-assign.
This is an ordinary field accessor created by defprod.
Function:
(defun svstmt-assign->blockingp$inline (x) (declare (xargs :guard (svstmt-p x))) (declare (xargs :guard (equal (svstmt-kind x) :assign))) (let ((__function__ 'svstmt-assign->blockingp)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (svstmt-kind x) :assign) x))) (bool-fix (std::prod-cdr (cdr x)))) :exec (std::prod-cdr (cdr x)))))
Theorem:
(defthm booleanp-of-svstmt-assign->blockingp (b* ((blockingp (svstmt-assign->blockingp$inline x))) (booleanp blockingp)) :rule-classes :rewrite)
Theorem:
(defthm svstmt-assign->blockingp$inline-of-svstmt-fix-x (equal (svstmt-assign->blockingp$inline (svstmt-fix x)) (svstmt-assign->blockingp$inline x)))
Theorem:
(defthm svstmt-assign->blockingp$inline-svstmt-equiv-congruence-on-x (implies (svstmt-equiv x x-equiv) (equal (svstmt-assign->blockingp$inline x) (svstmt-assign->blockingp$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm svstmt-assign->blockingp-when-wrong-kind (implies (not (equal (svstmt-kind x) :assign)) (equal (svstmt-assign->blockingp x) (bool-fix nil))))