Finite terminal support for context-sensitive languages #
Every grammar in this repository has finitely many rules, and every rule is a finite list of symbols. Hence every grammar-generated language uses only finitely many terminal symbols. This file packages that observation for context-sensitive languages as a finite-alphabet image theorem.
The terminals appearing in a grammar symbol.
Equations
Instances For
The terminals appearing in a sentential form.
Equations
Instances For
The terminals appearing anywhere in a grammar rule.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The finite terminal support syntactically mentioned by a grammar.
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
Equations
Instances For
A derivation from the start symbol mentions only terminals syntactically present in the grammar's rules.
The same grammar, with terminals restricted to the finite set syntactically appearing in its rules.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Restrict a language to words over a finite terminal set.
Equations
Instances For
Every word generated by a grammar is supported by the finite terminal set occurring in the grammar's rules.
If S supports L, then L is the image of its restriction to the finite subtype S.
Any grammar language is an image of a language over a finite subtype of the terminal alphabet.
A context-sensitive grammar language is the image of a context-sensitive language over the finite subtype of terminals appearing in the grammar.
Every context-sensitive language is the image of a language over a finite subtype of its terminal alphabet.
Every context-sensitive language is equivalent to a context-sensitive language over a finite terminal subtype.
Every context-sensitive language is equivalent to a context-sensitive language over
some finite terminal alphabet. The finite alphabet is represented as a type carrying
Fintype and DecidableEq, together with a terminal map into the original alphabet.
A language is context-sensitive iff it is the inclusion image of a context-sensitive language over a finite terminal subtype.
A language is context-sensitive iff it is the image of a context-sensitive language over some finite terminal alphabet.