F T T F F T The result is T iff the inputs do not match any row where the output is F. The inputs do not match a row, if any one of them does not match the input on that row.
precise description of a set of inputs – A statement of the property the output must have A machine solves a problem if for every input it eventually produces a satisfactory output.
property of output. procedure: precise description of an information process. algorithm: a procedure that solves a problem. To solve a problem, an algorithm must (eventually) produce the correct output for any problem input. program: description of a procedure that can be executed by a computer.
some representation) Output: satisfying variable assignments that make the formula True if the formula has some satisfying assignment, otherwise “Not Satisfiable”.
else: = vars.choose() # choose a variable in f if 3SAT( ∧ ): = True solve(f with all occurrences of replaced by T) else: = False solve(f with all occurrences of replaced by F)