Get the unwrap field from a filedata.
(filedata->unwrap x) → unwrap
This is an ordinary field accessor created by fty::defprod.
Function:
(defun filedata->unwrap$inline (x) (declare (xargs :guard (filedatap x))) (declare (xargs :guard t)) (let ((__function__ 'filedata->unwrap)) (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 byte-listp-of-filedata->unwrap (b* ((unwrap (filedata->unwrap$inline x))) (byte-listp unwrap)) :rule-classes :rewrite)
Theorem:
(defthm filedata->unwrap$inline-of-filedata-fix-x (equal (filedata->unwrap$inline (filedata-fix x)) (filedata->unwrap$inline x)))
Theorem:
(defthm filedata->unwrap$inline-filedata-equiv-congruence-on-x (implies (filedata-equiv x x-equiv) (equal (filedata->unwrap$inline x) (filedata->unwrap$inline x-equiv))) :rule-classes :congruence)