A formal language is decidable if a Turing machine halts on every input and correctly determines membership. Equivalently its encoded words form a recursive set. A computably enumerable language requires only a machine that eventually accepts every member; it may run forever on nonmembers.
For a fixed natural number and a standard encoding of natural numbers, validate the input and compare its encoded value with . This decides . A well-ordering argument can prove that an upward-closed set of natural numbers has this form without calculating its least element. A decider may contain that fixed least element in its finite description; its existence does not give a uniform method to discover the least element from another program.

Articles by others on the same topic (2)

A recursive language (also known as a decidable language) is a type of formal language in the field of computer science and computational theory. Specifically, a recursive language is a set of strings over a given alphabet for which there exists a Turing machine that will accept every string in the language and will reject (or halt) every string that is not in the language.