(negate-terms terms) → negated-terms
Function:
(defun negate-terms (terms) (declare (xargs :guard (pseudo-term-listp terms))) (let ((__function__ 'negate-terms)) (declare (ignorable __function__)) (cond ((endp terms) nil) (t (cons (dumb-negate-lit (car terms)) (negate-terms (cdr terms)))))))
Theorem:
(defthm pseudo-term-listp-of-negate-terms (implies (pseudo-term-listp terms) (b* ((negated-terms (negate-terms terms))) (pseudo-term-listp negated-terms))) :rule-classes :rewrite)