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