Solving equations with inspection