Recognizer for comp-db-arg structures.
(comp-db-argp x) → *
Function:
(defun comp-db-argp (x) (declare (xargs :guard t)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(name separator value))) :exec (fty::alist-with-carsp x '(name separator value))) (b* ((name (cdr (std::da-nth 0 x))) (separator (cdr (std::da-nth 1 x))) (value (cdr (std::da-nth 2 x)))) (and (stringp name) (stringp separator) (string-optionp value)))))
Theorem:
(defthm consp-when-comp-db-argp (implies (comp-db-argp x) (consp x)) :rule-classes :compound-recognizer)