(no-two-in-any-hole max-birds hole) → clauses
Function:
(defun no-two-in-any-hole (max-birds hole) (declare (xargs :guard (and (natp max-birds) (natp hole)))) (let ((__function__ 'no-two-in-any-hole)) (declare (ignorable __function__)) (b* (((when (zp hole)) nil) (hole (- hole 1))) (append (no-two-in-hole max-birds hole) (no-two-in-any-hole max-birds hole)))))
Theorem:
(defthm lit-list-listp-of-no-two-in-any-hole (b* ((clauses (no-two-in-any-hole max-birds hole))) (lit-list-listp clauses)) :rule-classes :rewrite)