(4vec-index-p x) → *
Function:
(defun 4vec-index-p (x) (declare (xargs :guard (4vec-p x))) (let ((__function__ '4vec-index-p)) (declare (ignorable __function__)) (and (2vec-p x) (<= 0 (2vec->val x)))))
Theorem:
(defthm 4vec-index-p-implies (implies (4vec-index-p x) (and (equal (4vec->lower x) (4vec->upper x)) (<= 0 (4vec->lower x)))) :rule-classes :forward-chaining)
Theorem:
(defthm 4vec-index-p-of-4vec-fix-x (equal (4vec-index-p (4vec-fix x)) (4vec-index-p x)))
Theorem:
(defthm 4vec-index-p-4vec-equiv-congruence-on-x (implies (4vec-equiv x x-equiv) (equal (4vec-index-p x) (4vec-index-p x-equiv))) :rule-classes :congruence)