Thirty Six Clue Puzzle

Post puzzles for others to solve here.

Re: Thirty Six Clue Puzzle

Postby SpAce » Sun Dec 20, 2020 2:42 am

Hi yzfwsf,

yzfwsf wrote:
denis_berthier wrote:z-chain[5]: c6n5{r5 r3} - r1c5{n5 n2} - r1c9{n2 n8} - b9n8{r7c9 r9c7} - c7n5{r9 .} ==> r5c9 ≠ 5

Your chain symbol will hide the details.

Absolutely correct.

I have the same chain in my solver, which looks very complicated.

The pattern you displayed is essentially the same, but not exactly. You should stick to exact ones if possible.

Cell Forcing Chain: Each candidate in r1c9 true in turn will all lead r5c9<>5
2r1c9 - r1c5 = (2-5)r3c6 = r5c6 - 5r5c9
5r1c9 - 5r5c9
8r1c9 - r7c9 = (8-5)r9c7 = r4c7 - 5r5c9

There are two slight problems with that if you want to compare it with Denis' z-chain fully accurately. First, one of its csp-variables (SIS) is different, so it's not depicting exactly the same pattern (even though it effectively does). Second, it's written as a kraken (verity) instead of a contradiction net (which is what Denis' z-chains are), which of course is just a different perspective for the same thing.

Both are inconsequential differences that shouldn't make any difference to anyone who understands such equivalences, but in this case that can't be assumed, because anything you say can and will be used against you (or at least against me).

Your kraken translates to this triangular matrix (5x5 TM):

Code: Select all
c6n5| 5r5c6 5r3c6
b2n2| . . . 2r3c6 2r1c5
r1c9| 5r1c9 . . . 2r1c9 8r1c9
b9n8| . . . . . . . . . 8r7c9 8r9c7
c7n5| 5r4c7 . . . . . . . . . 5r9c7
===================================
     -5r5c9

The only difference between that and Denis' z-chain is the second SIS (csp-variable) which should be r1c5 instead of b2n2. The exact matrix (5x5 TM) for his z-chain:

Code: Select all
c6n5| 5r5c6 5r3c6
r1c5| . . . 5r1c5 2r1c5
r1c9| 5r1c9 . . . 2r1c9 8r1c9
b9n8| . . . . . . . . . 8r7c9 8r9c7
c7n5| 5r4c7 . . . . . . . . . 5r9c7
===================================
     -5r5c9

There are several perspectives to see and write the logic contained in that TM. Denis' z-chain is one of them, depicting it as a contradiction net (but like you said, hiding essential details making it look simpler than it is). Your kraken-cell is another, if the one csp-variable is changed:

2r1c9 - (2=5)r1c5 - r3c6 = r5c6 - 5r5c9
5r1c9 - 5r5c9
8r1c9 - r7c9 = (8-5)r9c7 = r4c7 - 5r5c9

However, to make it match more closely the logic of the z-chain, it should be written as a contradiction net. Simply flipping it around won't do, though, because that would put the contradiction in the cell r1c9 (which of course works too, but it's not the same):

Code: Select all
                                         [!]r1c9
                                         ||
         .- (5)r5c6 = r3c6 - (5=2)r1c5 - (2)r1c9
        /                                ||
(5)r5c9 -------------------------------- (5)r1c9
        \                                ||
         `- (5)r4c7 = (5-8)r9c7 = r7c9 - (8)r1c9

=> -5r5c9

In the z-chain the contradiction is in the column 5c7. Thus, the exactly equivalent contradiction net is this:

Code: Select all
         .------------------------- (5)r1c9
        /                           ||
(5)r5c9 - r5c6 = r3c6 - (5=2)r1c5 - (2)r1c9            (5)r[!]c7
        \                           ||                 ||
         \                          (8)r1c9 - r7c9 = (8-5)r9c7
          \                                            ||
           '-------------------------------------------(5)r4c7

=> -5r5c9

In any case, the TM is the most neutral way to depict the pattern, allowing many different interpretations. Yet no matter how it's read, the result is a net of some kind. It doesn't change anything; calling it a simple chain that is "in essence" equivalent to a basic AIC. That's ridiculous, of course, even in the case of of such a simple z-chain with just one z-candidate. The simplest ways to write it as an AIC require nesting:

(5)r1c9 = [(5)r5c6 = r3c6 - (5=2)r1c5 - (2=8)r1c9 - r7c9 = (8-5)r9c7 = (5)r4c7] => -5 r5c9

or:

(5)r5c6 = r3c6 - (5=2)r1c5 - r1c9 = [(5=8)r1c9 - r7c9 = (8-5)r9c7 = (5)r4c7] => -5 r5c9

That's not trivial logic, and writing it as a z-chain doesn't change that fact in any way. It only hides the complexity by abstracting away the z-candidate (5r1c9).
-SpAce-: Show
Code: Select all
   *             |    |               |    |    *
        *        |=()=|    /  _  \    |=()=|               *
            *    |    |   |-=( )=-|   |    |      *
     *                     \  ¯  /                   *   

"If one is to understand the great mystery, one must study all its aspects, not just the dogmatic narrow view of the Jedi."
User avatar
SpAce
 
Posts: 2671
Joined: 22 May 2017

Re: Thirty Six Clue Puzzle

Postby denis_berthier » Tue Jul 20, 2021 10:50 am

DEFISE wrote:My "Few Steps" program => 5 whips[<=5]
Hidden Text: Show
XWing: r2-r8-n5-p38 => -5r1c3 -5r3c3 -5r3c8 -5r4c8 -5r7c3 -5r9c3
XWing: c4-c7-n5-p49 => -5r4c5 -5r4c6 -5r4c9 -5r9c6
whip[5]: r9c7{n8 n5}- b6n5{r4c7 r5c9}- r1c9{n5 n2}- r1c5{n2 n5}- c6n5{r3 .} => -8r7c9
Single: 8r9c7
Single: 6r6c7
Single: 5r4c7
Single: 2r4c4
Single: 5r9c4
whip[3]: r7c5{n7 n2}- r1c5{n2 n5}- c9n5{r1 .} => -7r7c9
Single: 5r7c9
Single: 7r8c8
Single: 6r8c1
Single: 5r8c3
Single: 2r2c3
Single: 5r2c8
whip[5]: r3c8{n8 n2}- r1n2{c9 c5}- r7c5{n2 n7}- r6c5{n7 n1}- r6c8{n1 .} => -8r4c8
Single: 1r4c8
Naked pair: 28-r6c2-r6c8 => -8r6c3 -2r6c9 -8r6c9
whip[3]: c2n2{r5 r7}- c5n2{r7 r1}- c9n2{r1 .} => -2r5c1
Single: 7r5c1
Alignment: 2-c1-b7 => -2r7c2
whip[5]: r3c8{n8 n2}- r1c9{n2 n8}- r1c1{n8 n3}- r9c1{n3 n2}- c6n2{r9 .} => -8r6c8
STTE 


Using my new fewer-steps algorithm (inspired by yours), I find a resolution path on the first try with really 5 steps in W5 (same max length as in the simplest-first strategy):
Code: Select all
Resolution state after Singles and whips[1]:
   +----------------------------+----------------------------+----------------------------+
   ! 2368     23568    23568    ! 7        25       1        ! 9        4        258      !
   ! 9        7        25       ! 6        8        4        ! 1        25       3        !
   ! 1        2458     2458     ! 9        3        25       ! 7        258      6        !
   +----------------------------+----------------------------+----------------------------+
   ! 234678   23468    12346789 ! 25       12567    2579     ! 568      12578    25789    !
   ! 267      26       12679    ! 8        12567    2579     ! 4        3        2579     !
   ! 5        268      126789   ! 4        1267     3        ! 68       1278     2789     !
   +----------------------------+----------------------------+----------------------------+
   ! 2478     2458     24578    ! 1        257      6        ! 3        9        578      !
   ! 67       9        567      ! 3        4        8        ! 2        57       1        !
   ! 2378     1        23578    ! 25       9        257      ! 58       6        4        !
   +----------------------------+----------------------------+----------------------------+

1) whip[5]: c7n5{r4 r9} - b8n5{r9c6 r7c5} - r1c5{n5 n2} - r1c9{n2 n8} - b9n8{r7c9 .} ==> r5c9 ≠ 5
whip[1]: r5n5{c6 .} ==> r4c4 ≠ 5, r4c5 ≠ 5, r4c6 ≠ 5
naked-single ==> r4c4 = 2
naked-single ==> r9c4 = 5
naked-single ==> r9c7 = 8
naked-single ==> r6c7 = 6
naked-single ==> r4c7 = 5

2) biv-chain-rc[3]: r1c5{n5 n2} - r7c5{n2 n7} - r7c9{n7 n5} ==> r1c9 ≠ 5
hidden-single-in-a-column ==> r7c9 = 5
naked-single ==> r8c8 = 7
naked-single ==> r8c1 = 6
naked-single ==> r8c3 = 5
naked-single ==> r2c3 = 2
naked-single ==> r2c8 = 5

3) biv-chain[4]: r6c5{n1 n7} - b8n7{r7c5 r9c6} - c6n2{r9 r3} - c8n2{r3 r6} ==> r6c8 ≠ 1
hidden-single-in-a-block ==> r4c8 = 1

4) biv-chain[4]: r6c2{n2 n8} - c8n8{r6 r3} - b3n2{r3c8 r1c9} - c5n2{r1 r7} ==> r7c2 ≠ 2
whip[1]: b7n2{r9c1 .} ==> r5c1 ≠ 2
naked-single ==> r5c1 = 7

5) biv-chain[4]: r1c9{n2 n8} - r1c1{n8 n3} - r9c1{n3 n2} - c6n2{r9 r3} ==> r3c8 ≠ 2, r1c5 ≠ 2
stte

[Edit] 3 more tries don't give fewer steps.
denis_berthier
2010 Supporter
 
Posts: 4213
Joined: 19 June 2007
Location: Paris

Previous

Return to Puzzles