(s4vec->lower x) → lower
Function:
(defun s4vec->lower (x) (declare (xargs :guard (s4vec-p x))) (let ((__function__ 's4vec->lower)) (declare (ignorable __function__)) (if (atom x) (lifix x) (if (cdr x) (sparseint-fix (cdr x)) (sparseint-fix (car x))))))
Theorem:
(defthm sparseint-p-of-s4vec->lower (b* ((lower (s4vec->lower x))) (sparseint-p lower)) :rule-classes :rewrite)
Theorem:
(defthm s4vec->lower-of-s4vec-fix-x (equal (s4vec->lower (s4vec-fix x)) (s4vec->lower x)))
Theorem:
(defthm s4vec->lower-s4vec-equiv-congruence-on-x (implies (s4vec-equiv x x-equiv) (equal (s4vec->lower x) (s4vec->lower x-equiv))) :rule-classes :congruence)