145
Proving Church’s Thesis Nachum Dershowitz w/ Yuri Gurevich

Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Proving Church’s Thesis

Nachum Dershowitz w/ Yuri Gurevich

Page 2: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 3: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 4: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What is the thesis?

Page 5: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church’s Thesis (1936)

Recursive functions “capture” effective computability

Page 6: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Recursive Functions

•  Partial functions on natural numbers •  Initial functions: 0 and successor •  Other functions defined via equations:

x + 0 = x x + y’ = (x + y)’ 0 − y = 0 x’ − y = (x − y)’

[Hilbert, Ackermann, Peter, Herbrand, Gödel]

Page 7: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Recursive Functions

•  Partial functions on natural numbers •  Initial functions: 0 and successor •  Other functions defined via equations:

x + 0 = x x + y’ = (x + y)’ 0 − y = 0 x’ − y = (x − y)’

[Hilbert, Ackermann, Peter, Herbrand, Gödel]

1 n=0 n×f(n-1) otherwise {

f(n) =

Page 8: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Alonzo Church (1936)

[We] propose a definition of effective calculability which is thought to correspond satisfactorily to [a] somewhat vague intuitive notion....

We now define ... the notion of effective calculable function of the positive integers by identifying it with the notion of a recursive function.

Page 9: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Emil Leon Post (1936) To mask this identification under a definition hides the fact that a fundamental discovery in the limitations of mathematicizing power of Homo Sapiens has been made and blinds us to the need of its continual verification.

Page 10: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Alan Turing (1936)

A man provided with paper, pencil, and

rubber, and subject to strict discipline, is in effect a universal

machine

Page 11: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Turing’s Thesis

Turing Machines capture mechanical human computation

Page 12: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church [Turing's machines have] the advantage of making the identification with effectiveness in the ordinary (not explicitly defined) sense evident immediately.

To define effectiveness as computability by an arbitrary machine, subject to restrictions of finiteness, would seem an adequate representation of the ordinary notion.

Page 13: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Steve Kleene (1936) So Turing’s and Church’s theses are equivalent. We shall usually refer to them both as Church’s thesis, or in connection with that one of its... versions which deals with “Turing machines” as the Church-Turing thesis.

Page 14: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Thesis I†

Every partial function which is effectively calculable (in the sense that there is an algorithm by which its value can be calculated for every n -tuple belonging to its range of definition) is potentially partial recursive.

Page 15: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church-Turing Thesis

All effective computational models are equivalent to, or weaker than, Turing machines

-

Page 16: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Robin Gandy

•  “The confluence of ideas in 1936”

Page 17: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why make the claim?

Page 18: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why?

The thesis allowed Church and Turing to “prove”

undecidability of

a classical decision problem

Page 19: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Ramon Lull (1274)

Raymondus Lullus Ars Magna et Ultima

Page 20: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 21: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Gottfried Wilhelm Leibniz (1666) The only way to rectify our reasonings is to make them as tangible as those of the Mathematician, so that we can find our error at a glance, and when there are disputes among persons, we can simply say: Let us calculate [calculemas], without further ado, in order to see who is right.

Page 22: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 23: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

David Hilbert’s Entscheidungsproblem

#2. Provide an effective method to determine if a formula is valid.

#2. Provide an effective method to determine if a formula is valid.

(c. 1900)

Page 24: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Satisfiability Problem

Given an arbitrary formula in first-order predicate calculus,

decide if it is satisfiable (invalid) or unsatisfiable (valid).

Satisfiable: True for some interpretation Valid: True in all interpretations

Page 25: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Hilbert & Ackermann (1928)

The Entscheidungsproblem is solved when we know a procedure that allows for any given logical expression to decide by finitely many operations its validity or satisfiability.

Page 26: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Hilbert & Ackermann

•  The Entscheidungsproblem must be considered the main problem of mathematical logic.

•  [Its solution] is of fundamental significance for the theory of all domains whose propositions could be developed on the basis of a finite number of axioms.

Page 27: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Jules Henri Poincaré

We might imagine a machine where we should put in axioms at one end and take out theorems at the other, like that legendary machine in Chicago where pigs go in alive and come out transformed into hams and sausages.

Page 28: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

If the human mind were equivalent to a finite machine, then ... there would exist absolutely unsolvable problems…, where the epithet “absolutely” means that they would be undecidable, not just within some particular axiomatic system, but by any mathematical proof the mind can conceive.

Kurt Gödel

Page 29: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why prove the claim?

Page 30: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Richard Shore (2001)

First in Shore’s list of

“pie in the sky” problems

for the 21st century.

Page 31: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Richard Montague (1960)

Discussion of Church’s thesis has suffered for lack of a precise

general framework within which it

could be conducted

Page 32: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Reactions

1.  I know it is true.

2.  I know it is false.

3.  I know it is unprovable.

Page 33: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Preaching to the Choir

Page 34: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Turing (1948)

Logical Computing Machines can do anything that could be described as “rule of thumb” or “purely mechanical”. This is sufficiently well established that it is now agreed amongst logicians that “calculable by means of an LCM” is the correct rendering of such phrases.

Page 35: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Humans are not Machines

Page 36: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Bringsjord

Penrose

Lucas

Page 37: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

It Can’t be Done

Page 38: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Laszlo Kalmár (1959) There are pre-mathematical concepts which must remain [so].... Among these belong ... such concepts as that of effective calculability ... the extension of which cannot cease to change during the development of mathematics.

38

Page 39: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why believe the claim?

Page 40: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why Believe?

•  Model equivalence: Church, Turing, Post, Markov, Kolmogorov

Page 41: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Lambda Calculus

Church (1936-1941)

λx. (x x)

Page 42: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church

The fact that two such widely different equally natural definitions of effective calculability turn out to be equivalent adds to the strength of the reasons for believing that they constitute as general a characterization of this notion as is consistent with the usual intuitive understanding of it.

Page 43: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Bernard Moret The remarkable result about these varied models is that all of them define exactly the same class of computable functions: whatever one model can compute, all the others can too!

Page 44: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Princeton Course “The definition of a Turing

machine is very complete.”

–  Multiple heads –  Multiple tapes –  Multiple states –  Multiple directions –  Multiple dimensions –  Multiple worlds

Page 45: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why Believe?

•  Model equivalence: Church, Turing, Post, Markov, Kolmogorov –  What excludes a systematic error? –  People thought primitive recursive was it

Page 46: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why Believe?

•  Model equivalence: Church, Turing, Post, Markov, Kolmogorov –  What excludes a systematic error? –  People thought primitive recursive was it

•  Experience: programming languages compute only recursive functions

Page 47: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

The Turing Tarpit •  Thue systems

–  Post systems •  Lambda calculi •  Partial recursion •  Turing machines •  Markov normal

algorithms •  Minsky counter

machines •  Type 0 languages

•  Kolmogorov-Uspenskii machines

•  Neuring machines •  Wang machines •  Random access machines •  Quantum computers •  Billiard ball computers •  Least fixpoints •  Fortran, Algol, Lisp, C,

Pascal, Logo, Ada, Java, ...

Page 48: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 49: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why Believe?

•  Model equivalence: Church, Turing, Post, Markov, Kolmogorov –  What excludes a systematic error? –  People thought primitive recursive was it

•  Experience: programming languages compute only recursive functions –  History is full of delayed discoveries

Page 50: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why Believe?

•  Model equivalence: Church, Turing, Post, Markov, Kolmogorov –  What excludes a systematic error? –  People thought primitive recursive was it

•  Experience: programming languages compute only recursive functions –  History is full of delayed discoveries

•  Turing’s analysis –  This is by far the strongest argument

Page 51: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Gödel

•  It was only by Turing’s work that it became completely clear, that my proof is applicable to every formal system containing arithmetic.

Page 52: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Why Believe?

•  Model equivalence: Church, Turing, Post, Markov, Kolmogorov –  What excludes a systematic error? –  People thought primitive recursive was it

•  Experience: programming languages compute only recursive functions –  History is full of delayed discoveries

•  Turing’s analysis –  This is by far the strongest argument –  Does not cover all algorithms

Page 53: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

How can one prove the claim?

Page 54: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Turing’s Premises •  Sequential symbol manipulation •  Deterministic •  Finite internal states •  Finite symbol space •  Finite observability and local action •  Linear external memory

Page 55: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church to Kleene (1935)

[Gödel thought] that it might be possible ... to state a set of axioms which would embody the generally accepted properties of [effective calculability], and to do something on that basis.

Page 56: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Joe Shoenfield (1991)

It may seem that it is impossible to give a proof of Church’s Thesis. However, this is not necessarily the case. We can write down some axioms about computable functions which most people would agree are evidently true. It might be possible to prove Church’s Thesis from such axioms.

Page 57: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Joe Shoenfield

However, despite strenuous efforts, no one has succeeded in doing this (although some interesting partial results have been obtained).

Page 58: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Formalization of

Effective Algorithm

Page 59: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Euclid (c. -300) Euclid’s GCD algorithm appeared in his Elements. Formulated geometrically: Find common measure for 2 lines. Used repeated subtraction of the shorter segment from the longer.

Page 60: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Don Knuth (1966) Algorithms are concepts which have existence apart from any programming language… I believe algorithms were present long before Turing et al. formulated them, just as the concept of the number “two” was in existence long before the writers of first grade textbooks and other mathematical logicians gave it a certain precise definition.

Page 61: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Postulates

I. An algorithm determines a computational sequence

II. Elements of the sequence can be arbitrary structures

III. Transitions are governed by some finite description

IV. Only computable operations are given initially

Page 62: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

I

Page 63: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What is an algorithm?

•  An algorithm is a kind of state transition system.

Page 64: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Knuth (1966)

A computational method

comprises a set of states…

In this way we can divorce abstract algorithms from particular programs that

represent them.

Page 65: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Hartley Rogers, Jr. (1966) •  Roughly speaking, an algorithm is a

clerical (i.e., deterministic, bookkeeping) procedure which can be applied to any of a certain class of symbolic inputs and which will eventually yield, for each such input, a corresponding symbolic output.

•  An example of an algorithm is the usual procedure given in elementary calculus for differentiating polynomials…

Page 66: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Donald Knuth (1968)

A computational method consists of:

1. States Q 2. Input I ⊆ Q 3. Output O ⊆ Q 4. Transitions τ : Q → Q

Page 67: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

terminal

Page 68: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

State Transition

>

Page 69: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Computation

Page 70: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Computation

Page 71: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Algorithm = Transition System

I

O

Q

Page 72: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

I. Sequential Time

•  An algorithm is a state-transition system.

•  Its transitions are partial functions.

Page 73: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 74: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Rogers

For any given input, the computation is carried out in a discrete stepwise fashion, without use of continuous methods or analogue devices.

Computation is carried forward deterministically, without resort to random methods or devices, e.g., dice.

Virtually all mathematicians would agree that, although inexactly stated, [these features] are inherent in the idea of algorithm.

Page 75: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Joe Shoenfield

A method must be mechanical…

Methods which involve chance procedures are excluded;… methods which involve magic are excluded;… methods which require insight are excluded.

Page 76: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 77: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 78: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 79: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 80: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

II

Page 81: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church •  An algorithm consists of a method by

which ... a sequence of expressions (in some notation) ... can be obtained;

•  [each] is effectively calculable [given prior expressions];

•  and where ... the fact that the algorithm has terminated becomes effectively known and

•  the [output] is effectively calculable.

Page 82: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Goal

•  Representation-independent axioms

– Church uses numbers – Turing uses string representation – Gandy uses finite set representation – ASMs use any structure

Page 83: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Robin Gandy (1980)

•  States can be described by hereditarily finite sets

•  The rank of these sets is bounded

•  Machines can be assembled unambiguously from individual parts of bounded size

•  Causation is local 83

Page 84: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What is a state?

•  A state is any (first-order) structure.

•  All relevant information should be included in the functions and relations of the state.

Page 85: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Emil Post (1922)

•  The symbol-complexes are completely determined by specifying all the properties and relations of its parts… Each complex of the system can be completely described [by a conjunction of relations]

Page 86: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

State encapsulates all relevant data!

Page 87: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

[a] [f] [a] [f]

Page 88: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 89: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

C° C°

Page 90: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

II. Abstract State

•  States are (first-order) structures. •  All states share the same (finite)

vocabulary. •  Transitions preserve the domain (base

set) of states.

Page 91: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

C

F° F°

Page 92: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

II. Abstract State

•  States are (first-order) structures. •  All states share the same (finite)

vocabulary. •  Transitions preserve the domain (base

set) of states. •  States (and initial and terminal states)

are closed under isomorphism. •  Transitions commute with isomorphisms.

Page 93: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Abstract-State Postulate •  Data is arranged in a structure of a finite

signature.

τ x=5; s(x)=6;… x=“101”; s(x)=“110”;…

x=6; s(x)=7;… τ

x=“110”; s(x)=“111”;…

•  An algorithm is abstract, thus applicable to all isomorphic structures.

c f g

Page 94: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 95: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Infinitary Operations

•  min(a1,a2,…………..) X

•  min{ai|…}

Page 96: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

III

Page 97: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What is a transition?

•  Transitions are algorithmic if they can all be described finitely (without presupposing any special knowledge).

Page 98: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Kleene

An algorithm in our sense must be fully and finitely described before any particular question to which it is applied is selected....

All steps must ... be predetermined and performable without any exercise of ingenuity or mathematical invention by the person doing the computing.

Page 99: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Andrei Kolmogorov (1953) The computational operations are

carried out in discrete steps, where every step only uses a bounded part of the results of all preceding operations.

The unboundedness of memory is only quantitative: i.e., we allow an unbounded number of elements to be accumulated, but they are drawn from a finite set of types, and the relations that connect them have limited complexity…

Page 100: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

III. Bounded Exploration

•  Transitions are determined by a fixed finite set of terms, such that states that agree on the values of these terms, also agree on all state changes.

Yuri Gurevich

Page 101: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 102: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

C

Page 103: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Bounded Exploration

•  Whenever X,Y coincide on T, τ (x)-x = τ (y)-y

x=3; f(3)=5; y=7

τ

T = {x, f(x)}

x=1; f(3)=0; y=7

x=3; f(3)=5; y=2

τ x=1; f(3)=0; y=2

x=3; f(3)=5; y=1

τ x=1; f(3)=0; y=4

Page 104: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

IV

Page 105: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What is effective?

•  Basic arithmetic certainly is.

•  The halting function might not be.

Page 106: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Martin Davis

If non-computable inputs are permitted, then non-computable outputs are attainable.

Page 107: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Federico Luigi Menabrea (1842)

We must limit ourselves to admitting that the first four operations of arithmetic, that is addition, subtraction, multiplication and division, can be performed in a direct manner through the intervention of the machine. The machine is thence capable of performing every species of numerical calculation, for all such calculations ultimately resolve themselves into the four operations we have just named.

Page 108: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

IV. Initial State

–  Static part of initial states is arithmetic: natural numbers and operations +,-,×,÷,=,<.

–  Inputs initialized to natural numbers.

–  Rest is undefined.

Page 109: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

No Magic

Page 110: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Church-Turing Theorem

Any numeric (string) function computed by a transition system that

satisfies the postulates is partial

recursive (Turing computable).

Page 111: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

ASM Theorem

Abstract state machines emulate algorithmic computations (Postulates I-III)

Page 112: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Abstract State Machine

•  f(s1,...,sn) := t

•  if c1∧...∧cn then P

•  [P1 || ... || Pk]

Page 113: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Proof

•  States can be divided into equivalence classes based on equalities between glossary of critical terms

•  Changes can be captured by assignments using only critical terms.

Page 114: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Procedures

•  A procedure is a sequential algorithm, in which the initial states of all runs are the same, except for some constant In

Page 115: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

But...

The initial state may contain uncomputable oracles

Page 116: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

ASMT ⇒ CT

If an ASM’s initial state has only basic arithmetic (N;0,1,+,x,=,<), then it computes a partial recursive function.

A numerical function is effective iff it is (partial) recursive.

Page 117: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

My favorite computer

Page 118: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

-

+ !

?

?

+

-

+

Page 119: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Theorem

The following are equivalent:

–  f : N N is recursive. –  An arithmetical algorithm computes f. –  An arithmetical ASM computes f.

Page 120: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

But there is more to algorithms than numbers!

Page 121: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Rich Domain

Page 122: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What about other domains?

•  What should be considered effective for non-numeric or non-string domains?

Page 123: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Ada Lovelace

Many persons ... imagine that because [the Analytical Engine]

give[s] its results in numerical notation, the nature of its processes must ... be arithmetical and numerical rather than algebraical and analytical.

This is an error.

Page 124: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Ada Lovelace

The engine can arrange and combine its numerical quantities exactly as if they were letters or any other general symbols.

124

Page 125: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Graph Domain

Page 126: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What else is effective?

•  Consider

f (n ) = min i. p (g n+i (c))

where p,g,c work over graphs, say.

Page 127: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

IV: Initial State

•  Initial states do not contain ineffective operations.

Page 128: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Track Functions

Page 129: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 130: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

IV*: Initial State

The domain of an algorithm is arithmetizable.

Meaning: There’s a numerical encoding (not a priori effective) of the additional domain s.t. the induced initial functions are recursive.

Page 131: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Recursive State

Page 132: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Decidable Equality [W. Reisig]

Page 133: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Constructors (w/ U. Boker)

Page 134: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Examples

•  A = { N; 0, S }

nil

cons(nil,nil)

cons(nil,cons(nil,nil))

cons(cons(nil,nil),cons(nil,nil))

0 S(0)

•  B = { binary trees; nil, cons }

S(S(0))

Page 135: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

IV*: Effectiveness

•  Every operation is tracked by a recursive function.

•  Equivalence of terms is decidable.

•  Every operation is computable from the free term (Herbrand) algebra.

(can be extended to partial operations)

Page 136: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Theorem

Turing Machines simulate (up to isomorphism) all effective models (under some representation).

And under no representation can an effective model do more.

Page 137: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Equivalence of Models

•  TM2 < TM [ 1 tape; 2 channels ] •  CM2 < TM2 [ 111...1BBB... ] •  CMn < CM2 [ 2i3j5k7l... ] •  RAM < CMn [ 2x(2y+1) ] •  Scheme < RAM [ Abelson & Sussman ] •  TM < Scheme [ Interpreter ]

Page 138: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

What if I don’t believe the claim?

Page 139: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Bringsjord

Penrose

Lucas

Page 140: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 141: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 142: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function
Page 143: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Martin Davis

How can we ever exclude the possibility of our presented, some day (perhaps by some extraterrestrial visitors), with a (perhaps extremely complex) device or “oracle" that “computes" an uncomputable function?"

Page 144: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Violate Axioms

I. Transfinite or continuous sequence of states

II. Infinitary operations III. Unbounded program or table lookup IV. Super primitive operations

Page 145: Proving Church’s Thesis - BGUfrankel/HonoraryDay09/Slides/NachumDershowitz.pdf · calculable function of the positive integers by identifying it with the notion of a recursive function

Murray Eden (MIT) God need not clutter his memory with infinite lists when the same information can be stored algorithmically within a finite memory…. There may be in God’s memory algorithms for finding algorithms, algorithms for algorithms for finding algorithms, and so on. Each embedment may decrease Her need for storage capacity but not at all decrease knowledge.