(vl-expr-needs-type-context x) → *
Function:
(defun vl-expr-needs-type-context (x) (declare (xargs :guard (vl-expr-p x))) (let ((__function__ 'vl-expr-needs-type-context)) (declare (ignorable __function__)) (vl-expr-case x :vl-qmark (or (vl-expr-needs-type-context x.then) (vl-expr-needs-type-context x.else)) :vl-pattern t :vl-stream t :otherwise nil)))
Theorem:
(defthm vl-expr-needs-type-context-of-vl-expr-fix-x (equal (vl-expr-needs-type-context (vl-expr-fix x)) (vl-expr-needs-type-context x)))
Theorem:
(defthm vl-expr-needs-type-context-vl-expr-equiv-congruence-on-x (implies (vl-expr-equiv x x-equiv) (equal (vl-expr-needs-type-context x) (vl-expr-needs-type-context x-equiv))) :rule-classes :congruence)