set(binary_resolution). clear(print_initial_clauses). clear(print_kept). clear(print_given). assign(max_seconds,1). assign(stats,none). formulas(sos). -stench(12). -breeze(21). wumpus(x) | pit(x) | safe(x). -wumpus(x) | -neighbor(x,y) | stench(y). -pit(x) | -neighbor(x,y) | breeze(y). -neighbor(x,y) | neighbor(y,x). neighbor(11,12). neighbor(11,21). neighbor(12,13). neighbor(12,22). neighbor(13,14). neighbor(13,23). neighbor(14,24). neighbor(21,22). neighbor(21,31). neighbor(22,23). neighbor(22,32). neighbor(23,24). neighbor(23,33). neighbor(24,34). neighbor(31,32). neighbor(31,41). neighbor(32,33). neighbor(32,42). neighbor(33,34). neighbor(33,43). neighbor(34,44). neighbor(41,42). neighbor(42,43). neighbor(43,44). end_of_list. formulas(goals). safe(22). end_of_list.