claudiarabia wrote:To answer Rons question, an x-cycle is never identical with an y-cycle.
Agreed, I was erroneously referring to a pure cycle of conjugate links as an X-cycle. My post with the illustrations has been corrected.
claudiarabia wrote:To answer Rons question, an x-cycle is never identical with an y-cycle.
claudiarabia wrote:You don't minimize the numbers within the cycle cells
r1c5=8=r1c7=3=r5c7-3-r5c6-9-r6c6-2-r6c1=2=r3c1-2-r3c5=2=r1c5
+-------------------+-------------------+----------------------+
| 5 269 2679 | 4 28* 1 | 38-67* 3679 679 |
| 149 8 1679 | 3579 37 35-9 | 467 2 45679 |
| 249* 49-2 3 | 579 28* 6 | 478 4579 1 |
+-------------------+-------------------+----------------------+
| 7 126 126 | 138 5 238 | 9 1346 46 |
| 8 1569 4 | 17-93 7-3 39* | 136* 156-3 2 |
| 129* 3 159-2 | 6 4 29* | 17 8 57 |
+-------------------+-------------------+----------------------+
| 149 149 8 | 2 6 7 | 5 149 3 |
| 3 7 259 | 58 1 458 | 246 469 469 |
| 6 1245 125 | 35 9 345 | 1247 147 8 |
+-------------------+-------------------+----------------------+
2=r1c5=8=r1c7=3=r5c7-3-r5c6-9-r6c6-2-r6c1=2=r3c1-2-r3c5=2=r1c5
daj95376 wrote:Also, by starting with the correct value, you don't have to worry about running into any ole nasty contradictory logic.
[...]
2=r1c5=8=r1c7=3=r5c7-3-r5c6-9-r6c6-2-r6c1=2=r3c1-2-r3c5=2=r1c5
ronk wrote:gsf wrote:any kind of comment ( rubbish, been there done that, incomprehensible ) besides pin drop would be nice
Sorry, math tends to make my eyes glaze over, but I'll give it a go anyway.
Mike Barker wrote:claudiarabia wrote:You don't minimize the numbers within the cycle cells
That's not necessarily true when you progress to full nice loops. For example in your example:
- Code: Select all
r1c5=8=r1c7=3=r5c7-3-r5c6-9-r6c6-2-r6c1=2=r3c1-2-r3c5=2=r1c5
+-------------------+-------------------+----------------------+
| 5 269 2679 | 4 28* 1 | 38-67* 3679 679 |
| 149 8 1679 | 3579 37 35-9 | 467 2 45679 |
| 249* 49-2 3 | 579 28* 6 | 478 4579 1 |
+-------------------+-------------------+----------------------+
| 7 126 126 | 138 5 238 | 9 1346 46 |
| 8 1569 4 | 17-93 7-3 39* | 136* 156-3 2 |
| 129* 3 159-2 | 6 4 29* | 17 8 57 |
+-------------------+-------------------+----------------------+
| 149 149 8 | 2 6 7 | 5 149 3 |
| 3 7 259 | 58 1 458 | 246 469 469 |
| 6 1245 125 | 35 9 345 | 1247 147 8 |
+-------------------+-------------------+----------------------+
Because the loop is continuous, the adjacent colors: r1c5=8=r1c7=3=r5c7 imply that r1c7=38. (You can think of a weak link existing between the 3 and 8 in r1c7 so the other candidates in the cell can be eliminated). Eliminations can also occur in cells adjacent to the discontinuity in a discontinuous nice loop.
claudiarabia wrote:On the other Hand in some cells of the cycle you have only one candidate, which is cycle-relevant as for instance 2 in r6c1 , r3c1 or the only-cycle-candidate 3 in r5c7. In these cells there is no possibility of such an elimination because these cells have the character of the part of a bi-directional x-cycle.
Michael Mepham Unsolvable #13
...2.1.3.3...5...8....4...5.....8.7...4.3.1...9.5...2.9...8....6.......7.3.9.5...
After SSTS and r2c6<>6:
*4578 -45678 56789 | 2 *679 1 |-4679 3 *469
3 12467 12679 |*67 5 *79 | 24679 1469 8
127 1267 12679 | 8 4 3 | 2679 169 5
--------------------+-------------------+-------------------
125 1256 12356 | 14 29 8 | 4569 7 3469
2578 25678 4 |*67 3 *29 | 1 5689 *69
178 9 13678 | 5 16-7 467 | 468 2 346
--------------------+-------------------+-------------------
9 12457 1257 | 134 8 67 | 3456 456 12
6 1458 158 | 134 12 24 | 345-89 45-89 7
*1247-8 3 127-8 | 9 *67 5 |*468 *468 12
gsf wrote:thanks to claudia and the others for going over cycle/chain details
it exposed a flaw in my Y cycle code that only handled bivalue cells (and not bilocation candidates)
I reformulated the algorithm for degree-2 candidates (bivalue/bilocation) and it sped up 2X as a bonus
many puzzles that I had missed now fall to y-cycles and y-knots (Y contradiction chains)
. 4 9 . . 2 5 . 3
. . 1 . 4 9 . . .
. . 2 3 . . 4 . .
. 9 . . . . . . .
. . 3 . . . 2 7 6
6 . 7 . . 5 . . .
. . 6 . . 1 . . .
. 3 . . . . 7 4 .
. 8 . . . . . 6 .
*--------------------------------------------------------------------*
| 78 4 9 | 1678 1678 2 | 5 18 3 |
| 3 57 1 | 578 4 9 | 6 2 78 |
| 578 6 2 | 3 1578 78 | 4 189 789 |
|----------------------+----------------------+----------------------|
| 24 9 8 | 267 267 467 | 13 35 15 |
| 45 15 3 | 189 189 48 | 2 7 6 |
| 6 12 7 | 12 3 5 | 89 89 4 |
|----------------------+----------------------+----------------------|
| 279 27 6 | 4 25789 1 | 389 35 2589 |
| 129 3 5 | 2689 2689 68 | 7 4 1289 |
| 1279 8 4 | 2579 2579 3 | 19 6 1259 |
*--------------------------------------------------------------------*
ravel wrote:... or one contradiction chain:r3c1=5 => r5c1=4 => r5c6=8 => r3c6=7 => r2c9=7 => r2c4=8 => r3c5=5
- Code: Select all
*--------------------------------------------------------------------*
| 78 4 9 | 1678 1678 2 | 5 18 3 |
| 3 57 1 | 578 4 9 | 6 2 78 |
| 578 6 2 | 3 1578 78 | 4 189 789 |
|----------------------+----------------------+----------------------|
| 24 9 8 | 267 267 467 | 13 35 15 |
| 45 15 3 | 189 189 48 | 2 7 6 |
| 6 12 7 | 12 3 5 | 89 89 4 |
|----------------------+----------------------+----------------------|
| 279 27 6 | 4 25789 1 | 389 35 2589 |
| 129 3 5 | 2689 2689 68 | 7 4 1289 |
| 1279 8 4 | 2579 2579 3 | 19 6 1259 |
*--------------------------------------------------------------------*
claudiarabia wrote:
Here is another puzzle with the rare ER-rating of 7,0 from my ugly-but-fascinating-betty-collection.
- Code: Select all
. 4 9 . . 2 5 . 3
. . 1 . 4 9 . . .
. . 2 3 . . 4 . .
. 9 . . . . . . .
. . 3 . . . 2 7 6
6 . 7 . . 5 . . .
. . 6 . . 1 . . .
. 3 . . . . 7 4 .
. 8 . . . . . 6 .
You can solve it with 3 xy-wings and one bi-directional cycle.
*--------------------------------------------------------------------*
| 78 4 9 | 1678- 1678- 2 | 5 18 3 |
| 3 57 1 | 57(8) 4 9 | 6 2 (78) |
| 57-8 6 2 | 3 157-8- (78) | 4 189 (7)89 |
|----------------------+----------------------+----------------------|
| 24 9 8 | 267 267 467 | 13 35 15 |
| 45 15 3 | 189 189 48 | 2 7 6 |
| 6 12 7 | 12 3 5 | 89 89 4 |
|----------------------+----------------------+----------------------|
| 279 27 6 | 4 25789 1 | 389 35 2589 |
| 129 3 5 | 2689 2689 68 | 7 4 1289 |
| 1279 8 4 | 2579 2579 3 | 19 6 1259 |
*--------------------------------------------------------------------*