Let $F_n$ be the free group on the letters $x_1,...,x_n$. Given a set of elements $\{ w_1,...,w_m \} \subset F_n$ how can I tell if they generate $F_n$? Are there nice necessary/sufficient conditions?
Similarly I would like to be able to tell if a finite setoff elements in $F_n \times F_n$ generate the whole group? Is there an algorithmic way to do this?
For each generator $y_i$ of $F$ run two algorithms in parallel:
A. Enumerate all words $w=w(x_1,...,x_k)$ in the elements $x_1,...,x_k$, rewritten as reduced words in $y_1,...y_n$, and for each word check if $w$ equals $y_i$. If for some $w$ it is, then proceed to the next generator $y_{i+1}$. If for all $y_i$'s you conclude that such $w=w_i$ exists, then $x_1,...,x_k$ generate $F$. (This is the semidecidability Derek referred to: It works whenever the ambient group has solvable word problem, you do not need to assume that the group is free. For instance, $F_n\times F_n$ has solvable word problem, for obvious reason.)
B. For each permutation group $S_N$ enumerate all homomorphisms $\phi: F\to S_N$ and for each $\phi$ check if $\phi(y_i)$ belongs to the subgroup generated by $\phi(x_1),...,\phi(y_k)$. If for some $\phi$ it does not, then you are done: The elements $x_1,...,x_k$ do not generate $F$.
The point is that each free group $F$ is LERF: For every finitely generated subgroup $H<F$ and $y\in F \setminus H$ there exists a homomorphism $\phi: F\to S_N$ such that $\phi(y)\notin \phi(H)$. Hence, if $H=<x_1,...,x_k>$ is a proper subgroup of $F$ then some free generator $y_i$ is not in $H$. Hence, the above algorithm will eventually prove it.