Check if
(all-head-to-head-competition-loser-p l cids xs) → *
Function:
(defun all-head-to-head-competition-loser-p (l cids xs) (declare (xargs :guard (and (natp l) (nat-listp cids) (irv-ballot-p xs)))) (declare (xargs :guard (and (member-equal l (candidate-ids xs)) (not (member-equal l cids)) (subsetp-equal cids (candidate-ids xs))))) (let ((__function__ 'all-head-to-head-competition-loser-p)) (declare (ignorable __function__)) (if (endp cids) t (if (member-equal l cids) nil (if (head-to-head-competition-loser-p l (car cids) xs) (all-head-to-head-competition-loser-p l (cdr cids) xs) nil)))))