Is yours an answer to my previous question
Mino21 wrote:About strong link, why OR and not XOR?
?
Anyway sorry, but I don't understand what you mean
Mino21 wrote:About strong link, why OR and not XOR?
.---------.---------.---------.
| 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 |
:---------+---------+---------:
| 1 1 1 | x x x | x 1 x |
| 1 x x | x x x | x x x |
| 1 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 |
| 1 x x | x x x | x x x |
'---------'---------'---------'
Mino21 wrote:About strong link, why OR and not XOR?
c1 c2 c3
+---+---+---+
r1 | x | x | x |
r2 | | x | |
r3 | | x | |
+---+---+---+
Mino21 wrote:ignoring singles-nodes cases, we can only have the following 2 cases:
c1 c2 c3
+---+---+---+
r1 | x | x | x |
r2 | | x | |
r3 | | x | |
+---+---+---+
r1c123 == r123c2
c1 c2 c3
+---+---+---+
r1 | x | x | x |
r2 | | x | |
r3 | | x | x |
+---+---+---+
r1c123 -- r123c2
Mino21 wrote:About strong link, why OR and not XOR?
Mino21 wrote:Specifically why is this wrong?
Mino21 wrote:If we have
- Code: Select all
c1 c2 c3
+---+---+---+
r1 | x | x | x |
r2 | | x | |
r3 | | x | |
+---+---+---+
r1c123 == r123c2
or
- Code: Select all
c1 c2 c3
+---+---+---+
r1 | x | x | x |
r2 | | x | |
r3 | | x | x |
+---+---+---+
r1c123 -- r123c2
and r1c2 is true, we have a contradiction in both the case of strong and weak link, cause the logical inference A=>!B is not respected. Or am I wrong?
Mino21 wrote:b) a valid loop must have the following characteristics:
- at least 4 nodes;
- at least a weak link;
- at most an even subsequence of consecutive strong links or a subsequence of two consecutive weak links;
- (any number of odd subsequences of consecutive strong links).
| X * X | \ \ \ | \ X \
|. X. |
|. X. |
_____
|. /. |
|. X. |. - X
|. \. |
Cenoman wrote:I insist: A strong link is equivalent to the logical equation A OR B = TRUE
Note that A XOR B = True => A OR B = True (but the reverse is false !) Hence, A XOR B = True => strong link A = B
(and also, yes, A XOR B = True => A NAND B = True i.e. weak link A - B, but only if A XOR B = True)
Mino21 wrote:only two candidates in an unit imply a strong link and hence the following two logical implications:
- Code: Select all
A => !B
!A => B
more than two candidates in a unit imply a weak link and hence the only following logical implication:
- Code: Select all
A => !B
Cenoman wrote:Nothing wrong in your case 1, case 2
Just note that, if the blue link is a strong link, that means you are considering an x-cycle rule 2 (following Sudokuwiki presentation), which infers that the node between the two strong links, minirow r1c123 in case 1, minicolumn r123c2 in case 2, is True, other two candidates in the box being eliminated.
Cenoman wrote:You are half wrong:
- wrong for the contradiction in the case of the strong link. Xr1c123 = Xr123c2 is a valid strong link, if you consider the OR operator (and not the XOR)
- right for the contradiction in the case of the weak link. Xr1c123 - Xr123c2 is an invalid weak link, as the two groups are not disjoint (overlap cell r1c2)
The ambiguous strong link r1c123 == r123c2 can be avoided by splitting the nodes as you did in your case 1, case 2 diagrams. The results of the chains built with these will be the same, notably if your blue links are weak links, typically in Empty Rectangle patterns.
yzfwsf wrote:Strong and weak links must alternate. Because a strong link is not a substitute for a weak link in all cases. If you keep doing it this way, you will make mistakes when you need to add an ALS node.
A==B means that A and B cannot be false at the same time, but can be both true。
A--B means that A and B cannot be true at the same time, but can be both false。
For group nodes, you'd better make sure that they cannot share cells.
StrmCkr wrote:If your using the box as an internal strong link then the next links must be weak on both row and col
Even if you don't want to prove why my logic is wrong,
Grouped X-Chain: 1r1c123 = r1c7 - r3c9 = r9c9 - r9c13 = r8c2 - r123c2 = 1r1c13 => r23c2,r1c7<>1