(vl-interface-leftright-check x ss) → new-x
Function:
(defun vl-interface-leftright-check (x ss) (declare (xargs :guard (and (vl-interface-p x) (vl-scopestack-p ss)))) (let ((__function__ 'vl-interface-leftright-check)) (declare (ignorable __function__)) (b* ((warnings (append (vl-ctxexprlist-leftright-check (vl-interface-ctxexprs x ss)) (vl-interface->warnings x)))) (change-vl-interface x :warnings warnings))))
Theorem:
(defthm vl-interface-p-of-vl-interface-leftright-check (b* ((new-x (vl-interface-leftright-check x ss))) (vl-interface-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-interface-leftright-check-of-vl-interface-fix-x (equal (vl-interface-leftright-check (vl-interface-fix x) ss) (vl-interface-leftright-check x ss)))
Theorem:
(defthm vl-interface-leftright-check-vl-interface-equiv-congruence-on-x (implies (vl-interface-equiv x x-equiv) (equal (vl-interface-leftright-check x ss) (vl-interface-leftright-check x-equiv ss))) :rule-classes :congruence)
Theorem:
(defthm vl-interface-leftright-check-of-vl-scopestack-fix-ss (equal (vl-interface-leftright-check x (vl-scopestack-fix ss)) (vl-interface-leftright-check x ss)))
Theorem:
(defthm vl-interface-leftright-check-vl-scopestack-equiv-congruence-on-ss (implies (vl-scopestack-equiv ss ss-equiv) (equal (vl-interface-leftright-check x ss) (vl-interface-leftright-check x ss-equiv))) :rule-classes :congruence)