(esim-vl-find-io-main basename x) finds the first iopattern entry in
Function:
(defun esim-vl-find-io-main (basename x) (declare (xargs :guard (and (stringp basename) (esim-vl-iopattern-entrylist-p x)))) (cond ((atom x) nil) ((equal (esim-vl-iopattern-entry->basename (car x)) basename) (llist-fix (car x))) (t (esim-vl-find-io-main basename (cdr x)))))
Theorem:
(defthm vl-emodwirelist-p-of-esim-vl-find-io-main (implies (esim-vl-iopattern-entrylist-p x) (vl-emodwirelist-p (esim-vl-find-io-main basename x))))
Theorem:
(defthm true-listp-of-esim-vl-find-io-main (true-listp (esim-vl-find-io-main basename x)) :rule-classes :type-prescription)