Recognizer for transform-argument structures.
(transform-argumentp x) → *
Function:
(defun transform-argumentp (x) (declare (xargs :guard t)) (let ((__function__ 'transform-argumentp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(name value))) :exec (fty::alist-with-carsp x '(name value))) (b* ((name (cdr (std::da-nth 0 x))) (value (cdr (std::da-nth 1 x)))) (and (identifierp name) (transform-argument-valuep value))))))
Theorem:
(defthm consp-when-transform-argumentp (implies (transform-argumentp x) (consp x)) :rule-classes :compound-recognizer)