Recognizer for address structures.
(addressp x) → *
Function:
(defun addressp (x) (declare (xargs :guard t)) (let ((__function__ 'addressp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(unwrap))) :exec (fty::alist-with-carsp x '(unwrap))) (b* ((unwrap (cdr (std::da-nth 0 x)))) (any-p unwrap)))))
Theorem:
(defthm consp-when-addressp (implies (addressp x) (consp x)) :rule-classes :compound-recognizer)