Convert every string in a list to upper case.
(upcase-string-list x) → upcased
Function:
(defun upcase-string-list (x) (declare (xargs :guard (string-listp x))) (let ((acl2::__function__ 'upcase-string-list)) (declare (ignorable acl2::__function__)) (mbe :logic (if (atom x) nil (cons (upcase-string (car x)) (upcase-string-list (cdr x)))) :exec (reverse (upcase-string-list-aux x nil)))))
Theorem:
(defthm string-listp-of-upcase-string-list (b* ((upcased (upcase-string-list x))) (string-listp upcased)) :rule-classes :rewrite)
Theorem:
(defthm upcase-string-list-aux-is-upcase-string-list (equal (upcase-string-list-aux x acc) (revappend (upcase-string-list x) acc)))