Fish on wave 9.3

Post puzzles for others to solve here.

Fish on wave 9.3

Postby denis_berthier » Fri Jan 29, 2021 4:58 am

This is a puzzle from the same "fish on wave" pattern as mith's puzzle here: http://forum.enjoysudoku.com/a-rather-silly-fish-thermo-t38336.html
Code: Select all
. . X X . . . . X
. X . . X . . X .
X . . . . X X . .
X . . . . X X . .
. X . . X . . X .
. . X X . . . . X
X . . . . X X . .
. X . . X . . X .
. . X X . . . . X


This is one of the two hardest puzzles (among 1000) I found for this pattern: SER = 9.3. This one may involve a lot of g-candidates.


Code: Select all
+-------+-------+-------+
! . . 4 ! 2 . . ! . . 6 !
! . 6 . ! . 7 . ! . 3 . !
! 2 . . ! . . 6 ! 1 . . !
+-------+-------+-------+
! 1 . . ! . . 4 ! 6 . . !
! . 5 . ! . 9 . ! . 1 . !
! . . 7 ! 1 . . ! . . 9 !
+-------+-------+-------+
! 9 . . ! . . 3 ! 7 . . !
! . 8 . ! . 4 . ! . 5 . !
! . . 3 ! 7 . . ! . . 8 !
+-------+-------+-------+

..42....6.6..7..3.2....61..1....46...5..9..1...71....99....37...8..4..5...37....8 # 95617 FNBTHWXYKG C27.m/M1.44.3
27 givens, SER = 9.3


This is a challenge for AIC solvers.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Re: Fish on wave 9.3

Postby DEFISE » Fri Jan 29, 2021 2:03 pm

With my basic technics = (singles, alignments, naked & nude pairs, naked triplets) I found:
W = 15
B = 13
g-W = 11
S2-W = 9

So, according to your statistics, Denis, that would be a pretty rare case, since simple whips are much less effective than other patterns. Isn't it ?
DEFISE
 
Posts: 270
Joined: 16 April 2020
Location: France

Re: Fish on wave 9.3

Postby denis_berthier » Fri Jan 29, 2021 2:41 pm

DEFISE wrote:With my basic technics = (singles, alignments, naked & nude pairs, naked triplets) I found:
W = 15
B = 13
g-W = 11
S2-W = 9
So, according to your statistics, Denis, that would be a pretty rare case, since simple whips are much less effective than other patterns. Isn't it ?

Yes, rather rare case.
I'm curious to see what people get with AICs.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Re: Fish on wave 9.3

Postby mith » Fri Jan 29, 2021 5:03 pm

SE gets the singles and then immediately jumps up to a 9.1 dynamic chain. Quite hard, yes.
mith
 
Posts: 950
Joined: 14 July 2020

Re: Fish on wave 9.3

Postby coloin » Fri Jan 29, 2021 7:01 pm

Code: Select all
+---+---+---+
|..4|..2|..6|
|.6.|.7.|.3.|
|2..|6..|1..|
+---+---+---+
|..7|..1|..9|
|.5.|.9.|.1.|
|1..|4..|6..|
+---+---+---+
|..3|..7|..8|
|.8.|.4.|.5.|
|9..|3..|7..|
+---+---+---+

This is a morphed version ....
27 clues all in diagonal pattern

Its the same as the first pattern [#1] in this thread.

There are only 15 ED of these 27 clue diagonal patterns ... and interestingly only one hasn't got a symmetric form ....

Trying to see if any of those 14 patterns have been played in the patterns game, should really have done that ! ....

EDIT This #1 pattern was played in Patterns game , way back, at Game no. 016
In Patterns Game no. 150 the diagonal clue C27 pattern #2 was played. [Highest rated by SE was 10.7/10.7/8.9 eleven]
Last edited by coloin on Tue Feb 16, 2021 9:02 pm, edited 1 time in total.
coloin
 
Posts: 2390
Joined: 05 May 2005
Location: Devon

Re: Fish on wave 9.3

Postby denis_berthier » Sat Jan 30, 2021 6:32 am

mith wrote:SE gets the singles and then immediately jumps up to a 9.1 dynamic chain. Quite hard, yes.

To be more precise, here's the first elimination after the two singles, in SE hyper-verbose style (a single elimination takes as much space as a full resolution path in SudoRules):
Hidden Text: Show
Dynamic Contradiction Forcing Chains
With this solving technique, we will prove the two following assertions:
If R2C3 contains the value 5, then R9C8 must contain the value 9
If R2C3 contains the value 5, then R9C8 cannot contain the value 9
Because the same assumption yields to contradictory results, we can conclude that the assumption is false, that is, R2C3 cannot contain the value 5.
Each assertion is proved by a different chain of simple rules. The chains can be dynamic, which means that the conclusions of multiple sub-chains must be combined in some cases.
The details of each chain are given below. Use the view selector below the grid to switch between the graphical illustrations of the two different chains.
Chain 1: If R2C3 contains the value 5, then R9C8 cannot contain the value 9 (View 1): (1) If R2C3 contains the value 5, then R2C1 cannot contain the value 5 (the value can occur only once in the block) (2) If R2C1 does not contain the value 5, then R2C1 must contain the value 8 (only remaining possible value in the cell) (3) If R2C1 contains the value 8, then R3C3 cannot contain the value 8 (the value can occur only once in the block) (4) If R2C3 contains the value 5 (initial assumption), then R3C3 cannot contain the value 5 (the value can occur only once in the block) (5) If R3C3 does not contain the value 5 and R3C3 does not contain the value 8 (3), then R3C3 must contain the value 9 (only remaining possible value in the cell) (6) If R3C3 contains the value 9, then R3C8 cannot contain the value 9 (the value can occur only once in the row) (7) If R2C3 contains the value 5 (initial assumption), then R2C3 cannot contain the value 1 (the cell can contain only one value) (8) If R2C3 does not contain the value 1, then R1C2 must contain the value 1 (only remaining possible position in the block) (9) If R1C2 contains the value 1, then R1C2 cannot contain the value 7 (the cell can contain only one value) (10) If R1C2 does not contain the value 7, then R1C8 must contain the value 7 (only remaining possible position in the row) (11) If R1C8 contains the value 7, then R1C8 cannot contain the value 9 (the cell can contain only one value) (12) If R1C8 does not contain the value 9 and R3C8 does not contain the value 9 (6), then R9C8 must contain the value 9 (only remaining possible position in the column)
Chain 2: If R9C8 must contain the value 9, then R9C8 cannot contain the value 9 (View 2): (1) If R2C3 contains the value 5, then R2C3 cannot contain the value 1 (the cell can contain only one value) (2) If R2C3 does not contain the value 1, then R2C6 must contain the value 1 (only remaining possible position in the row) (3) If R2C6 contains the value 1, then R9C6 cannot contain the value 1 (the value can occur only once in the column) (4) If R2C3 does not contain the value 1 (1), then R1C2 must contain the value 1 (only remaining possible position in the block) (5) If R1C2 contains the value 1, then R9C2 cannot contain the value 1 (the value can occur only once in the column) (6) If R9C2 does not contain the value 1 and R9C6 does not contain the value 1 (3), then R9C5 must contain the value 1 (only remaining possible position in the row) (7) If R9C5 contains the value 1, then R9C5 cannot contain the value 6 (the cell can contain only one value) (8) If R2C3 contains the value 5 (initial assumption), then R2C1 cannot contain the value 5 (the value can occur only once in the block) (9) If R2C3 contains the value 5 (initial assumption), then R1C1 cannot contain the value 5 (the value can occur only once in the block) (10) If R1C1 does not contain the value 5 and R2C1 does not contain the value 5 (8), then R9C1 must contain the value 5 (only remaining possible position in the column) (11) If R9C1 contains the value 5, then R9C1 cannot contain the value 6 (the cell can contain only one value) (12) If R9C1 does not contain the value 6 and R9C5 does not contain the value 6 (7), then R9C8 must contain the value 6 (only remaining possible position in the row) (13) If R9C8 contains the value 6, then R9C8 cannot contain the value 9 (the cell can contain only one value)


Depending on which rules are activated, SudoRules will have an elimination of the same n5r2c3, which seems to be a necessary point, but with possibly different rules. Moreover, in each case, simpler rules will make other eliminations before this one.


1) Solution with whips, in W15. n5r2c3 is eliminated by a whip[11], after 3 simpler eliminations:

Hidden Text: Show
***********************************************************************************************
*** SudoRules 20.1.s based on CSP-Rules 2.1.s, config = W+SFin
*** Using CLIPS 6.32-r779
*** Download from: https://github.com/denis-berthier/CSP-Rules-V2.1
***********************************************************************************************
singles ==> r8c1 = 7, r5c6 = 7
182 candidates, 976 csp-links and 976 links. Density = 5.93%
whip[8]: c9n7{r4 r3} - c9n5{r3 r2} - r2n2{c9 c7} - b3n4{r2c7 r3c8} - r6c8{n4 n8} - c7n8{r6 r1} - c6n8{r1 r2} - r2c1{n8 .} ==> r4c9 ≠ 2
whip[9]: b1n1{r2c3 r1c2} - r1n7{c2 c8} - r3n7{c9 c2} - b1n9{r3c2 r3c3} - r4c3{n9 n2} - r4c8{n2 n8} - r3c8{n8 n4} - r6c8{n4 n2} - b5n2{r6c5 .} ==> r2c3 ≠ 8
whip[9]: r2c1{n8 n5} - c3n5{r3 r7} - r7c4{n5 n6} - r5c4{n6 n3} - r4c4{n3 n5} - c9n5{r4 r3} - c9n7{r3 r4} - b6n3{r4c9 r6c7} - r6n5{c7 .} ==> r2c4 ≠ 8
whip[11]: b1n1{r2c3 r1c2} - r1n7{c2 c8} - r3n7{c9 c2} - b1n3{r3c2 r1c1} - c1n5{r1 r9} - r2c1{n5 n8} - r3c3{n8 n9} - c8n9{r3 r9} - r9n6{c8 c5} - c5n1{r9 r7} - r9n1{c6 .} ==> r2c3 ≠ 5
whip[15]: b7n5{r9c1 r7c3} - c3n6{r7 r5} - r8n6{c3 c4} - r7c4{n6 n8} - r5c4{n8 n3} - r4c4{n3 n5} - r6n5{c6 c7} - b6n3{r6c7 r4c9} - c9n7{r4 r3} - c9n5{r3 r2} - r2n2{c9 c7} - b3n4{r2c7 r3c8} - r3c4{n4 n9} - r3c3{n9 n8} - r2c1{n8 .} ==> r9c1 ≠ 6
whip[1]: c1n6{r6 .} ==> r5c3 ≠ 6
whip[6]: r8c4{n9 n6} - r9n6{c5 c8} - c8n9{r9 r1} - r1n7{c8 c2} - b1n9{r1c2 r2c3} - b1n1{r2c3 .} ==> r3c4 ≠ 9
biv-chain[3]: r2c3{n1 n9} - c4n9{r2 r8} - r8n6{c4 c3} ==> r8c3 ≠ 1
whip[6]: c3n1{r2 r7} - c3n6{r7 r8} - r8c4{n6 n9} - r8c6{n9 n2} - r9c6{n2 n5} - b7n5{r9c1 .} ==> r2c6 ≠ 1
hidden-single-in-a-row ==> r2c3 = 1
whip[7]: r7n8{c5 c4} - r7n5{c4 c3} - c3n6{r7 r8} - b8n6{r8c4 r9c5} - r9n5{c5 c6} - r9n1{c6 c2} - b7n2{r9c2 .} ==> r7c5 ≠ 2
whip[8]: r8c4{n9 n6} - c3n6{r8 r7} - c3n5{r7 r3} - r2c1{n5 n8} - r2c6{n8 n5} - b3n5{r2c7 r1c7} - r6n5{c7 c5} - c5n6{r6 .} ==> r9c6 ≠ 9
whip[1]: r9n9{c8 .} ==> r8c7 ≠ 9
whip[8]: r8c4{n9 n6} - c3n6{r8 r7} - c3n5{r7 r3} - r2c1{n5 n8} - r2c6{n8 n5} - b3n5{r2c7 r1c7} - r6n5{c7 c5} - c5n6{r6 .} ==> r8c6 ≠ 9
singles ==> r8c4 = 9, r8c3 = 6
t-whip[5]: b4n6{r6c1 r5c1} - c4n6{r5 r7} - r7n8{c4 c5} - r7n5{c5 c3} - r9c1{n5 .} ==> r6c1 ≠ 4
whip[8]: b9n9{r9c7 r9c8} - c8n6{r9 r7} - r7n4{c8 c2} - r6n4{c2 c8} - c8n2{r6 r4} - r5n2{c7 c3} - b7n2{r7c3 r9c2} - c2n1{r9 .} ==> r9c7 ≠ 4
t-whip[7]: r2n9{c6 c7} - r9c7{n9 n2} - r2n2{c7 c9} - r5n2{c9 c3} - r7n2{c3 c2} - c2n1{r7 r9} - r9c6{n1 .} ==> r2c6 ≠ 5
whip[8]: r2n2{c9 c7} - r8c7{n2 n3} - b6n3{r5c7 r4c9} - b6n5{r4c9 r6c7} - c7n4{r6 r5} - r6c8{n4 n8} - r6c6{n8 n2} - r8n2{c6 .} ==> r5c9 ≠ 2
t-whip[4]: r9c1{n4 n5} - r7c3{n5 n2} - r5n2{c3 c7} - c8n2{r4 .} ==> r9c8 ≠ 4
whip[1]: r9n4{c2 .} ==> r7c2 ≠ 4
t-whip[5]: r5c9{n3 n4} - c7n4{r6 r2} - r2n2{c7 c9} - r7c9{n2 n1} - r8c9{n1 .} ==> r4c9 ≠ 3
t-whip[6]: r5n2{c3 c7} - r8c7{n2 n3} - c9n3{r8 r5} - r5n4{c9 c1} - r9c1{n4 n5} - r7c3{n5 .} ==> r4c3 ≠ 2
whip[6]: r5c9{n3 n4} - c7n4{r5 r2} - r2c4{n4 n5} - c7n5{r2 r1} - c1n5{r1 r9} - c1n4{r9 .} ==> r6c7 ≠ 3
whip[1]: b6n3{r5c9 .} ==> r5c1 ≠ 3, r5c4 ≠ 3
z-chain[4]: b4n6{r6c1 r5c1} - b4n4{r5c1 r6c2} - r6n3{c2 c5} - r6n6{c5 .} ==> r6c1 ≠ 8
z-chain-rc[5]: r5c3{n8 n2} - r7c3{n2 n5} - r9c1{n5 n4} - r5c1{n4 n6} - r5c4{n6 .} ==> r5c7 ≠ 8
t-whip[6]: r1n1{c5 c6} - b2n9{r1c6 r2c6} - c6n8{r2 r6} - r5c4{n8 n6} - c1n6{r5 r6} - c1n3{r6 .} ==> r1c5 ≠ 3
whip[1]: b2n3{r3c5 .} ==> r3c2 ≠ 3
whip[6]: c4n3{r4 r3} - c4n4{r3 r2} - c4n5{r2 r7} - r7n8{c4 c5} - r3c5{n8 n5} - c3n5{r3 .} ==> r4c4 ≠ 8
t-whip[7]: c2n3{r6 r1} - r1n7{c2 c8} - r3n7{c9 c2} - b1n9{r3c2 r3c3} - c8n9{r3 r9} - r9n6{c8 c5} - r6n6{c5 .} ==> r6c1 ≠ 3
singles ==> r6c1 = 6, r5c4 = 6, r1c1 = 3
whip[1]: r5n8{c3 .} ==> r4c3 ≠ 8
naked-single ==> r4c3 = 9
biv-chain-rc[4]: r4c4{n5 n3} - r4c2{n3 n2} - r5c3{n2 n8} - r3c3{n8 n5} ==> r3c4 ≠ 5
biv-chain[4]: b6n5{r6c7 r4c9} - r4c4{n5 n3} - r4c2{n3 n2} - r5n2{c3 c7} ==> r6c7 ≠ 2
z-chain[2]: b6n2{r6c8 r5c7} - c3n2{r5 .} ==> r7c8 ≠ 2
biv-chain[4]: r2n2{c9 c7} - r5n2{c7 c3} - b4n8{r5c3 r5c1} - r2c1{n8 n5} ==> r2c9 ≠ 5
hidden-pairs-in-a-column: c9{n5 n7}{r3 r4} ==> r3c9 ≠ 4
biv-chain[3]: c9n5{r3 r4} - r4c4{n5 n3} - b2n3{r3c4 r3c5} ==> r3c5 ≠ 5
biv-chain[4]: r4n8{c5 c8} - r4n7{c8 c9} - c9n5{r4 r3} - r3c3{n5 n8} ==> r3c5 ≠ 8
stte



2) Solution with braids, in B13. n5r2c3 is eliminated by a braid[8], after 2 simpler eliminations:

Hidden Text: Show
***********************************************************************************************
*** SudoRules 20.1.s based on CSP-Rules 2.1.s, config = B
*** Using CLIPS 6.32-r779
*** Download from: https://github.com/denis-berthier/CSP-Rules-V2.1
***********************************************************************************************
singles ==> r8c1 = 7, r5c6 = 7
182 candidates, 976 csp-links and 976 links. Density = 5.93%
braid[6]: b7n5{r7c3 r9c1} - b7n6{r9c1 r8c3} - r8c4{n6 n9} - r2n1{c3 c6} - r8c6{n1 n2} - r9c6{n9 .} ==> r7c3 ≠ 1
whip[8]: c9n7{r4 r3} - c9n5{r3 r2} - r2n2{c9 c7} - b3n4{r2c7 r3c8} - r6c8{n4 n8} - c7n8{r6 r1} - c6n8{r1 r2} - r2c1{n8 .} ==> r4c9 ≠ 2
braid[8]: c3n1{r2 r8} - c2n1{r7 r1} - r1n7{c2 c8} - r8n6{c3 c4} - b7n5{r7c3 r9c1} - r9n6{c1 c8} - c8n9{r1 r3} - b1n9{r3c3 .} ==> r2c3 ≠ 5
whip[9]: r2c1{n8 n5} - c3n5{r3 r7} - r7c4{n5 n6} - r5c4{n6 n3} - r4c4{n3 n5} - r6n5{c6 c7} - c9n5{r4 r3} - c9n7{r3 r4} - b6n3{r4c9 .} ==> r2c4 ≠ 8
whip[9]: b1n1{r2c3 r1c2} - r1n7{c2 c8} - r3n7{c9 c2} - b1n9{r3c2 r3c3} - r4c3{n9 n2} - r4c8{n2 n8} - r3c8{n8 n4} - r6c8{n4 n2} - b5n2{r6c5 .} ==> r2c3 ≠ 8
braid[13]: b1n1{r2c3 r1c2} - b7n1{r9c2 r8c3} - r8n6{c3 c4} - c4n9{r8 r3} - c2n9{r3 r4} - r1n7{c2 c8} - c8n9{r1 r9} - c9n7{r3 r4} - r9n6{c5 c1} - b7n5{r9c1 r7c3} - r7c4{n5 n8} - r5c4{n6 n3} - r4n3{c9 .} ==> r2c3 ≠ 9
naked-single ==> r2c3 = 1
braid[8]: r2n9{c6 c7} - r8c4{n9 n6} - b9n9{r9c7 r9c8} - c8n6{r9 r7} - r2n2{c7 c9} - c3n6{r8 r5} - r5n2{c9 c7} - c8n2{r9 .} ==> r3c4 ≠ 9
braid[8]: r8n6{c3 c4} - c4n9{r8 r2} - c3n5{r7 r3} - r2c1{n5 n8} - r2c6{n9 n5} - b3n5{r3c9 r1c7} - c5n6{r9 r6} - r6n5{c7 .} ==> r7c3 ≠ 6
whip[8]: r8c4{n9 n6} - b7n6{r8c3 r9c1} - b7n5{r9c1 r7c3} - r7c4{n5 n8} - r5c4{n8 n3} - r4c4{n3 n5} - b6n5{r4c9 r6c7} - c7n3{r6 .} ==> r8c7 ≠ 9
whip[1]: b9n9{r9c8 .} ==> r9c6 ≠ 9
whip[10]: r2n2{c9 c7} - r8c7{n2 n3} - b6n3{r5c7 r4c9} - c9n7{r4 r3} - c9n5{r3 r2} - b3n4{r2c9 r3c8} - r6c8{n4 n8} - b3n8{r1c8 r1c7} - c6n8{r1 r2} - r2c1{n8 .} ==> r5c9 ≠ 2
braid[8]: r5n2{c3 c7} - r7c3{n2 n5} - r8c3{n2 n6} - r9c1{n6 n4} - r5n4{c7 c9} - b9n4{r9c8 r7c8} - c8n6{r7 r9} - c8n2{r9 .} ==> r4c3 ≠ 2
braid[9]: r5c9{n3 n4} - c9n7{r4 r3} - c9n5{r4 r2} - r2n2{c9 c7} - b3n4{r3c9 r3c8} - r7n4{c9 c2} - r5n2{c7 c3} - b7n2{r8c3 r9c2} - c2n1{r9 .} ==> r4c9 ≠ 3
whip[6]: r8c3{n6 n2} - r7c3{n2 n5} - r7c4{n5 n8} - r5c4{n8 n3} - c9n3{r5 r8} - r8c7{n3 .} ==> r8c4 ≠ 6
singles ==> r8c4 = 9, r8c3 = 6
whip[3]: r8c6{n2 n1} - r9n1{c5 c2} - b7n2{r9c2 .} ==> r7c5 ≠ 2
whip[4]: r9c1{n4 n5} - r7c3{n5 n2} - r5n2{c3 c7} - c8n2{r4 .} ==> r9c8 ≠ 4
whip[5]: r9c1{n4 n5} - r7c3{n5 n2} - r5n2{c3 c7} - c8n2{r4 r9} - r9n9{c8 .} ==> r9c7 ≠ 4
whip[1]: r9n4{c2 .} ==> r7c2 ≠ 4
whip[5]: b4n6{r6c1 r5c1} - c4n6{r5 r7} - r7n8{c4 c5} - r7n5{c5 c3} - r9c1{n5 .} ==> r6c1 ≠ 4
whip[6]: r5c9{n3 n4} - c7n4{r6 r2} - r2c4{n4 n5} - c7n5{r2 r1} - c1n5{r1 r9} - c1n4{r9 .} ==> r6c7 ≠ 3
whip[1]: b6n3{r5c9 .} ==> r5c1 ≠ 3, r5c4 ≠ 3
whip[4]: r6n6{c1 c5} - r5n6{c4 c1} - b4n4{r5c1 r6c2} - r6n3{c2 .} ==> r6c1 ≠ 8
whip[5]: r5n2{c7 c3} - r7c3{n2 n5} - r9c1{n5 n4} - r5n4{c1 c9} - r5n3{c9 .} ==> r5c7 ≠ 8
braid[5]: c4n3{r4 r3} - r7n8{c4 c5} - r3c5{n8 n5} - c4n5{r4 r7} - c3n5{r7 .} ==> r4c4 ≠ 8
whip[6]: r1n1{c5 c6} - b2n9{r1c6 r2c6} - c6n8{r2 r6} - r5c4{n8 n6} - c1n6{r5 r6} - c1n3{r6 .} ==> r1c5 ≠ 3
whip[1]: b2n3{r3c5 .} ==> r3c2 ≠ 3
whip[6]: r2n9{c6 c7} - r9c7{n9 n2} - r9c6{n2 n1} - c2n1{r9 r7} - r7n2{c2 c3} - r5n2{c3 .} ==> r2c6 ≠ 5
braid[6]: b4n3{r6c2 r6c1} - r1n7{c2 c8} - r6n6{c1 c5} - r9n6{c5 c8} - c8n9{r1 r3} - b1n9{r3c3 .} ==> r1c2 ≠ 3
singles ==> r1c1 = 3, r6c1 = 6, r5c4 = 6
whip[1]: r5n8{c3 .} ==> r4c3 ≠ 8
naked-single ==> r4c3 = 9
whip[4]: c7n4{r6 r2} - r2c4{n4 n5} - r2c1{n5 n8} - r5c1{n8 .} ==> r5c9 ≠ 4
naked-single ==> r5c9 = 3
hidden-single-in-a-column ==> r8c7 = 3
whip[4]: c3n5{r3 r7} - r9n5{c1 c6} - r6n5{c6 c7} - r1n5{c7 .} ==> r3c5 ≠ 5
whip[4]: r2n2{c9 c7} - r5n2{c7 c3} - r7c3{n2 n5} - c1n5{r9 .} ==> r2c9 ≠ 5
whip[2]: c9n5{r3 r4} - c9n7{r4 .} ==> r3c9 ≠ 4
whip[4]: r3c3{n8 n5} - c9n5{r3 r4} - r4n7{c9 c8} - r4n8{c8 .} ==> r3c5 ≠ 8
stte


3) And finally, my preferred solution, with g-whips, in gW11. As I have mentioned many times, g-whips are often more effective than braids for reducing the maximal length of chains, when long whips are necessary to solve a puzzle - a situation very rare in itself.
n5r2c3 is eliminated by the same whip[11] as before, but after 4 simpler eliminations:

Hidden Text: Show
***********************************************************************************************
*** SudoRules 20.1.s based on CSP-Rules 2.1.s, config = gW+SFin
*** Using CLIPS 6.32-r779
*** Download from: https://github.com/denis-berthier/CSP-Rules-V2.1
***********************************************************************************************
singles ==> r8c1 = 7, r5c6 = 7
182 candidates, 976 csp-links and 976 links. Density = 5.93%
127 g-candidates, 817 csp-glinks and 496 non-csp glinks
whip[8]: c9n7{r4 r3} - c9n5{r3 r2} - r2n2{c9 c7} - b3n4{r2c7 r3c8} - r6c8{n4 n8} - c7n8{r6 r1} - c6n8{r1 r2} - r2c1{n8 .} ==> r4c9 ≠ 2
g-whip[8]: r2c1{n8 n5} - r3c3{n5 n9} - r4c3{n9 n2} - r5c3{n2 n6} - r6n6{c1 c5} - b5n2{r6c5 r6c6} - r8n2{c6 c789} - c8n2{r7 .} ==> r2c3 ≠ 8
whip[9]: r2c1{n8 n5} - c3n5{r3 r7} - r7c4{n5 n6} - r5c4{n6 n3} - r4c4{n3 n5} - c9n5{r4 r3} - c9n7{r3 r4} - b6n3{r4c9 r6c7} - r6n5{c7 .} ==> r2c4 ≠ 8
g-whip[9]: c8n6{r9 r7} - c8n2{r7 r456} - r5n2{c9 c3} - c3n6{r5 r8} - r9c1{n6 n5} - r7c3{n5 n1} - c2n1{r9 r1} - c5n1{r1 r9} - r9n6{c5 .} ==> r9c8 ≠ 4
whip[11]: b1n1{r2c3 r1c2} - r1n7{c2 c8} - r3n7{c9 c2} - b1n3{r3c2 r1c1} - c1n5{r1 r9} - r2c1{n5 n8} - r3c3{n8 n9} - c8n9{r3 r9} - r9n6{c8 c5} - c5n1{r9 r7} - r9n1{c6 .} ==> r2c3 ≠ 5
g-whip[11]: r1n7{c2 c8} - c9n7{r3 r4} - b6n5{r4c9 r6c7} - b6n3{r6c7 r5c789} - c1n3{r5 r6} - r6n6{c1 c5} - r5c4{n6 n8} - r6n8{c6 c8} - r4n8{c8 c3} - r3n8{c3 c5} - r7n8{c5 .} ==> r1c2 ≠ 3
t-whip[8]: r1n3{c1 c5} - r3n3{c5 c2} - c2n7{r3 r1} - r1n1{c2 c6} - r2n1{c6 c3} - r8n1{c3 c9} - r8n3{c9 c7} - r6n3{c7 .} ==> r5c1 ≠ 3
g-whip[11]: r2n1{c3 c6} - r1n1{c6 c2} - c2n7{r1 r3} - c2n9{r3 r4} - c2n3{r4 r6} - c2n2{r6 r789} - r8c3{n2 n6} - r8c4{n6 n9} - r8c6{n9 n2} - r9c6{n2 n5} - b7n5{r9c1 .} ==> r7c3 ≠ 1
g-whip[10]: r5n2{c3 c789} - c8n2{r6 r789} - r8n2{c9 c6} - c5n2{r9 r6} - b5n6{r6c5 r5c4} - r8n6{c4 c3} - r5c3{n6 n8} - r5c1{n8 n4} - r9c1{n4 n5} - r7c3{n5 .} ==> r4c3 ≠ 2
t-whip[11]: b7n1{r9c2 r8c3} - r2c3{n1 n9} - r4c3{n9 n8} - r3c3{n8 n5} - b7n5{r7c3 r9c1} - b7n6{r9c1 r7c3} - c8n6{r7 r9} - b8n6{r9c5 r8c4} - c4n9{r8 r3} - c8n9{r3 r1} - r1n7{c8 .} ==> r1c2 ≠ 1
hidden-single-in-a-block ==> r2c3 = 1
g-whip[7]: b1n9{r3c3 r1c2} - c8n9{r1 r9} - c8n6{r9 r7} - c8n2{r7 r456} - r5n2{c7 c3} - c3n6{r5 r8} - r8c4{n6 .} ==> r3c4 ≠ 9
g-whip[9]: r5n4{c9 c1} - r9n4{c1 c2} - b7n1{r9c2 r7c2} - c2n2{r7 r456} - r5n2{c3 c789} - r6c8{n2 n8} - c6n8{r6 r123} - r3n8{c4 c3} - b4n8{r4c3 .} ==> r6c7 ≠ 4
g-whip[11]: r9n9{c8 c6} - r8c4{n9 n6} - r8c3{n6 n2} - c6n2{r8 r6} - c2n2{r6 r4} - b4n3{r4c2 r6c123} - c7n3{r6 r5} - r5c4{n3 n8} - r7c4{n8 n5} - r7c3{n5 n6} - r5c3{n6 .} ==> r8c7 ≠ 9
whip[1]: b9n9{r9c8 .} ==> r9c6 ≠ 9
g-whip[7]: b7n1{r7c2 r9c2} - c2n2{r9 r456} - r5n2{c3 c789} - c8n2{r4 r789} - r7c9{n2 n1} - r8c9{n1 n3} - r8c7{n3 .} ==> r7c2 ≠ 4
whip[1]: r7n4{c9 .} ==> r9c7 ≠ 4
g-whip[7]: r3n4{c4 c789} - c7n4{r2 r5} - r5n8{c7 c123} - c3n8{r4 r5} - r5n2{c3 c9} - r6c8{n2 n8} - c6n8{r6 .} ==> r3c4 ≠ 8
t-whip[8]: r2n9{c6 c7} - r9c7{n9 n2} - r2n2{c7 c9} - r5n2{c9 c3} - r8n2{c3 c6} - r7n2{c5 c2} - c2n1{r7 r9} - c6n1{r9 .} ==> r1c6 ≠ 9
whip[1]: b2n9{r2c6 .} ==> r2c7 ≠ 9
whip[8]: c4n3{r5 r3} - c4n4{r3 r2} - c7n4{r2 r5} - r5n3{c7 c9} - r5n2{c9 c3} - r4c2{n2 n9} - r3c2{n9 n7} - r1c2{n7 .} ==> r4c5 ≠ 3
whip[8]: r6n6{c5 c1} - r5n6{c3 c4} - b5n3{r5c4 r4c4} - c4n8{r4 r7} - b8n5{r7c4 r9c6} - r9c1{n5 n4} - b4n4{r5c1 r6c2} - b4n3{r6c2 .} ==> r6c5 ≠ 5
whip[5]: c6n8{r2 r6} - r6n5{c6 c7} - r1c7{n5 n9} - r1c8{n9 n7} - r1c2{n7 .} ==> r1c5 ≠ 8
whip[8]: r6n5{c6 c7} - r1n5{c7 c1} - b7n5{r9c1 r7c3} - c4n5{r7 r4} - c9n5{r4 r3} - c9n7{r3 r4} - r4n3{c9 c2} - b1n3{r3c2 .} ==> r2c6 ≠ 5
biv-chain[5]: r8n6{c3 c4} - c4n9{r8 r2} - r2c6{n9 n8} - r2c1{n8 n5} - b7n5{r9c1 r7c3} ==> r7c3 ≠ 6
whip[7]: c3n5{r7 r3} - r2c1{n5 n8} - r2c6{n8 n9} - r2c4{n9 n4} - r3c4{n4 n3} - r3c5{n3 n8} - r7n8{c5 .} ==> r7c4 ≠ 5
whip[6]: r6n5{c7 c6} - c4n5{r4 r3} - b1n5{r3c3 r1c1} - r1n3{c1 c5} - r3c5{n3 n8} - c6n8{r1 .} ==> r2c7 ≠ 5
whip[7]: b8n5{r9c5 r9c6} - r6n5{c6 c7} - r1n5{c7 c1} - r2c1{n5 n8} - b2n8{r2c6 r1c6} - r1n1{c6 c5} - r1n3{c5 .} ==> r3c5 ≠ 5
whip[6]: r1n3{c1 c5} - r3c5{n3 n8} - c6n8{r1 r6} - r6n5{c6 c7} - r1n5{c7 c6} - r1n1{c6 .} ==> r1c1 ≠ 8
whip[7]: b5n6{r6c5 r5c4} - c4n3{r5 r3} - c4n4{r3 r2} - c7n4{r2 r5} - r5c1{n4 n8} - b1n8{r2c1 r3c3} - r3c5{n8 .} ==> r6c5 ≠ 3
whip[1]: c5n3{r3 .} ==> r3c4 ≠ 3
t-whip[7]: r6n6{c5 c1} - r5n6{c3 c4} - c4n3{r5 r4} - b4n3{r4c2 r6c2} - c2n4{r6 r9} - r9c1{n4 n5} - b8n5{r9c5 .} ==> r7c5 ≠ 6
whip[7]: c9n3{r5 r8} - c9n1{r8 r7} - b7n1{r7c2 r9c2} - c5n1{r9 r1} - r1n3{c5 c1} - r6n3{c1 c2} - c2n4{r6 .} ==> r5c7 ≠ 3
whip[7]: r7n5{c5 c3} - r3n5{c3 c9} - c9n7{r3 r4} - r4n5{c9 c4} - c4n3{r4 r5} - b6n3{r5c9 r6c7} - r6n5{c7 .} ==> r1c5 ≠ 5
whip-rc[6]: r1c5{n1 n3} - r3c5{n3 n8} - r2c6{n8 n9} - r8c6{n9 n2} - r9c6{n2 n5} - r7c5{n5 .} ==> r9c5 ≠ 1
whip[6]: r7c2{n2 n1} - c5n1{r7 r1} - r1n3{c5 c1} - r6n3{c1 c7} - r8n3{c7 c9} - c9n1{r8 .} ==> r6c2 ≠ 2
whip[7]: r1n3{c1 c5} - c5n1{r1 r7} - r7c2{n1 n2} - r8c3{n2 n6} - b4n6{r5c3 r5c1} - c4n6{r5 r7} - r7n8{c4 .} ==> r6c1 ≠ 3
singles ==> r1c1 = 3, r1c5 = 1, r3c5 = 3
whip[1]: b2n8{r2c6 .} ==> r6c6 ≠ 8
naked-pairs-in-a-block: b1{r1c2 r3c2}{n7 n9} ==> r3c3 ≠ 9
hidden-single-in-a-column ==> r4c3 = 9
x-wing-in-rows: n5{r1 r6}{c6 c7} ==> r9c6 ≠ 5
whip[1]: b8n5{r9c5 .} ==> r4c5 ≠ 5
biv-chain[3]: r2c1{n5 n8} - c6n8{r2 r1} - r1n5{c6 c7} ==> r2c9 ≠ 5
hidden-pairs-in-a-column: c9{n5 n7}{r3 r4} ==> r4c9 ≠ 3, r3c9 ≠ 4
biv-chain-bn[3]: b5n3{r4c4 r5c4} - b6n3{r5c9 r6c7} - b6n5{r6c7 r4c9} ==> r4c4 ≠ 5
singles ==> r6c6 = 5, r1c6 = 8, r2c6 = 9, r8c4 = 9, r8c3 = 6, r1c7 = 5, r3c9 = 7, r1c8 = 9, r1c2 = 7, r3c2 = 9, r4c9 = 5, r9c7 = 9, r4c8 = 7
whip[1]: r4n8{c5 .} ==> r5c4 ≠ 8, r6c5 ≠ 8
whip[1]: c6n2{r9 .} ==> r7c5 ≠ 2, r9c5 ≠ 2
finned-x-wing-in-rows: n8{r2 r6}{c1 c7} ==> r5c7 ≠ 8
whip[1]: b6n8{r6c8 .} ==> r6c1 ≠ 8
biv-chain-rc[3]: r9c5{n6 n5} - r9c1{n5 n4} - r6c1{n4 n6} ==> r6c5 ≠ 6
stte


So, yes, quite hard. Thats why I'd like to see if someone can find an AIC solution.
Last edited by denis_berthier on Mon Jul 05, 2021 6:44 am, edited 1 time in total.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Re: Fish on wave 9.3

Postby Mauriès Robert » Sat Jan 30, 2021 7:15 pm

Hi Denis,
The 5r2c3 can be eliminated from the beginning with an anti-track built on a sequence of 8 entities, like this :
E={5r7c3,1r2c3}
P'(E) : {-E}=>[ [ [5r9c1 and (1r1c2->1r2c6)->7r1c8)]->1r9c5 ]->6r9c8]->9r3c8->9r2c3 => -5r2c3
where the [] nested indicate the order of construction of the sequence.
So I think we can do the same thing with a braid, right from the beginning.
Robert
Mauriès Robert
 
Posts: 585
Joined: 07 November 2019
Location: France

Re: Fish on wave 9.3

Postby denis_berthier » Sun Jan 31, 2021 3:36 am

Mauriès Robert wrote:Hi Denis,
The 5r2c3 can be eliminated from the beginning with an anti-track built on a sequence of 8 entities, like this :
E={5r7c3,1r2c3}
P'(E) : {-E}=>[ [ [5r9c1 and (1r1c2->1r2c6)->7r1c8)]->1r9c5 ]->6r9c8]->9r3c8->9r2c3 => -5r2c3
where the [] nested indicate the order of construction of the sequence.
So I think we can do the same thing with a braid, right from the beginning.

As ordered anti-tracks are a degraded version of braids, this shouldn't be a surprise.

How to obtain this in SudoRules?
- First, load braids.
- Second, init the puzzle: (init-sudoku-string "..42....6.6..7..3.2....61..1....46...5..9..1...71....99....37...8..4..5...37....8")
- Third, ask for the wanted elimination: (try-to-eliminate-candidates 523); SudoRules gives:
braid[8]: r2n1{c3 c6} - r1n1{c6 c2} - r9n1{c2 c5} - c1n5{r1 r9} - r1n7{c2 c8} - r9n6{c1 c8} - c8n9{r1 r3} - b1n9{r3c3 .} ==> r2c3 ≠ 5

There appears to be some common points between your anti-track and the rlcs of my braid, but the difference is, almost all the useful information is missing in the anti-track.

Anyway, in such hard puzzles, I think the first elimination has to be as simple as possible. Here, a braid[6] and a whip[8] are available before this braid[8].
Moreover, there is no justification for trying n5r2c3 first.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Re: Fish on wave 9.3

Postby Mauriès Robert » Sun Jan 31, 2021 8:21 am

denis_berthier wrote:As ordered anti-tracks are a degraded version of braids, this shouldn't be a surprise.

I indicated this elimination, with an anti-track or a braid [8], to emphasize the oversized aspect of the SE elimination that you were recalling, whereas this one is quite direct.
This said, an anti-track is not comparable to a braid but rather to an S-braid where S is either an alignment (g) or a closed set (doublet, triplet, etc ...).
Moreover, as it is possible to make nested anti-tracks, one could also make comparisons with the B-braids.
denis_berthier wrote:How to obtain this in SudoRules?

I don't have Sudorules, and as you know I make resolutions by hand.
denis_berthier wrote:There appears to be some common points between your anti-track and the rlcs of my braid, but the difference is, almost all the useful information is missing in the anti-track.

I know that I'm being criticized on this site for not indicating the elements on the left in the sequence. I have explained this to myself. My writing is only a textual representation of a marking (coloring) on the puzzle where the left elements are never marked. If I make a representation of the type (-E)=>(a,A)->(b,B)-> etc... instead of (-E)=>A->B-> etc..., to avoid writing (E)=>-a->A->-b->B->etc...which is not representative of the marking, some people will find that I'm plagiarizing you when I don't have any. I conceived the notion of anti-track several years ago when I did not know of the existence of your work on whips and braids, nor AICs for that matter.
denis_berthier wrote:Anyway, in such hard puzzles, I think the first elimination has to be as simple as possible. Here, a braid[6] and a whip[8] are available before this braid[8].
Moreover, there is no justification for trying n5r2c3 first.

Of course, but by hand you don't necessarily see the simplest first. We have already discussed this.
On this puzzle, what attracts my attention is the pair 1b1. It is therefore natural that I am interested in the anti-track P'(1r2c3). This means that the target to be eliminated is one of the candidates who see 1r2c3 without being part of the anti-track. At this stage we have :
P'(1r2c3): (-1r2c3)=>(1r1c2->1r2c6)->1r9c5->...
Here is the reasoning I made.
There remain in r9 two 5's and two 6's that would allow further development of the anti-track. To rely on the 5s, we must eliminate the 5r7c3, which suggests taking E={1r2c3, 5r7c3}, but then the target is perfectly identified, it is the 5r2c3. The rest is done as I indicated in my comment.
It is generally this type of reasoning that I use: I start with a pair of candidates and progressively identify a target by constituting E.
Robert
Mauriès Robert
 
Posts: 585
Joined: 07 November 2019
Location: France

Re: Fish on wave 9.3

Postby denis_berthier » Sun Jan 31, 2021 9:36 am

Mauriès Robert wrote:
denis_berthier wrote:As ordered anti-tracks are a degraded version of braids, this shouldn't be a surprise.

I indicated this elimination, with an anti-track or a braid [8], to emphasize the oversized aspect of the SE elimination that you were recalling, whereas this one is quite direct.
This said, an anti-track is not comparable to a braid but rather to an S-braid where S is either an alignment (g) or a closed set (doublet, triplet, etc ...).
Moreover, as it is possible to make nested anti-tracks, one could also make comparisons with the B-braids.

OK, like T&E, anti-tracks are a hotpot where you can mix any ingredients.
But, in the present case, I don't see any Subset or g-candidate in yours; so, the proper comparison is with braids.

Mauriès Robert wrote:
denis_berthier wrote:There appears to be some common points between your anti-track and the rlcs of my braid, but the difference is, almost all the useful information is missing in the anti-track.

I know that I'm being criticized on this site for not indicating the elements on the left in the sequence. I have explained this to myself. My writing is only a textual representation of a marking (coloring) on the puzzle where the left elements are never marked.

What's missing most for the reader is not the llcs, but the csp-variables.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Re: Fish on wave 9.3

Postby Mauriès Robert » Sun Jan 31, 2021 10:50 am

denis_berthier wrote:OK, like T&E, anti-tracks are a hotpot where you can mix any ingredients.

No you can't call the anti-track "hodpot", nor can you say it's like the T&E. It is to deny the principles of TDP.
TDP is based on the construction of sequences using basic techniques (TB =singles, alignments, closed sets). The symbol A->B should be understood like this : If A is true, then in the resolution state obtained by placing A the TB implies that B is true too.
I know this is oversized for you, but it is not a catch-all. I could talk about S-TDP by limiting the TB to singles, and the antitracks would be comparable to your whips and braids. But that's not what I'm looking for, because my goal is not the same as yours.
We will have the opportunity to talk about it again, this thread is not the place for this debate.
denis_berthier wrote:What's missing most for the reader is not the llcs, but the csp-variables.

Ok, so I should write (-E)=>CSP1(a1,A2)->CSP2(a2,A2)->... instead of (-E)=>A1->A2-.... so that it is understandable to everyone?
For example for the puzzle of this thread :
(-E)=>1b1(c2r3,r1c2)->1b2(r1c34,r2c6)->... instead of (-E)->1r1c2->1r2c6->...
If so, why not, if it allows the readers to understand better without looking at the marking on the puzzle.
Robert
Mauriès Robert
 
Posts: 585
Joined: 07 November 2019
Location: France

Re: Fish on wave 9.3

Postby denis_berthier » Sun Jan 31, 2021 12:11 pm

Mauriès Robert wrote:
denis_berthier wrote:OK, like T&E, anti-tracks are a hotpot where you can mix any ingredients.

No you can't call the anti-track "hodpot", nor can you say it's like the T&E. It is to deny the principles of TDP.
TDP is based on the construction of sequences using basic techniques (TB =singles, alignments, closed sets). The symbol A->B should be understood like this : If A is true, then in the resolution state obtained by placing A the TB implies that B is true too.

Which is exactly what T&E(S) does, except that you keep only the assertion part of it.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Re: Fish on wave 9.3

Postby Mauriès Robert » Sun Jan 31, 2021 2:39 pm

denis_berthier wrote:
Mauriès Robert wrote:
denis_berthier wrote:OK, like T&E, anti-tracks are a hotpot where you can mix any ingredients.

No you can't call the anti-track "hodpot", nor can you say it's like the T&E. It is to deny the principles of TDP.
TDP is based on the construction of sequences using basic techniques (TB =singles, alignments, closed sets). The symbol A->B should be understood like this : If A is true, then in the resolution state obtained by placing A the TB implies that B is true too.

Which is exactly what T&E(S) does, except that you keep only the assertion part of it.

You're not going to make me believe that for a whip [15] you "see" the model otherwise than by constructing a sequence that leads to invalidity as one does with T&E(S). So you're doing what I do, except that it's the program that does it.
I understand, as we've talked about in other threads, that it's not the target that is the starting point for a whip or a braid. It's the same thing with the anti-tracks, it's a whip-partial [1] for you, a pair for me.
Robert
Mauriès Robert
 
Posts: 585
Joined: 07 November 2019
Location: France

Re: Fish on wave 9.3

Postby Mauriès Robert » Sun Jan 31, 2021 3:23 pm

denis_berthier wrote:How to obtain this in SudoRules?
1- First, load braids.
2- Second, init the puzzle: (init-sudoku-string "..42....6.6..7..3.2....61..1....46...5..9..1...71....99....37...8..4..5...37....8")
3- Third, ask for the wanted elimination: (try-to-eliminate-candidates 523); SudoRules gives:
braid[8]: r2n1{c3 c6} - r1n1{c6 c2} - r9n1{c2 c5} - c1n5{r1 r9} - r1n7{c2 c8} - r9n6{c1 c8} - c8n9{r1 r3} - b1n9{r3c3 .} ==> r2c3 ≠ 5

What would have happened if at stage 3 Sudorules had found nothing?
Robert
Mauriès Robert
 
Posts: 585
Joined: 07 November 2019
Location: France

Re: Fish on wave 9.3

Postby denis_berthier » Sun Jan 31, 2021 3:58 pm

Mauriès Robert wrote:
denis_berthier wrote:How to obtain this in SudoRules?
1- First, load braids.
2- Second, init the puzzle: (init-sudoku-string "..42....6.6..7..3.2....61..1....46...5..9..1...71....99....37...8..4..5...37....8")
3- Third, ask for the wanted elimination: (try-to-eliminate-candidates 523); SudoRules gives:
braid[8]: r2n1{c3 c6} - r1n1{c6 c2} - r9n1{c2 c5} - c1n5{r1 r9} - r1n7{c2 c8} - r9n6{c1 c8} - c8n9{r1 r3} - b1n9{r3c3 .} ==> r2c3 ≠ 5

What would have happened if at stage 3 Sudorules had found nothing?

Nothing.
Obviously, if the elimination was not available, SudoRules wouldn't do it. Function "try-to-eliminate-candidates" doesn't do more than its name suggests; in particular, it doesn't try to eliminate any other candidate than those listed as arguments.
denis_berthier
2010 Supporter
 
Posts: 3975
Joined: 19 June 2007
Location: Paris

Next

Return to Puzzles