Recognizer for filepath-transunit-map.
(filepath-transunit-mapp x) → *
Function:
(defun filepath-transunit-mapp (x) (declare (xargs :guard t)) (if (atom x) (null x) (and (consp (car x)) (filepathp (caar x)) (transunitp (cdar x)) (or (null (cdr x)) (and (consp (cdr x)) (consp (cadr x)) (acl2::fast-<< (caar x) (caadr x)) (filepath-transunit-mapp (cdr x)))))))
Theorem:
(defthm booleanp-of-filepath-transunit-mapp (booleanp (filepath-transunit-mapp x)))
Theorem:
(defthm mapp-when-filepath-transunit-mapp (implies (filepath-transunit-mapp x) (omap::mapp x)) :rule-classes (:rewrite :forward-chaining))
Theorem:
(defthm filepath-transunit-mapp-of-tail (implies (filepath-transunit-mapp x) (filepath-transunit-mapp (omap::tail x))))
Theorem:
(defthm filepathp-of-head-key-when-filepath-transunit-mapp (implies (and (filepath-transunit-mapp x) (not (omap::emptyp x))) (filepathp (mv-nth 0 (omap::head x)))))
Theorem:
(defthm transunitp-of-head-val-when-filepath-transunit-mapp (implies (and (filepath-transunit-mapp x) (not (omap::emptyp x))) (transunitp (mv-nth 1 (omap::head x)))))
Theorem:
(defthm filepath-transunit-mapp-of-update (implies (and (filepath-transunit-mapp x) (filepathp k) (transunitp v)) (filepath-transunit-mapp (omap::update k v x))))
Theorem:
(defthm filepath-transunit-mapp-of-update* (implies (and (filepath-transunit-mapp x) (filepath-transunit-mapp y)) (filepath-transunit-mapp (omap::update* x y))))
Theorem:
(defthm filepath-transunit-mapp-of-delete (implies (filepath-transunit-mapp x) (filepath-transunit-mapp (omap::delete k x))))
Theorem:
(defthm filepath-transunit-mapp-of-delete* (implies (filepath-transunit-mapp x) (filepath-transunit-mapp (omap::delete* k x))))
Theorem:
(defthm filepathp-when-assoc-filepath-transunit-mapp-binds-free-x (implies (and (omap::assoc k x) (filepath-transunit-mapp x)) (filepathp k)))
Theorem:
(defthm filepathp-of-car-of-assoc-filepath-transunit-mapp (implies (and (filepath-transunit-mapp x) (omap::assoc k x)) (filepathp (car (omap::assoc k x)))))
Theorem:
(defthm transunitp-of-cdr-of-assoc-filepath-transunit-mapp (implies (and (filepath-transunit-mapp x) (omap::assoc k x)) (transunitp (cdr (omap::assoc k x)))))
Theorem:
(defthm transunitp-of-lookup-when-filepath-transunit-mapp (implies (and (filepath-transunit-mapp x) (omap::assoc k x)) (transunitp (omap::lookup k x))))