Examples of solutions
Note: the original version of this post has been drastically changed, after Serg found several errors in my incomplete manual analyses (see his next posts). This adventure showed me that one must really be careful not to discard too quickly any possibility!
Earlier in this thread, I mentioned http://www.janko.at/Raetsel/Slitherlink/ as an interesting source of puzzles.
Here are three examples taken from it.
****************************** #19 (corrected) ******************************
- Code: Select all
OO--X
-----
-----
X---O
-X-XO
In this example, constraints propagation doesn't give much:
- Code: Select all
. . .........———.
1 : 1 : 3 |
.........———. .....
: : 2 | | :
.....———. .........
: : 3 | : : :
.....................
| : : : 2 : 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
Consider in turn the two possibilities for Vr1c5:
A) Vr1c5 = 0
- Code: Select all
. . .———.———.———.
1 | 1 3 |
..... .———. .———.
: : 2 | |
.....———. . .....
: : 3 | | : :
.....................
| : : : 2 : 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
There are now two sub-possibilites:
Aa) Hr4c3 = 0
- Code: Select all
. . .———.———.———.
1 | 1 3 |
..... .———. .———.
: : 2 | |
.....———. . .....
: : 3 | | : :
......... .........
| : : : 2 : 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
Again, two sub-possibilities:
Aa1) Hr4c4 = 1
- Code: Select all
. . .———.———.———.
1 | 1 3 |
..... .———. .———.
: : 2 | |
.....———. . .———.
: : 3 | | |
......... .———. .
| : : 2 | 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
=> open end
Aa2) Hr4c4 = 0
- Code: Select all
. . .———.———.———.
1 | 1 3 |
..... .———. .———.
: : 2 | |
.....———. . .....
: : 3 | | : :
......... . .....
| : : | 2 : 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
Two sub-possibilities
Aa2-1) Vr5c4 = 1
- Code: Select all
. . .———.———.———.
1 | 1 3 |
..... .———. .———.
: : 2 | |
.....———. . .....
: : 3 | | : :
......... . .....
| : : | 2 | 1
............. . .
: 2 : : | 3 | 1
.....———.....———. .
=> small loop
Aa2-2) Vr5c4=0
- Code: Select all
. . .———.———.———.
1 | 1 3 |
..... .———. .———.
: : 2 | |
.....———. . .———.
: : 3 | | |
......... . .———.
| : : | 2 1
.............———. .
: 2 : : 3 | 1
.....———.....———. .
=> open end
Partial conclusion: Aa is impossible
Ab) Hr4c3 = 1
- Code: Select all
. . .———.———.———.
1 | 1 3 |
. . .———. .———.
2 | |
. .———. . .....
| 3 | | : :
.———. .———. .....
| 2 : 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
2 in r4c4 and 3 in r5c4 => contradiction
Partial conclusion: Vr1c5 = 0 is impossible
B) Vr1c5 = 1
- Code: Select all
. . . . .———.
1 1 | 3 |
.........———. . .
: : 2 | | |
.....———. .———. .
: : 3 | |
.............———.———.
| : : : 2 1
................. .
: 2 : : : 3 | 1
.....———.....———. .
two sub-possibilities
Ba) Vr4c4 = 1
- Code: Select all
. . . . .———.
1 1 | 3 |
.........———. . .
: : 2 | | |
.....———. .———. .
: : 3 | |
......... .———.———.
| : : | 2 1
.........———. . .
: 2 : : 3 | 1
.....———.———.———. .
=> open end
Bb) Vr4c4 = 0
- Code: Select all
. . . . .———.
1 1 | 3 |
.———.———.———. . .
| 2 | | |
. .———. .———. .
| | 3 | |
. . .———.———.———.
| | 2 1
. .———.———.———. .
| 2 3 | 1
.———.———.———.———. .
Solution
I don't know if there is a simpler way of proving that there is only one solution in this case, but this T&E way is rather unsatisfactory to me.
****************************** #17 (corrected) ******************************
- Code: Select all
1 . . . 1
. 2 . . .
. 2 . 2 .
. 2 3 . .
. 3 . . 1
Easy constraints propagation leads to:
- Code: Select all
. ............. .
1 : : : : 1
.............———.....
: : 2 : :
.........———.———. .
: : 2 2 | :
.........———. .....
: 2 : 3 | : :
. .................
| 3 : : : 1
. .———......... .
Consider in turn each possibility for Vr3c3.
A) Vr5c3 = 1 :
- Code: Select all
. ............. .
1 : : : : 1
.............———.....
: : 2 : :
.........———.———. .
: : 2 2 | :
.........———. .....
| 2 : 3 | : :
. . .............
| 3 | : : 1
. .———. ..... .
there are now two sub-possibilities:
Aa) Hr4c2 = 1
- Code: Select all
. ............. .
1 : : : : 1
.............———.....
: : 2 : :
.........———.———. .
: : 2 2 | :
.....———.———. .....
| 2 3 | : :
. . .———.........
| 3 | : : 1
. .———. ..... .
=> small loop
or
Ab) Hr4c2 = 0
- Code: Select all
. .———.———.———. .
1 | | 1
. .———.———.———. .
2
. .———.———.———. .
| 2 2 |
. . .———. .....
| 2 | 3 | : :
. . . .........
| 3 | : : 1
. .———. ..... .
=> small loop
B) Vr5c3 = 0:
- Code: Select all
. ............. .
1 : : : : 1
.............———.....
: : 2 : :
.........———.———. .
: : 2 2 | :
.........———. .....
: 2 : 3 | : :
. .———.............
| 3 : : 1
. .———......... .
Again, there are two sub-possibilities
Ba) Vr4c3 = 1
- Code: Select all
. ............. .
1 : : : : 1
.............———.....
: : 2 : :
.........———.———. .
: : 2 2 | :
.........———. .....
: 2 | 3 | : :
. .———. .———.....
| 3 | 1
. .———.———.———. .
=> small loop
Bb) Vr4c3 = 0
- Code: Select all
. .———.———.———. .
1 | | 1
. . .———.———. .
| 2 |
. . .———.———. .
| 2 2 |
. .———.———. . .
2 3 | |
. .———.———. . .
| 3 | 1
. .———.———.———. .
Solution
****************************** #14, an interesting puzzle suggesting new rules ******************************
This example suggests new rules. (I haven't seen such rules mentioned anywhere, but the web is large!)
- Code: Select all
. 2 . . .
2 3 . . .
. . . 2 .
2 2 . . 3
. 3 . . 3
Whatever values for the rest of the puzzle, nothing could allow to choose between the following two possibilities for the nw corner
- Code: Select all
.———.———.———.........
| 2 : : :
.———.———. .........
2 3 | : :
.———.———. .———.....
| | 2 |
............. .———.
: 2 : 2 : : | 3
............. .———.
: : 3 : : 3 |
.............———.———.
.———. .———.........
| | 2 | : : :
. . . ........
| 2 | 3 | : :
. .———. .———.....
| | 2 |
............. .———.
: 2 : 2 : : | 3
............. .———.
: : 3 : : 3 |
.............———.———.
This is a general property for any puzzle with the following pattern in the nw corner
- Code: Select all
. 2
2 3
or similar patterns in the other corners. They are potential non-uniqueness patterns.
However, as found by Serg, there is a possibility to include this pattern in a solution.
As a result, we have a uniqueness rule:
When pattern
- Code: Select all
. 2
2 3
is present at the nw corner
then the only possibility for excluding multiple solutions is to have:
- Code: Select all
.———.———.
| 2
. .———.
| 2 | 3 :
. .....
This puzzles also suggests a special corner rule.
(At first, I thought there was a contradiction in the corner pattern, but Serg found a solution)
When the following pattern is present at the sw corner
- Code: Select all
2 2
. 3
then the solution must contain all the following borders:
- Code: Select all
|
.———. .
2 | 2 |
. . .
| 3 |
.———.
Of course, there is a similar rule for pattern
- Code: Select all
3 2
. 2
in the same corner
and for similar patterns in the other corners.
If you are not interested in the details of Serg's remarks that led me to correct this post, you can jump to further examples here: http://forum.enjoysudoku.com/solving-slitherlink-puzzles-t31264-21.html