Jeff wrote:There are 3 types of instances, namely given, solved and unsolved. I am interested to know why the solved instances don't have to be included in the reverse BUG pattern for the technique to work properly.
To understand why, you have to understand the nature of a BUG-lite pattern. In any BUG-lite pattern all included cells can switch numbers and still give a valid solution. Example with three pairs:
- Code: Select all
. ab . |. . ab |. . .
. ab . |. . . |. ab .
. . . |. . ab |. ab .
Gives two solutions:
.a.|..b|... .b.|..a|...
.b.|...|.a. .a.|...|.b.
...|..a|.b. ...|..b|.a.
Here it doesn't matter if you have solved one of the included numbers in some way (T&E or uniqueness are the only possible), you will still have two solutions.
So in this case where A is a solved instance and the other are candidates you can still be sure that the cell below A holds number c if you know the puzzle has only one solution:
- Code: Select all
. A . |. . ab |. . .
bc bc . |. . . |. ab .
. . . |. . ab |. ab .
In the case of a reverse BUG we know that the remaining instances of our numbers would form a BUG-lite pattern, if the reverse BUG was completed. Here the same rule applies. It doesn't matter if there is solved instances in the BUG-lite pattern, it will still have two valid solutions that satisfy the basic rule: all numbers appear once in every row, column and box.
Let's go back to the example I showed earlier in this thread. I filtered out all information except regarding numbers 1 and 2. The numbers marked with stars are Given or solved, all other are candidates.
- Code: Select all
*--------------------------------------*
| (12)(12)| (12)|(12) |
| (12)| (2) |(12) |
| (12) | (12)| |
|--------------------------------------|
| | (2) (2)| *1 |
|*1 | | *2 |
|*2 | *1 | |
|--------------------------------------|
| (12) |(12)(2) | |
| | | *1 *2 |
| (12)(12)|(12)(2) | |
*--------------------------------------*
Now let's say we managed to solve r7c4 with T&E:
- Code: Select all
*--------------------------------------*
| (12)(12)| (12)|(12) |
| (12)|(2) |(12) |
| (12) | (12)| |
|--------------------------------------|
| | (2) (2)| *1 |
|*1 | | *2 |
|*2 | *1 | |
|--------------------------------------|
| (2) | 1 (2) | |
| | | *1 *2 |
| (12)(12)|(2) (2) | |
*--------------------------------------*
Still if we completed the reverse BUG pattern with number 2 in r4c5 the closest we could ever get to a unique solution is something like this:
- Code: Select all
*--------------------------------*
| | 1 | 2 |
| 2 | | 1 |
| 1 | 2 | |
|--------------------------------|
| | 2 | *1 |
|*1 | | *2 |
|*2 | *1 | |
|--------------------------------|
| 2 | 1 | |
| | | *1 *2 |
| 1 | 2 | |
*--------------------------------*
Which could be changed into this:
- Code: Select all
*--------------------------------*
| | 2 | 1 |
| 1 | | 2 |
| 2 | 1 | |
|--------------------------------|
| | 2 | *1 |
|*1 | | *2 |
|*2 | *1 | |
|--------------------------------|
| 1 | 2 | |
| | | *1 *2 |
| 2 | 1 | |
*--------------------------------*
with the same two numbers, occupying the same cells, and still appearing only once each in every row, column and box => The double solution is a fact even if there is a solved number not included in the reverse BUG pattern.
As a basic rule when it comes to uniqueness patterns is that solved numbers are no stronger than unsolved numbers. If they are part in a BUG-lite pattern they can still be switched.
Did that clear things up for you?
RW