mith wrote:- Code: Select all
+-------+-------+-------+
| . . . | . . . | . . . |
| 1 . . | . . 2 | 3 . . |
| . 4 . | . 5 . | . 6 . |
+-------+-------+-------+
| . 5 . | . 7 . | . 4 . |
| 3 . . | . . 8 | 2 . . |
| . . . | . . . | . . . |
+-------+-------+-------+
| 2 . . | . . 3 | 1 . . |
| . 9 . | . 4 . | . 5 . |
| . . 1 | 6 . . | . . . |
+-------+-------+-------+
.........1....23...4..5..6..5..7..4.3....82...........2....31...9..4..5...16.....
As fish and finned-fish are not enough, I added bivalue-chains:
(solve ".........1....23...4..5..6..5..7..4.3....82...........2....31...9..4..5...16.....")
***********************************************************************************************
*** SudoRules 20.1.s based on CSP-Rules 2.1.s, config = Z+SFin
*** Using CLIPS 6.32-r770
***********************************************************************************************
261 candidates, 2028 csp-links and 2028 links. Density = 5.98%
hidden-pairs-in-a-block: b7{r7c3 r9c1}{n4 n5} ==> r9c1 ≠ 8, r9c1 ≠ 7, r7c3 ≠ 8, r7c3 ≠ 7, r7c3 ≠ 6
swordfish-in-columns: n3{c2 c5 c8}{r9 r1 r6} ==> r9c9 ≠ 3, r6c9 ≠ 3, r6c4 ≠ 3, r1c4 ≠ 3, r1c3 ≠ 3
swordfish-in-columns: n4{c1 c6 c7}{r9 r6 r1} ==> r9c9 ≠ 4, r6c4 ≠ 4, r6c3 ≠ 4, r1c9 ≠ 4, r1c4 ≠ 4
swordfish-in-columns: n1{c2 c5 c8}{r6 r5 r1} ==> r6c9 ≠ 1, r6c6 ≠ 1, r6c4 ≠ 1, r5c9 ≠ 1, r5c4 ≠ 1, r1c9 ≠ 1, r1c6 ≠ 1, r1c4 ≠ 1
swordfish-in-rows: n2{r3 r4 r8}{c9 c3 c4} ==> r9c9 ≠ 2, r6c4 ≠ 2, r6c3 ≠ 2, r1c9 ≠ 2, r1c3 ≠ 2
hidden-pairs-in-a-block: b1{r1c2 r3c3}{n2 n3} ==> r3c3 ≠ 9, r3c3 ≠ 8, r3c3 ≠ 7, r1c2 ≠ 8, r1c2 ≠ 7, r1c2 ≠ 6
hidden-pairs-in-a-block: b3{r1c8 r3c9}{n1 n2} ==> r3c9 ≠ 9, r3c9 ≠ 8, r3c9 ≠ 7, r1c8 ≠ 9, r1c8 ≠ 8, r1c8 ≠ 7
hidden-pairs-in-a-block: b5{r4c4 r6c5}{n2 n3} ==> r6c5 ≠ 9, r6c5 ≠ 6, r6c5 ≠ 1, r4c4 ≠ 9, r4c4 ≠ 1
hidden-pairs-in-a-block: b9{r8c9 r9c8}{n2 n3} ==> r9c8 ≠ 9, r9c8 ≠ 8, r9c8 ≠ 7, r8c9 ≠ 8, r8c9 ≠ 7, r8c9 ≠ 6
hidden-triplets-in-a-row: r1{n1 n2 n3}{c5 c8 c2} ==> r1c5 ≠ 9, r1c5 ≠ 8, r1c5 ≠ 6
hidden-triplets-in-a-column: c9{n1 n2 n3}{r4 r3 r8} ==> r4c9 ≠ 9, r4c9 ≠ 8, r4c9 ≠ 6
hidden-triplets-in-a-row: r6{n1 n2 n3}{c8 c2 c5} ==> r6c8 ≠ 9, r6c8 ≠ 8, r6c8 ≠ 7, r6c2 ≠ 8, r6c2 ≠ 7, r6c2 ≠ 6
naked-pairs-in-a-block: b6{r4c9 r6c8}{n1 n3} ==> r5c8 ≠ 1
finned-x-wing-in-columns: n8{c8 c5}{r2 r7} ==> r7c4 ≠ 8
hidden-triplets-in-a-column: c4{n1 n2 n3}{r3 r8 r4} ==> r8c4 ≠ 8, r8c4 ≠ 7, r3c4 ≠ 9, r3c4 ≠ 8, r3c4 ≠ 7
whip[1]: c4n8{r2 .} ==> r2c5 ≠ 8
naked-pairs-in-a-block: b2{r1c5 r3c4}{n1 n3} ==> r3c6 ≠ 1
finned-x-wing-in-rows: n8{r3 r4}{c7 c1} ==> r6c1 ≠ 8
swordfish-in-rows: n8{r3 r4 r8}{c1 c7 c3} ==> r9c7 ≠ 8, r6c7 ≠ 8, r6c3 ≠ 8, r2c3 ≠ 8, r1c7 ≠ 8, r1c3 ≠ 8, r1c1 ≠ 8
hidden-single-in-a-row ==> r6c9 = 8
hidden-single-in-a-row ==> r1c4 = 8
hidden-triplets-in-a-row: r9{n2 n3 n8}{c5 c8 c2} ==> r9c5 ≠ 9, r9c2 ≠ 7
hidden-triplets-in-a-column: c3{n2 n3 n8}{r4 r3 r8} ==> r8c3 ≠ 7, r8c3 ≠ 6, r4c3 ≠ 9, r4c3 ≠ 6
naked-pairs-in-a-block: b7{r8c3 r9c2}{n3 n8} ==> r8c1 ≠ 8, r7c2 ≠ 8
swordfish-in-columns: n7{c2 c4 c8}{r5 r2 r7} ==> r7c9 ≠ 7, r5c9 ≠ 7, r5c3 ≠ 7, r2c9 ≠ 7, r2c3 ≠ 7
swordfish-in-columns: n6{c2 c5 c9}{r7 r2 r5} ==> r5c3 ≠ 6, r2c3 ≠ 6
hidden-pairs-in-a-column: c3{n6 n7}{r1 r6} ==> r6c3 ≠ 9, r1c3 ≠ 9, r1c3 ≠ 5
swordfish-in-columns: n9{c3 c5 c8}{r2 r5 r7} ==> r7c9 ≠ 9, r7c4 ≠ 9, r5c9 ≠ 9, r5c4 ≠ 9, r2c9 ≠ 9, r2c4 ≠ 9
hidden-single-in-a-column ==> r6c4 = 9
naked-pairs-in-a-block: b5{r4c6 r5c5}{n1 n6} ==> r6c6 ≠ 6
hidden-pairs-in-a-column: c9{n7 n9}{r1 r9} ==> r1c9 ≠ 5
hidden-pairs-in-a-block: b3{r1c7 r2c9}{n4 n5} ==> r1c7 ≠ 9, r1c7 ≠ 7
hidden-pairs-in-a-row: r7{n8 n9}{c5 c8} ==> r7c8 ≠ 7
finned-x-wing-in-columns: n6{c6 c3}{r1 r4} ==> r4c1 ≠ 6
biv-chain[3]: b9n4{r9c7 r7c9} - b9n6{r7c9 r8c7} - r4c7{n6 n9} ==> r9c7 ≠ 9
biv-chain[3]: r1n4{c6 c7} - r9c7{n4 n7} - c9n7{r9 r1} ==> r1c6 ≠ 7
biv-chain[3]: r3c6{n7 n9} - r9n9{c6 c9} - c9n7{r9 r1} ==> r3c7 ≠ 7
biv-chain[3]: b9n8{r7c8 r8c7} - r3c7{n8 n9} - b6n9{r4c7 r5c8} ==> r7c8 ≠ 9
stte