SlideShare a Scribd company logo
1 of 12
Download to read offline
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

More Related Content

What's hot

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
 

What's hot (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
 

Viewers also liked

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
 

Viewers also liked (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 to Decidability

Similar to 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)
 

More from 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
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 

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