5
$\begingroup$

I am self-learning about formal languages. I learned that the family of the regular languages can be defined inductively, in terms of the operations they are closed under (namely the smallest fix-point). This definition doesn't rely on regular grammars or finite state machines.

I wonder which other families of formal languages can be defined inductively; in particular, I am interested in the classic classes of the Chomsky hierarchy but also the (semi-)decidable languages.

$\endgroup$
4
$\begingroup$

We can study families of languages in terms of their closure properties, it then makes sense to consider languages which generate the family under those closure properties.

Some work in this area has been done (particularly for cones/AFLs) and there may be known results for some or all of the families of languages that you mention but the only result which I know off the top of my head is for the context-free languages:

The context-free languages are the smallest cone generated by the Dyck language on two symbols.

For a proof of this theorem and some similar results for other language classes within context-free see Berstel's book which is now freely available on his website here.

$\endgroup$
1
$\begingroup$

the recursively-enumerable languages are literally recursively enumerable. this was proven originally mainly with the Lambda calculus which has a 1-1 correspondence with recursively enumerable languages. in other words all legal Lambda Calculus expressions (which can be defined as a closed set of recursive construction operations) correspond to the recursively enumerable languages. all other languages you list are a subset of recursively-enumerable so therefore also can be generated recursively.

$\endgroup$
  • $\begingroup$ thanks. can you point out how recursivley-enumerable languages can be defined recursively and in terms of the operations under which they are closed, just like how regular languages are defined in my link to Wikipedia? $\endgroup$ – Tim May 30 '14 at 20:43
  • $\begingroup$ admittedly this answer is a sketch & has some handwaving. (1) legal lambda expressions can be recursively defined mainly in terms of balanced parenthesis and nested expressions etc, details are in early papers exploring lambda calculus, and (2) as long as limited grammar rules exist for each grammar class, all instances of those languages can be enumerated, and anything that can be enumerated can be enumerated using a recursive algorithm. so unless you define your question terms more technically (which may not be possible) the answer remains a sketch. $\endgroup$ – vzn May 30 '14 at 20:50
  • $\begingroup$ "all other languages [classes] you list are a subset of recursively-enumerable so therefore also can be generated recursively." If this is true, it would also hold for R. Can you provide a decidable grammar or a set of rules that only generates lambda expression that coresspond to a decidable language? I am not aware that this was done before. $\endgroup$ – Simon S May 31 '14 at 23:07
  • $\begingroup$ sorry replace "so therefore" with "and". there are actually quite a few ways to generate languages and most methods can lead to recursive definitions. arguably any algorithm process to generate languages can be recursively constructed. might work up some examples/details later. $\endgroup$ – vzn Jun 1 '14 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.