Aztec diamond

From HandWiki
An Aztec diamond of order 4

In combinatorial mathematics, an Aztec diamond of order n consists of all squares of a square lattice whose centers (x,y) satisfy |x| + |y| ≤ n. Here n is a fixed integer, and the square lattice consists of unit squares with the origin as a vertex of 4 of them, so that both x and y are half-integers.[1]

One of 1024 possible domino tilings of an order 4 Aztec diamond
A domino tiling of an order-50 Aztec diamond, chosen uniformly at random. The four corners of the diamond outside of the roughly circular area are "frozen".

The Aztec diamond theorem states that the number of domino tilings of the Aztec diamond of order n is 2n(n+1)/2.[2] The Arctic Circle theorem says that a random tiling of a large Aztec diamond tends to be frozen outside a certain circle.[3]

It is common to color the tiles in the following fashion. First consider a checkerboard coloring of the diamond. Each tile will cover exactly one black square. Vertical tiles where the top square covers a black square, is colored in one color, and the other vertical tiles in a second. Similarly for horizontal tiles.

Knuth has also defined Aztec diamonds of order n + 1/2.[4] They are identical with the polyominoes associated with the centered square numbers.

Non-intersecting paths

Something that is very useful for counting tilings is looking at the non-intersecting paths through its corresponding directed graph. If we define our movements through a tiling (domino tiling) to be

  • (1,1) when we are the bottom of a vertical tiling
  • (1,0) where we are the end of a horizontal tiling
  • (1,-1) when we are at the top of a vertical tiling

Then through any tiling we can have these paths from our sources to our sinks. These movements are similar to Schröder paths. For example, consider an Aztec Diamond of order 2, and after drawing its directed graph we can label its sources and sinks. [math]\displaystyle{ a_1,a_2 }[/math] are our sources and [math]\displaystyle{ b_1, b_2 }[/math] are our sinks. On its directed graph, we can draw a path from [math]\displaystyle{ a_i }[/math] to [math]\displaystyle{ b_j }[/math], this gives us a path matrix, [math]\displaystyle{ P_2 }[/math],

[math]\displaystyle{ P_2 = \begin{bmatrix} a_1b_1 & a_2b_1\\ a_1b_2 & a_2b_2 \\ \end{bmatrix} = \begin{bmatrix} 6 & 2 \\ 2 & 2 \\ \end{bmatrix} }[/math]

where [math]\displaystyle{ a_ib_j = }[/math] all the paths from [math]\displaystyle{ a_i }[/math] to [math]\displaystyle{ b_j }[/math]. The number of tilings for order 2 is

det[math]\displaystyle{ (P_2) = 12 - 4 = 8 = 2^{2(2+1)/2} }[/math]

According to Lindstrom-Gessel-Viennot, if we let S be the set of all our sources and T be the set of all our sinks of our directed graph then

det[math]\displaystyle{ (P_n) = }[/math]number of non-intersecting paths from S to T.[5]

Considering the directed graph of the Aztec Diamond, it has also been shown by Eu and Fu that Schröder paths and the tilings of the Aztec diamond are in bijection.[6] Hence, finding the determinant of the path matrix, [math]\displaystyle{ P_n }[/math], will give us the number of tilings for the Aztec Diamond of order n.

Another way to determine the number of tilings of an Aztec Diamond is using Hankel matrices of large and small Schröder numbers,[6] using the method from Lindstrom-Gessel-Viennot again.[5] Finding the determinant of these matrices gives us the number of non-intersecting paths of small and large Schröder numbers, which is in bijection with the tilings. The small Schröder numbers are [math]\displaystyle{ \{1,1,3,11,45,\cdots\} = \{y_0, y_1,y_2,y_3,y_4,\cdots\} }[/math] and the large Schröder numbers are [math]\displaystyle{ \{1,2,6,22,90,\cdots\}=\{x_0,x_1,x_2,x_3,x_4,\cdots\} }[/math], and in general our two Hankel matrices will be

[math]\displaystyle{ H_n = \begin{bmatrix} x_1 & x_2 & \cdots & x_n\\ x_2 & x_3 & \cdots & x_{n+1}\\ \vdots & \vdots & & \vdots\\ x_n & x_{n+1} & \cdots & x_{2n-1}\\ \end{bmatrix} }[/math] and [math]\displaystyle{ G_n = \begin{bmatrix} y_1 & y_2 & \cdots & y_n\\ y_2 & y_3 & \cdots & y_{n+1}\\ \vdots & \vdots & & \vdots\\ y_n & y_{n+1} & \cdots & y_{2n-1}\\ \end{bmatrix} }[/math]

where det[math]\displaystyle{ (H_n) = 2^{n(n+1)/2} }[/math] and det[math]\displaystyle{ (G_n) = 2^{n(n-1)/2} }[/math] where [math]\displaystyle{ n \geq 1 }[/math] (It also true that det[math]\displaystyle{ (H_n^0) = 2^{n(n-1)/2} }[/math] where this is the Hankel matrix like [math]\displaystyle{ H_n }[/math], but started with [math]\displaystyle{ x_0 }[/math] instead of [math]\displaystyle{ x_1 }[/math] for the first entry of the matrix in the top left corner).

Other tiling problems

Consider the shape, [math]\displaystyle{ 2 \times n }[/math] block, and we can ask the same question as for the Aztec Diamond of order n. As this has been proven in many papers, we will refer to.[7] Letting the [math]\displaystyle{ 2 \times n }[/math] block shape be denoted by [math]\displaystyle{ B_n }[/math], then it can be seen

The number of tilings of [math]\displaystyle{ B_n = F_{n} }[/math]

where [math]\displaystyle{ F_{n} }[/math] is the n[math]\displaystyle{ ^{th} }[/math] Fibonacci number and [math]\displaystyle{ n\geq0 }[/math]. It is understood that [math]\displaystyle{ B_0 }[/math] is a [math]\displaystyle{ 2\times0 }[/math] shape that can only be tiled 1 way, no ways. Using induction, consider [math]\displaystyle{ B_1 }[/math] and that is just [math]\displaystyle{ 2 \times 1 }[/math] domino tile where there is only [math]\displaystyle{ F_1 = 1 }[/math] tiling. Assuming the number of tilings for [math]\displaystyle{ B_n = F_{n} }[/math], then we consider [math]\displaystyle{ B_{n+1} }[/math]. Focusing on how we can begin our tiling, we have two cases. We can start with our first tile being vertical, which means we are left with [math]\displaystyle{ B_n }[/math] which has [math]\displaystyle{ F_n }[/math] different tilings. The other way we can start our tiling is by laying two horizontal tiles on top of each other, which leaves us with [math]\displaystyle{ B_{n-1} }[/math] that has [math]\displaystyle{ F_{n-1} }[/math] different tilings. By adding the two together, the number of tilings for [math]\displaystyle{ B_{n+1} = F_{n} + F_{n-1} = F_{n+1} }[/math].[7]

Generating valid tilings

Finding valid tilings of the Aztec diamond involves the solution of the underlying set-covering problem. Let [math]\displaystyle{ D=\{d_1,d_2,\dots,d_n\} }[/math] be the set of 2X1 dominoes where each domino in D may be placed within the diamond (without crossing its boundaries) when no other dominoes are present. Let [math]\displaystyle{ S = \{s_1,s_2,\dots,s_m\} }[/math] be the set of 1X1 squares lying within the diamond that must be covered. Two dominoes within D can be found to cover any boundary square within S, and four dominoes within D can be found to cover any non-boundary square within S.

Define [math]\displaystyle{ c(s_i)\sub D }[/math] to be the set of dominoes that cover square [math]\displaystyle{ s_i }[/math], and let [math]\displaystyle{ x_i }[/math] be an indicator variable such that [math]\displaystyle{ x_i =1 }[/math] if the [math]\displaystyle{ i^{th} }[/math] domino is used in the tiling, and 0 otherwise. With these definitions, the task of tiling the Aztec diamond may be reduced to a constraint satisfaction problem formulated as a binary integer program:

[math]\displaystyle{ \min \sum_{1\leq i\leq m} 0\cdot x_i }[/math]

Subject to: [math]\displaystyle{ \sum_{i\in c(s_i)} x_i = 1, }[/math] for [math]\displaystyle{ 1\leq i \leq m }[/math], and [math]\displaystyle{ x_i \in \{0,1\} }[/math].

The [math]\displaystyle{ i^{th} }[/math] constraint guarantee that square [math]\displaystyle{ s_i }[/math] will be covered by a single tile, and the collection of [math]\displaystyle{ m }[/math] constraints ensures that each square will be covered (no holes in the covering). This formulation can be solved with standard integer programming packages. Additional constraints can be constructed to force placement of particular dominoes, ensure a minimum number of horizontal or vertically-oriented dominoes are used, or generate distinct tilings.

An alternative approach is to apply Knuth's Algorithm X to enumerate valid tilings for the problem.

References

  1. Stanley, Richard P. (1999), Enumerative combinatorics. Vol. 2, Cambridge Studies in Advanced Mathematics, 62, Cambridge University Press, ISBN 978-0-521-56069-6, http://www-math.mit.edu/~rstan/ec/, retrieved 2008-11-18 
  2. Elkies, Noam; Kuperberg, Greg; Larsen, Michael; Propp, James (1992), "Alternating-sign matrices and domino tilings. I", Journal of Algebraic Combinatorics 1 (2): 111–132, doi:10.1023/A:1022420103267, ISSN 0925-9899 
  3. Jockusch, William; Propp, James; Shor, Peter (1998), Random Domino Tilings and the Arctic Circle Theorem, Bibcode1998math......1068J 
  4. Knuth, Donald E. (2019), The Art of Computer Programming, 4, p. 93, https://www-cs-faculty.stanford.edu/~knuth/fasc5c.ps.gz 
  5. 5.0 5.1 Majumdar, Diptapriyo. "Advance Graph Algorithms: Lemma of Gessel Viennot". https://www.imsc.res.in/~ashutosh/lectures/Presentation_Diptapriyo.pdf. Retrieved 22 April 2014. 
  6. 6.0 6.1 Eu, Sen-Peng; Fu, Tung-Shan (2005). "A Simple Proof of the Aztec Diamond". Electron. J. Combin., 12:Research Paper (The Electroninc Journal of Combinatorics): 0412041. 
  7. 7.0 7.1 Martinez, Megan; Kanoff, Ilene. "Domino Tiling and the Fibonacci numbers". https://www.dartmouth.edu/~academicoutreach/docs/fibonacci-numbers-and-tiling.pdf. Retrieved 2 March 2018. 

External links