(sv::aig-lognot-s x) → nx
Function:
(defun sv::aig-lognot-s (x) (declare (xargs :guard (true-listp x))) (let ((__function__ 'sv::aig-lognot-s)) (declare (ignorable __function__)) (b* (((mv head tail end) (first/rest/end x)) ((when end) (sv::aig-sterm (acl2::aig-not head)))) (sv::aig-scons (acl2::aig-not head) (sv::aig-lognot-s tail)))))
Theorem:
(defthm sv::true-listp-of-aig-lognot-s (b* ((nx (sv::aig-lognot-s x))) (true-listp nx)) :rule-classes :type-prescription)
Theorem:
(defthm sv::aig-lognot-s-correct (b* ((nx (sv::aig-lognot-s x))) (and (equal (sv::aig-list->s nx env) (lognot (sv::aig-list->s x env))))))