Function:
(defun mixed-case-stringp (s) (declare (xargs :guard (stringp s))) (let ((__function__ 'mixed-case-stringp)) (declare (ignorable __function__)) (and (not (equal (str::upcase-string s) s)) (not (equal (str::downcase-string s) s)))))
Theorem:
(defthm booleanp-of-mixed-case-stringp (b* ((y/n (mixed-case-stringp s))) (booleanp y/n)) :rule-classes :rewrite)