Computability

Computability is the ability to solve a problem in an effective manner. It is a key topic of the field of computability theory within mathematical logic and the theory of computation within computer science. The computability of a problem is closely linked to the existence of an algorithm to solve the problem.

The most widely studied models of computability are the Turing-computable and μ-recursive functions, and the lambda calculus, all of which have computationally equivalent power. Other forms of computability are studied as well: computability notions weaker than Turing machines are studied in automata theory, while computability notions stronger than Turing machines are studied in the field of hypercomputation.

Problems

A central idea in computability is that of a (computational) problem, which is a task whose computability can be explored.

There are two key types of problems:

  • A decision problem fixes a set S, which may be a set of strings, natural numbers, or other objects taken from some larger set U. A particular instance of the problem is to decide, given an element u of U, whether u is in S. For example, let U be the set of natural numbers and S the set of prime numbers. The corresponding decision problem corresponds to primality testing.
  • A function problem consists of a function f from a set U to a set V. An instance of the problem is to compute, given an element u in U, the corresponding element f(u) in V. For example, U and V may be the set of all finite binary strings, and f may take a string and return the string obtained by reversing the digits of the input (so f(0101) = 1010).

Other types of problems include search problems and optimization problems.

One goal of computability theory is to determine which problems, or classes of problems, can be solved in each model of computation.

Formal models of computation

A model of computation is a formal description of a particular type of computational process. The description often takes the form of an abstract machine that is meant to perform the task at hand. General models of computation equivalent to a Turing machine (see Church–Turing thesis) include:

Lambda calculus
A computation consists of an initial lambda expression (or two if you want to separate the function and its input) plus a finite sequence of lambda terms, each deduced from the preceding term by one application of beta reduction.
Combinatory logic
A concept which has many similarities to -calculus, but also important differences exist (e.g. fixed point combinator Y has normal form in combinatory logic but not in -calculus). Combinatory logic was developed with great ambitions: understanding the nature of paradoxes, making foundations of mathematics more economic (conceptually), eliminating the notion of variables (thus clarifying their role in mathematics).
μ-recursive functions
A computation consists of a μ-recursive function, i.e. its defining sequence, any input value(s) and a sequence of recursive functions appearing in the defining sequence with inputs and outputs. Thus, if in the defining sequence of a recursive function f(x) the functions g(x) and h(x,y) appear, then terms of the form g(5) = 7 or h(3,2) = 10 might appear. Each entry in this sequence needs to be an application of a basic function or follow from the entries above by using composition, primitive recursion or μ-recursion. For instance if f(x) = h(x,g(x)), then for f(5) = 3 to appear, terms like g(5) = 6 and h(5,6) = 3 must occur above. The computation terminates only if the final term gives the value of the recursive function applied to the inputs.
String rewriting systems
Includes Markov algorithms, that use grammar-like rules to operate on strings of symbols; also Post canonical system.
Register machine
A theoretical idealization of a computer. There are several variants. In most of them, each register can hold a natural number (of unlimited size), and the instructions are simple (and few in number), e.g. only decrementation (combined with conditional jump) and incrementation exist (and halting). The lack of the infinite (or dynamically growing) external store (seen at Turing machines) can be understood by replacing its role with Gödel numbering techniques: the fact that each register holds a natural number allows the possibility of representing a complicated thing (e.g. a sequence, or a matrix etc.) by an appropriate huge natural number — unambiguity of both representation and interpretation can be established by number theoretical foundations of these techniques.
Turing machine
Also similar to the finite state machine, except that the input is provided on an execution "tape", which the Turing machine can read from, write to, or move back and forth past its read/write "head". The tape is allowed to grow to arbitrary size. The Turing machine is capable of performing complex calculations which can have arbitrary duration. This model is perhaps the most important model of computation in computer science, as it simulates computation in the absence of predefined resource limits.
Multitape Turing machine
Here, there may be more than one tape; moreover there may be multiple heads per tape. Surprisingly, any computation that can be performed by this sort of machine can also be performed by an ordinary Turing machine, although the latter may be slower or require a larger total region of its tape.
P′′
Like Turing machines, P′′ uses an infinite tape of symbols (without random access), and a rather minimalistic set of instructions. But these instructions are very different, thus, unlike Turing machines, P′′ does not need to maintain a distinct state, because all “memory-like” functionality can be provided only by the tape. Instead of rewriting the current symbol, it can perform a modular arithmetic incrementation on it. P′′ has also a pair of instructions for a cycle, inspecting the blank symbol. Despite its minimalistic nature, it has become the parental formal language of an implemented and (for entertainment) used programming language called Brainfuck.

In addition to the general computational models, some simpler computational models are useful for special, restricted applications. Regular expressions, for example, specify string patterns in many contexts, from office productivity software to programming languages. Another formalism mathematically equivalent to regular expressions, Finite automata are used in circuit design and in some kinds of problem-solving. Context-free grammars specify programming language syntax. Non-deterministic pushdown automata are another formalism equivalent to context-free grammars.

Different models of computation have the ability to do different tasks. One way to measure the power of a computational model is to study the class of formal languages that the model can generate; in such a way the Chomsky hierarchy of languages is obtained.

Other restricted models of computation include:

Deterministic finite automaton (DFA)
Also called a finite-state machine. All real computing devices in existence today can be modeled as a finite-state machine, as all real computers operate on finite resources. Such a machine has a set of states, and a set of state transitions which are affected by the input stream. Certain states are defined to be accepting states. An input stream is fed into the machine one character at a time, and the state transitions for the current state are compared to the input stream, and if there is a matching transition the machine may enter a new state. If at the end of the input stream the machine is in an accepting state, then the whole input stream is accepted.
Nondeterministic finite automaton (NFA)
Another simple model of computation, although its processing sequence is not uniquely determined. It can be interpreted as taking multiple paths of computation simultaneously through a finite number of states. However, it is possible to prove that any NFA is reducible to an equivalent DFA.
Pushdown automaton
Similar to the finite state machine, except that it has available an execution stack, which is allowed to grow to arbitrary size. The state transitions additionally specify whether to add a symbol to the stack, or to remove a symbol from the stack. It is more powerful than a DFA due to its infinite-memory stack, although only the top element of the stack is accessible at any time.

Power of automata

With these computational models in hand, we can determine what their limits are. That is, what classes of languages can they accept?

Power of finite-state machines

Computer scientists call any language that can be accepted by a finite-state machine a regular language. Because of the restriction that the number of possible states in a finite state machine is finite, we can see that to find a language that is not regular, we must construct a language that would require an infinite number of states.

An example of such a language is the set of all strings consisting of the letters 'a' and 'b' which contain an equal number of the letter 'a' and 'b'. To see why this language cannot be correctly recognized by a finite state machine, assume first that such a machine M exists. M must have some number of states n. Now consider the string x consisting of 'a's followed by 'b's.

As M reads in x, there must be some state in the machine that is repeated as it reads in the first series of 'a's, since there are 'a's and only n states by the pigeonhole principle. Call this state S, and further let d be the number of 'a's that our machine read in order to get from the first occurrence of S to some subsequent occurrence during the 'a' sequence. We know, then, that at that second occurrence of S, we can add in an additional d (where ) 'a's and we will be again at state S. This means that we know that a string of 'a's must end up in the same state as the string of 'a's. This implies that if our machine accepts x, it must also accept the string of 'a's followed by 'b's, which is not in the language of strings containing an equal number of 'a's and 'b's. In other words, M cannot correctly distinguish between a string of equal number of 'a's and 'b's and a string with 'a's and 'b's.

We know, therefore, that this language cannot be accepted correctly by any finite-state machine, and is thus not a regular language. A more general form of this result is called the Pumping lemma for regular languages, which can be used to show that broad classes of languages cannot be recognized by a finite state machine.

Power of pushdown automata

Computer scientists define a language that can be accepted by a pushdown automaton as a Context-free language, which can be specified as a Context-free grammar. The language consisting of strings with equal numbers of 'a's and 'b's, which we showed was not a regular language, can be decided by a push-down automaton. Also, in general, a push-down automaton can behave just like a finite-state machine, so it can decide any language which is regular. This model of computation is thus strictly more powerful than finite state machines.

However, it turns out there are languages that cannot be decided by push-down automaton either. The result is similar to that for regular expressions, and won't be detailed here. There exists a Pumping lemma for context-free languages. An example of such a language is the set of prime numbers.

Power of Turing machines

Turing machines can decide any context-free language, in addition to languages not decidable by a push-down automaton, such as the language consisting of prime numbers. It is therefore a strictly more powerful model of computation.

Because Turing machines have the ability to "back up" in their input tape, it is possible for a Turing machine to run for a long time in a way that is not possible with the other computation models previously described. It is possible to construct a Turing machine that will never finish running (halt) on some inputs. We say that a Turing machine can decide a language if it eventually will halt on all inputs and give an answer. A language that can be so decided is called a recursive language. We can further describe Turing machines that will eventually halt and give an answer for any input in a language, but which may run forever for input strings which are not in the language. Such Turing machines could tell us that a given string is in the language, but we may never be sure based on its behavior that a given string is not in a language, since it may run forever in such a case. A language which is accepted by such a Turing machine is called a recursively enumerable language.

The Turing machine, it turns out, is an exceedingly powerful model of automata. Attempts to amend the definition of a Turing machine to produce a more powerful machine have surprisingly met with failure. For example, adding an extra tape to the Turing machine, giving it a two-dimensional (or three- or any-dimensional) infinite surface to work with can all be simulated by a Turing machine with the basic one-dimensional tape. These models are thus not more powerful. In fact, a consequence of the Church–Turing thesis is that there is no reasonable model of computation which can decide languages that cannot be decided by a Turing machine.

The question to ask then is: do there exist languages which are recursively enumerable, but not recursive? And, furthermore, are there languages which are not even recursively enumerable?

The halting problem

The halting problem is one of the most famous problems in computer science, because it has profound implications on the theory of computability and on how we use computers in everyday practice. The problem can be phrased:

Given a description of a Turing machine and its initial input, determine whether the program, when executed on this input, ever halts (completes). The alternative is that it runs forever without halting.

Here we are asking not a simple question about a prime number or a palindrome, but we are instead turning the tables and asking a Turing machine to answer a question about another Turing machine. It can be shown (See main article: Halting problem) that it is not possible to construct a Turing machine that can answer this question in all cases.

That is, the only general way to know for sure if a given program will halt on a particular input in all cases is simply to run it and see if it halts. If it does halt, then you know it halts. If it doesn't halt, however, you may never know if it will eventually halt. The language consisting of all Turing machine descriptions paired with all possible input streams on which those Turing machines will eventually halt, is not recursive. The halting problem is therefore called non-computable or undecidable.

An extension of the halting problem is called Rice's theorem, which states that it is undecidable (in general) whether a given language possesses any specific nontrivial property.

Beyond recursively enumerable languages

The halting problem is easy to solve, however, if we allow that the Turing machine that decides it may run forever when given input which is a representation of a Turing machine that does not itself halt. The halting language is therefore recursively enumerable. It is possible to construct languages which are not even recursively enumerable, however.

A simple example of such a language is the complement of the halting language; that is the language consisting of all Turing machines paired with input strings where the Turing machines do not halt on their input. To see that this language is not recursively enumerable, imagine that we construct a Turing machine M which is able to give a definite answer for all such Turing machines, but that it may run forever on any Turing machine that does eventually halt. We can then construct another Turing machine that simulates the operation of this machine, along with simulating directly the execution of the machine given in the input as well, by interleaving the execution of the two programs. Since the direct simulation will eventually halt if the program it is simulating halts, and since by assumption the simulation of M will eventually halt if the input program would never halt, we know that will eventually have one of its parallel versions halt. is thus a decider for the halting problem. We have previously shown, however, that the halting problem is undecidable. We have a contradiction, and we have thus shown that our assumption that M exists is incorrect. The complement of the halting language is therefore not recursively enumerable.

Concurrency-based models

A number of computational models based on concurrency have been developed, including the parallel random-access machine and the Petri net. These models of concurrent computation still do not implement any mathematical functions that cannot be implemented by Turing machines.

Stronger models of computation

The Church–Turing thesis conjectures that there is no effective model of computing that can compute more mathematical functions than a Turing machine. Computer scientists have imagined many varieties of hypercomputers, models of computation that go beyond Turing computability.

Infinite execution

Imagine a machine where each step of the computation requires half the time of the previous step (and hopefully half the energy of the previous step...). If we normalize to 1/2 time unit the amount of time required for the first step (and to 1/2 energy unit the amount of energy required for the first step...), the execution would require

time unit (and 1 energy unit...) to run. This infinite series converges to 1, which means that this Zeno machine can execute a countably infinite number of steps in 1 time unit (using 1 energy unit...). This machine is capable of deciding the halting problem by directly simulating the execution of the machine in question. By extension, any convergent infinite [must be provably infinite] series would work. Assuming that the infinite series converges to a value n, the Zeno machine would complete a countably infinite execution in n time units.

Oracle machines

So-called Oracle machines have access to various "oracles" which provide the solution to specific undecidable problems. For example, the Turing machine may have a "halting oracle" which answers immediately whether a given Turing machine will ever halt on a given input. These machines are a central topic of study in recursion theory.

Limits of hyper-computation

Even these machines, which seemingly represent the limit of automata that we could imagine, run into their own limitations. While each of them can solve the halting problem for a Turing machine, they cannot solve their own version of the halting problem. For example, an Oracle machine cannot answer the question of whether a given Oracle machine will ever halt.

See also

References

  • Michael Sipser (1997). Introduction to the Theory of Computation. PWS Publishing. ISBN 0-534-94728-X. Part Two: Computability Theory, Chapters 3–6, pp. 123–222.
  • Christos Papadimitriou (1993). Computational Complexity (1st ed.). Addison Wesley. ISBN 0-201-53082-1. Chapter 3: Computability, pp. 57–70.
  • S. Barry Cooper (2004). Computability Theory (1st ed.). Chapman & Hall/CRC. ISBN 978-1-58488-237-4.

Read other articles:

Katedral Abakan Eparki Abakan dan Khakassia adalah sebuah eparki Gereja Ortodoks Rusia yang terletak di Abakan, Republik Khakassia, Federasi Rusia. Eparki tersebut didirikan pada 1995.[1] Ordinaris Wincenty (Morar) (1995-1999) Jonatan (Cwietkow) (1999-sekarang) Referensi ^ http://www.patriarchia.ru/db/text/31086.html lbsKeuskupan Gereja Ortodoks RusiaPatriark MoskwaEparki di Rusia Abakan dan Khakassia Akhtubinsk Alapayevsk Alatyr Alexdanrov Almetyevsk Amur Anadyr Ardatov Arkhangelsk A...

 

Gaya atau nada penulisan artikel ini tidak mengikuti gaya dan nada penulisan ensiklopedis yang diberlakukan di Wikipedia. Bantulah memperbaikinya berdasarkan panduan penulisan artikel. (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) artikel ini perlu dirapikan agar memenuhi standar Wikipedia. Tidak ada alasan yang diberikan. Silakan kembangkan artikel ini semampu Anda. Merapikan artikel dapat dilakukan dengan wikifikasi atau membagi artikel ke paragraf-paragraf. Jika sudah...

 

Benelli Nova Benelli Nova dengan corak kamuflase Jenis Pump action shotgun Negara asal Italia Sejarah produksi Produsen Benelli Biaya produksi USD $350–455 Varian Supernova Spesifikasi Berat 8 lbs. (3.63kg) Panjang 45.5-49.5 in. (1,155.7-1,257.3mm) Panjang laras 18½-28 in. (609.6-711.2mm) Peluru 12-gauge shotshell, 20-Gauge Shotshell Mekanisme Pump-action Amunisi 4+1 internal magazine Alat bidik Mid: Metal beadFront: Red bar Benelli Nova adalah senapan gentel aksi-pomp...

Gulungan Kitab Samuel (Inggris: The Samuel scrollcode: en is deprecated ) adalah salah satu kelompok gulungan yang termasuk ke dalam kumpulan Naskah Laut Mati, yang diketemukan pada tahun 1947 oleh seorang gembala dari suku Bedouin dan yang disebut sebagai Penemuan arkeologi terbesar di abad ke-20 oleh William Foxwell Albright.[1] Di antara gulungan-gulungan tersebut terdapat lebih dari 930 naskah Alkitab - salinan tertua Alkitab Ibrani, lebih dari 1000 tahun lebih tua daripada Teks M...

 

Pour les articles homonymes, voir Roger et Pierre Roger. Grégoire XI Le duc d'Anjou conduisant le pape Grégoire XI au palais d'Avignon, tandis que les cardinaux suivent. Miniature extraite des Chroniques de France ou de Saint Denis. Atelier du Maître de Virgile. XIVe siècle. Manuscrits royaux de la British Library. Londres. Biographie Nom de naissance Pierre Roger de Beaufort Naissance 1329 ou 1331Rosiers-d’Égletons, diocèse de Limoges, France Décès 25 mars 1378Rome Pape de l'...

 

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (نوفمبر 2019) دوري هونغ كونغ لكرة القدم 1991–92 تفاصيل الموسم دوري هونغ كونغ الدرجة الأولى  [لغات أخرى]‏  النسخ�...

Voce principale: 1. Fußball- und Sportverein Mainz 05. 1. Fußball- und Sportverein Mainz 05Stagione 2021-2022Sport calcio Squadra Magonza Allenatore Bo Svensson All. in seconda Patrick Kaniuth Babak Keyhanfar Bundesliga8° posto Coppa di GermaniaOttavi di finale Maggiori presenzeCampionato: Burkardt (34)Totale: Burkardt (37) Miglior marcatoreCampionato: Burkardt (11)Totale: Burkardt (14) StadioMewa Arena Maggior numero di spettatori33 305 vs. Bayern Monaco Minor numero di spettat...

 

Pour les articles homonymes, voir Cailleux. André CailleuxBiographieNaissance 24 décembre 190716e arrondissement de ParisDécès 27 décembre 1986 (à 79 ans)Saint-NazaireSépulture Cimetière de MontmartreNom de naissance André Paul Eugène de Cayeux de SenarpontPseudonyme André CailleuxNationalité françaiseFormation Faculté des sciences de Paris (doctorat) (jusqu'en 1942)Faculté des lettres de ParisActivités Paléontologue, géographe, géologue, professeur d'université...

 

Pour les articles homonymes, voir Western (homonymie). Le western est un genre cinématographique dont l'action se déroule généralement en Amérique du Nord, plus spécialement aux États-Unis, lors de la conquête de l'Ouest dans les dernières décennies du XIXe siècle. Ce sous-genre du film historique apparaît dès l'invention du cinématographe en 1895 prenant pour sujet l'Ouest américain. Il connaît son apogée aux États-Unis au milieu du XXe siècle avec l'âge d'or d...

Persian general and satrap, 513 to 492 BC ArtaphernesAchaemenid nobleman, 520-480 BC.Native nameArtafarnaAllegianceAchaemenid EmpireYears of service513-492 BCRankSatrap of LydiaBattles/warsIonian revoltChildrenArtaphernes IIRelationsDarius the Great (brother) For other people named Artaphernes, see Artaphernes (disambiguation). Artaphernes (Greek: Ἀρταφέρνης, Old Persian: Artafarna,[1] from Median Rtafarnah), flourished circa 513–492 BC, was a brother of the Achaemen...

 

Сельское поселение России (МО 2-го уровня)Новотитаровское сельское поселение Флаг[d] Герб 45°14′09″ с. ш. 38°58′16″ в. д.HGЯO Страна  Россия Субъект РФ Краснодарский край Район Динской Включает 4 населённых пункта Адм. центр Новотитаровская Глава сельского пос�...

 

A type of vegetable and ancient Egyptian dish See also: Corchorus This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Mulukhiyah – news · newspapers · books · schola...

Bendera Finlandia dalam keadaan setengah tiang karena serangan Norwegia 2011 pada 24 Juli 2011. Hari berkabung nasional adalah hari yang ditandai dengan kegiatan berduka dan peringatan yang dilaksanakan oleh suatu negara untuk menandai kematian atau pemakaman seorang figur terhormat dari negara tersebut, atau memperingati tragedi besar lainya yang signifikansinya berpengaruh terhadap negara. Ini dilaksanakan sebagai bentuk penghormatan terakhir bagi yang telah meninggal dunia atas jasa-jasany...

 

Inche Abdoel Moeis Kepala Daerah Kalimantan TimurMasa jabatan3 Maret 1959 – 27 Mei 1959PresidenSukarnoGubernurA.P.T. Pranoto Informasi pribadiLahir(1920-08-02)2 Agustus 1920Samarinda, Hindia BelandaMeninggal1978 (umur 58)Jakarta, IndonesiaPartai politikINI (1946–1950)PNI (1950–1973)Suami/istriNooraini AisahAnakEmir MoeisMauri Alau MoeisSunting kotak info • L • B Inche Abdoel Moeis, sering disingkat I.A. Moeis (2 Agustus 1920 – 1978) adalah orang tua dari politis...

 

Form of liberal feminism Part of a series onFeminism History Feminist history History of feminism Women's history American British Canadian German Waves First Second Third Fourth Timelines Women's suffrage Muslim countries US Other women's rights Women's suffrage by country Austria Australia Canada Colombia India Japan Kuwait Liechtenstein New Zealand Spain Second Republic Francoist Switzerland United Kingdom Cayman Islands Wales United States states Intersectional variants Fat Lesbian Lesbia...

Castello Tesino komune di Italia Castello Tesino (it) Tempat Negara berdaulatItaliaDaerah otonom dengan status istimewaTrentino-Tirol SelatanProvinsi di ItaliaTrentino NegaraItalia Ibu kotaCastello Tesino PendudukTotal1.160  (2023 )GeografiLuas wilayah112,84 km² [convert: unit tak dikenal]Ketinggian905 m Berbatasan denganArsiè Canal San Bovo Cinte Tesino Grigno Lamon Pieve Tesino Scurelle Organisasi politikAnggota dariAliansi Iklim (2005) Informasi tambahanKode pos38053 Zona waktu...

 

نورث فالي ستريم   الإحداثيات 40°40′59″N 73°42′34″W / 40.6831°N 73.7094°W / 40.6831; -73.7094   [1] تقسيم إداري  البلد الولايات المتحدة[2]  التقسيم الأعلى مقاطعة ناسو  خصائص جغرافية  المساحة 4.913243 كيلومتر مربع4.912999 كيلومتر مربع (1 أبريل 2010)  ارتفاع 11 متر  عدد ا...

 

Venom beralih ke halaman ini. Untuk Venom Karakter Marvel, lihat Venom (karakter Marvel Comics). Sengat lebah dengan butiran bisa di ujungnya Bisa, atau zootoksin (secara harfiah racun hewan) adalah semua jenis toksin yang digunakan oleh beberapa kelompok spesies hewan, untuk keperluan pertahanan dan berburu mangsa. Bisa dibedakan dengan racun dengan pengertian bahwa bisa adalah toksin biologis yang disuntikkan oleh bagian tubuh tertentu, seperti gigi taring atau sengat, untuk menimbulkan efe...

Telecommunications device used to make a signal unintelligible to unintended recipients For other uses, see Scrambler (disambiguation). In telecommunications, a scrambler is a device that transposes or inverts signals or otherwise encodes a message at the sender's side to make the message unintelligible at a receiver not equipped with an appropriately set descrambling device. Whereas encryption usually refers to operations carried out in the digital domain, scrambling usually refers to operat...

 

Location of Haut-Rhin in France Following is a list of senators of Haut-Rhin, people who have represented the department of Haut-Rhin in the Senate of France. The department was annexed to Germany in 1871 after the Franco-Prussian War, returned to France in 1919 by the Treaty of Versailles. Third Republic Senators for Haut-Rhin under the French Third Republic were:[1] Robert Bourgeois (1920–1935) Paul Helmer (1920–1929) died in office Jules Scheurer (1920–1927) Sébastien Gegau...