Computability Theory and Big Numbers Alexander Davydov August 30, - - PowerPoint PPT Presentation

computability theory and big numbers
SMART_READER_LITE
LIVE PREVIEW

Computability Theory and Big Numbers Alexander Davydov August 30, - - PowerPoint PPT Presentation

Computability Theory and Big Numbers Alexander Davydov August 30, 2018 Alexander Davydov Computability Theory and Big Numbers August 30, 2018 1 / 42 Classic Large Numbers Factorial 100! 9 . 33 10 157 (100!)! >> 100! Power


slide-1
SLIDE 1

Computability Theory and Big Numbers

Alexander Davydov August 30, 2018

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 1 / 42

slide-2
SLIDE 2

Classic Large Numbers

Factorial

100! ≈ 9.33 × 10157 (100!)! >> 100!

Power towers

3 ↑↑ 4 = 3333 = 37625597500000

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 2 / 42

slide-3
SLIDE 3

Graham’s Number

g64

gn =

  • 3 ↑↑↑↑ 3

if n = 1 3 ↑gn−1 3 if n ≥ 2 and n ∈ N

So large that the observable universe is too small to contain the digital representation of Grahams Number, even if each digit were one Planck volume

1 Planck volume = 4.2217 × 10−105m3

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 3 / 42

slide-4
SLIDE 4

Turing Machines

A Turing machine serves as a mathematical model for computation Informally:

One-dimensional tape of cells that extends infinitely in either direction Each cell contains a symbol from the “alphabet” of the machine

Typically 0, 1, and possibly a blank symbol

Machine contains a “head” that reads the symbol underneath it Machine is in one of finitely many “states” that determine what the machine does At each step, based on the symbol that the head reads, the head will

  • verwrite the symbol that it just read and then move either to the left
  • r right and then enter a new state

The machine has a qHALT state. When the machine reaches the qHALT state, the machine halts and whatever is written on the tape is

  • utputted

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 4 / 42

slide-5
SLIDE 5

Formal Definition of a Turing Machine

A Turing Machine M is described by a tuple (Γ, Q, δ) containing:

A set Γ of the symbols that M's tape can contain. Γ is typically called the alphabet of M A set Q of all possible states that M can be in. Q contains a designated start state and qHALT A transition function δ : Q × Γ → Q × Γ × {L, R} which determines based on the machines current state and the symbol it reads what symbol the machine will write, what new state it will go to, and whether the machine moves left or right

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 5 / 42

slide-6
SLIDE 6

Example of a Turing Machine that adds 1

1 When starting at the left end of the number, walk to the right end of

the number

2 Walking right to left, change all 1s to 0s 3 At first 0, change to 1 and halt

Figure: State Diagram for this Algorithm

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 6 / 42

slide-7
SLIDE 7

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 7 / 42

slide-8
SLIDE 8

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 8 / 42

slide-9
SLIDE 9

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 9 / 42

slide-10
SLIDE 10

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 10 / 42

slide-11
SLIDE 11

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 11 / 42

slide-12
SLIDE 12

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 12 / 42

slide-13
SLIDE 13

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 13 / 42

slide-14
SLIDE 14

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 14 / 42

slide-15
SLIDE 15

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 15 / 42

slide-16
SLIDE 16

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 16 / 42

slide-17
SLIDE 17

Example of a Turing Machine that adds 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 17 / 42

slide-18
SLIDE 18

Computable and Uncomputable Functions

Definition

A function f : N → N is said to be computable if there exists a TM M such that if you give n as input to M, M will output f (n) Probably almost every function you can think of is computable

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 18 / 42

slide-19
SLIDE 19

The Halting Problem

Define a function HALT which takes as input a Turing machine, M, and some input, x, and outputs 1 if the given Turing machine halts

  • n x, 0 otherwise

Theorem

HALT is not computable by any Turing Machine

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 19 / 42

slide-20
SLIDE 20

The Busy Beaver Function

First introduced by Tibor Rad´

  • in his 1962 paper “On

Non-Computable Functions” The Busy Beaver function Σ(n) is defined by the maximum number

  • f 1s written on a blank tape (all 0s) by a two symbol (0, 1), n-state

(not counting qHALT) Turing machine that halts

Figure: 2-state TM that writes the most 1’s

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 20 / 42

slide-21
SLIDE 21

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 21 / 42

slide-22
SLIDE 22

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 22 / 42

slide-23
SLIDE 23

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 23 / 42

slide-24
SLIDE 24

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 24 / 42

slide-25
SLIDE 25

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 25 / 42

slide-26
SLIDE 26

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 26 / 42

slide-27
SLIDE 27

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 27 / 42

slide-28
SLIDE 28

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 28 / 42

slide-29
SLIDE 29

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 29 / 42

slide-30
SLIDE 30

Example of a 2-state Busy Beaver

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 30 / 42

slide-31
SLIDE 31

Maximum Shifts Function

Similar to the Busy Beaver Function The Maximum shifts function S(n) is defined by the maximum number of shifts on a blank tape (left or right) taken by a two symbol (0, 1), n-state (not counting qHALT) Turing machine that halts

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 31 / 42

slide-32
SLIDE 32

Values of Σ(n) and S(n)

Σ(1) = 1, S(1) = 1

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 32 / 42

slide-33
SLIDE 33

Values of Σ(n) and S(n)

Σ(1) = 1, S(1) = 1 Σ(2) = 4, S(2) = 6

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 33 / 42

slide-34
SLIDE 34

Values of Σ(n) and S(n)

Σ(1) = 1, S(1) = 1 Σ(2) = 4, S(2) = 6 Σ(3) = 6, S(3) = 21

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 34 / 42

slide-35
SLIDE 35

Values of Σ(n) and S(n)

Σ(1) = 1, S(1) = 1 Σ(2) = 4, S(2) = 6 Σ(3) = 6, S(3) = 21 Σ(4) = 13, S(4) = 107

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 35 / 42

slide-36
SLIDE 36

Values of Σ(n) and S(n)

Σ(1) = 1, S(1) = 1 Σ(2) = 4, S(2) = 6 Σ(3) = 6, S(3) = 21 Σ(4) = 13, S(4) = 107 Σ(5) ≥ 4098, S(5) ≥ 47176870

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 36 / 42

slide-37
SLIDE 37

Values of Σ(n) and S(n)

Σ(1) = 1, S(1) = 1 Σ(2) = 4, S(2) = 6 Σ(3) = 6, S(3) = 21 Σ(4) = 13, S(4) = 107 Σ(5) ≥ 4098, S(5) ≥ 47176870 Σ(6) > 3.5 × 1018267, S(6) > 7.4 × 1036534

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 37 / 42

slide-38
SLIDE 38

How Fast do Σ and S Grow?

Σ and S are both uncomputable The functions Σ and S grow faster than any computable function

If we had a computable function f (n) that grew faster than Σ or S, we could use f to compute HALT

Σ(64) has been proven to be larger than Graham's number

A 64 state TM was created that follows a fast-growing hierarchy that dwarfs Graham's Number Some sources say even Σ(18) is larger than Graham's number

Σ(1919) is unknowable given the usual axioms of set theory (ZFC set theory with the axiom of choice)

A 1919 state TM that cannot be proven to run forever

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 38 / 42

slide-39
SLIDE 39

Application of S(n)

Some unsolved conjectures in mathematics (Twin primes, Goldbach, Collatz, etc.) could be checked using the values of S(n) Suppose we wrote a Turing machine with 100 states that checked the Collatz conjecture and that we have an upper bound for the value of S(100) We could run the TM for S(100) steps and if it does not halt, we know that it will never halt so the Collatz conjecture would be true (this TM only halts if a counterexample is found)!

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 39 / 42

slide-40
SLIDE 40

Good News?

This application is not practical for several reasons

It is very difficult to find values (or even upper bounds) for S(n) We do not have enough computational capacity in the known part of the universe to even perform S(6) operations

Not many useful programs only have 6 states

Finding values for Σ and S are in some regard, much “harder” than these unproved conjectures because they encapsulate these conjectures!

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 40 / 42

slide-41
SLIDE 41

Beyond Busy Beavers

We can give Turing machines access to an Oracle which can give the TM more information

Oracle machines can query the oracle and determine whether what is written on the tape is part of a predetermined set The HALT-oracle machine will check whether or not the TM and input encoded on the tape will halt

TMs with oracles have larger values of Σ and S

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 41 / 42

slide-42
SLIDE 42

References I

Sanjeev Arora and Boaz Barak Complexity Theory: A Modern Approach. Cambridge University Press 2009. Adam Yedidia and Scott Aaronson A Relatively Small Turing Machine Whose Behavior Is Independent of Set Theory Scott Aaronson Who can name the bigger number? Thank you to David Bekkerman for spending the Summer with me talking about Computability and Complexity Theory!

Alexander Davydov Computability Theory and Big Numbers August 30, 2018 42 / 42