(vl-simplenet-p x) → *
Function:
(defun vl-simplenet-p (x) (declare (xargs :guard (vl-vardecl-p x))) (let ((__function__ 'vl-simplenet-p)) (declare (ignorable __function__)) (b* (((vl-vardecl x) x) ((unless x.nettype) nil) ((unless (eq (vl-datatype-kind x.type) :vl-coretype)) nil) ((vl-coretype x.type))) (and (eq x.type.name :vl-logic) (atom x.type.udims) (or (atom x.type.pdims) (and (not (eq (car x.type.pdims) :vl-unsized-dimension)) (atom (cdr x.type.pdims))))))))
Theorem:
(defthm vl-simplenet-p-of-vl-vardecl-fix-x (equal (vl-simplenet-p (vl-vardecl-fix x)) (vl-simplenet-p x)))
Theorem:
(defthm vl-simplenet-p-vl-vardecl-equiv-congruence-on-x (implies (vl-vardecl-equiv x x-equiv) (equal (vl-simplenet-p x) (vl-simplenet-p x-equiv))) :rule-classes :congruence)