CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Analysis of Busy Beaver Machines via Induction Proofs James Harland.

Slides:



Advertisements
Similar presentations
Variations of the Turing Machine
Advertisements

PDAs Accept Context-Free Languages
ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala
3rd Annual Plex/2E Worldwide Users Conference 13A Batch Processing in 2E Jeffrey A. Welsh, STAR BASE Consulting, Inc. September 20, 2007.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Myra Shields Training Manager Introduction to OvidSP.
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
By John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman
SAT-10 Practice Mark your answers correctly on the SAT-10 Practice paper.
Mean, Median, Mode & Range
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Wants.
Year 6 mental test 10 second questions
Introduction to Turing Machines
Introduction to Turing Machines
Computational Complexity
Computability Dr. Colin Campbell Course Element 2 (EMAT20531)
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
EE, NCKU Tien-Hao Chang (Darby Chang)
Computing functions with Turing machines
Chapter 11: Models of Computation
Turing Machines.
Created by Mr.Lafferty Maths Dept
The Beauty of Mathematics
DIVISIBILITY, FACTORS & MULTIPLES
An Application of Linear Programming Lesson 12 The Transportation Model.
Binary Values and Number Systems
Theory of NP-Completeness
Chapter 4 Variable–Length and Huffman Codes. Unique Decodability We must always be able to determine where one code word ends and the next one begins.
Turing Machines Variants
CATS’06 18/1/2006James Harland The Busy Beaver, the Placid Platypus and Other Crazy Creatures The Busy Beaver, the Placid Platypus and Other Crazy Creatures.
COSC1078 Introduction to Information Technology Lecture 2 Overview
Least Common Multiples and Greatest Common Factors
Artificial Intelligence
23-8 3x6 Double it Take Away 6 Share By 9 Double it +10 Halve it Beginner Start Answer Intermediate 70 50% of this ÷7÷7 x8 Double it Start Answer.
Complexity Classes: P and NP
1 If we modify the machine for the language we can easily construct a machine for the language Observation.
Finite-state Recognizers
Datorteknik IntegerAddSub bild 1 Integer arithmetic Depends what you mean by "integer" Assume at 3-bit string. –Then we define zero = 000 one = 001 Use.
1 Let’s Recapitulate. 2 Regular Languages DFAs NFAs Regular Expressions Regular Grammars.
PSSA Preparation.
Practice Skip Counting
Insertion Sort Introduction to Algorithms Insertion Sort CSE 680 Prof. Roger Crawfis.
Introduction Peter Dolog dolog [at] cs [dot] aau [dot] dk Intelligent Web and Information Systems September 9, 2010.
Impossibility of Consensus in Asynchronous Systems (FLP) Ali Ghodsi – UC Berkeley / KTH alig(at)cs.berkeley.edu.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
Finite State Machines Finite state machines with output
Lecture 16: Processes Intro to IT COSC1078 Introduction to Information Technology Lecture 16 Processes James Harland
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Chapter 3 Loops.
Multiplication Facts Practice
Graeme Henchel Multiples Graeme Henchel
0 x x2 0 0 x1 0 0 x3 0 1 x7 7 2 x0 0 9 x0 0.
T-SPaCS – A Two-Level Single-Pass Cache Simulation Methodology + Also Affiliated with NSF Center for High- Performance Reconfigurable Computing Wei Zang.
7x7=.
Beaver, Platypus, Unicorn, Zoo …Monash 29 th June,2011 The Busy Beaver, the Placid Platypus and the Universal Unicorn James Harland
Prof. Busch - LSU1 Decidable Languages. Prof. Busch - LSU2 Recall that: A language is Turing-Acceptable if there is a Turing machine that accepts Also.
Fall 2005Costas Busch - RPI1 Recursively Enumerable and Recursive Languages.
The Busy Beaver, the Placid Platypus and the Universal Unicorn Beaver, Platypus, Unicorn … RMIT 1 st August, 2014 James Harland
The Busy Beaver, the Placid Platypus and the Universal Unicorn
CS&IT Seminar 7/9/2007James Harland Busy Beaver, Universal machines and the Wolfram Prize Busy Beaver, Universal Machines and the Wolfram Prize James Harland.
1 Turing’s Thesis. 2 Turing’s thesis: Any computation carried out by mechanical means can be performed by a Turing Machine (1930)
Recursively Enumerable and Recursive Languages
1 Introduction to Turing Machines
Busch Complexity Lectures: Reductions
Reductions.
Reductions Costas Busch - LSU.
Proving Termination and Non-Termination of Busy Beaver Machines
Turing Machines Acceptors; Enumerators
Formal Definitions for Turing Machines
Presentation transcript:

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Analysis of Busy Beaver Machines via Induction Proofs James Harland School of CS & IT RMIT University

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Introduction New twist on an old problem More questions than answers! Innocuous class of machines generate huge numbers Involves termination analysis and constraint programming Frustrating to the point of obsession …

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Busy Beaver Turing Machines Two-way infinite tape Only tape symbols are 0 and 1 Deterministic Blank on input Question: What is the largest number of 1’s that can be printed by a terminating n-state machine?

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Known Values (n states, 2 symbols) nbb(n)ff(n) ≥ 4098≥ 47,176,870 6≥ 1.29× ≥ 3× !!!!!!!!????

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Known Values (n states, m symbols) StatesSymbolsbb(n)ff(n) ≥ 2,050≥ 3,932,964 33≥ 95,524,079≥ 4,345,166,620,336,565 25≥ 1.7×10 11 ≥ 7.1× ????

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Known Beaver Machines

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Known Beaver Machines This can be represented in around 60 bits … takes about 2,800 bits …

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Busy Beaver function Non-computable Grows faster than any computable function Various mathematical bounds known Seems hopeless for n ≥ 7 Values for n = 5 seem settled 3, 4, 5, 6 symbol versions are popular

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Contribution of this work Use execution history for non-termination conjectures Evaluate conjectures on a “hypothetical” engine Automate the search as much as possible

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Example 11{C}1 → 11{C}111 → 11{C}11111 … Conjecture is 11{C} 1 (11) N → 11{C} 111(11) N Start engine in 11{C} 1 (11) N Terminate with success if we reach 11{C} 111 (11) N (or 11{C} 11 (11) N 1 or …)

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Killer Kangaroos 1 6 {D}0 → 1 18 {D}0 → 1 42 {D}0 (!!!) → 1 90 {D} {D}0 does not occur … 1 N {D}0 → 1 2N+6 {D}0 or alternatively 1 N {D}0 → (11) N {D}0 Then execute on engine as before

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Engine Design L {S}I N R → ???? Run L {S}I R and look for “repeatable” parts L {S}I R → L O {S} R wild wombat L {S}I R → L’ O {S} R slithery snake L {S}I R → L’ O {S} R’ maniacal monkey slithery snake → resilient reptile when |I| < |O|

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Engine State Around 4,000 lines of Ciao Prolog Available on my web page Includes all three heuristics Some killer kangaroos still escape … Analysis does not terminate for all machines (yet!) At least one further heuristic needed

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Addictive Adders 1111{C} {C} {C} {C} {C} {C} {C} {C}11

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Addictive Adders Conjecture is 1 N 1111{C}11 → 1 N {C}11 “Secondary” induction of the form 1 N 0(11) K {C} 1 M → 1 N+1 0(11) K-1 {C} 1 M+1 The forthcoming observant otter heuristic will evaluate this as 1 N+K 0 {C} 1 M+K

CATS’07 1/2/2007James Harland Analysis of Busy Beaver machines via Induction Proofs Conclusions & Further Work Plenty of interesting questions … Decidability (?) of n = 4 case Complete analysis of n = 5 case Engine improvements 2x3, 2x4, 2x5, 3x3 cases as well Placid platypus and other aspects “mine” cases for 3,4,5 for attempt on n = 6 (aka quest for the demon duck of doom)