(pigeon-hole num-birds num-holes) → clauses
Function:
(defun pigeon-hole (num-birds num-holes) (declare (xargs :guard (and (natp num-birds) (natp num-holes)))) (let ((__function__ 'pigeon-hole)) (declare (ignorable __function__)) (append (every-bird-in-hole num-birds num-holes) (no-two-in-any-hole num-birds num-holes))))
Theorem:
(defthm lit-list-listp-of-pigeon-hole (b* ((clauses (pigeon-hole num-birds num-holes))) (lit-list-listp clauses)) :rule-classes :rewrite)