rep.debug("Generating the solution...\n");
kEnumerator = null;
Solution sol = null;
final Reporter oldReporter = solver.options().reporter();
final boolean solved[] = new boolean[]{true};
solver.options().setReporter(new AbstractReporter() { // Set up a reporter to catch the type+pos of skolems
@Override public void skolemizing(Decl decl, Relation skolem, List<Decl> predecl) {
try {
Type t=kv2typepos(decl.variable()).a;
if (t==Type.EMPTY) return;
for(int i=(predecl==null ? -1 : predecl.size()-1); i>=0; i--) {