Get the path field from a address.
This is an ordinary field accessor created by defprod.
Function:
(defun address->path$inline (x) (declare (xargs :guard (address-p x))) (declare (xargs :guard t)) (let ((__function__ 'address->path)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (path-fix (if (or (atom x) (not (eq (car x) :address))) x (nth 1 x)))) :exec (if (or (atom x) (not (eq (car x) :address))) x (nth 1 x)))))
Theorem:
(defthm path-p-of-address->path (b* ((path (address->path$inline x))) (path-p path)) :rule-classes :rewrite)
Theorem:
(defthm address->path$inline-of-address-fix-x (equal (address->path$inline (address-fix x)) (address->path$inline x)))
Theorem:
(defthm address->path$inline-address-equiv-congruence-on-x (implies (address-equiv x x-equiv) (equal (address->path$inline x) (address->path$inline x-equiv))) :rule-classes :congruence)