Hi, colleagues!
I am not quit ready to discuss terminology concerning maximal (exclusive/invalid) patterns. I think the term "invalid" is not quit good, because it is almost equivalent to the words "wrong", "forbidden", "erroneous", "incorrect", etc. - to the words having negative sense. But I treat considered property of patterns as useful and being worth studying.
Nevertheless I'd like to present the last part of my investigation.
Let's consider the class of patterns having 2 whole filled bands and having only one empty box in the rest band. The task to find all possible patterns combinations of boxes B1 and B2 having (or not having) valid puzzles looks much more difficult than similar task for box B1 alone, but on the contrary it is much simpler task. Thanks to
coloin, published valid puzzle (thread "Two-boxes unavoidable sets" at setbb.com/sudoku forum) having 2 whole filled bands (boxes B4-B9) and having only 2 filled cells in boxes B1 and B2. I was very surprising to see such puzzle. That
coloin's publication simplified my task substantially. Here is example of such valid puzzle.
- Code: Select all
+-----+-----+-----+
|. . .|. . .|. . .|
|. . .|1 . .|. . .|
|7 . .|. . .|. . .|
+-----+-----+-----+
|2 1 4|3 5 6|7 8 9|
|3 6 5|8 9 7|2 1 4|
|8 9 7|2 1 4|3 6 5|
+-----+-----+-----+
|5 3 1|4 6 2|9 7 8|
|6 4 2|9 7 8|5 3 1|
|9 7 8|5 3 1|6 4 2|
+-----+-----+-----+
The same in linear form:
- Code: Select all
............1.....7........214356789365897214897214365531462978642978531978531642
So, even simplest possible pattern for non-empty boxes B1 and B2 has valid puzzles! But, obviously, if all filled cells occupy the same row, pattern has no valid puzzles (because of 2 empty rows in the band B123).
The same rule can be formulated for the class of patterns having 2 whole filled bands and having no empty boxes in the rest band.
If all filled cells are located in the same (one) row, the pattern has no valid patterns. Otherwise it has valid puzzles.
Let's find maximal patterns for the most general case, when band B123 is not empty (the band can contain no more than 2 empty boxes).
Patterns
- 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 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 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 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 x x|x x x|x x x|
+-----+-----+-----+ +-----+-----+-----+
are still maximal for considered (more general) class - the class of patterns having 2 whole filled bands and arbitrary the rest band. If we add 1 filled cell in the box B2 or in the box B3, the pattern will have valid puzzles (see example above). Both patterns will have valid puzzles if we'll add 1 filled cell in the box B1. So, both patterns are maximal. We must add one more maximal pattern for the considered class of pattern. It is pattern having 1 whole filled row and 2 empty rows in the band B123:
- 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|
|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|
|x x x|x x x|x x x|
+-----+-----+-----+
So, resulting "separation rule" for rather general class of patterns having 2 whole filled bands and arbitrary contents in the rest band can be formulated in a such way.
Each pattern having 2 whole filled bands and arbitrary contents in the rest band has no valid puzzles if it can be reduced to maximal exclusive patterns subset by rows/columns permutations in the B123 band. If it cannot be reduced to maximal exclusive patterns subset, it has valid puzzles.
I could find 3 maximal patterns only for the considered class of patterns (all of them are published in this post).
It is worth noting that pattern
- 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|
+-----+-----+-----+
|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|
+-----+-----+-----+
having 3 empty boxes in the band B123 is subset of all 3 maximal patterns, so it has no valid puzzles (obviously).
That's all I want to say about one-band-free patterns.
Serg