Download presentation
Presentation is loading. Please wait.
2
Beaucoup de Sudoku Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
3
Beaucoup de Sudoku (French for Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
4
Beaucoup de Sudoku (French for“lots”) Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
5
Beaucoup de Sudoku (French for“lots”) (Spanish for Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
6
Beaucoup de Sudoku (French for“lots”) (Spanish for“of”) Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
7
Beaucoup de Sudoku (French for“lots”) (Spanish for“of”) (Japanese for Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
8
Beaucoup de Sudoku (French for“lots”) (Spanish for“of”) Mike Krebs, Cal State LA(joint work with C. Arcos and G. Brookfield) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs (Japanese for “ 数字は独身に限る ”)
9
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 数字は独身に限る
10
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 数字は独身に限る suji wa dokushin ni kagiru
11
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 数字は独身に限る the digits must be single suji wa dokushin ni kagiru
12
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 数字は独身に限る 数独
13
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 数字は独身に限る 数独 su doku suji wa dokushin ni kagiru
14
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 数字は独身に限る the digits must be single 数独 suji wa dokushin ni kagiru su doku single digits
15
A Sudoku is a 9 by 9 grid of digits in which every row, every column, and every 3 by 3 box with thick borders contains each digit from 1 to 9 exactly once. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
16
A Sudoku is a 9 by 9 grid of digits in which every row, every column, and every 3 by 3 box with thick borders contains each digit from 1 to 9 exactly once. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
17
Typically, one is given some of the entries and must fill in the remaining ones. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
18
Typically, one is given some of the entries and must fill in the remaining ones. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs There are many interesting strategies for how to do this.
19
Typically, one is given some of the entries and must fill in the remaining ones. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs There are many interesting strategies for how to do this. Today, we will not be learning about any of them.
20
(Side comment: the Sudoku on the right has only 17 “filled-in” entries, yet it has a unique solution. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
21
(Side comment: the Sudoku on the right has only 17 “filled-in” entries, yet it has a unique solution. It is conjectured that this is the smallest possible number of “givens” one can have and still have a unique solution.) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
22
The digits 1 through 9 are just labels. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
23
The digits 1 through 9 are just labels. They could just as well be variables... For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
24
The digits 1 through 9 are just labels. They could just as well be variables...... or colors... For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
25
The digits 1 through 9 are just labels. They could just as well be variables...... or colors... For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... or...
27
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Divizio Unu: Ekvivalenta malgranda Sudokoj
28
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Divizio Unu: Part One: Equivalent mini- Sudokus Ekvivalenta malgranda Sudokoj
29
To keep things simple, we’ll consider the smaller case of 4 by 4 Sudokus; we call these mini -Sudokus. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
30
There are several obvious ways to obtain a new mini- Sudoku from an old one. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
31
For example, you can switch the first two columns. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
32
For example, you can switch the first two columns. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
33
You may not switch columns willy-nilly; tan and lavender either switch or stay fixed. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
34
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Of course, in addition to permuting columns, we can also permute rows...
35
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Of course, in addition to permuting columns, we can also permute rows...
36
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... “transpose” the mini- Sudoku...
37
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... “transpose” the mini- Sudoku...
38
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... or relabel entries.
39
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... or relabel entries.
40
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We say two mini- Sudokus are equivalent if you can get from one to the other via a finite sequence of row/column permutations, transpositions, and relabellings.
41
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We say two mini- Sudokus are equivalent if you can get from one to the other via a finite sequence of row/column permutations, transpositions, and relabellings.
42
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We say two mini- Sudokus are equivalent if you can get from one to the other via a finite sequence of row/column permutations, transpositions, and relabellings. Are all mini- Sudokus equivalent?
43
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Given any mini- Sudoku, we can always apply a relabelling to get a new mini- Sudoku of this form:
44
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Given any mini- Sudoku, we can always apply a relabelling to get a new mini- Sudoku of this form:
45
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Then apply row and column permutations to get:
46
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs The mini- Sudoku is then determined by this entry:
47
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So, every mini- Sudoku is equivalent to one of three mini- Sudokus.
48
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs And now... a brief digression on counting Sudokus.
49
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 4!
50
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 4!·2·2
51
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 4!·2·2·3 = 288
52
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In contrast, there are 9x9 Sudokus. 6,670
53
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In contrast, there are 9x9 Sudokus. 6,670,903,752,021,072,936,960 ≈6.7x10 21
54
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In contrast, there are 9x9 Sudokus. 6,670,903,752,021,072,936,960 ≈6.7x10 21 (Felgenhauer-Jarvis)
55
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
56
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs gives an upper bound for the number of Sudokus of size n 2 x n 2.
57
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs gives an upper bound for the number of Sudokus of size n 2 x n 2.
58
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs No exact formula is known, however. gives an upper bound for the number of Sudokus of size n 2 x n 2.
59
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Every mini- Sudoku is equivalent to one of three mini- Sudokus.
60
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In fact, if the entry in the lower right is a 2, then...
61
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In fact, if the entry in the lower right is a 2, then...
62
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In fact, if the entry in the lower right is a 2, then...... take the transpose...
63
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In fact, if the entry in the lower right is a 2, then...... take the transpose...
64
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In fact, if the entry in the lower right is a 2, then...... take the transpose...then relabel.
65
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In fact, if the entry in the lower right is a 2, then...... take the transpose...then relabel.
66
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So the one with a 2 in the lower right is equivalent to the one with a 3 in the lower right.
67
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So every mini- Sudoku is equivalent to: or
68
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s fill them in. or
69
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s fill them in. or
70
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs I claim that these two are not equivalent. or
71
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs To distinguish them, we need an invariant. or
72
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Something that behaves predictably when you switch rows... or columns... or transpose... or
73
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Aha! The determinant. or
74
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Here’s where it’s useful to think of the labels as variables. or
75
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Here’s where it’s useful to think of the labels as variables. or
76
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Let’s not compute the whole determinant, but rather just the “pure” 4 th degree terms.
77
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Note that these come from permutation matrices.
78
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Compute the remaining “pure” 4 th degree terms similarly.
79
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Even after relabelling and changing sign, the coefficients will be all positive or all negative.
80
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Now we compute the pure 4 th degree part of the determinant of the other mini- Sudoku.
81
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Now we compute the pure 4 th degree part of the determinant of the other mini- Sudoku.
82
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or But for the other one, two are positive and two are negative.
83
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or Therefore, these two mini- Sudokus are not equivalent.
84
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs or The determinant is a complete invariant for 4 x 4 Sudokus.
85
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So, there are two equivalence classes of 4 x 4 Sudokus.
86
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So, there are two equivalence classes of 4 x 4 Sudokus. In contrast, there are equivalence classes of 9x9 Sudokus.
87
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So, there are two equivalence classes of 4 x 4 Sudokus. In contrast, there are equivalence classes of 9x9 Sudokus. 5,472
88
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So, there are two equivalence classes of 4 x 4 Sudokus. In contrast, there are equivalence classes of 9x9 Sudokus. 5,472,730,538 ≈5.5 billion
89
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So, there are two equivalence classes of 4 x 4 Sudokus. In contrast, there are equivalence classes of 9x9 Sudokus. 5,472,730,538 ≈5.5 billion (Jarvis-Russell)
90
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Is the determinant a complete invariant for 9 x 9 Sudokus? Question:
91
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Is the determinant a complete invariant for 9 x 9 Sudokus? Question: (The pure 9 th degree part of the determinant is certainly not a complete invariant, since 2 9 =512 is much less than 5.5 billion.)
92
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Here’s another complete invariant for mini- Sudokus, one which is easier to compute than the determinant.
93
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs For example, let’s determine whether these two mini- Sudokus are equivalent.
94
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Look at the parity of the number of distinct entries along the main diagonal.
95
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Look at the parity of the number of distinct entries along the main diagonal.
96
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Look at the parity of the number of distinct entries along the main diagonal. 2 distinct entries
97
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Look at the parity of the number of distinct entries along the main diagonal. 2 distinct entries
98
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Look at the parity of the number of distinct entries along the main diagonal. 2 distinct entries4 distinct entries
99
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Look at the parity of the number of distinct entries along the main diagonal. 2 distinct entries4 distinct entries Both even—same parity—so they’re equivalent.
100
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs This method does not work for larger Sudokus. 2 distinct entries4 distinct entries Both even—same parity—so they’re equivalent.
101
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Artpay Ootay: Udokusay anday Aphgray Oloringscay
102
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Artpay Ootay: Part Two: Sudokus and Graph Colorings Udokusay anday Aphgray Oloringscay
103
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Every mini- Sudoku can be thought of as a graph coloring, in the following way.
104
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Think of the sixteen cells as vertices.
105
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Think of the sixteen cells as vertices.
106
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Connect two vertices by an edge if they are in the same row, column, or 2x2 block.
107
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Connect two vertices by an edge if they are in the same row, column, or 2x2 block.
108
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s jiggle the vertices a little so we can better see what’s happening.
109
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs A mini- Sudoku is nothing more and nothing less than a 4-coloring of this graph.
110
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs A mini- Sudoku is nothing more and nothing less than a 4-coloring of this graph.
111
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Each vertex is either red, blue, green, or black, and no two adjacent vertices have the same color.
112
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs One can make similar graphs for Sudokus of size...
113
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs One can make similar graphs for Sudokus of size... 9 x 99 x 9
114
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs One can make similar graphs for Sudokus of size... 9 x 99 x 9 16 x 16
115
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs One can make similar graphs for Sudokus of size... 9 x 99 x 9 16 x 16 n2 x n2n2 x n2
116
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs This is the point of view in the Herzberg-Murty article. It is also the point of view of...
117
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs It is also the point of view of
118
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs This is the point of view in the Herzberg-Murty article. It is also the point of view of... a Master’s Thesis in which Yato shows that solving Sudokus is an NP-complete problem.
119
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 'ay' wey: Ghommey joq Sudokumey
120
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs 'ay' wey: Ghommey joq Sudokumey Part Three: Groups and Sudokus
121
The set of all column permutations which send mini- Sudokus to mini- Sudokus forms a group. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
122
What group is it? For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
123
Tan and lavender either switch or stay fixed. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
124
Ditto for opposite corners of a square. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
125
So the group of mini -Sudoku-preserving column symmetries is isomorphic to D 8, the group of symmetries of a square. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
126
(In general, the group of column symmetries for an n 2 x n 2 Sudoku is an n-fold wreath product. Due to Royle.) For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
127
Similary, one sees that the group of mini -Sudoku-preserving row symmetries is isomorphic to D 8. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
128
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs If you first do a row switch...
129
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... then do a column switch...
130
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... it’s the same as first doing the column switch...
131
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... then doing the row switch.
132
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs That is, the group R≈D 8 of permissible row permut ations commutes with the group C≈D 8 of permissible column permutations.
133
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs That is, the group R≈D 8 of permissible row permut ations commutes with the group C≈D 8 of permissible column permutations. Moreover, a nontrivial row permutation never has the same effect as a column permutation.
134
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In other words, the group of all combinations of row and column permutations is a direct product:
135
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In other words, the group of all combinations of row and column permutations is a direct product:
136
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now let’s throw the transpose into the mix.
137
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now let’s throw the transpose into the mix. The transpose has order 2—doing it twice is the same as doing nothing at all.
138
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now let’s throw the transpose into the mix. The transpose has order 2—doing it twice is the same as doing nothing at all. In other words, the “transpose group” is:
139
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now let’s throw the transpose into the mix. The transpose has order 2—doing it twice is the same as doing nothing at all. In other words, the “transpose group” is:
140
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs If you first switch columns...
141
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... then take the transpose...
142
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... it’s not the same as taking transpose, then switching columns.
143
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Instead, it’s the same as transposing, then switching rows.
144
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs (Taking transpose does not commute with column permutations.)
145
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So the group of all combinations of row and column permutations as well as transposes is not a direct product, but rather a “semidirect product.”
146
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So the group of all combinations of row and column permutations as well as transposes is not a direct product, but rather a “semidirect product.”
147
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We can also view this group as the automorphism group of the mini- Sudoku graph.
148
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We can also view this group as the automorphism group of the mini- Sudoku graph.
149
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Finally, we wish to consider relabellings.
150
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Here’s a Sudoku we’ve considered before, where the entries are variables.
151
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s number each of the cells...
152
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s number each of the cells...
153
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... and think of the Sudoku as a function from the cells to the labels.
154
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... and think of the Sudoku as a function from the cells to the labels.
155
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... and think of the Sudoku as a function from the cells to the labels.
156
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... and think of the Sudoku as a function from the cells to the labels.
157
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Every relabelling is a permutation of the labels.
158
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Every relabelling is a permutation of the labels. E.g., here’s the relabelling that switches y and z.
159
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Every relabelling is a permutation of the labels. E.g., here’s the relabelling that switches y and z.
160
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So the group of relabellings is the symmetric group S 4.
161
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs If you have a Sudoku...
162
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs If you have a Sudoku... For the sake of sanity, only cells 1 through 8 are shown.
163
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... and a relabelling...
164
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... you can create a new Sudoku via function composition.
165
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Row permutations, column permutations, and transposings are all cell permutations.
166
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs For example, what does this cell permutation do?
167
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs It switches the top two rows.
168
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs As before, we get new Sudokus from old ones via function composition.
169
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Here’s a Sudoku.
170
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now switch the top two rows.
171
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs I claim that cell permutations commute with relabellings.
172
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs After all, if you’re given a Sudoku...
173
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs After all, if you’re given a Sudoku... For the sake of sanity, only cells 1 through 8 are shown.
174
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs For the sake of sanity, only cells 1 through 8 are shown.... it doesn’t matter if you first relabel...
175
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs For the sake of sanity, only cells 1 through 8 are shown.... then perform a cell permutation...
176
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... or if you first perform the cell permutation... For the sake of sanity, only cells 1 through 8 are shown.
177
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... or if you first perform the cell permutation... For the sake of sanity, only cells 1 through 8 are shown.
178
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... then relabel. For the sake of sanity, only cells 1 through 8 are shown.
179
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Imagine for a moment that a relabelling has the same effect on every Sudoku as some cell permutation.
180
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Imagine for a moment that a relabelling has the same effect on every Sudoku as some cell permutation. Then it commutes with every other relabelling—we just showed that.
181
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Imagine for a moment that a relabelling has the same effect on every Sudoku as some cell permutation. Then it commutes with every other relabelling—we just showed that. So it’s in the center of S 4.
182
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Imagine for a moment that a relabelling has the same effect on every Sudoku as some cell permutation. Then it commutes with every other relabelling—we just showed that. So it’s in the center of S 4. In which case, it equals the identity element.
183
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Imagine for a moment that a relabelling has the same effect on every Sudoku as some cell permutation. Then it commutes with every other relabelling—we just showed that. So it’s in the center of S 4. In which case, it equals the identity element. Therefore: the set of relabellings has trivial intersection with the set of cell permutations.
184
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs So the group of all combinations of row and column permutations, transposes, and relabellings is:
185
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs row permutations column permutations transpose relabellings So the group of all combinations of row and column permutations, transposes, and relabellings is:
186
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs pt4: ddddd Sdkuz
187
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs pt4: Part Four: Multi-dimensional Sudokus ddddd Sdkuz
188
Sudokus are two-dimensional. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs
189
Sudokus are two-dimensional. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs There is no need to limit oneself to 2D, however.
190
Sudokus are two-dimensional. For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs There is no need to limit oneself to 2D, however. Here, for example, is a three-dimensional version of a mini- Sudoku.
191
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In the top, we put an 8x8 grid consisting of 4 mini- Sudokus.
192
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In the top, we put an 8x8 grid consisting of 4 mini- Sudokus.
193
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Below that, another one.
194
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs And so on, for a total of 8 layers.
195
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs The digits 1–8 must each appear once in...
196
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... each row...
197
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... each column...
198
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... each vertical “tower”...
199
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs... and each 2x2x2 cube.
200
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Is it even possible to do this at all?
201
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Here’s the idea behind a quick inductive proof that the answer is yes.
202
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s start with the top.
203
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We already know we can make a mini- Sudoku..
204
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s put one in the upper left.
205
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now add 4 to each entry, and put that next to it.
206
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In the bottom, repeat the top, but switched around.
207
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs In the bottom, repeat the top, but switched around.
208
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs That gives us the top layer.
209
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now let’s get the next layer.
210
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We take the top layer...
211
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs We take the top layer... and “reverse” it.
212
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now we’ve got the top two layers.
213
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Let’s get the next two layers.
214
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs To do this, let’s go back to the original mini- Sudoku.
215
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs But switch columns 1 and 2. Ditto for columns 3 and 4.
216
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now apply the same procedure from before.
217
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now apply the same procedure from before.
218
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs That gives us the next two layers.
219
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now let’s get the last four layers.
220
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Again, we go back to the original mini- Sudoku.
221
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs This time, we switch columns 1 and 3. Also 2 and 4.
222
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now repeat the entire procedure, from the beginning.
223
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Now repeat the entire procedure, from the beginning.
224
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Voilà
225
For slideshow: click “Research and Talks” from www.calstatela.edu/faculty/mkrebswww.calstatela.edu/faculty/mkrebs Idea for an REU project: use the techniques of the Herzberg-Murty paper to estimate the number of multi-dimensional Sudokus.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.