Is there any information about sudoku with the maximal number of clues
such that removal of anyone of those makes the sudoku
unsolvable??
giant wrote:Is there any information about sudoku with the maximal number of clues
such that removal of anyone of those makes the sudoku
unsolvable??
12...67..
78.12.45.
4.......3
.3..6489.
....9..31
8..2.....
3.2.45...
64.97....
.....2.4.
found by randomly deleting clues from the "canonical" grid.
dukuso wrote:here is one with 32 clues:
*-----------*
|.2.|.48|.6.|
|468|3.1|.7.|
|...|7..|...|
|---+---+---|
|914|8..|...|
|286|1..|3.9|
|...|...|...|
|---+---+---|
|83.|6..|59.|
|.7.|...|...|
|6.9|28.|73.|
*-----------*
#
020048060468301005000700000914800000286100309000000000800600590070000000640285730
020048060468301005000700000914800000286100309000000000830600590070000000600285730
020048060468301005000700000914800000286100309000000000830600590070000000609280730
020048060468301005000700000914800600286100009000000000830600590070000000609280730
020048060468301005000700000984100000216800309000000000800600590070000000640285730
020048060468301005000700000984100000216800309000000000830600590070000000600285730
020048060468301005000700000984100000216800309000000000830600590070000000609280730
020048060468301005000700000984100600216800009000000000830600590070000000609280730
020048060468301070000700000914800000286100309000000000800600590070000000640285730
020048060468301070000700000914800000286100309000000000800600590070000000649280730
020048060468301070000700000914800000286100309000000000830600590070000000600285730
020048060468301070000700000914800000286100309000000000830600590070000000609280730
020048060468301070000700000984100000216800309000000000800600590070000000640285730
020048060468301070000700000984100000216800309000000000800600590070000000649280730
020048060468301070000700000984100000216800309000000000830600590070000000600285730
020048060468301070000700000984100000216800309000000000830600590070000000609280730
+---+---+---+
|.2.|...|...|
|...|...|..5|
|39.|7.6|8..|
+---+---+---+
|...|...|6..|
|.1.|.5.|..9|
|7..|...|...|
+---+---+---+
|8..|...|...|
|...|91.|...|
|6..|...|73.|
+---+---+---+ 18 clues
+---+---+---+
|.2.|.48|.6.|
|468|3.1|..5|
|...|7..|...|
+---+---+---+
|984|1..|6..|
|216|8..|..9|
|...|...|...|
+---+---+---+
|83.|6..|59.|
|.7.|...|...|
|6.9|28.|73.|
+---+---+---+ 33 clues [from previous post]
+---+---+---+
|.2.|.48|.6.|
|468|3.1|..5|
|...|7..|...|
+---+---+---+
|984|1..|6..|
|216|8..|..9|
|...|...|...|
+---+---+---+
|83.|6..|59.|
|.7.|...|...|
|6.9|28.|73.|
+---+---+---+
+---+---+---+
|igi|igg|igi|
|ggg|gig|iig|
|iii|gii|iii|
+---+---+---+
|ggg|gii|gii|
|ggg|gii|iig|
|iii|iii|iii|
+---+---+---+
|ggi|gii|ggi|
|igi|iii|iii|
|gig|ggi|ggi|
+---+---+---+
{g1,i,i,i,i,i,i}
........
{g2+i,i,i,i,i,i,i,i,i,i,i,i,....}
{g3+i,i,i,i,i,i,i,i,i,i,i,i,.....}
{g4+i,i,i,i,i,i,i,i,i,i,i,i,....}
........
{i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,i,g30,i}
{i,i,i,i,g33,i}
+---+---+---+
|.2.|...|9..|
|...|.9.|2..|
|.9.|.2.|...|
+---+---+---+
|...|...|...|
|...|...|...|
|...|...|...|
+---+---+---+
|...|...|...|
|...|...|...|
|...|...|...|
+---+---+---+ only the 2 in r1c2 is in the 33 puzzle
+---+---+---+
|1..|5..|9..|
|...|.9.|2..|
|..5|.2.|.14|
+---+---+---+
|...|..2|.5.|
|...|.57|.4.|
|...|4..|12.|
+---+---+---+
|..1|.74|..2|
|..2|91.|4..|
|...|2.5|...|
+---+---+---+only the 2 in r9c4 is in the 33 puzzle
coloin wrote:I think there will be found 33 unavoidable sets each of which will contain only ONE of the given clues. [Otherwise it wont be minimal]
coloin wrote:Am I assuming that each final clue in a maximum only hits one unavoidable set ? Yes this would appear to be so - I will check the rest of the clues.
Moschopulus wrote:coloin wrote:I think there will be found 33 unavoidable sets each of which will contain only ONE of the given clues. [Otherwise it wont be minimal]
Yes, for each clue in a minimal puzzle, there is an unavoidable set that contains only that clue and no other clues.
In a valid puzzle, the set of clues hits every unavoidable set.
In a minimal puzzle, removing any clue leaves an unavoidable set that is not hit by the remaining clues, because there are multiple solutions. That unavoidable set must have contained only that clue.
+---+---+---+
|.2.|.48|.6.|
|468|3.1|..5| <-6,3,5
|...|7..|...|
+---+---+---+
|984|1..|6..|
|216|8..|..9|
|...|...|...|
+---+---+---+
|83.|6..|59.| <-9
|.7.|...|...|
|6.9|28.|73.| <-9
+---+---+---+
The five pseudos correspond to these minimal unavoidable sets:
#1 - Size 6: 11-14-20-24-50-51
+-----------+
|...|...|...|
|.6.|.9.|...|
|.9.|..6|...|
|---+---+---|
|...|...|...|
|...|...|...|
|...|.69|...|
|---+---+---|
|...|...|...|
|...|...|...|
|...|...|...|
+-----------+
#2 - Size 10: 13-14-23-24-32-33-50-51-67-69
+-----------+
|...|...|...|
|...|39.|...|
|...|.26|...|
|---+---+---|
|...|.32|...|
|...|...|...|
|...|.69|...|
|---+---+---|
|...|...|...|
|...|9.3|...|
|...|...|...|
+-----------+
#3 - Size 4: 30-31-42-43
+-----------+
|...|...|...|
|...|...|.75|
|...|...|...|
|---+---+---|
|...|...|.57|
|...|...|...|
|...|...|...|
|---+---+---|
|...|...|...|
|...|...|...|
|...|...|...|
+-----------+
#4 - Size 12: 25-27-49-51-53-54-60-62-63-67-70-71
+-----------+
|...|...|...|
|...|...|...|
|...|...|8.4|
|---+---+---|
|...|...|...|
|...|...|...|
|...|4.9|.28|
|---+---+---|
|...|..4|.92|
|...|9..|48.|
|...|...|...|
+-----------+
#5 - Size 26: 1-3-19-21-25-27-41-42-46-48-49-51-53-54-57-59-60-63-64-66-67-68-70-71-75-78
+-----------+
|1.7|...|...|
|...|...|...|
|3.5|...|8.4|
|---+---+---|
|...|...|...|
|...|.57|...|
|7.3|4.9|.28|
|---+---+---|
|..1|.74|..2|
|5.2|91.|48.|
|..9|..5|...|
+-----------+
coloin wrote:The 9 clue at r5c9 covers two unavoidable sets.coloin wrote:Am I assuming that each final clue in a maximum only hits one unavoidable set ? Yes this would appear to be so - I will check the rest of the clues.
Room for improvement then !
ocean wrote:Removing the first '2' (in r1c2), results in a puzzle with 7 solutions. Therefore we would expect to find at least two different minimal unavoidables sets U1 and U2 where this '2' is the only clue in both U1 and U2.
Ocean wrote:1. A minimal unavoidable set U in a grid G is hit by at least one clue in every valid sudoku S where G is the solution grid.
Ocean wrote:2. In a minimal sudoku S, for every clue C there is at least one minimal unavoidable set U where C is the only clue in U.
Ocean wrote:Conjecture:
2A. If removing a clue C from a minimal sudoku S results in a pseudo-puzzle P2 with exactly two solutions, then there is exactly one minimal unavoidable set U where C is the only clue in U.
Red Ed wrote:As a side note: an alternative to your proof would be to note that any pseudo puzzle on n clues must have its solutions differing by a unique minimal unavoidable set, from which you can borrow any clue to make a uniquely-solvable puzzle on n+1 clues.
coloin wrote:Here is the unavoidable set with g1 clue - the 2 in r1c2 [a small 6 clue unavoidable]
- Code: Select all
+---+---+---+
|.2.|...|9..|
|...|.9.|2..|
|.9.|.2.|...|
+---+---+---+
|...|...|...|
|...|...|...|
|...|...|...|
+---+---+---+
|...|...|...|
|...|...|...|
|...|...|...|
+---+---+---+ only the 2 in r1c2 is in the 33 puzzle
+---+---+---+
|1..|5..|9..|
|...|.9.|2..|
|..5|.2.|.14|
+---+---+---+
|...|..2|.5.|
|...|.57|.4.|
|...|4..|12.|
+---+---+---+
|..1|.74|..2|
|..2|91.|4..|
|...|2.5|...|
+---+---+---+
+---+---+---+
|.2.|.48|.6.|
|468|3.1|..5|
|...|7..|...|
+---+---+---+
|984|1..|6..|
|216|8..|..9|
|...|...|...|
+---+---+---+
|83.|6..|59.|
|.7.|...|...|
|6.9|28.|73.|
+---+---+---+ 7 clue at r9c7 removed - 51 grid solutions
+---+---+---+
|...|...|...|
|...|...|27.|
|...|...|...|
+---+---+---+
|...|.3.|..7|
|...|...|.4.|
|...|...|12.|
+---+---+---+
|...|...|...|
|...|...|4..|
|...|...|7.1|
+---+---+---+
Of course this is true! A grid is uniquely specified by a set of clues iff those clues hit all minimal unavoidables. If removing some C gives you multiple solutions then you've gone from hitting all minimals to missing some collection, M, of them: so C was the only clue on those sets in M.Moschopulus wrote:What I said was "In a minimal sudoku S, for every clue C there is at least one unavoidable set U where C is the only clue in U. " I didn't say that U is a minimal unavoidable set. This might be true .... it doesn't seem obvious to me.Ocean wrote:2. In a minimal sudoku S, for every clue C there is at least one minimal unavoidable set U where C is the only clue in U.
coloin wrote:I dont think conjecture 2B is correct -
+---+---+---+
|.2.|...|9..|
|...|.9.|2..|
|.9.|.26|...|
+---+---+---+
|...|...|...|
|...|...|...|
|...|.69|...|
+---+---+---+
|...|...|...|
|...|...|...|
|...|...|...|
+---+---+---+ "add-on": gives an unavoidable set with 3 possible permutations.
coloin wrote:This one
- Code: Select all
+---+---+---+
|1..|5..|9..|
|...|.9.|2..|
|..5|.2.|.14|
+---+---+---+
|...|..2|.5.|
|...|.57|.4.|
|...|4..|12.|
+---+---+---+
|..1|.74|..2|
|..2|91.|4..|
|...|2.5|...|
+---+---+---+
These are the clue completions following the removal of the 2 clue at r9c4. [5 grid solutions]
I am presuming it is an unavoidable !
127548963468391275395726814984132657216857349753469128831674592572913486649285731 G
1..5..9......9.2....5.2..14.....2.5.....57.4....4..12...1.74..2..291.4.....2.5... X1
.27.48.634683.1.7539.7.68..98413.6.72168..3.9753.69..883.6..59.57...3.86649.8.731 S1
coloin wrote:The 7 clue at r9c7 is the only minimal one
Here is the clues .....but It doesnt look like an unavoidable set ! It must be the conjoint clues in two large unavoidables.
...
127548963468391275395726814984132657216857349753469128831674592572913486649285731 G
...............27..............3...7.......4.......12................4........7.1 X2
127548963468391..53957268149841.265.2168573.9753469..8831674592572913.86649285.3. S2
..75..9.3....9.27.395.2..14....32..7....5734.753469128..1.74..2..2913486......7.1 Y2
Red Ed wrote:...Of course this is true! A grid is uniquely specified by a set of clues iff those clues hit all minimal unavoidables. If removing some C gives you multiple solutions then you've gone from hitting all minimals to missing some collection, M, of them: so C was the only clue on those sets in M.Moschopulus wrote:What I said was "In a minimal sudoku S, for every clue C there is at least one unavoidable set U where C is the only clue in U. " I didn't say that U is a minimal unavoidable set. This might be true .... it doesn't seem obvious to me.Ocean wrote:2. In a minimal sudoku S, for every clue C there is at least one minimal unavoidable set U where C is the only clue in U.
Moschopulus wrote:Ocean wrote:Conjecture:
2A. If removing a clue C from a minimal sudoku S results in a pseudo-puzzle P2 with exactly two solutions, then there is exactly one minimal unavoidable set U where C is the only clue in U.
That is true. We discussed that in the pseudo-puzzles thread
Red Ed wrote:Is there ever any reason to talk about non-minimal unavoidability? I don't think so.