(vl-interface-condcheck x) → new-x
Function:
(defun vl-interface-condcheck (x) (declare (xargs :guard (vl-interface-p x))) (let ((__function__ 'vl-interface-condcheck)) (declare (ignorable __function__)) (b* ((warnings (vl-interface-condcheck! x))) (change-vl-interface x :warnings (vl-warningtree-flatten-aux warnings nil (vl-interface->warnings x))))))
Theorem:
(defthm vl-interface-p-of-vl-interface-condcheck (b* ((new-x (vl-interface-condcheck x))) (vl-interface-p new-x)) :rule-classes :rewrite)
Theorem:
(defthm vl-interface-condcheck-of-vl-interface-fix-x (equal (vl-interface-condcheck (vl-interface-fix x)) (vl-interface-condcheck x)))
Theorem:
(defthm vl-interface-condcheck-vl-interface-equiv-congruence-on-x (implies (vl-interface-equiv x x-equiv) (equal (vl-interface-condcheck x) (vl-interface-condcheck x-equiv))) :rule-classes :congruence)