decidable
In computability theory, a decision problem is decidable if there exists an algorithm that, on every input, terminates with a correct yes or no answer. Equivalently, a language L over an alphabet Σ is decidable if there exists a Turing machine M that halts on every input w ∈ Σ* and accepts w when w ∈ L and rejects w when w ∉ L.
Decidable languages are precisely the recursive (computable) languages. They form a strict subset of the recursively
Common examples illustrate the concept. Regular languages are decidable, with straightforward algorithms such as finite automata
Decidability is accompanied by closure properties: the class of decidable languages is closed under complement, union,