(to-preprocess-map db path drop-shared state) → (mv er? map)
Function:
(defun to-preprocess-map (db path drop-shared state) (declare (xargs :stobjs (state))) (declare (xargs :guard (and (comp-dbp db) (stringp path) (booleanp drop-shared)))) (b* (((reterr) nil) ((erp db$) (to-preprocess-db db path drop-shared state))) (retok (preprocess-db-to-map db$))))
Theorem:
(defthm maybe-msgp-of-to-preprocess-map.er? (b* (((mv ?er? ?map) (to-preprocess-map db path drop-shared state))) (maybe-msgp er?)) :rule-classes :rewrite)
Theorem:
(defthm string-stringlist-mapp-of-to-preprocess-map.map (b* (((mv ?er? ?map) (to-preprocess-map db path drop-shared state))) (acl2::string-stringlist-mapp map)) :rule-classes :rewrite)
Theorem:
(defthm to-preprocess-map-of-comp-db-fix-db (equal (to-preprocess-map (comp-db-fix db) path drop-shared state) (to-preprocess-map db path drop-shared state)))
Theorem:
(defthm to-preprocess-map-comp-db-equiv-congruence-on-db (implies (comp-db-equiv db db-equiv) (equal (to-preprocess-map db path drop-shared state) (to-preprocess-map db-equiv path drop-shared state))) :rule-classes :congruence)
Theorem:
(defthm to-preprocess-map-of-str-fix-path (equal (to-preprocess-map db (acl2::str-fix path) drop-shared state) (to-preprocess-map db path drop-shared state)))
Theorem:
(defthm to-preprocess-map-streqv-congruence-on-path (implies (acl2::streqv path path-equiv) (equal (to-preprocess-map db path drop-shared state) (to-preprocess-map db path-equiv drop-shared state))) :rule-classes :congruence)
Theorem:
(defthm to-preprocess-map-of-bool-fix-drop-shared (equal (to-preprocess-map db path (bool-fix drop-shared) state) (to-preprocess-map db path drop-shared state)))
Theorem:
(defthm to-preprocess-map-iff-congruence-on-drop-shared (implies (iff drop-shared drop-shared-equiv) (equal (to-preprocess-map db path drop-shared state) (to-preprocess-map db path drop-shared-equiv state))) :rule-classes :congruence)