fact: Fixpoint find_all_aux (n: clauses) (s: list nat) (cs: clauses) {struct n}: list (list nat) := match cs with nil => s :: nil | (_, nil) :: _ => nil | (_, p) :: cs1 => match n with nil => nil | _ :: n1 => try_all s p cs1 (find_all_aux n1) end end.
imports: List UList Permutation Div OrderedList ListOp Lia