In formal academic writing, which is the best alternative to avoid repetition of "to be" in the sentence: "The result was that the solution was incorrect"?