Jump to content

Decidability (logic): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m clean up using AWB
m metalogic using AWB
Line 22: Line 22:
{{Logic}}
{{Logic}}


[[Category:Logic]]
[[Category:Metalogic]]


[[cs:Rozhodnutelnost]]
[[cs:Rozhodnutelnost]]

Revision as of 16:18, 14 January 2008

A logical system or theory is decidable if the set of all well-formed formulas valid in the system is decidable. That is, there exists an effective method such that for every formula in the system the method is capable of deciding whether the formula is valid (is a theorem) in the system or not.

Example: Propositional logic is decidable, because there exists for it an algorithmtruth-table construction—such that for every formula which combines M atomic formulas there is a maximum number N = 2M of steps such that after completing those N steps the algorithm will always decide whether the formula is valid or not. Here, a "step" of the algorithm has been (arbitrarily) defined as completion of a row of the truth-table.

First-order logic is decidable if confined to predicates with only one argument (see monadic predicate calculus). If it includes predicates with two or more arguments, then it is not decidable. Famous examples of decidable first-order theories include the theory of real closed fields, and Presburger arithmetic.

Every complete recursively enumerable theory is decidable. On the other hand, every consistent theory which includes some basic arithmetic is undecidable.

Decidability should not be confused with completeness. For example, the theory of algebraically closed fields is decidable but incomplete, whereas true arithmetic (the set of all true first-order statements about nonnegative integers in the language with + and ×) is complete but undecidable. Unfortunately, as a terminological ambiguity, the term "undecidable statement" is sometimes used as a synonym for independent statement.

See also