This post relies heavily on a post by Keith at
http://dailysudoku.co.uk/sudoku/forums/viewtopic.php?t=2143 in which he defines complementary cells, the M-Wing and the extended XY-wing both of which use complementary pairs. The example shown is Sudoku9981 Expert puzzle Book 9 #3. I used a 1 ER and a 4 W-wing to get to this point in the puzzle. At this point there are 4 important logical subpatterns that I used to solve this puzzle. First there is a 17 complementary pair in r5c2 and r9c6, i.e, both of these cells must be either 1 or 7. There is also a 47 complementary quad in r1c9, r4c7, r5c5, and r6c1. There is also an XY-wing with a pivot at r1c6 and 7 Z-xonjugates at r1c9 and r9c6 and an extended XY wing with a pivot which is the 17 complementary pair and 4 Z-conjugate at r1c6 and r6c1. Next consider the 7 Z-conjugate pair. r1c9 = 7 => r6c1 = 7 => r5c2 =1 => r9c6 = 1 & r9c6 =7 => r5c2 = 7 => r6c1 = 4 => r1c9 = 4. This proves that 7 cannot be in both r1c9 and r9c6 and therefore these are a true conjugate pair. This forces the other candidates in the XY-wing (14) to actually be in the XY-wing pattern and therefore 4 is eliminated from r1c7 and 1 is eliminated from r8c6. Next consider this 7 conjugate pair. r1c9 = 7 => r5c2 = 7 and r5c1 = not7 & r1c9 = 7 => r6c1 = 7 and r5c1 = not7. Therefore 7 is eliminated from r5c1. Next consider the 4 Z-conjugate pair. r6c1 = 4 => r1c9 = 4 and r1c6 = 1 & r1c6 = 4 => r1c9 = 7 => 46c1 = 7. As before this proves that the Z-conjugate is a true conjugate pair. Next consider this 4 conjugate pair. r6c1 = 4 => r5c5 = 4 and r6c5 = not4 & r1c6 = 4 => r6c5 = not4. Therefore 4 is eliminated from r6c5. This solves the puzzle. I think that the cells involved in the last elimination might be considered an M-wing. but then I have been wrong before.
XY and Extended XY-Wing/Complementary Cells Example
- Code: Select all
|-----------------+-----------------+-----------------|
| 18 5 2 | 3 89 14 | -479 6 47 |
| 18 46 7 | 16 89 2 | 49 3 5 |
| 9 46 3 | 7 45 456 | 1 2 8 |
|-----------------+-----------------+-----------------|
| 2 8 9 | 456 457 3 | 47 1 467 |
| 45-7 17 1456 | 2 47 -46 | 8 9 3 |
| 47 3 46 | 8 1 9 | 2 5 467 |
|-----------------+-----------------+-----------------|
| 3 9 45 | 45 2 8 | 6 7 1 |
| 457 2 145 | 145 6 -1457 | 3 8 9 |
| 6 17 8 | 9 3 17 | 5 4 2 |
|-----------------+-----------------+-----------------|