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