CSCI3390-Lecture 8: Undecidability of a special case of the tiling problem

Similar documents
Tiling Problems. This document supersedes the earlier notes posted about the tiling problem. 1 An Undecidable Problem about Tilings of the Plane

CITS2211 Discrete Structures Turing Machines

Computability. What can be computed?

of the hypothesis, but it would not lead to a proof. P 1

Turing Machines (TM)

Oracle Turing Machine. Kaixiang Wang

2359 (i.e. 11:59:00 pm) on 4/16/18 via Blackboard

Automata and Formal Languages - CM0081 Turing Machines

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

Permutation group and determinants. (Dated: September 19, 2018)

The Tiling Problem. Nikhil Gopalkrishnan. December 08, 2008

Undecidability and Nonperiodicity for Tilings of the Plane

UNDECIDABILITY AND APERIODICITY OF TILINGS OF THE PLANE

Lecture 1, CS 2050, Intro Discrete Math for Computer Science

Ma/CS 6a Class 16: Permutations

Math 1111 Math Exam Study Guide

1111: Linear Algebra I

Enhanced Turing Machines

DVA325 Formal Languages, Automata and Models of Computation (FABER)

Senior Math Circles February 10, 2010 Game Theory II

Sets. Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, Outline Sets Equality Subset Empty Set Cardinality Power Set

Once you get a solution draw it below, showing which three pennies you moved and where you moved them to. My Solution:

Chapter 3 PRINCIPLE OF INCLUSION AND EXCLUSION

CS188 Spring 2010 Section 3: Game Trees

Walking on Numbers and a Self-Referential Formula

LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

Outline. In One Slide. LR Parsing. LR Parsing. No Stopping The Parsing! Bottom-Up Parsing. LR(1) Parsing Tables #2

12th Bay Area Mathematical Olympiad

Lecture 6: Latin Squares and the n-queens Problem

Formulas for Primes. Eric Rowland Hofstra University. Eric Rowland Formulas for Primes / 27

Optimal Results in Staged Self-Assembly of Wang Tiles

arxiv: v2 [math.gt] 21 Mar 2018

Permutation Tableaux and the Dashed Permutation Pattern 32 1

Lecture 20 November 13, 2014

Technical framework of Operating System using Turing Machines

CSCI 2570 Introduction to Nanocomputing

I.M.O. Winter Training Camp 2008: Invariants and Monovariants

MATHEMATICS ON THE CHESSBOARD

Permutations. = f 1 f = I A

Contents. MA 327/ECO 327 Introduction to Game Theory Fall 2017 Notes. 1 Wednesday, August Friday, August Monday, August 28 6

Halting Problem. Implement HALT? Today. Halt does not exist. Halt and Turing. Another view of proof: diagonalization. P - program I - input.

Permutation Groups. Definition and Notation

WPF PUZZLE GP 2018 ROUND 7 INSTRUCTION BOOKLET. Host Country: Netherlands. Bram de Laat. Special Notes: None.

Tile Number and Space-Efficient Knot Mosaics

Spring 06 Assignment 2: Constraint Satisfaction Problems

Modular arithmetic Math 2320

Counting and Probability Math 2320

CSE 573 Problem Set 1. Answers on 10/17/08

Cutting a pie is not a piece of cake

Discrete Mathematics. Spring 2017

An Intuitive Approach to Groups

Spring 06 Assignment 2: Constraint Satisfaction Problems

SUDOKU Colorings of the Hexagonal Bipyramid Fractal

Tiling the Plane with a Fixed Number of Polyominoes

TROMPING GAMES: TILING WITH TROMINOES. Saúl A. Blanco 1 Department of Mathematics, Cornell University, Ithaca, NY 14853, USA

You can copy a cell by clicking on the Handle and dragging

18 Completeness and Compactness of First-Order Tableaux

Mistilings with Dominoes

arxiv: v1 [math.co] 24 Nov 2018

N-Queens Problem. Latin Squares Duncan Prince, Tamara Gomez February

Notes for Recitation 3

Which Rectangular Chessboards Have a Bishop s Tour?

Homework Assignment 10

Econ 172A - Slides from Lecture 18

KenKen Strategies. Solution: To answer this, build the 6 6 table of values of the form ab 2 with a {1, 2, 3, 4, 5, 6}

Week 3-4: Permutations and Combinations

Solutions to Part I of Game Theory

Dominant and Dominated Strategies

Membrane Computing as Multi Turing Machines

Tile Complexity of Assembly of Length N Arrays and N x N Squares. by John Reif and Harish Chandran

Example 1. An urn contains 100 marbles: 60 blue marbles and 40 red marbles. A marble is drawn from the urn, what is the probability that the marble

Student Outcomes. Classwork. Exercise 1 (3 minutes) Discussion (3 minutes)

CS 188 Fall Introduction to Artificial Intelligence Midterm 1

Characterization of Domino Tilings of. Squares with Prescribed Number of. Nonoverlapping 2 2 Squares. Evangelos Kranakis y.

Computability of Tilings

Edge-disjoint tree representation of three tree degree sequences

Chapter 1. The alternating groups. 1.1 Introduction. 1.2 Permutations

Formidable Fourteen Puzzle = 6. Boxing Match Example. Part II - Sums of Games. Sums of Games. Example Contd. Mathematical Games II Sums of Games

CIS 2033 Lecture 6, Spring 2017

CS188 Spring 2010 Section 3: Game Trees

A Real-Time Algorithm for the (n 2 1)-Puzzle

PART 2 VARIA 1 TEAM FRANCE WSC minutes 750 points

Plan. Related courses. A Take-Away Game. Mathematical Games , (21-801) - Mathematical Games Look for it in Spring 11

A Graph Theory of Rook Placements

Static Mastermind. Wayne Goddard Department of Computer Science University of Natal, Durban. Abstract

Tilings with T and Skew Tetrominoes

2014 ACM ICPC Southeast USA Regional Programming Contest. 15 November, Division 1

Week 1. 1 What Is Combinatorics?

Episode 3 16 th 19 th March Made In India and Regions by Prasanna Seshadri

Math 127: Equivalence Relations

Colouring tiles. Paul Hunter. June 2010

SF2972: Game theory. Introduction to matching

Domino Tilings of Aztec Diamonds, Baxter Permutations, and Snow Leopard Permutations

Game Theory and Algorithms Lecture 19: Nim & Impartial Combinatorial Games

17. Symmetries. Thus, the example above corresponds to the matrix: We shall now look at how permutations relate to trees.

arxiv: v2 [math.ho] 23 Aug 2018

Implementation of Recursively Enumerable Languages in Universal Turing Machine

UW-Madison ACM ICPC Individual Contest

Lecture 6: Basics of Game Theory

Transcription:

CSCI3390-Lecture 8: Undecidability of a special case of the tiling problem February 16, 2016 Here we show that the constrained tiling problem from the last lecture (tiling the first quadrant with a designated corner tile) is undecidable. Like all proofs of undecidability, this is proved by reduction from a known undecidable problem. Our known undecidable problem is telling whether a TM M with a one-way infinite tape eventually halts if it is started on a blank tape. (Undecidability of the halting problem with an initially blank tape was a homework problem, as was equivalence of one- and two-way infinite tapes.) We will reduce this to the constrained tiling problem. That is, we will show, given a TM M with a one-way infinite tape, how to construct a set T M of tiles with a designated corner tile t T M such that (T M, t) tiles the first quadrant if and only if M runs forever when started on an initially blank tape. Thus if we could decide this version of the tiling problem, we obtain the contradiction that we could decide an undecidable problem about Turing machines. (Strictly speaking, this is a reduction from the complement of the halting problem to the tiling problem, since the correspondence is doesn t halt tiles the quadrant.) 1 Construction of T M. The colors of the tiles are derived from the states and tape symbols of M. There are five types of tiles. 1.1 Type I Our set T M of tiles includes the tile shown in Figure 1. 1

Figure 1: Type I tile. Figure 2: Type II tiles. There are two such tiles for every tape symbol γ. 1.2 Type II For each letter γ in the tape alphabet of M, T M includes the tiles shown in Figure 2. Thus the total number of Type II tiles is 2 Γ, where Γ is the tape alphabet. 1.3 Type III For each right-moving transition δ(p, γ) = (q, β, R) of M, and for every tape symbol α, T M includes the tiles shown in Figure 3. Thus each transition right-moving transition gives rise to 2 + Γ tiles. 1.4 Type IV For each left-moving transition δ(p, γ) = (q, β, L) and each tape symbol α, we have the tiles depicted in Figure 4. 2

Figure 3: Type III tiles associated with a right-moving transition δ(p, γ) = (q, β, R). We have one copy of the third tile for each tape symbol α. Figure 4: Type IV tiles associated with a left-moving-moving transition δ(p, γ) = (q, β, R). 1.5 Type V The designated corner tile is shown in Figure 5. Here q 0 denotes the initial state of M. Figure 5: Type V tile the designated corner tile. 3

2 Tiling with T M. Figure 6: The only possible tiling of the first row. Now let s see what kind of tiling we can create with the tiles in this set. We are obliged to put the Type V tile in the lower left corner, and then only the type I tile can be placed to its right, because that is the only tile that has the symbol on its left edge. Thus the only possible tiling of the first row is the one shown in Figure 6. Now let s consider the second row. If a tile is placed in the leftmost column of this row, it must have (q 0,, 0) on its bottom edge, so it must be a Type III or a Type IV tile, depending on whether δ(q 0, ) is a left-moving or right-moving transition. Let s assume that it is a right-moving transition, and that it is δ(q 0, ) = (q 1, a, R). This forces the placement of a second Type III tile in the next cell of the second row, since there is only one tile with (q 1, R) on its left edge and on its bottom edge. And this placement in turn forces the placement of Type II tiles bearing the tape symbol for the rest of the row. So the tiling of the second row looks like Figure 7. (As was observed in class, there may actually be two possibilities for a tile placed in the third column of the second row, because we could choose a tile that has at the bottom, (q, ) at top, and (q, L) at right, as long as q is a state from which there is a left transition. But this choice will not allow us to extend the tiling further along the row, because we would next be forced to place a tile that has (q, γ), for some state symbol γ, on its bottom edge, and this would not match the top edge of the second row.) Let s tile one more row this should be enough to give you an idea of how the process unfolds. Any tile that goes directly above our second tile has to have (q 1, ) on its bottom edge. The only possibilities are a type III tile and a type IV tile, and which of these is available depends on whether δ(q 1, ) is a left-moving 4

Figure 7: The only possible tiling of the first two rows, given the transition δ(q 0, ) = (q 1, a, R). or right-moving transition. Let us suppose that it is a left-moving transition (because we haven t done one of those yet): δ(q 1, ) = (q 2, b, L). This completely determines the tile placed in the second column of the third row (Figure 8). There is then only one possibility a tile of Type IV that can be placed to the left of this tile. As we argued above, while there may be a choice for the tile to place immediately to the right, there is only one choice if we want to tile the entire third row. The result is shown in Figure 9. You can now see what is going on in general: Look at the top edges of those first three rows, starting at the bottom. If we write out the colors on those edges, and ignore the zeros in the first column, we get q 0 aq 1 q 2 ab These are the first three configurations of M when it is started on a blank tape. The tiles have been designed so that for any k 1, there is at most one way to tile the first k rows, and the top edges of these rows spell out the first k configurations of the computation of M on a blank tape. (The zeros are present so that only tiles 5

Figure 8: The only possible placement of a tile in the second column of the third row, assuming δ(q 1, ) is a left-moving transition. Figure 9: The tiling of the entire third row is then forced. 6

with a zero can be placed in the leftmost column, and these tiles cannot be placed anywhere else: This is because we have to handle left-moving transitions from the leftmost cell a little differently.) If M runs forever, the tiling can be continued indefinitely. If M halts after k steps, then one of the tiles in the k th row will have its top edge labeled (q halt, γ). Since there is no transition from a halted state, the tiling cannot be continued. This establishes that the reduction has the desired property, and completes the proof of undecidability. 7