I propose you this puzzle.
Good resolution
Robert
.2.5.9.7.....4.9.2..93.....93...1..62.......71..8...94.....576.6...1.....4.6.3.5.
puzzle: Show
resolution: Show
(solve ".2.5.9.7.....4.9.2..93.....93...1..62.......71..8...94.....576.6...1.....4.6.3.5.")
***********************************************************************************************
*** SudoRules 20.1.s based on CSP-Rules 2.1.s, config = W+SFin
*** Using CLIPS 6.32-r770
***********************************************************************************************
hidden-single-in-a-row ==> r7c4 = 4
naked-single ==> r5c4 = 9
hidden-single-in-a-block ==> r5c6 = 4
hidden-single-in-a-block ==> r4c3 = 4
hidden-single-in-a-column ==> r3c9 = 5
hidden-single-in-a-column ==> r2c1 = 5
hidden-single-in-a-column ==> r2c4 = 1
158 candidates, 788 csp-links and 788 links. Density = 6.35%
whip[1]: r4n8{c8 .} ==> r5c8 ≠ 8, r5c7 ≠ 8
whip[1]: r4n7{c5 .} ==> r6c6 ≠ 7, r6c5 ≠ 7
x-wing-in-columns: n2{c4 c8}{r4 r8} ==> r8c7 ≠ 2, r8c6 ≠ 2, r8c3 ≠ 2, r4c7 ≠ 2, r4c5 ≠ 2
biv-chain[3]: r4n8{c7 c8} - c8n2{r4 r8} - b9n4{r8c8 r8c7} ==> r8c7 ≠ 8
biv-chain[3]: r8c7{n3 n4} - r1n4{c7 c1} - c1n3{r1 r7} ==> r7c9 ≠ 3, r8c3 ≠ 3
biv-chain[3]: c9n3{r1 r8} - r8c7{n3 n4} - r1n4{c7 c1} ==> r1c1 ≠ 3
hidden-single-in-a-column ==> r7c1 = 3
z-chain-bn[3]: b7n9{r8c2 r7c2} - b8n9{r7c5 r9c5} - b8n7{r9c5 .} ==> r8c2 ≠ 7
z-chain-rc[3]: r8c6{n8 n7} - r2c6{n7 n6} - r1c5{n6 .} ==> r3c6 ≠ 8
biv-chain[3]: c6n8{r8 r2} - r2c8{n8 n3} - c9n3{r1 r8} ==> r8c9 ≠ 8
biv-chain[4]: r4n5{c5 c7} - b6n8{r4c7 r4c8} - b6n2{r4c8 r6c7} - r6n3{c7 c5} ==> r6c5 ≠ 5
biv-chain[4]: r2c8{n8 n3} - c9n3{r1 r8} - r8c7{n3 n4} - c8n4{r8 r3} ==> r3c8 ≠ 8
biv-chain[4]: r8n9{c2 c9} - c9n3{r8 r1} - r2c8{n3 n8} - c6n8{r2 r8} ==> r8c2 ≠ 8
z-chain-rn[4]: r8n7{c6 c3} - r8n5{c3 c2} - r8n9{c2 c9} - r9n9{c9 .} ==> r9c5 ≠ 7
whip[1]: r9n7{c3 .} ==> r8c3 ≠ 7
biv-chain[3]: r8n7{c6 c4} - r4c4{n7 n2} - c6n2{r6 r3} ==> r3c6 ≠ 7
naked-pairs-in-a-column: c6{r3 r6}{n2 n6} ==> r2c6 ≠ 6
whip[1]: r2n6{c3 .} ==> r1c3 ≠ 6, r3c2 ≠ 6
biv-chain[3]: r3n2{c6 c5} - c5n7{r3 r4} - r4c4{n7 n2} ==> r6c6 ≠ 2
naked-single ==> r6c6 = 6
naked-single ==> r3c6 = 2
naked-pairs-in-a-block: b4{r6c2 r6c3}{n5 n7} ==> r5c3 ≠ 5, r5c2 ≠ 5
whip[1]: b4n5{r6c3 .} ==> r6c7 ≠ 5
biv-chain-rc[3]: r6c3{n7 n5} - r8c3{n5 n8} - r9c1{n8 n7} ==> r9c3 ≠ 7
hidden-single-in-a-block ==> r9c1 = 7
whip[1]: c1n8{r3 .} ==> r1c3 ≠ 8, r2c2 ≠ 8, r2c3 ≠ 8, r3c2 ≠ 8
biv-chain-rc[3]: r6c7{n3 n2} - r4c8{n2 n8} - r2c8{n8 n3} ==> r5c8 ≠ 3, r1c7 ≠ 3
naked-single ==> r5c8 = 1
naked-single ==> r3c8 = 4
naked-single ==> r3c1 = 8
naked-single ==> r1c1 = 4
hidden-single-in-a-column ==> r8c7 = 4
biv-chain-rc[4]: r4c7{n8 n5} - r4c5{n5 n7} - r3c5{n7 n6} - r1c5{n6 n8} ==> r1c7 ≠ 8
naked-pairs-in-a-block: b3{r1c7 r3c7}{n1 n6} ==> r1c9 ≠ 1
whip[1]: c9n1{r9 .} ==> r9c7 ≠ 1
biv-chain[3]: r9n1{c9 c3} - r1c3{n1 n3} - r1c9{n3 n8} ==> r9c9 ≠ 8
biv-chain[4]: r4c8{n8 n2} - c4n2{r4 r8} - r8n7{c4 c6} - c6n8{r8 r2} ==> r2c8 ≠ 8
stte
SpAce wrote:Disclaimer: I didn't have time to start solving a multi-stepper from scratch, so I cheated and looked at your eliminations (not the actual moves). They seemed pretty efficient, so I built my own moves around them. I haven't checked how close they are to yours, but I guess they can't be very far off.
+-----------------------+-------------------------+------------------------+
| 348 2 1368 | 5 68 9 | 13468 7 M138 |
| 5 678 3678 | 1 4 G678 | 9 M3-8 2 |
| 478 1678 9 | 3 2678E* 2678D* | 1468 14-8 5 |
+-----------------------+-------------------------+------------------------+
| 9 3 4 | A27 257F* 1 | 258 A28 6 |
| 2 568 568 | 9 356 4 | 135 13 7 |
| 1 567 567 | 8 2356 26 | 235 9 4 |
+-----------------------+-------------------------+------------------------+
| 38 189 1238 | 4 289 5 | 7 6 L1389 |
| 6 e589-7 e2358-7 | Ha27B* 1 Ha278C* | J2348 J2348 d389 |
| 78 4 1278 | 6 b2789 3 | K128 5 Lc189 |
+-----------------------+-------------------------+------------------------+
Mauriès Robert wrote:Hi Denis,
Your SudoRules solver is set to find a resolution with the shortest strings and in this case the number of strings used is free. Is it configurable to find a resolution with a minimum number of strings whose length is free or limited?
Cordialement
Robert
Mauriès Robert wrote:Your resolution is equivalent to mine, and its interest lies in the fact that it is expressed with correctly written AICs and TMs, which I do not know how to do.
Cenoman wrote:
2. (8=27)r4c48 - [(7)r8c4 = (7-8)r8c6 = (8-2)r3c6 = (2-7)r3c5 = (7)r4c5] = (8)r2c6^ - (8=72)r8c46 - r8c78 = (2-1)r9c7 = r79c9 - (1=38)b3p35 => -8 r2c8^, -8 r3c8; ste
Ajò Dimonios wrote:The second step is not clear to me. My problem is to understand what is the logical motivation that allows us to discard the conclusions of the first logical chain, the one with (= (8) r3c6), which is a discontinuous nice loop and to accept vice versa the conclusions of the second, the one with ( = (8) r2c6) ^?
Ajò Dimonios wrote:Cenoman wrote:
2. (8=27)r4c48 - [(7)r8c4 = (7-8)r8c6 = (8-2)r3c6 = (2-7)r3c5 = (7)r4c5] = (8)r2c6^ - (8=72)r8c46 - r8c78 = (2-1)r9c7 = r79c9 - (1=38)b3p35 => -8 r2c8^, -8 r3c8; ste
The second step is not clear to me. My problem is to understand what is the logical motivation that allows us to discard the conclusions of the first logical chain, the one with (= (8) r3c6), which is a discontinuous nice loop and to accept vice versa the conclusions of the second, the one with ( = (8) r2c6) ^?
(8=2)r4c8 - (2=7)r4c4 - [nested AIC] = (8)r2c6
I'd just add a hint:
- the weak link to the nested AIC is a valid weak link to both endpoints,
- the strong link to the nested AIC complements a strong link inside, between a subset of a 3-SIS (or more).
7r4c4 is weakly linked to 7r8c4 AND to 7r4c5
8r2c6 is the candidate missing to the strong link 8r8c6=8r3c6 (SIS: 8c6)
No matter which link is on the left side or the right side.
It could be written as well: (8)r2c6 = [nested AIC] - (7=2)r4c4 - (2=8)r4c8
Cenoman wrote:BTW is 'embedded' synonym of 'nested' ?