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