(vl-unparam-basename-ifports x &key (ps 'ps)) → ps
Function:
(defun vl-unparam-basename-ifports-fn (x ps) (declare (xargs :stobjs (ps))) (declare (xargs :guard (vl-ifport-alist-p x))) (let ((__function__ 'vl-unparam-basename-ifports)) (declare (ignorable __function__)) (b* ((x (vl-ifport-alist-fix x)) ((when (atom x)) ps)) (vl-ps-seq (vl-print-str "$<") (vl-print-str (caar x)) (vl-print-str "=") (vl-print-str (cdar x)) (vl-print-str ">") (vl-unparam-basename-ifports (cdr x))))))
Theorem:
(defthm vl-unparam-basename-ifports-fn-of-vl-ifport-alist-fix-x (equal (vl-unparam-basename-ifports-fn (vl-ifport-alist-fix x) ps) (vl-unparam-basename-ifports-fn x ps)))
Theorem:
(defthm vl-unparam-basename-ifports-fn-vl-ifport-alist-equiv-congruence-on-x (implies (vl-ifport-alist-equiv x x-equiv) (equal (vl-unparam-basename-ifports-fn x ps) (vl-unparam-basename-ifports-fn x-equiv ps))) :rule-classes :congruence)