Function:
(defun s4vec-xdet (x) (declare (xargs :guard (s4vec-p x))) (let ((__function__ 's4vec-xdet)) (declare (ignorable __function__)) (if (s4vec-2vec-p x) (s4vec-fix x) (s4vec-x))))
Theorem:
(defthm s4vec-p-of-s4vec-xdet (b* ((res (s4vec-xdet x))) (s4vec-p res)) :rule-classes :rewrite)
Theorem:
(defthm s4vec-xdet-correct (b* ((?res (s4vec-xdet x))) (equal (s4vec->4vec res) (4vec-xdet (s4vec->4vec x)))))
Theorem:
(defthm s4vec-xdet-of-s4vec-fix-x (equal (s4vec-xdet (s4vec-fix x)) (s4vec-xdet x)))
Theorem:
(defthm s4vec-xdet-s4vec-equiv-congruence-on-x (implies (s4vec-equiv x x-equiv) (equal (s4vec-xdet x) (s4vec-xdet x-equiv))) :rule-classes :congruence)