This puzzle generated by Hodoku is evaluated at more than 9000 by the software.
I submit it to your resolution.
Cordially
Robert
.6..7...1..2...4.....5..87...9....1..3.197.5..5....6...17..8.....4...7..3...2..6.
puzzle: Show
solution: Show
***********************************************************************************************
*** SudoRules 20.1.s based on CSP-Rules 2.1.s, config = W+SFin
*** Using CLIPS 6.32-r770
***********************************************************************************************
singles ==> r5c7 = 2, r4c7 = 3, r9c7 = 1, r9c4 = 7, r5c3 = 6
187 candidates, 1071 csp-links and 1071 links. Density = 6.16%
finned-x-wing-in-rows: n8{r5 r9}{c9 c1} ==> r8c1 ≠ 8
finned-x-wing-in-columns: n5{c7 c3}{r1 r7} ==> r7c1 ≠ 5
finned-x-wing-in-columns: n5{c3 c7}{r1 r9} ==> r9c9 ≠ 5
finned-swordfish-in-rows: n4{r5 r9 r1}{c1 c9 c6} ==> r3c6 ≠ 4
naked-quads-in-a-column: c9{r4 r5 r9 r6}{n7 n8 n4 n9} ==> r8c9 ≠ 9, r8c9 ≠ 8, r7c9 ≠ 9, r7c9 ≠ 4, r3c9 ≠ 9, r2c9 ≠ 9
biv-chain[4]: r9c2{n8 n9} - c9n9{r9 r6} - b6n7{r6c9 r4c9} - c2n7{r4 r2} ==> r2c2 ≠ 8
z-chain[4]: r3n9{c2 c6} - r3n2{c6 c9} - c9n6{r3 r2} - r2n5{c9 .} ==> r2c1 ≠ 9
z-chain[4]: r3n2{c6 c9} - c9n6{r3 r2} - r2n5{c9 c1} - r2n1{c1 .} ==> r3c6 ≠ 1
biv-chain[5]: r2c8{n3 n9} - b6n9{r6c8 r6c9} - r6n7{c9 c1} - b4n1{r6c1 r6c3} - r3c3{n1 n3} ==> r3c9 ≠ 3
z-chain[5]: r3n9{c2 c6} - r3n2{c6 c9} - c9n6{r3 r2} - r2n5{c9 c1} - r2n7{c1 .} ==> r2c2 ≠ 9
naked-single ==> r2c2 = 7
t-whip[6]: r6n2{c6 c1} - r6n7{c1 c9} - r6n9{c9 c8} - r2c8{n9 n3} - r1c8{n3 n2} - r3n2{c9 .} ==> r4c6 ≠ 2
t-whip[7]: r3c3{n3 n1} - c1n1{r3 r6} - r6n7{c1 c9} - r6n9{c9 c8} - r2c8{n9 n3} - r1c8{n3 n2} - r3n2{c9 .} ==> r3c6 ≠ 3
t-whip[7]: c7n9{r7 r1} - r2c8{n9 n3} - r1c8{n3 n2} - r3n2{c9 c6} - r6c6{n2 n3} - r1c6{n3 n4} - r9n4{c6 .} ==> r9c9 ≠ 9
singles ==> r6c9 = 9, r4c9 = 7, r6c1 = 7, r6c3 = 1, r3c3 = 3
whip[1]: r6n2{c6 .} ==> r4c4 ≠ 2
z-chain[3]: b9n9{r7c8 r8c8} - b9n8{r8c8 r9c9} - r9c2{n8 .} ==> r7c1 ≠ 9
biv-chain[4]: c2n4{r3 r4} - r5n4{c1 c9} - c9n8{r5 r9} - r9c2{n8 n9} ==> r3c2 ≠ 9
naked-single ==> r3c2 = 4
whip[1]: c2n9{r9 .} ==> r8c1 ≠ 9
finned-x-wing-in-columns: n4{c8 c5}{r7 r6} ==> r6c4 ≠ 4
naked-triplets-in-a-row: r1{c1 c3 c7}{n9 n8 n5} ==> r1c8 ≠ 9, r1c6 ≠ 9, r1c4 ≠ 9, r1c4 ≠ 8
whip[1]: b2n8{r2c5 .} ==> r2c1 ≠ 8
biv-chain-rn[3]: r3n9{c6 c1} - r3n1{c1 c5} - r8n1{c5 c6} ==> r8c6 ≠ 9
biv-chain[3]: r1c8{n3 n2} - r3n2{c9 c6} - r6c6{n2 n3} ==> r1c6 ≠ 3
biv-chain[4]: b9n8{r8c8 r9c9} - r9n4{c9 c6} - r1n4{c6 c4} - r1n3{c4 c8} ==> r8c8 ≠ 3
biv-chain[4]: r2n5{c9 c1} - b1n1{r2c1 r3c1} - r3c5{n1 n6} - b3n6{r3c9 r2c9} ==> r2c9 ≠ 3
whip[1]: c9n3{r8 .} ==> r7c8 ≠ 3
biv-chain[4]: r3n9{c6 c1} - c1n1{r3 r2} - r2n5{c1 c9} - b3n6{r2c9 r3c9} ==> r3c6 ≠ 6
t-whip[4]: r1n3{c4 c8} - r2c8{n3 n9} - c7n9{r1 r7} - c4n9{r7 .} ==> r8c4 ≠ 3
biv-chain[5]: r2c8{n9 n3} - r1n3{c8 c4} - b2n4{r1c4 r1c6} - r9n4{c6 c9} - b9n8{r9c9 r8c8} ==> r8c8 ≠ 9
whip[1]: b9n9{r7c8 .} ==> r7c4 ≠ 9
z-chain[5]: r8c8{n2 n8} - r8c2{n8 n9} - r8c4{n9 n6} - c1n6{r8 r7} - r7n2{c1 .} ==> r8c9 ≠ 2
biv-chain[3]: r3n6{c5 c9} - c9n2{r3 r7} - r7c1{n2 n6} ==> r7c5 ≠ 6
z-chain[5]: r8c9{n3 n5} - b7n5{r8c1 r9c3} - c6n5{r9 r4} - c6n6{r4 r2} - c6n1{r2 .} ==> r8c6 ≠ 3
whip[5]: r8n1{c6 c5} - b2n1{r3c5 r2c6} - r2c1{n1 n5} - r8n5{c1 c9} - r8n3{c9 .} ==> r8c6 ≠ 6
biv-chain[4]: c7n5{r7 r1} - r2c9{n5 n6} - c6n6{r2 r4} - b5n5{r4c6 r4c5} ==> r7c5 ≠ 5
whip[1]: r7n5{c9 .} ==> r8c9 ≠ 5
naked-single ==> r8c9 = 3
biv-chain[4]: c6n6{r4 r2} - b3n6{r2c9 r3c9} - r3n2{c9 c6} - r1c6{n2 n4} ==> r4c6 ≠ 4
z-chain[3]: r4c6{n6 n5} - c5n5{r4 r8} - b8n6{r8c5 .} ==> r4c4 ≠ 6
hidden-pairs-in-a-block: b5{r4c5 r4c6}{n5 n6} ==> r4c5 ≠ 8, r4c5 ≠ 4
x-wing-in-columns: n4{c5 c8}{r6 r7} ==> r7c4 ≠ 4
naked-triplets-in-a-column: c5{r3 r4 r8}{n1 n6 n5} ==> r2c5 ≠ 6, r2c5 ≠ 1
biv-chain-bn[3]: b8n3{r7c4 r7c5} - b8n4{r7c5 r9c6} - b2n4{r1c6 r1c4} ==> r1c4 ≠ 3
stte
denis_berthier wrote:I've found nothing noticeable
Mauriès Robert wrote:Indeed, this puzzle has nothing special except that its level always requires several steps to solve, even with T&E.
.------------------.---------------------.--------------------.
| 4589 6 358 | 23489 7 2349 | 59 239 1 |
| 15789 789 2 | 3689 1368 1369 | 4 39 3569 |
| 149 49 13 | 5 1346 123469 | 8 7 2369 |
:------------------+---------------------+--------------------:
| 2478 2478 9 | 2468 4568 2456 | 3 1 478 |
| 48 3 6 | 1 9 7 | 2 5 48 |
| 12478 5 18 | 2348 348 234 | 6 489 4789 |
:------------------+---------------------+--------------------:
| 2569 1 7 | 3469 3456 8 | a59 2349 23459 |
| 25689 289 4 | 369 1356 13569 | 7 a239-8 23589 |
| 3 89 58 | 7 2 459 | 1 6 4589 |
'------------------'---------------------'--------------------'
SpAce wrote:I guess that depends on what kind of T&E you mean. With T&E(2, basics) it's easy:
T&E(2): 8r8c8 & (5|9)r7c7 ->[singles, 1 NP]-> ! => -8 r8c8; stte
SpAce wrote: With T&E(2, basics) it's easy:
T&E(2): 8r8c8 & (5|9)r7c7 ->[singles, 1 NP]-> ! => -8 r8c8; stte
denis_berthier wrote:SpAce wrote: With T&E(2, basics) it's easy:
T&E(2): 8r8c8 & (5|9)r7c7 ->[singles, 1 NP]-> ! => -8 r8c8; stte
Except that this is not T&E(2).
In T&E(2), you take two (and only two) candidates as a hypothesis and the only thing that can possibly be concluded is a contradiction between them.
SpAce wrote:denis_berthier wrote:SpAce wrote: With T&E(2, basics) it's easy:
T&E(2): 8r8c8 & (5|9)r7c7 ->[singles, 1 NP]-> ! => -8 r8c8; stte
Except that this is not T&E(2).
Ok. I won't argue about that since, as far as I know, you've defined the terms. What is it then?
In T&E(2), you take two (and only two) candidates as a hypothesis and the only thing that can possibly be concluded is a contradiction between them.
Good to know, but what exactly does that mean? That the two candidates can't be true together? How does that solve anything alone?
denis_berthier wrote:"T&E: 8r8c8 & (5|9)r7c7" ... is meaningless. It just appears as a random assemblage.
(5r7c7 | 9r7c7)
-(8r8c8 & 5r7c7)
-(8r8c8 & 9r7c7)
================
=> -8r8c8
SpAce wrote:denis_berthier wrote:"T&E: 8r8c8 & (5|9)r7c7" ... is meaningless. It just appears as a random assemblage.
Robert seems to have understood it perfectly well. In any case, this is what I meant:
- Code: Select all
(5r7c7 | 9r7c7)
-(8r8c8 & 5r7c7)
-(8r8c8 & 9r7c7)
================
=> -8r8c8
In other words, since all three premises are true (the first one trivially and the other two as a result of trying), the conclusion must be true as well. Only two candidates are tried at once, but it's done twice: (8 & 5) and (8 & 9) to cover the nested binary SIS.
And no, I still don't know what that logic should be called, or how you'd prefer it written, or what T&E(2) is.
.P'(C)....
/
.P(B)
/ \
/ .P(C)...
P(A)
\ .P(D)...
\ /
.P'(B)
\
.P'(D)...
.P(5r7c7) -> contradiction
/
/
P(8r6c8) All branches of P(8r6c8) leading to contradiction, 8r6c8 can be eliminated.
\
\
.P'(5r7c7) -> contradiction
P'(8r6c8) -> solution
Mauriès Robert wrote:I never use the term T&E, preferring the term track or anti-track
Nothing new for you I think, this is what Denis calls DFS I believe.
In the case of the puzzle of this thread, the resolution tree is written :
- Code: Select all
.P(5r7c7) -> contradiction
/
/
P(8r6c8) All branches of P(8r6c8) leading to contradiction, 8r6c8 can be eliminated.
\
\
.P'(5r7c7) -> contradiction
P'(8r6c8) -> solution
-8r6c8
||
(8r6c8 & 5r7c7) -> !
||
(8r6c8 & 9r7c7) -> !
=> -8r6c8
(z & a1) -> !
(z & a2) -> !
(z & a3) -> !
(z & a4) -> !
=> -z
((z & (a1|a2|a3|a4)) -> !) => -z
(z & a1 & b1 & c1) -> !
(z & a1 & b1 & c2) -> !
(z & a1 & b1 & c3) -> !
(z & a1 & b2) -> !
(z & a1 & b3) -> !
(z & a2) -> !
(z & a3) -> !
(z & a4) -> !
=> -z
z.a1.b1.c1 -> !
z.a1.b1.c2 -> !
z.a1.b1.c3 -> !
z.a1.b2 -> !
z.a1.b3 -> !
z.a2 -> !
z.a3 -> !
z.a4 -> !
=> -z