(sv::aig-sign-s x) → sign
Function:
(defun sv::aig-sign-s (x) (declare (xargs :guard (true-listp x))) (let ((__function__ 'sv::aig-sign-s)) (declare (ignorable __function__)) (b* (((mv first rest endp) (first/rest/end x)) ((when endp) first)) (sv::aig-sign-s rest))))
Theorem:
(defthm sv::aig-sign-s-correct (b* ((sign (sv::aig-sign-s x))) (and (equal (acl2::aig-eval sign env) (< (sv::aig-list->s x env) 0)))))