(map-ident->unwrap idents) → strings
Function:
(defun map-ident->unwrap (idents) (declare (xargs :guard (ident-setp idents))) (let ((__function__ 'map-ident->unwrap)) (declare (ignorable __function__)) (b* (((when (emptyp idents)) nil) (unwrapped-head (ident->unwrap (head idents)))) (if (stringp unwrapped-head) (insert unwrapped-head (map-ident->unwrap (tail idents))) (map-ident->unwrap (tail idents))))))
Theorem:
(defthm string-setp-of-map-ident->unwrap (b* ((strings (map-ident->unwrap idents))) (acl2::string-setp strings)) :rule-classes :rewrite)