marek stefanik wrote:If your aim is to use DPs to solve valid puzzles, they only have one solution grid.denis_berthier wrote:such that P has several different solution grids
I explicity stated that P may be multi-sol.
marek stefanik wrote:If your aim is to use DPs to solve valid puzzles, they only have one solution grid.denis_berthier wrote:such that P has several different solution grids
Serg wrote:what does the term "resolution state" mean? (In Sudoku puzzles solving context)
I don't understand your comment "which is ensured by the fact that RS is a resolution state of P". What do you mean?
By your definition, this is not a DP as the puzzle has only one solution grid (which doesn't even contain a corresponding unavoidable set).Cenoman wrote:
- Code: Select all
+--------------------+-----------------------+-------------------------+
| 12* 12* 3 | 4 5 6 | 7 8 9 |
| 45 45 7 | 1 8 9 | 26 3 26 |
| 6 9 8 | 3 2 7 | 145 145 45 |
+--------------------+-----------------------+-------------------------+
| 12* 12+8* 45 | 69 369 18 | 36 45 7 |
| 458 3 6 | 2 7 458 | 458 9 1 |
| 7 1458 9 | 568 1346 1458 | 34568 2 4568 |
+--------------------+-----------------------+-------------------------+
| 3 6 45 | 5789 149 1458 | 124589 1457 2458 |
| 458 7 2 | 589 149 3 | 14589 6 458 |
| 9 458 1 | 5678 46 2 | 458 457 3 |
+--------------------+-----------------------+-------------------------+
2. UR(12)r14c12, using single internal => +8 r4c2; lcls, 7 placements
marek stefanik wrote:By your definition, this is not a DP as the puzzle has only one solution grid (which doesn't even contain a corresponding unavoidable set).
But your definition requires P to have multiple solution grids, which is not the case.denis_berthier wrote:
- Code: Select all
A deadly pattern (DP) in some resolution state RS of a consistent but possibly multi-solution Sudoku puzzle P is a pair (S, C) of sets – a set S of cells and the set C of their sets of candidates in RS – such that P has several different solution grids:
– which coincide outside S but differ pairwise by all their values in S;
– and compatible with (S, C), i.e. for which the value in any cell of S belongs to the corresponding set of candidates in C (which is ensured by the fact that RS is a resolution state of P).
denis_berthier wrote:This is not a DP.
Definition: a deadly pattern (DP) in some resolution state RS of a consistent but possibly multi-solution Sudoku puzzle P is a pair (S, C) of sets – a set S of cells and the set C of all their (nrc) candidates in RS – such that:
–-- P has several different solution grids which coincide outside S but differ pairwise by at least one value in a cell of S;
–-- any element of C appears in at least one of the solutions.
Note that, because RS is a resolution state of P, any solution can only be compatible with (S, C), i.e. for any solution the value of any cell in S belongs to the corresponding set of candidates in C.
Definition: a deadly pattern (S, C) is minimal if there is no strictly smaller deadly pattern, i.e. with smaller S or with fewer candidates in C.
Definition: a deadly pattern (S, C) is minimal if there is no strictly smaller deadly pattern, i.e. with smaller S or with fewer candidates in C.
As no deadly pattern can ever appear in a single-solution puzzle, DPs can have a direct application in solving puzzles (provided that one accepts the assumption of uniqueness): when one finds something close to a DP, i.e. a DP with additional candidates (guardians), one can assert a disjunction of the guardians (an OR relation between the guardians). From there, everything can work as with impossible patterns.
,------------,---------,---------,
| 12 12 05 | 3 4 6 | 7 8 9 |
| 6 34 34 | 7 8 9 | 1 2 5 |
| 7 8 9 | 1 2 5 | 3 4 6 |
:------------+---------+---------:
| 12 12 6 | 4 3 7 | 5 9 8 |
| 8 34 34 | 9 5 1 | 2 6 7 |
| 9 5 7 | 2 6 8 | 4 1 3 |
:------------+---------+---------:
| 3 6 1 | 8 7 2 | 9 5 4 |
| 4 9 8 | 5 1 3 | 6 7 2 |
| 5 7 2 | 6 9 4 | 8 3 1 |
'------------'---------'---------'
marek stefanik wrote:Eleven's definition is a nice way to cover most (if not all) DPs without internal contradictions.
That is also it's weakness, in some sense, as because of this generality, it cannot tell you anything about what DPs actually look like.
Should be: with more candidates in C. The givens in a DP are its non-candidates, i.e. the complement of the pencilmarks.denis_berthier wrote:Definition: a deadly pattern (S, C) is minimal if there is no strictly smaller deadly pattern, i.e. with smaller S or with fewer candidates in C.
Formally, a deadly pattern is a collection of cells and their candidates that ...
... have multiple solutions ...
... each of which have the same footprint ...
... but no (cell,value) pairs in common
. 12 . | . 213 . | . . .
. 123 . | . 32 . | 3 . .
. 31 . | . 13 . | . . .