In this case, we have (by assumption) an output of the program, so we just look at the cases where the program gives that output.
In this case, we have (by assumption) an output of the program, so we just look at the cases where the program gives that output.