Lift symbol-package-name to lists.
(symbol-package-name-lst syms) → pkgs
This function is named similarly to the built-in
Function:
(defun symbol-package-name-lst (syms) (declare (xargs :guard (symbol-listp syms))) (let ((__function__ 'symbol-package-name-lst)) (declare (ignorable __function__)) (cond ((endp syms) nil) (t (cons (symbol-package-name (car syms)) (symbol-package-name-lst (cdr syms)))))))
Theorem:
(defthm string-listp-of-symbol-package-name-lst (b* ((pkgs (symbol-package-name-lst syms))) (string-listp pkgs)) :rule-classes :rewrite)
Theorem:
(defthm len-of-symbol-package-name-lst (b* ((?pkgs (symbol-package-name-lst syms))) (equal (len pkgs) (len syms))))