(vl-udp-condcheck! x) → warnings
Function:
(defun vl-udp-condcheck! (x) (declare (xargs :guard (vl-udp-p x))) (let ((__function__ 'vl-udp-condcheck!)) (declare (ignorable __function__)) (b* (((vl-udp x) (vl-udp-fix x))) (b* ((warnings ((lambda (x) (vl-portdecl-condcheck x nil)) x.output)) (warnings1 ((lambda (x) (vl-portdecllist-condcheck x nil)) x.inputs)) (warnings (vl-warningtree-cons warnings1 warnings)) (warnings1 ((lambda (x) (vl-maybe-expr-condcheck x nil)) x.initval)) (warnings (vl-warningtree-cons warnings1 warnings)) (warnings1 ((lambda (x) (vl-atts-condcheck x nil)) x.atts)) (warnings (vl-warningtree-cons warnings1 warnings))) warnings))))
Theorem:
(defthm vl-warningtree-p-of-vl-udp-condcheck! (b* ((warnings (vl-udp-condcheck! x))) (vl-warningtree-p warnings)) :rule-classes :rewrite)
Theorem:
(defthm vl-udp-condcheck!-of-vl-udp-fix-x (equal (vl-udp-condcheck! (vl-udp-fix x)) (vl-udp-condcheck! x)))
Theorem:
(defthm vl-udp-condcheck!-vl-udp-equiv-congruence-on-x (implies (vl-udp-equiv x x-equiv) (equal (vl-udp-condcheck! x) (vl-udp-condcheck! x-equiv))) :rule-classes :congruence)