(sv::aig-*-ss v1 v2) → prod
Function:
(defun sv::aig-*-ss (v1 v2) (declare (xargs :guard (and (true-listp v1) (true-listp v2)))) (let ((__function__ 'sv::aig-*-ss)) (declare (ignorable __function__)) (b* (((mv dig1 rest end1) (first/rest/end v1)) ((when end1) (sv::aig-ite-bss dig1 (sv::aig-unary-minus-s v2) nil)) (rest (sv::aig-*-ss rest v2))) (sv::aig-+-ss nil (sv::aig-ite-bss dig1 v2 nil) (sv::aig-scons nil rest)))))
Theorem:
(defthm sv::true-listp-of-aig-*-ss (b* ((prod (sv::aig-*-ss v1 v2))) (true-listp prod)) :rule-classes :type-prescription)
Theorem:
(defthm sv::aig-*-ss-correct (b* ((prod (sv::aig-*-ss v1 v2))) (and (equal (sv::aig-list->s prod env) (* (sv::aig-list->s v1 env) (sv::aig-list->s v2 env))))))