Recognizer for ipasir$a structures.
(ipasir$a-p x) → *
Function:
(defun ipasir$a-p (x) (declare (xargs :guard t)) (let ((__function__ 'ipasir$a-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(formula assumption new-clause status solution solved-assumption callback-count history))) :exec (fty::alist-with-carsp x '(formula assumption new-clause status solution solved-assumption callback-count history))) (b* ((formula (cdr (std::da-nth 0 x))) (assumption (cdr (std::da-nth 1 x))) (new-clause (cdr (std::da-nth 2 x))) (status (cdr (std::da-nth 3 x))) (solution (cdr (std::da-nth 4 x))) (solved-assumption (cdr (std::da-nth 5 x))) (callback-count (cdr (std::da-nth 6 x))) (?history (cdr (std::da-nth 7 x)))) (and (lit-list-listp formula) (lit-listp assumption) (lit-listp new-clause) (ipasir-status-p status) (lit-listp solution) (lit-listp solved-assumption) (natp callback-count))))))
Theorem:
(defthm consp-when-ipasir$a-p (implies (ipasir$a-p x) (consp x)) :rule-classes :compound-recognizer)