SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding Primitive Recursive Functions and Their Turing Machine Equivalents

zelda avatar
9 diapositives · 290 Views · Aug 14, 2014

This resource delves into the relationship between Primitive Recursive Functions (PRF) and Turing Machines (TM), establishing that every instance of PRF can be effectively represented as an equivalent Turing Machine instance. It details the foundational concepts like base functions, composition, iteration, and bounded minimization. The capabilities of TMs in handling n-ary functions through Turing computations are explained, using formal definitions and operations of base machines and submachines. This work provides valuable insights into computability theory and the transition between different computational models.

Understanding Primitive Recursive Functions and Their Turing Machine Equivalents - slide 1
01 / 9Understanding Primitive Recursive Functions and Their Turing Machine Equivalents
1 / 17

Télécharger la présentation

Understanding Primitive Recursive Functions and Their Turing Machine Equivalents
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Primitive Recursive ≤ Turing Machine • Every instance of Primitive Recursive can be replaced by an equivalent instance of Turing Machine • Primitive Recursive • Base functions • Composition • Iteration • Bounded Minimization

  2. Turing Computable • a Turing computation of some n-ary function F is to assume that the machine starts with a tape • containing the n inputs, x1, ... , xn in the form • …01x101x20…01xn0… • and ends with • …01x101x20…01xn01y0… • where y = F(x1, ... , xn).

  3. TM - Base Machine • R -- move right over any scanned symbol • L -- move left over any scanned symbol • 0 -- write a 0 in current scanned square • 1 -- write a 1 in current scanned square

  4. TM - SubMachine • R -- move right to next 0 • L -- move left to next 0 • Ck -- copies k-th preceding value.

  5. PR - SubMachine • Translate -- moves a value left one tape square • Shift -- shift a rightmost value left, destroying value to its left • Rotk -- Rotate a k value sequence one slot to the left

  6. PR - Base Function • Ca(x1,...,xn) = a : constant functions • (R1)aR • Iin(x1,...,xn) = xi : identity functions • Cn-i+1 • S(x) = x+1 : an increment function • C11R

  7. PR - Composition • If G, H1, … , Hk are already known to be Turing computable, then so is F, where • F(x1,…,xn) = G(H1(x1,…,xn), … , Hk(x1,…,xn))‏ • <1> if E(x1,…,xn) is Turing computable then so is E<m>(x1,…,xn, y1,…,ym) = E(x1,…,xn)‏ • Ln+m (Rotn+m)nRn+m E Ln+m+1 (Rotn+m)mRn+m+1 • <2> F can be defined by • H1 H2<1> H3<2> … Hk<k-1> G Shiftk

  8. PR - Minimization • If G is already known to be Turing computable, then so is F, where • F(x1,…,xn) = y (G(x1,…,xn, y) == 1)‏

  9. PR - Iteration • If G, H are already known to be primitive recursive, then so is F, where • F(0, x1,...,xn) = G(x1,...,xn)‏ • F(y+1, x1,...,xn) = H(y, x1,...,xn, F(y, x1,...,xn))‏ • Ln+2 T L T Rn+2 G Ln+3 L--->Rn+4 H Shift1Ln+3 1 L0 Rn+2 • 0 Rn+4