SlideShare una empresa de Scribd logo
1 de 12
Descargar para leer sin conexión
PRIMITIVE RECURSIVE
         INCOMPLETENESS




DECIDABILITY / INCOMPLETENESS
                       SEP


               Erik A. Andrejko

         University of Wisconsin - Madison


                Summer 2007




       ERIK A. ANDREJKO     DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                                INCOMPLETENESS


PRIMITIVE RECURSIVE FUNCTIONS
  DEFINITION
  Primitive recursive functions C contains
        The successor functions, λ x[x + 1] ∈ C .
    1


        The constant functions, λ x1 , · · · , xn [m] ∈ C are primitive
    2

        recursive for 0 ≤ n, m.
        The identity functions, or projections, λ x1 , · · · , xn [xi ] ∈ C for
    3

        1 ≤ n and 1 ≤ i ≤ n.
        (Composition) If g1 , g2 , · · · , gm , h ∈ C then
    4

        f (x) = h(g1 (x), · · · , gm (x)) ∈ C .
           ¯          ¯               ¯
        (Primitive Recursion) If g, h ∈ C and n ≥ 1 then f ∈ C where
    5



                                f (0, x2 , · · · , xn ) = g(x2 , · · · , xn )

              f (x1 + 1, x2 , · · · , xn ) = h(x1 , f (x1 , x2 , · · · , xn ), x2 , · · · , xn )

                              ERIK A. ANDREJKO        DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                          INCOMPLETENESS


PRIMITIVE RECURSION FUNCTIONS




  FACT
  There exists a ‘computable’ non primitive recursive function.




                        ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                              INCOMPLETENESS


PARTIAL RECURSIVE FUNCTIONS
  DEFINITION
  The class of partial recursive contains C and
        (Unbounded Search) If θ (x1 , · · · , xn , y ) is a partial recursive
    1

        function then

                    ψ(x1 , · · · , xn ) = µy[θ (x1 , · · · , xn , y ) ↓= 0 and
                                                ∀z ≤ y [θ (x1 , · · · , xn , z) ↓]]

        ψ is partial recursive.

        θ (x1 , · · · , xn , y ) ↓= 0 means that θ (x1 , · · · , xn , y ) defined and
        equals 0
        µyθ (x1 , · · · , xn , y ) ↓= 0 least y such that θ (x1 , · · · , xn , y ) ↓= 0


                            ERIK A. ANDREJKO       DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                       INCOMPLETENESS


COMPUTABLE




  DEFINITION
  A function is

       computable ⇐⇒ Turing computable ⇐⇒ partial recursive




                     ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                            INCOMPLETENESS


TURING MACHINES
  DEFINITION
        (n)
  Let ϕe be the partial function of n variables computed by the Turing
  machine Pe with code e ∈ N.

  DEFINITION
      Write ϕe,s (x) = y if w, y , e < s and y is the output of ϕe (x) in < s
       steps of the Turing machine Pe .
       ϕe,s (x) converges and we write ϕe,s (x) ↓,
       ϕe,s (x) diverges which is written as ϕe,s (x) ↑.

  FACT
  The set { e, x, s : ϕe,s (x) ↓} is recursive.

  FACT
  The set { e, x, y , s : ϕe,s (x) = y } is recursive.
                          ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                            INCOMPLETENESS


RECURSIVELY ENUMERABLE SETS
  DEFINITION
  A set A is called recursively enumerable if A is the domain of some
  partial recursive function.

                         We = dom ϕe = {x : ϕe (x) ↓}

  and
                                  We,s = dom ϕe,s

  Let K = {x : ϕx (x) ↓} = {x : x ∈ Wx }.

  FACT
  K is r.e.

  FACT
  K is not recursive.
                          ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                          INCOMPLETENESS


INCOMPLETENESS


                           N = (N, 0, S, <, +, ·, E)

  THEOREM
  Let A ⊆ Th(N) and suppose that the set

                                   { ϕ : ϕ ∈ A}

  is definable. Then there is a L -sentence σ such that N |= σ and
  A σ.

  COROLLARY
  The set { τ : N |= τ} is not definable in N.



                        ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                         INCOMPLETENESS


PEANO ARITHMETIC

               ∀x [Sx = 0]
               ∀x∀y [Sx = Sy =⇒ x = y ]
               ∀x∀y [x < Sy ⇐⇒ x ≤ y ]
               ∀x [x < 0]
               ∀x [x + 0 = x]
               ∀x∀y [x + Sy = S(x + y )]
               ∀x [x · 0 = 0]
               ∀x∀y [x · Sy = x · y + x]
               ∀x [xE0 = S0]
               ∀x∀y [xESy = xEy · x]
  induction axioms for each well formed formula ϕ
              ϕ(0) ∧ ∀x [ϕ(x) =⇒ ϕ(Sx)] =⇒ ∀xϕ(x)
                       ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
               INCOMPLETENESS




FACT
N |= PA.




             ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                          INCOMPLETENESS


INCOMPLETENESS


  THEOREM
  (Church’s Thesis) A relation is decidable iff it is definable in N.

  COROLLARY
   Th(N) is not recursive.

  THEOREM
  (Gödel Incompleteness Theorem) If A ⊆ Th(N) and A is recursive
  then A is not a complete theory.




                        ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS
PRIMITIVE RECURSIVE
                         INCOMPLETENESS


UNDECIDABLE THEORIES




  FACT
  The theory Th(N, +, ·, S, <) is undecidable.

  FACT
  The theory Th(N, +, ·) is undecidable.




                       ERIK A. ANDREJKO    DECIDABILITY / INCOMPLETENESS

Más contenido relacionado

La actualidad más candente

3.7 applications of tangent lines
3.7 applications of tangent lines3.7 applications of tangent lines
3.7 applications of tangent lines
math265
 
1.7 derivative
1.7 derivative1.7 derivative
1.7 derivative
math265
 
Ppt of first order differenatiol equation
Ppt of first order differenatiol equationPpt of first order differenatiol equation
Ppt of first order differenatiol equation
SUNODH GARLAPATI
 
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Mahmood Adel
 
Equivalence relations
Equivalence relationsEquivalence relations
Equivalence relations
Tarun Gehlot
 
18 directional derivatives and gradient
18 directional  derivatives and gradient18 directional  derivatives and gradient
18 directional derivatives and gradient
math267
 
1.6 slopes and the difference quotient
1.6 slopes and the difference quotient1.6 slopes and the difference quotient
1.6 slopes and the difference quotient
math265
 

La actualidad más candente (17)

23 improper integrals send-x
23 improper integrals send-x23 improper integrals send-x
23 improper integrals send-x
 
Integration material
Integration material Integration material
Integration material
 
Relations and functions
Relations and functionsRelations and functions
Relations and functions
 
3.7 applications of tangent lines
3.7 applications of tangent lines3.7 applications of tangent lines
3.7 applications of tangent lines
 
Calculus of One Variable
Calculus of One VariableCalculus of One Variable
Calculus of One Variable
 
1.7 derivative
1.7 derivative1.7 derivative
1.7 derivative
 
12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x12 derivatives and integrals of inverse trigonometric functions x
12 derivatives and integrals of inverse trigonometric functions x
 
THE CALCULUS INTEGRAL (Beta Version 2009)
THE CALCULUS INTEGRAL (Beta Version 2009)THE CALCULUS INTEGRAL (Beta Version 2009)
THE CALCULUS INTEGRAL (Beta Version 2009)
 
Ppt of first order differenatiol equation
Ppt of first order differenatiol equationPpt of first order differenatiol equation
Ppt of first order differenatiol equation
 
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
Dokumen.tips mathematics ii-institute-of-aeronautical-engineering-pptpdfadvan...
 
Indefinite Integral
Indefinite IntegralIndefinite Integral
Indefinite Integral
 
Equivalence relations
Equivalence relationsEquivalence relations
Equivalence relations
 
18 directional derivatives and gradient
18 directional  derivatives and gradient18 directional  derivatives and gradient
18 directional derivatives and gradient
 
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
ON OPTIMALITY OF THE INDEX OF SUM, PRODUCT, MAXIMUM, AND MINIMUM OF FINITE BA...
 
Optimization Approach to Nash Euilibria with Applications to Interchangeability
Optimization Approach to Nash Euilibria with Applications to InterchangeabilityOptimization Approach to Nash Euilibria with Applications to Interchangeability
Optimization Approach to Nash Euilibria with Applications to Interchangeability
 
1.6 slopes and the difference quotient
1.6 slopes and the difference quotient1.6 slopes and the difference quotient
1.6 slopes and the difference quotient
 
Real Analysis
Real AnalysisReal Analysis
Real Analysis
 

Destacado

Sienna 11 graphs
Sienna 11 graphsSienna 11 graphs
Sienna 11 graphs
chidabdu
 
Sienna 12 huffman
Sienna 12 huffmanSienna 12 huffman
Sienna 12 huffman
chidabdu
 
Algorithm chapter 10
Algorithm chapter 10Algorithm chapter 10
Algorithm chapter 10
chidabdu
 
Automata languages and computation
Automata languages and computationAutomata languages and computation
Automata languages and computation
Karthik Velou
 

Destacado (20)

Deciability (automata presentation)
Deciability (automata presentation)Deciability (automata presentation)
Deciability (automata presentation)
 
Undecidable Problem
Undecidable ProblemUndecidable Problem
Undecidable Problem
 
Decidability of Finiteness of a Context Free Grammer
Decidability of Finiteness of a Context Free GrammerDecidability of Finiteness of a Context Free Grammer
Decidability of Finiteness of a Context Free Grammer
 
Theory of Automata
Theory of AutomataTheory of Automata
Theory of Automata
 
Sienna 11 graphs
Sienna 11 graphsSienna 11 graphs
Sienna 11 graphs
 
Sienna 12 huffman
Sienna 12 huffmanSienna 12 huffman
Sienna 12 huffman
 
POST’s CORRESPONDENCE PROBLEM
POST’s CORRESPONDENCE PROBLEMPOST’s CORRESPONDENCE PROBLEM
POST’s CORRESPONDENCE PROBLEM
 
Theory of Computer Science - Post Correspondence Problem
Theory of Computer Science - Post Correspondence ProblemTheory of Computer Science - Post Correspondence Problem
Theory of Computer Science - Post Correspondence Problem
 
Np cooks theorem
Np cooks theoremNp cooks theorem
Np cooks theorem
 
Algorithm chapter 10
Algorithm chapter 10Algorithm chapter 10
Algorithm chapter 10
 
Final fa part1
Final fa part1Final fa part1
Final fa part1
 
Introduction to Automata Theory, Languages and Computation
Introduction to Automata Theory, Languages and ComputationIntroduction to Automata Theory, Languages and Computation
Introduction to Automata Theory, Languages and Computation
 
Theory of computation / Post’s Correspondence Problems (PCP)
Theory of computation / Post’s Correspondence Problems (PCP)Theory of computation / Post’s Correspondence Problems (PCP)
Theory of computation / Post’s Correspondence Problems (PCP)
 
Automata languages and computation
Automata languages and computationAutomata languages and computation
Automata languages and computation
 
Pumping Lemma
Pumping LemmaPumping Lemma
Pumping Lemma
 
Pumping lemma
Pumping lemmaPumping lemma
Pumping lemma
 
Theory of computation Lec2
Theory of computation Lec2Theory of computation Lec2
Theory of computation Lec2
 
Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)Fafl notes [2010] (sjbit)
Fafl notes [2010] (sjbit)
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
Finite automata
Finite automataFinite automata
Finite automata
 

Similar a Decidability

Similar a Decidability (20)

Pmath 351 note
Pmath 351 notePmath 351 note
Pmath 351 note
 
Random Forest
Random ForestRandom Forest
Random Forest
 
Mathsclass xii (exampler problems)
Mathsclass xii (exampler problems)Mathsclass xii (exampler problems)
Mathsclass xii (exampler problems)
 
Matrix Transformations on Some Difference Sequence Spaces
Matrix Transformations on Some Difference Sequence SpacesMatrix Transformations on Some Difference Sequence Spaces
Matrix Transformations on Some Difference Sequence Spaces
 
On uniformly continuous uniform space
On uniformly continuous uniform spaceOn uniformly continuous uniform space
On uniformly continuous uniform space
 
Cheatsheet probability
Cheatsheet probabilityCheatsheet probability
Cheatsheet probability
 
Applied Mathematics Multiple Integration by Mrs. Geetanjali P.Kale.pdf
Applied Mathematics Multiple Integration by Mrs. Geetanjali P.Kale.pdfApplied Mathematics Multiple Integration by Mrs. Geetanjali P.Kale.pdf
Applied Mathematics Multiple Integration by Mrs. Geetanjali P.Kale.pdf
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers II
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers II
 
SlidesL28.pdf
SlidesL28.pdfSlidesL28.pdf
SlidesL28.pdf
 
Slides erasmus
Slides erasmusSlides erasmus
Slides erasmus
 
Regression Theory
Regression TheoryRegression Theory
Regression Theory
 
Integral dalam Bahasa Inggris
Integral dalam Bahasa InggrisIntegral dalam Bahasa Inggris
Integral dalam Bahasa Inggris
 
Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
 
2.3 Operations that preserve convexity & 2.4 Generalized inequalities
2.3 Operations that preserve convexity & 2.4 Generalized inequalities2.3 Operations that preserve convexity & 2.4 Generalized inequalities
2.3 Operations that preserve convexity & 2.4 Generalized inequalities
 
2.9 Cartesian products
2.9 Cartesian products2.9 Cartesian products
2.9 Cartesian products
 
Andrei rusu-2013-amaa-workshop
Andrei rusu-2013-amaa-workshopAndrei rusu-2013-amaa-workshop
Andrei rusu-2013-amaa-workshop
 
lec23.ppt
lec23.pptlec23.ppt
lec23.ppt
 
Nonsmooth Optimization
Nonsmooth OptimizationNonsmooth Optimization
Nonsmooth Optimization
 
Truth, deduction, computation lecture i (last one)
Truth, deduction, computation   lecture i (last one)Truth, deduction, computation   lecture i (last one)
Truth, deduction, computation lecture i (last one)
 

Más de andrejko (9)

Killing S Spaces
Killing S SpacesKilling S Spaces
Killing S Spaces
 
Completeness
CompletenessCompleteness
Completeness
 
Compactness
CompactnessCompactness
Compactness
 
ZF
ZFZF
ZF
 
Ordinal Cardinals
Ordinal CardinalsOrdinal Cardinals
Ordinal Cardinals
 
Basic S and L : The existence of an S-space under MA and $\neg$ CH
Basic S and L : The existence of an S-space under MA and $\neg$ CHBasic S and L : The existence of an S-space under MA and $\neg$ CH
Basic S and L : The existence of an S-space under MA and $\neg$ CH
 
The relative consistency of the negation of the Axiom of Choice using permuta...
The relative consistency of the negation of the Axiom of Choice using permuta...The relative consistency of the negation of the Axiom of Choice using permuta...
The relative consistency of the negation of the Axiom of Choice using permuta...
 
L Space In ZFC
L Space In ZFCL Space In ZFC
L Space In ZFC
 
Ccc Indestructible S Spaces
Ccc Indestructible S SpacesCcc Indestructible S Spaces
Ccc Indestructible S Spaces
 

Último

Último (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Decidability

  • 1. PRIMITIVE RECURSIVE INCOMPLETENESS DECIDABILITY / INCOMPLETENESS SEP Erik A. Andrejko University of Wisconsin - Madison Summer 2007 ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 2. PRIMITIVE RECURSIVE INCOMPLETENESS PRIMITIVE RECURSIVE FUNCTIONS DEFINITION Primitive recursive functions C contains The successor functions, λ x[x + 1] ∈ C . 1 The constant functions, λ x1 , · · · , xn [m] ∈ C are primitive 2 recursive for 0 ≤ n, m. The identity functions, or projections, λ x1 , · · · , xn [xi ] ∈ C for 3 1 ≤ n and 1 ≤ i ≤ n. (Composition) If g1 , g2 , · · · , gm , h ∈ C then 4 f (x) = h(g1 (x), · · · , gm (x)) ∈ C . ¯ ¯ ¯ (Primitive Recursion) If g, h ∈ C and n ≥ 1 then f ∈ C where 5 f (0, x2 , · · · , xn ) = g(x2 , · · · , xn ) f (x1 + 1, x2 , · · · , xn ) = h(x1 , f (x1 , x2 , · · · , xn ), x2 , · · · , xn ) ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 3. PRIMITIVE RECURSIVE INCOMPLETENESS PRIMITIVE RECURSION FUNCTIONS FACT There exists a ‘computable’ non primitive recursive function. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 4. PRIMITIVE RECURSIVE INCOMPLETENESS PARTIAL RECURSIVE FUNCTIONS DEFINITION The class of partial recursive contains C and (Unbounded Search) If θ (x1 , · · · , xn , y ) is a partial recursive 1 function then ψ(x1 , · · · , xn ) = µy[θ (x1 , · · · , xn , y ) ↓= 0 and ∀z ≤ y [θ (x1 , · · · , xn , z) ↓]] ψ is partial recursive. θ (x1 , · · · , xn , y ) ↓= 0 means that θ (x1 , · · · , xn , y ) defined and equals 0 µyθ (x1 , · · · , xn , y ) ↓= 0 least y such that θ (x1 , · · · , xn , y ) ↓= 0 ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 5. PRIMITIVE RECURSIVE INCOMPLETENESS COMPUTABLE DEFINITION A function is computable ⇐⇒ Turing computable ⇐⇒ partial recursive ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 6. PRIMITIVE RECURSIVE INCOMPLETENESS TURING MACHINES DEFINITION (n) Let ϕe be the partial function of n variables computed by the Turing machine Pe with code e ∈ N. DEFINITION Write ϕe,s (x) = y if w, y , e < s and y is the output of ϕe (x) in < s steps of the Turing machine Pe . ϕe,s (x) converges and we write ϕe,s (x) ↓, ϕe,s (x) diverges which is written as ϕe,s (x) ↑. FACT The set { e, x, s : ϕe,s (x) ↓} is recursive. FACT The set { e, x, y , s : ϕe,s (x) = y } is recursive. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 7. PRIMITIVE RECURSIVE INCOMPLETENESS RECURSIVELY ENUMERABLE SETS DEFINITION A set A is called recursively enumerable if A is the domain of some partial recursive function. We = dom ϕe = {x : ϕe (x) ↓} and We,s = dom ϕe,s Let K = {x : ϕx (x) ↓} = {x : x ∈ Wx }. FACT K is r.e. FACT K is not recursive. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 8. PRIMITIVE RECURSIVE INCOMPLETENESS INCOMPLETENESS N = (N, 0, S, <, +, ·, E) THEOREM Let A ⊆ Th(N) and suppose that the set { ϕ : ϕ ∈ A} is definable. Then there is a L -sentence σ such that N |= σ and A σ. COROLLARY The set { τ : N |= τ} is not definable in N. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 9. PRIMITIVE RECURSIVE INCOMPLETENESS PEANO ARITHMETIC ∀x [Sx = 0] ∀x∀y [Sx = Sy =⇒ x = y ] ∀x∀y [x < Sy ⇐⇒ x ≤ y ] ∀x [x < 0] ∀x [x + 0 = x] ∀x∀y [x + Sy = S(x + y )] ∀x [x · 0 = 0] ∀x∀y [x · Sy = x · y + x] ∀x [xE0 = S0] ∀x∀y [xESy = xEy · x] induction axioms for each well formed formula ϕ ϕ(0) ∧ ∀x [ϕ(x) =⇒ ϕ(Sx)] =⇒ ∀xϕ(x) ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 10. PRIMITIVE RECURSIVE INCOMPLETENESS FACT N |= PA. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 11. PRIMITIVE RECURSIVE INCOMPLETENESS INCOMPLETENESS THEOREM (Church’s Thesis) A relation is decidable iff it is definable in N. COROLLARY Th(N) is not recursive. THEOREM (Gödel Incompleteness Theorem) If A ⊆ Th(N) and A is recursive then A is not a complete theory. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS
  • 12. PRIMITIVE RECURSIVE INCOMPLETENESS UNDECIDABLE THEORIES FACT The theory Th(N, +, ·, S, <) is undecidable. FACT The theory Th(N, +, ·) is undecidable. ERIK A. ANDREJKO DECIDABILITY / INCOMPLETENESS