Complete extended resolution correctness proof