Coerce a list of strings into a character-list-listp.
(explode-list x) → ans
Function:
(defun explode-list (x) (declare (xargs :guard (string-listp x))) (let ((__function__ 'explode-list)) (declare (ignorable __function__)) (if (atom x) nil (cons (explode (car x)) (explode-list (cdr x))))))
Theorem:
(defthm character-list-listp-of-explode-list (b* ((ans (explode-list x))) (character-list-listp ans)) :rule-classes :rewrite)
Theorem:
(defthm explode-list-when-atom (implies (atom x) (equal (explode-list x) nil)))
Theorem:
(defthm explode-list-of-cons (equal (explode-list (cons a x)) (cons (explode a) (explode-list x))))