(vl-starting-namedb names) creates a name database that regards
(vl-starting-namedb names) → db
Function:
(defun vl-starting-namedb (names) (declare (xargs :guard (string-listp names))) (let ((__function__ 'vl-starting-namedb)) (declare (ignorable __function__)) (make-vl-namedb :names (make-lookup-alist (string-list-fix names)) :pmap nil :pset nil)))
Theorem:
(defthm vl-namedb-p-of-vl-starting-namedb (b* ((db (vl-starting-namedb names))) (vl-namedb-p db)) :rule-classes :rewrite)
Theorem:
(defthm vl-namedb-allnames-of-vl-starting-namedb (equal (vl-namedb-allnames (vl-starting-namedb names)) (string-list-fix names)))
Theorem:
(defthm vl-starting-namedb-of-string-list-fix-names (equal (vl-starting-namedb (string-list-fix names)) (vl-starting-namedb names)))
Theorem:
(defthm vl-starting-namedb-string-list-equiv-congruence-on-names (implies (str::string-list-equiv names names-equiv) (equal (vl-starting-namedb names) (vl-starting-namedb names-equiv))) :rule-classes :congruence)