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