Recognizer for ubdd/level structures.
(ubdd/level-p x) → *
Function:
(defun ubdd/level-p (x) (declare (xargs :guard t)) (let ((__function__ 'ubdd/level-p)) (declare (ignorable __function__)) (and (consp x) (b* ((ubdd (car x)) (level (cdr x))) (and (acl2::ubddp ubdd) (natp level))))))
Theorem:
(defthm consp-when-ubdd/level-p (implies (ubdd/level-p x) (consp x)) :rule-classes :compound-recognizer)