Oracle Turing Machine. Kaixiang Wang

Similar documents
Computability. What can be computed?

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

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

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

CDT314 FABER Formal Languages, Automata and Models of Computation MARK BURGIN INDUCTIVE TURING MACHINES

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

CITS2211 Discrete Structures Turing Machines

Turing Machines (TM)

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

Technical framework of Operating System using Turing Machines

Lecture 20 November 13, 2014

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

Membrane Computing as Multi Turing Machines

Abstract and Kinetic Tile Assembly Model

Automata and Formal Languages - CM0081 Turing Machines

Ron Breukelaar Hendrik Jan Hoogeboom Walter Kosters. ( LIACS algoritmen )

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

The Singularity, the MiniMaxularity, and Human Development (Part II)

Implementation of Recursively Enumerable Languages in Universal Turing Machine

Enhanced Turing Machines

arxiv:cs/ v3 [cs.ds] 9 Jul 2003

Chapter 2. Operational Amplifiers

Towards a Theory of AI Completeness

Sokoban: Reversed Solving

2048 IS (PSPACE) HARD, BUT SOMETIMES EASY

Tetris: A Heuristic Study

CMPUT 396 Tic-Tac-Toe Game

From a Ball Game to Incompleteness

Computability of Tilings

Tetsuo JAIST EikD Erik D. Martin L. MIT

Towards Verification of a Service Orchestration Language. Tan Tian Huat

CSCI 1590 Intro to Computational Complexity

STRATEGY AND COMPLEXITY OF THE GAME OF SQUARES

R&D Meets Production: The Dark Side

Computability of Tilings

Surreal Numbers and Games. February 2010

Easy Games and Hard Games

The Tiling Problem. Nikhil Gopalkrishnan. December 08, 2008

UNDECIDABILITY AND APERIODICITY OF TILINGS OF THE PLANE

THE RISE AND FALL OF THE CHURCH-TURING THESIS Mark Burgin

Pearl Puzzles are NP-complete

Logic and the Sizes of Sets

Chapter 1 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal.

Basic Science for Software Developers

22c181: Formal Methods in Software Engineering. The University of Iowa Spring Propositional Logic

Finite and Infinite Sets

Sequential program, state machine, Concurrent process models

Operational Amplifiers

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011

Chapter 6.1. Cycles in Permutations

Modular arithmetic Math 2320

Theorem Proving and Model Checking

Launchpad Maths. Arithmetic II

Course Outline. Textbook: G. Michael Schneider and Judith L. Gersting, "Invitation to Computer Science C++ Version," 3rd Edition, Thomson, 2004.

1 Diodes. 1.1 Diode Models Ideal Diode. ELEN 236 Diodes

Folding a Paper Strip to Minimize Thickness

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

Lecture 19 November 6, 2014

6.2 Modular Arithmetic

Analog Circuits Prof. Jayanta Mukherjee Department of Electrical Engineering Indian Institute of Technology-Bombay

Introduction to Computer Engineering. CS/ECE 252, Spring 2013 Prof. Mark D. Hill Computer Sciences Department University of Wisconsin Madison

Disclaimer. Primer. Agenda. previous work at the EIT Department, activities at Ericsson

The Foundations of Computability Theory

Automaten und Formale Sprachen alias Theoretische Informatik. Sommersemester 2014

8. You Won t Want To Play Sudoku Again

Graphs of Tilings. Patrick Callahan, University of California Office of the President, Oakland, CA

MITOCW 23. Computational Complexity

Colette Baron-Reid s ORACLE SCHOOL UNLOCK YOUR. Magic WITHIN FREE ORACLE CARD WORKSHOP ASKING THE RIGHT QUESTIONQ

Introduction to AI Techniques

Remember that represents the set of all permutations of {1, 2,... n}

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

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

Easy to Win, Hard to Master:

An Aperiodic Tiling from a Dynamical System: An Exposition of An Example of Culik and Kari. S. Eigen J. Navarro V. Prasad

Third Grade: Mathematics. Unit 1: Math Strategies

arxiv: v1 [cs.cc] 21 Jun 2017

Tiling the Plane with a Fixed Number of Polyominoes

SOLITAIRE CLOBBER AS AN OPTIMIZATION PROBLEM ON WORDS

Chapter 1 An Introduction to Computer Science. INVITATION TO Computer Science 1

One computer theorist s view of cognitive systems

Introduction to cognitive science Session 3: Cognitivism

Generalized Amazons is PSPACE Complete

Lecture 1. Tinoosh Mohsenin

Integrating Gandalf and HOL

Decoding a Signal in Noise

The Mathematica Journal A Generator of Rook Polynomials

Games and Adversarial Search II

Two Perspectives on Logic

ES250: Electrical Science. HW6: The Operational Amplifier

Know your Algorithm! Architectural Trade-offs in the Implementation of a Viterbi Decoder. Matthias Kamuf,

Introduction (concepts and definitions)

CS3334 Data Structures Lecture 4: Bubble Sort & Insertion Sort. Chee Wei Tan

CHAPTER 8 The PN Junction Diode

Simple Search Algorithms

To wards Empirical and Scientific Theories of Computation

6. FUNDAMENTALS OF CHANNEL CODER

CCD reductions techniques

Scrabble is PSPACE-Complete

Merge Sort. Note that the recursion bottoms out when the subarray has just one element, so that it is trivially sorted.

Draft of ECOOP 99 Banquet Speech, Peter Wegner

Transcription:

Oracle Turing Machine Kaixiang Wang

Pre-background: What is Turing machine Oracle Turing Machine Definition Function Complexity Why Oracle Turing Machine is important Application of Oracle Turing Machine Oracle Turing Machine -- Kaixiang Wang 2

Turing Machine Turing machine is a mathematical model of computation. Turing Machine simulate two steps during calculation: Write or erase a symbol on tape Translate focus(pointer) from a tape block to another Church Turing Thesis A function on the natural numbers is computable by a human following an algorithm, ignoring resource limitations, if and only if it is computable by a Turing Machine. Oracle Turing Machine -- Kaixiang Wang 3

Turing Machine Q is a finite, non-empty set of states. is a finite, non-empty set of tape symbols B is a blank symbol. is the set of input symbols is the transition functions. is the initial state. F is the final state. Accepting state. Oracle Turing Machine -- Kaixiang Wang 4

Turing Machine a machine reverse 0 to 1 and 1 to 0 (q0, 0) (q0, 1, R) (q0, 1) (q0, 0, R) (q0, b) (qf, b, R) 0 0 0 1 1 1 ^ 1 1 0 1 1 1 1 1 1 0 1 1 1 0 0 1 1 1 ^ 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 0 0 0 Oracle Turing Machine -- Kaixiang Wang 5

Turing Machine define a language accept 01 and rewrite to 10 (q0, 0) (q1, 1, R) (q1, 1) (q2, 0, R) (q2, b) (qf, b, R) 0 0 0 1 1 1 1 0 0 1 1 1 ^ Oracle Turing Machine -- Kaixiang Wang 6

Oracle Turing Machine Definition An oracle machine is an abstract machine used to study decision problems. An oracle machine must include a typical Turing machine. AND oracle part: 1. An Oracle Tape. 2. An Oracle head. 3. Two special state: ASK and RESPONSE Oracle Turing Machine -- Kaixiang Wang 7

Oracle Turing Machine Definition Oracle machine is a higher hierarchy Turing machine. The black box (Oracle part) can be treated like a sub-level machine which solve the certain decision problem in a single operation. Oracle Turing Machine -- Kaixiang Wang 8

Oracle Turing Machine Function What happens in Oracle part: the contents of the oracle tape are viewed as an instance of the oracle's computational problem; the oracle is consulted, and the contents of the oracle tape are replaced with the solution to that instance of the problem; the oracle head is moved to the first square on the oracle tape; the state of the oracle machine is changed to RESPONSE. Oracle Turing Machine -- Kaixiang Wang 9

Oracle Turing Machine Complexity The ideal Oracle Turing Machine ignore the time and space complexity of the black box part. Thus the Oracle Turing Machine help understanding and proof of complexity problems. Oracle Turing Machine -- Kaixiang Wang 10

Oracle Turing Machine importance Unrealistic Machine. Help us deal with more theoretic problems. Ex: Halting Problem Turing reduction Complexity problem( P!= NP) Oracle Turing Machine -- Kaixiang Wang 11

The Halting Problem Is it possible to determine a machine halt or enter an infinite loop at input i? Oracle Turing Machine -- Kaixiang Wang 12

The Halting Problem The pseudocode Int H(procedure, Input); //return 0 if halt, or 1 if infinite loop Int U(P) { If (H (P,P) ==1 ) { Return 0; //halt } else { while (1) // infinite loop } } Paradox! Oracle Turing Machine -- Kaixiang Wang 13

The Halting Problem A machine with an oracle for the halting problem can determine whether particular Turing machines will halt on particular inputs, but they cannot determine, in general, whether machines equivalent to themselves will halt. This creates a hierarchy of machines, each with a more powerful halting oracle and an even harder halting problem. This hierarchy of machines can be used to define the arithmetical hierarchy (Börger 1989). --- definition reference from wikipidia programhalt(program, input) //does program halt { Return ture } Oracle Turing Machine -- Kaixiang Wang 14

The Turing Reduction In computability theory, a Turing reduction from a problem A to a problem B, is a reduction which solves A, assuming the solution to B is already known (Rogers 1967, Soare 1987) Oracle Turing Machine -- Kaixiang Wang 15

The Complexity Problem P and NP problem P problem: an algorithm solving the task that runs in polynomial time. NP problem: For questions have no known way to find an answer quickly, but if one is provided with information showing what the answer is, it is possible to verify the answer quickly NP hardness: Problem at least as hard as the hardest problems in NP. Oracle Turing Machine -- Kaixiang Wang 16

The Complexity Problem Oracle Turing Machine -- Kaixiang Wang 17

Thank you Questions? Oracle Turing Machine -- Kaixiang Wang 18