(sv::aig-unary-minus-s x) → ms
Function:
(defun sv::aig-unary-minus-s (x) (declare (xargs :guard (true-listp x))) (let ((__function__ 'sv::aig-unary-minus-s)) (declare (ignorable __function__)) (sv::aig-+-ss t nil (sv::aig-lognot-s x))))
Theorem:
(defthm sv::true-listp-of-aig-unary-minus-s (b* ((ms (sv::aig-unary-minus-s x))) (true-listp ms)) :rule-classes :type-prescription)
Theorem:
(defthm sv::aig-unary-minus-s-correct (b* ((ms (sv::aig-unary-minus-s x))) (and (equal (sv::aig-list->s ms env) (- (sv::aig-list->s x env))))))