Proving Churchs Thesis Nachum Dershowitz w/ Yuri Gurevich What is - - PowerPoint PPT Presentation

proving church s thesis
SMART_READER_LITE
LIVE PREVIEW

Proving Churchs Thesis Nachum Dershowitz w/ Yuri Gurevich What is - - PowerPoint PPT Presentation

Proving Churchs Thesis Nachum Dershowitz w/ Yuri Gurevich What is the thesis? Churchs Thesis (1936) Recursive functions capture effective computability Recursive Functions Partial functions on natural numbers Initial


slide-1
SLIDE 1

Proving Church’s Thesis

Nachum Dershowitz w/ Yuri Gurevich

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4

What is the thesis?

slide-5
SLIDE 5

Church’s Thesis (1936)

Recursive functions “capture” effective computability

slide-6
SLIDE 6

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]

slide-7
SLIDE 7

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) =

slide-8
SLIDE 8

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

  • f a recursive function.
slide-9
SLIDE 9

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.

slide-10
SLIDE 10

Alan Turing (1936)

A man provided with paper, pencil, and rubber, and subject to strict discipline, is in effect a universal machine

slide-11
SLIDE 11

Turing’s Thesis

Turing Machines capture mechanical human computation

slide-12
SLIDE 12

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

  • f finiteness, would seem an adequate

representation of the ordinary notion.

slide-13
SLIDE 13

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

  • f its... versions which

deals with “Turing machines” as the Church- Turing thesis.

slide-14
SLIDE 14

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.

slide-15
SLIDE 15

Church-Turing Thesis

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

slide-16
SLIDE 16

Robin Gandy

  • “The confluence of ideas in 1936”
slide-17
SLIDE 17

Why make the claim?

slide-18
SLIDE 18

Why?

The thesis allowed Church and Turing to “prove” undecidability

  • f

a classical decision problem

slide-19
SLIDE 19

Ramon Lull (1274)

Raymondus Lullus Ars Magna et Ultima

slide-20
SLIDE 20
slide-21
SLIDE 21

Gottfried Wilhelm Leibniz (1666)

The only way to rectify

  • ur 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.

slide-22
SLIDE 22
slide-23
SLIDE 23

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)

slide-24
SLIDE 24

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

slide-25
SLIDE 25

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.

slide-26
SLIDE 26

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.

slide-27
SLIDE 27

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.

slide-28
SLIDE 28

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

slide-29
SLIDE 29

Why prove the claim?

slide-30
SLIDE 30

Richard Shore (2001)

First in Shore’s list of “pie in the sky” problems for the 21st century.

slide-31
SLIDE 31

Richard Montague (1960)

Discussion of Church’s thesis has sufgered for lack of a precise general framework within which it could be conducted

slide-32
SLIDE 32

Reactions

  • 1. I know it is true.
  • 2. I know it is false.
  • 3. I know it is unprovable.
slide-33
SLIDE 33

Preaching to the Choir

slide-34
SLIDE 34

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.

slide-35
SLIDE 35

Humans are not Machines

slide-36
SLIDE 36

Bringsjord Penrose Lucas

slide-37
SLIDE 37

It Can’t be Done

slide-38
SLIDE 38

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

  • f mathematics.

38

slide-39
SLIDE 39

Why believe the claim?

slide-40
SLIDE 40

Why Believe?

  • Model equivalence: Church, Turing, Post,

Markov, Kolmogorov

slide-41
SLIDE 41

Lambda Calculus

Church (1936-1941) λx. (x x)

slide-42
SLIDE 42

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.

slide-43
SLIDE 43

Bernard Moret

The remarkable result about these varied models is that all of them define exactly the same class of computable functions: whatever

  • ne model can

compute, all the

  • thers can too!
slide-44
SLIDE 44

Princeton Course

“The definition of a Turing machine is very complete.”

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

slide-45
SLIDE 45

Why Believe?

  • Model equivalence: Church, Turing, Post,

Markov, Kolmogorov

– What excludes a systematic error? – People thought primitive recursive was it

slide-46
SLIDE 46

Why Believe?

  • Model equivalence: Church, Turing, Post,

Markov, Kolmogorov

– What excludes a systematic error? – People thought primitive recursive was it

  • Experience: programming languages compute
  • nly recursive functions
slide-47
SLIDE 47

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, ...

slide-48
SLIDE 48
slide-49
SLIDE 49

Why Believe?

  • Model equivalence: Church, Turing, Post,

Markov, Kolmogorov

– What excludes a systematic error? – People thought primitive recursive was it

  • Experience: programming languages compute
  • nly recursive functions

– History is full of delayed discoveries

slide-50
SLIDE 50

Why Believe?

  • Model equivalence: Church, Turing, Post,

Markov, Kolmogorov

– What excludes a systematic error? – People thought primitive recursive was it

  • Experience: programming languages compute
  • nly recursive functions

– History is full of delayed discoveries

  • Turing’s analysis

– This is by far the strongest argument

slide-51
SLIDE 51

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.

slide-52
SLIDE 52

Why Believe?

  • Model equivalence: Church, Turing, Post,

Markov, Kolmogorov

– What excludes a systematic error? – People thought primitive recursive was it

  • Experience: programming languages compute
  • nly recursive functions

– History is full of delayed discoveries

  • Turing’s analysis

– This is by far the strongest argument – Does not cover all algorithms

slide-53
SLIDE 53

How can one prove the claim?

slide-54
SLIDE 54

Turing’s Premises

  • Sequential symbol manipulation
  • Deterministic
  • Finite internal states
  • Finite symbol space
  • Finite observability and local action
  • Linear external memory
slide-55
SLIDE 55

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.

slide-56
SLIDE 56

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.

slide-57
SLIDE 57

Joe Shoenfield

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

  • btained).
slide-58
SLIDE 58

Formalization

  • f

Effective Algorithm

slide-59
SLIDE 59

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.

slide-60
SLIDE 60

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.

slide-61
SLIDE 61

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

slide-62
SLIDE 62

I

slide-63
SLIDE 63

What is an algorithm?

  • An algorithm is a kind of state

transition system.

slide-64
SLIDE 64

Knuth (1966)

A computational method comprises a set of states… In this way we can divorce abstract algorithms from particular programs that represent them.

slide-65
SLIDE 65

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…

slide-66
SLIDE 66

Donald Knuth (1968)

A computational method consists of:

  • 1. States Q
  • 2. Input I ⊆ Q
  • 3. Output O ⊆ Q
  • 4. Transitions τ : Q → Q
slide-67
SLIDE 67

terminal

slide-68
SLIDE 68

State Transition

>

slide-69
SLIDE 69

Computation

slide-70
SLIDE 70

Computation

slide-71
SLIDE 71

Algorithm = Transition System

I O

Q

slide-72
SLIDE 72
  • I. Sequential Time
  • An algorithm is a state-transition

system.

  • Its transitions are partial functions.
slide-73
SLIDE 73
slide-74
SLIDE 74

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.

slide-75
SLIDE 75

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.

slide-76
SLIDE 76
slide-77
SLIDE 77
slide-78
SLIDE 78
slide-79
SLIDE 79
slide-80
SLIDE 80

II

slide-81
SLIDE 81

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.
slide-82
SLIDE 82

Goal

  • Representation-independent axioms

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

slide-83
SLIDE 83

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

slide-84
SLIDE 84

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.

slide-85
SLIDE 85

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

  • f relations]
slide-86
SLIDE 86

State encapsulates all relevant data!

slide-87
SLIDE 87

[a] [f]

[a] [f]

slide-88
SLIDE 88
slide-89
SLIDE 89

C° C°

slide-90
SLIDE 90
  • II. Abstract State
  • States are (first-order) structures.
  • All states share the same (finite)

vocabulary.

  • Transitions preserve the domain (base

set) of states.

slide-91
SLIDE 91

C° C C° F° F°

slide-92
SLIDE 92
  • 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.
slide-93
SLIDE 93

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

slide-94
SLIDE 94
slide-95
SLIDE 95

Infinitary Operations

  • min(a1,a2,…………..) X
  • min{ai|…}
slide-96
SLIDE 96

III

slide-97
SLIDE 97

What is a transition?

  • Transitions are algorithmic if they can

all be described finitely (without presupposing any special knowledge).

slide-98
SLIDE 98

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.

slide-99
SLIDE 99

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

  • nly 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…

slide-100
SLIDE 100
  • 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

slide-101
SLIDE 101
slide-102
SLIDE 102

C

slide-103
SLIDE 103

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

slide-104
SLIDE 104

IV

slide-105
SLIDE 105

What is effective?

  • Basic arithmetic certainly is.
  • The halting function might not be.
slide-106
SLIDE 106

Martin Davis

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

slide-107
SLIDE 107

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

  • f numerical calculation, for all such

calculations ultimately resolve themselves into the four operations we have just named.

slide-108
SLIDE 108
  • IV. Initial State

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

slide-109
SLIDE 109

No Magic

slide-110
SLIDE 110

Church-Turing Theorem

Any numeric (string) function computed by a transition system that satisfies the postulates is partial recursive (Turing computable).

slide-111
SLIDE 111

ASM Theorem

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

slide-112
SLIDE 112

Abstract State Machine

  • f(s1,...,sn) := t
  • if c1∧...∧cn then P
  • [P1 || ... || Pk]
slide-113
SLIDE 113

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.

slide-114
SLIDE 114

Procedures

  • A procedure is a sequential algorithm, in

which the initial states of all runs are the same, except for some constant In

slide-115
SLIDE 115

But...

The initial state may contain uncomputable

  • racles
slide-116
SLIDE 116

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.

slide-117
SLIDE 117

My favorite computer

slide-118
SLIDE 118
  • +

!

? ?

+

  • +
slide-119
SLIDE 119

Theorem

The following are equivalent:

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

slide-120
SLIDE 120

But there is more to algorithms than numbers!

slide-121
SLIDE 121

Rich Domain

slide-122
SLIDE 122

What about other domains?

  • What should be considered effective

for non-numeric or non-string domains?

slide-123
SLIDE 123

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.

slide-124
SLIDE 124

Ada Lovelace

The engine can arrange and combine its numerical quantities exactly as if they were letters

  • r any other general symbols.

124

slide-125
SLIDE 125

Graph Domain

slide-126
SLIDE 126

What else is effective?

  • Consider

f (n ) = min i. p (g n+i (c)) where p,g,c work over graphs, say.

slide-127
SLIDE 127

IV: Initial State

  • Initial states do not contain ineffective
  • perations.
slide-128
SLIDE 128

Track Functions

slide-129
SLIDE 129
slide-130
SLIDE 130

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.

slide-131
SLIDE 131

Recursive State

slide-132
SLIDE 132

Decidable Equality [W. Reisig]

slide-133
SLIDE 133

Constructors (w/ U. Boker)

slide-134
SLIDE 134

Examples

  • A = { N; 0, S }

nil cons(nil,nil) cons(nil,cons(nil,nil)) cons(cons(nil,nil),cons(nil,nil)) S(0)

  • B = { binary trees; nil, cons }

S(S(0))

slide-135
SLIDE 135

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)

slide-136
SLIDE 136

Theorem

Turing Machines simulate (up to isomorphism) all effective models (under some representation). And under no representation can an effective model do more.

slide-137
SLIDE 137

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 ]

slide-138
SLIDE 138

What if I don’t believe the claim?

slide-139
SLIDE 139

Bringsjord Penrose Lucas

slide-140
SLIDE 140
slide-141
SLIDE 141
slide-142
SLIDE 142
slide-143
SLIDE 143

Martin Davis

How can we ever exclude the possibility

  • f our presented, some day (perhaps by

some extraterrestrial visitors), with a (perhaps extremely complex) device or “oracle" that “computes" an uncomputable function?"

slide-144
SLIDE 144

Violate Axioms

  • I. Transfinite or continuous sequence of

states

  • II. Infinitary operations
  • III. Unbounded program or table lookup
  • IV. Super primitive operations
slide-145
SLIDE 145

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.