Enhanced Turing Machines

Similar documents
Digital Logic Circuits

Counting and Probability

Recursive Triangle Puzzle

Pointers. The Rectangle Game. Robb T. Koether. Hampden-Sydney College. Mon, Jan 21, 2013

Controlling Bias; Types of Variables

Subqueries Lecture 9

Rectangle Man. Lecture 9. Robb T. Koether. Hampden-Sydney College. Fri, Sep 8, 2017

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

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

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

Turing Machines (TM)

Computability. What can be computed?

Jim and Nim. Japheth Wood New York Math Circle. August 6, 2011

Math 127: Equivalence Relations

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

Math 152: Applicable Mathematics and Computing

CS 491 CAP Intro to Combinatorial Games. Jingbo Shang University of Illinois at Urbana-Champaign Nov 4, 2016

A Quick Introduction to Modular Arithmetic

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

Lecture 8. Outline. 1. Modular Arithmetic. Clock Math!!! 2. Inverses for Modular Arithmetic: Greatest Common Divisor. 3. Euclid s GCD Algorithm

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

Modular Arithmetic: refresher.

Cardinality and Bijections

Multiples and Divisibility

Subtraction games with expandable subtraction sets

Link Models for Circuit Switching

CSE 20 DISCRETE MATH. Fall

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?

Axiom A-1: To every angle there corresponds a unique, real number, 0 < < 180.

8.2 Union, Intersection, and Complement of Events; Odds

Table of Contents. Table of Contents 1

Fall 2017 March 13, Written Homework 4

Introduction to Computational Manifolds and Applications

Oracle Turing Machine. Kaixiang Wang

6.2 Modular Arithmetic

CITS2211 Discrete Structures Turing Machines

Outline. Sets of Gluing Data. Constructing Manifolds. Lecture 3 - February 3, PM

Automata and Formal Languages - CM0081 Turing Machines

A-D and D-A Converters

Activity 1: Play comparison games involving fractions, decimals and/or integers.

The congruence relation has many similarities to equality. The following theorem says that congruence, like equality, is an equivalence relation.

Theory of Probability - Brett Bernstein

QUIZ: Fill in the blank. Necessity is the Mother of.

Basic electronics Prof. T.S. Natarajan Department of Physics Indian Institute of Technology, Madras Lecture- 24

CSE 355: Human-aware Robo.cs Introduction to Theoretical Computer Science

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

Implementation of Recursively Enumerable Languages in Universal Turing Machine

Chapter 3: Operational Amplifiers

EEE118: Electronic Devices and Circuits

Senior Math Circles February 10, 2010 Game Theory II

ALGEBRA: Chapter I: QUESTION BANK

II Year (04 Semester) EE6403 Discrete Time Systems and Signal Processing

An interesting class of problems of a computational nature ask for the standard residue of a power of a number, e.g.,

Applications of Fermat s Little Theorem and Congruences

Fundamentals of Microelectronics

18.204: CHIP FIRING GAMES

Lecture 25: The Theorem of (Dyadic) MRA

Visualizing Integers TEACHER NOTES MATH NSPIRED. Math Objectives. Vocabulary. About the Lesson. TI-Nspire Navigator System

six-eighths one-fourth EVERYDAY MATHEMATICS 3 rd Grade Unit 5 Review: Fractions and Multiplication Strategies Picture Words Number

Continuous time and Discrete time Signals and Systems

DATA CONVERSION AND LAB (17.368) Fall Class # 07. October 16, 2008

Classwork Example 1: Exploring Subtraction with the Integer Game

Introduction to Communications Part Two: Physical Layer Ch3: Data & Signals

Lecture Week 4. Homework Voltage Divider Equivalent Circuit Observation Exercise

NOTES ON SEPT 13-18, 2012

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

DISCRETE STRUCTURES COUNTING

Lecture 20 November 13, 2014

Modular Arithmetic. claserken. July 2016

Data Conversion and Lab (17.368) Fall Lecture Outline

VISUAL ALGEBRA FOR COLLEGE STUDENTS. Laurie J. Burton Western Oregon University

Technical framework of Operating System using Turing Machines

A Problem in Real-Time Data Compression: Sunil Ashtaputre. Jo Perry. and. Carla Savage. Center for Communications and Signal Processing

Mathematical Language

Removing the Fear of Fractions from Your Students Thursday, April 16, 2015: 9:30 AM-10:30 AM 157 A (BCEC) Lead Speaker: Joseph C.

Countability. Jason Filippou UMCP. Jason Filippou UMCP) Countability / 12

Outline Introduction Big Problems that Brun s Sieve Attacks Conclusions. Brun s Sieve. Joe Fields. November 8, 2007

Crossing Game Strategies

MAT Modular arithmetic and number theory. Modular arithmetic

On Variants of Nim and Chomp

To be able to determine the quadratic character of an arbitrary number mod p (p an odd prime), we. The first (and most delicate) case concerns 2

On Variations of Nim and Chomp

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

1.6 Congruence Modulo m

An Optimal Algorithm for a Strategy Game

3.3 Properties of Logarithms

2) How fast can we implement these in a system

Relationships Occurring With Sinusoidal Points March 11, 2002 by Andrew Burnson

Name: Date: Chapter 2 Quiz Geometry. Multiple Choice Identify the choice that best completes the statement or answers the question.

COLLEGE OF THE DESERT

Carmen s Core Concepts (Math 135)

EE292: Fundamentals of ECE

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

6.1 Basics of counting

Obliged Sums of Games

Computer Graphics (Fall 2011) Outline. CS 184 Guest Lecture: Sampling and Reconstruction Ravi Ramamoorthi

Lecture 2: Data Representation

Network-building. Introduction. Page 1 of 6

Calculus for the Life Sciences

Surreal Numbers and Games. February 2010

Transcription:

Enhanced Turing Machines Lecture 28 Sections 10.1-10.2 Robb T. Koether Hampden-Sydney College Wed, Nov 2, 2016 Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 1 / 21

1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 2 / 21

Outline 1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 3 / 21

Increasing the Power of a Turing Machine It is hard to believe that something as simple as a Turing machine could be powerful enough to solve complicated problems. We can imagine a number of improvements. A Stay option Multiple tapes One-way infinite tape Two-dimensional tape (n-dimensional tape) Addressable memory Nondeterminism etc. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 4 / 21

Outline 1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 5 / 21

A Stay Option Rather more left or right on every transition, we could allow the Turing machine to stay at its current tape position. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 6 / 21

A Stay Option Theorem Any Turing machine with a Stay option is equivalent to some standard Turing machine. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 7 / 21

Outline 1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 8 / 21

One-way Infinite Tape Would a Turing machine with a one-way infinite tape be more powerful than a standard Turing machine? Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 9 / 21

One-way Infinite Tape Theorem Any Turing machine with a one-way infinite tape is equivalent to a standard Turing machine. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 10 / 21

One-way Infinite Tape We can use a one-tape machine to simulate the two-way infinite tape. Establish a tape position that marks the left edge of the one-way tape. Symbols that would be to the right of that mark will occupy the odd positions. Symbols that would be to the left of that mark will occupy the even positions. Modity the transitions accordingly. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 11 / 21

Outline 1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 12 / 21

Multiple Tapes Would a Turing machine with k tapes, k > 1, be more powerful than a standard Turing machine? Each tape could be processed independently of the others. In other words, each transition would read each tape, write to each tape, and move left or right independently on each tape. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 13 / 21

Multiple Tapes Theorem Any language that is accepted by a multitape Turing machine is also accepted by a standard Turing machine. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 14 / 21

Multiple Tapes Proof (sketch): Let the tape contents be: Tape 1: x 11 x 12 x 13... x 1n1 Tape 2: x 21 x 22 x 23... x 2n2.. Tape k: x k1 x k2 x k3... x knk Then we would write on a single tape #x 11 x 12... x 1n1 #x 21 x 22... x 2n2 #... #x k1 x k2... x knk #. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 15 / 21

Multiple Tapes Proof (sketch): To show the current location on each tape, put a special mark on one of that tape s symbols: #x 11 x 12... x 1n1 #x 21 x 22... x 2n2 #... #x k1 x k2... x knk # Begin with #x 11 x 12... x 1n1 # #... # # Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 16 / 21

Multiple Tapes Proof (sketch): The Turing machine scans the tape, locating the current symbol on each tape. It then makes the appropriate transition. Write a symbol in each of the current positions. Move the location of the current symbol one space left or right for each tape. Of course, the devil is in the details. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 17 / 21

Outline 1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 18 / 21

Binary Addition Example (Binary Addition) Binary addition is much simpler if we have a three-tape machine. Write x on tape 1 and write y on tape 2. Write the sum on tape 3. For simplicity, assume fixed-length integers. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 19 / 21

Outline 1 Variants of Turing Machines A Stay Option One-Way Infinite Tape Multiple Tapes Examples 2 Assignment Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 20 / 21

Assignment Homework Use JFLAP to do the following: Design a 3-tape machine that will do subtraction of fixed-length integers. Allow the results to wrap around. That is, if y > x, then the result of x y will be 2 n + (x y). Design a 3-tape machine that will accept the language {a n b n c n n 0}. Robb T. Koether (Hampden-Sydney College) Enhanced Turing Machines Wed, Nov 2, 2016 21 / 21