- Code: Select all
+---+---+---+
|..6|...|93.|
|.1.|7.4|...|
|...|...|...|
+---+---+---+
|8.9|...|7..|
|...|1..|...|
|2..|...|...|
+---+---+---+
|.4.|...|..2|
|...|.9.|.8.|
|7..|.6.|...|
+---+---+---+
+---+---+---+
|..6|...|93.|
|.1.|7.4|...|
|...|...|...|
+---+---+---+
|8.9|...|7..|
|...|1..|...|
|2..|...|...|
+---+---+---+
|.4.|...|..2|
|...|.9.|.8.|
|7..|.6.|...|
+---+---+---+
5 7 6 | 8 2 1 | 9 3 4
9 1 2 | 7 3 4 | 8 56 56
3 8 4 | 69 5 69 | 2 7 1
------------------------+----------------------+---------------------
8 356 9 |g356 4 2 | 7 1 h356
4 356 7 | 1 8 f356 |e35 2 9
2 356 1 | 3569 7 3569 | 4 56 8
------------------------+----------------------+---------------------
6 4 8 |c35 1 7 |d35 9 2
1 2 a35 | 4 9 b35 | 6 8 7
7 9 5-3 | 2 6 8 | 1 4 i35
.------------------------------------------.
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 56 56 |
| 3 8 4 | 69 5 69 | 2 7 1 |
|------------+---------------+-------------|
| 8 356 9 | 356 4 2 | 7 1 356 |
| 4 356 7 | 1 8 356 | 35 2 9 |
| 2 356 1 | 3569 7 3569 | 4 56 8 |
|------------+---------------+-------------|
| 6 4 8 | 35 1 7 | 35 9 2 |
| 1 2 35 | 4 9 35 | 6 8 7 |
| 7 9 35 | 2 6 8 | 1 4 35 |
'------------------------------------------'
.------------------------------------------.
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 XY6 X6 |
| 3 8 4 | 69 5 69 | 2 7 1 |
|------------+---------------+-------------|
| 8 XY6 9 | X6 4 2 | 7 1 X6 |
| 4 XY6 7 | 1 8 Y6 | Y 2 9 |
| 2 XY6 1 | X69 7 Y69 | 4 X6 8 |
|------------+---------------+-------------|
| 6 4 8 | Y 1 7 | X 9 2 |
| 1 2 Y | 4 9 X | 6 8 7 |
| 7 9 X | 2 6 8 | 1 4 Y |
'------------------------------------------'
*--------------------------------------------------------------*
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 56 56 |
| 3 8 4 | 69 5 69 | 2 7 1 |
*-------------------+---------------------+--------------------|
| 8 g356 9 |efh356 4 2 | 7 1 g56-3 |
| 4 356 7 | 1 8 ef356 |gh35 2 9 |
| 2 356 1 | 3569 7 3569 | 4 56 8 |
*-------------------+---------------------+--------------------|
| 6 4 8 |cd35 1 7 | b35 9 2 |
| 1 2 35 | 4 9 d35 | 6 8 7 |
| 7 9 35 | 2 6 8 | 1 4 a35 |
*--------------------------------------------------------------*
after singles + intersection:
5 7 6 8 2 1 9 3 4
9 1 2 7 3 4 8 56 56
3 8 4 69 5 69 2 7 1
8 356 9 e-3(-5+6) 4 2 7 1 d+356
4 356 7 1 8 f(+3-5)-6 c-3(+5) 2 9
2 356 1 3569 7 3569 4 56 8
6 4 8 a-3(+5) 1 7 b+3-5 9 2
1 2 35 4 9 35 6 8 7
7 9 35 2 6 8 1 4 35
depth: 3 candidate: 3 from cells
(((4 4 5) (3 5 6)) ((6 4 5) (3 5 6 9)) ((8 6 8) (3 5)))
((3 0) (7 4 8) (3 5)) if R7C4 is not 3
((3 0) (7 7 9) (3 5)) R7C7 is 3
((3 1 1) (4 9 6) (3 5 6)) R4C9 is 3
((6 2 102) (4 4 5) (3 5 6)) R4C4 is 6 from a pair (e a)
((3 3 101) (5 6 5) (3 5 6)) R5C6 is 3 from a pair (f c)
ste.
jco wrote:Looking at r2c9, we infer that X=5, so Y=3
marek stefanik wrote:-5r2c8 (otherwise 35 would be unresolvable in the rest of the grid), stte
Does anyone know what the technique is called?jco wrote:Looking at r2c9, we infer that X=5, so Y=3
I don't think that's correct, if 6 were true in that cell, both 5 and X would be false. How would you then know they're the same digit?
Marek
.-----------------------------------------.
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 XY6 X6 |
| 3 8 4 | 69 5 69 | 2 7 1 |
|------------+--------------+-------------|
| 8 XY6 9 | X6 4 2 | 7 1 X6 |
| 4 XY6 7 | 1 8 Y6 | Y 2 9 |
| 2 XY6 1 | X69 7 Y69 | 4 X6 8 |
|------------+--------------+-------------|
| 6 4 8 | Y 1 7 | X 9 2 |
| 1 2 Y | 4 9 X | 6 8 7 |
| 7 9 X | 2 6 8 | 1 4 Y |
'-----------------------------------------'
.-------------------------------------.
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 Y6 X |
| 3 8 4 | 6 5 9 | 2 7 1 |
|-----------+-----------+-------------|
| 8 Y 9 | X 4 2 | 7 1 6 |
| 4 X 7 | 1 8 6 | Y 2 9 |
| 2 6 1 | 9 7 Y | 4 X 8 |
|-----------+-----------+-------------|
| 6 4 8 | Y 1 7 | X 9 2 |
| 1 2 Y | 4 9 X | 6 8 7 |
| 7 9 X | 2 6 8 | 1 4 Y |
'-------------------------------------'
*----------------------------------------*
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 56 56 |
| 3 8 4 | 69 5 69 | 2 7 1 |
|-----------+---------------+------------|
| 8 356 9 | 356 4 2 | 7 1 356 |
| 4 356 7 | 1 8 6-35 |A35 2 9 |
| 2 356 1 | 3569 7 35-69 | 4 56 8 |
|-----------+---------------+------------|
| 6 4 8 |A35 1 7 |B35 9 2 |
| 1 2 A35 | 4 9 B35 | 6 8 7 |
| 7 9 B35 | 2 6 8 | 1 4 A35 |
*----------------------------------------*
*--------------------------------------*
| 5 7 6 | 8 2 1 | 9 3 4 |
| 9 1 2 | 7 3 4 | 8 56 56 |
| 3 8 4 | 6 5 9 | 2 7 1 |
|-------------+----------+-------------|
| 8 356 9 |A35 4 2 | 7 1 6-35 |
| 4 A35 7 | 1 8 6 |B35 2 9 |
| 2 6-35 1 | 9 7 B35 | 4 56 8 |
|-------------+----------+-------------|
| 6 4 8 |B35 1 7 |A35 9 2 |
| 1 2 B35 | 4 9 A35 | 6 8 7 |
| 7 9 A35 | 2 6 8 | 1 4 B35 |
*--------------------------------------*
Resolution state after Singles and whips[1]:
+----------------+----------------+----------------+
! 5 7 6 ! 8 2 1 ! 9 3 4 !
! 9 1 2 ! 7 3 4 ! 8 56 56 !
! 3 8 4 ! 69 5 69 ! 2 7 1 !
+----------------+----------------+----------------+
! 8 356 9 ! 356 4 2 ! 7 1 356 !
! 4 356 7 ! 1 8 356 ! 35 2 9 !
! 2 356 1 ! 3569 7 3569 ! 4 56 8 !
+----------------+----------------+----------------+
! 6 4 8 ! 35 1 7 ! 35 9 2 !
! 1 2 35 ! 4 9 35 ! 6 8 7 !
! 7 9 35 ! 2 6 8 ! 1 4 35 !
+----------------+----------------+----------------+
whip[5]: r5c7{n3 n5} - r7n5{c7 c4} - r8c6{n5 n3} - r5c6{n3 n6} - r4c4{n6 .} ==> r4c9 ≠ 3
stte
marek stefanik wrote:-5r2c8 (otherwise 35 would be unresolvable in the rest of the grid), stte
Does anyone know what the technique is called?
...whip[1]. But I'm sure there is a name more descriptive of the contradiction used.denis_berthier wrote:"If I suppose n5r2c8 is True, then I get a contradiction". This is...
marek stefanik wrote:...whip[1]. But I'm sure there is a name more descriptive of the contradiction used.denis_berthier wrote:"If I suppose n5r2c8 is True, then I get a contradiction". This is...