Idefix-Closed Languages Overview
- Idefix-closed languages are three regular language families (infix-closed, prefix-closed, and suffix-closed) defined by taking infixes, prefixes, or suffixes of accepted words.
- The structural analysis reveals proper, asymmetric containments among these families, distinguishing their behavior within subregular hierarchies.
- They are applied as control mechanisms in external and internal contextual grammars, enhancing the precision of language generation and automata complexity studies.
Idefix-closed languages are the three regular-language families of infix-closed, prefix-closed, and suffix-closed languages, denoted , , and . In the terminology of "Idefix-Closed Languages and Their Application in Contextual Grammars" (Ködding et al., 21 Jul 2025), these families are grouped under a single name because they share the same structural pattern: closure under taking infixes, prefixes, or suffixes of words already in the language. The grouping is not merely terminological. It places three classical closure properties into a common subregular hierarchy and uses them as control families for external and internal contextual grammars, where they generate distinct language families and refine earlier hierarchy results.
1. Definition and formal family structure
Let be a language over an alphabet . The paper introducing the term defines the idefix-closed families as follows (Ködding et al., 21 Jul 2025).
| Family | Notation | Defining condition |
|---|---|---|
| Infix-closed | , equivalently | |
| Prefix-closed | , equivalently 0 | |
| Suffix-closed | 1 | 2, equivalently 3 |
These are closure conditions on factors of accepted words. The paper also notes that if 4 is regular, then 5 and 6 are regular, and that the idefix-closed families are all subfamilies of 7. In the contextual-grammar applications developed there, the relevant instances are regular selection languages.
The collective label “idefix-closed” is therefore not a new closure operator on its own; it is a uniform designation for three established classes. Its main value is organizational: it allows comparison of infix-, prefix-, and suffix-based closure within one hierarchy and within one grammar-theoretic framework.
2. Relations among 8, 9, and 0
The internal structure of the idefix-closed families is asymmetric. The principal containments proved in the hierarchy are
1
and the paper shows that all displayed inclusions are proper (Ködding et al., 21 Jul 2025).
Properness is established by explicit witnesses. The language
2
witnesses 3. The language
4
lies in 5, while
6
lies in 7. Hence
8
This asymmetry is one of the central structural facts about idefix-closed languages. Infix-closure sits below both prefix-closure and suffix-closure, but prefix-closure and suffix-closure do not collapse to one another. A plausible implication is that any grammar or automaton construction sensitive to the direction of context addition can distinguish 9-controlled and 0-controlled behavior even when both remain within the same “idefix-closed” umbrella.
3. Position in the subregular landscape
The 2025 hierarchy places idefix-closed languages between simple regular families and the larger power-separating family. In particular,
1
and these inclusions are proper (Ködding et al., 21 Jul 2025). One witness used for 2 is
3
which is presented in the paper as an element of 4, and therefore also outside 5 while still lying in the larger hierarchy above it.
The comparison with other subregular families is mostly by incomparability rather than containment. The paper proves that every family in the following groups is incomparable to both 6 and 7: 8
9
0
1
2
Representative witnesses are given explicitly. For example,
3
is used to separate 4 from 5, while
6
separates 7 from 8. The language
9
lies in 0, and
1
lies in 2.
These comparisons show that idefix-closed languages do not simply replicate familiar “low-complexity” regular subclasses. They form a separate axis in the subregular lattice, with strong closure behavior but without the algebraic simplifications that characterize classes such as definite, non-counting, circular, or star languages.
4. Contextual grammars as the main application setting
The main application in (Ködding et al., 21 Jul 2025) is to contextual grammars with selection languages. A contextual grammar with selection in a family 3 is a triple
4
where 5 is an alphabet, 6 is a finite set of selection pairs 7, 8 is the selection language, 9 is a finite set of contexts, and 0 is the axiom set.
The paper considers two derivation modes. In an external contextual grammar, a word 1 derives 2 if 3 and
4
for some 5. In an internal contextual grammar, a word 6 derives 7 if 8, 9, and
0
A key structural principle is monotonicity: 1 and the paper proves this for both external and internal contextual grammars (Ködding et al., 21 Jul 2025). This principle lifts containments between base language families directly to containments between the corresponding generated-language families, making the idefix-closed hierarchy usable as a control hierarchy for grammar formalisms.
5. External and internal hierarchy results
For external contextual grammars, the idefix-closed families insert new layers into the generated-language hierarchy. By monotonicity and the base containments,
2
hold in the external setting (Ködding et al., 21 Jul 2025). The paper further states that external contextual grammars with idefix-closed selection languages form distinct families with different generative power: 3 is strictly larger than 4, 5 and 6 are incomparable, both are strictly below 7, and many standard generated-language families such as those arising from 8, 9, 0, 1, 2, and 3 remain incomparable with 4 and 5.
For internal contextual grammars, the same broad pattern reappears: 6 again together with a broad incomparability pattern (Ködding et al., 21 Jul 2025). The paper identifies its main new application result here: it solves an open problem concerning internal contextual grammars with suffix-closed selection languages. The question was whether 7 is incomparable to 8 or 9, or whether it is a subset of one of them. The new hierarchy settles this issue by locating 0 relative to the surrounding subregular control families.
The significance of these grammar-theoretic results is that idefix-closed selection languages do not merely provide alternative presentations of already known grammar classes. They produce new control classes and sharpen the global picture of what contextual grammars can generate under structurally constrained selection.
6. The suffix-closed branch in automata and complexity theory
Among the three idefix-closed branches, suffix-closed languages have an especially developed automata-theoretic complexity profile. In "Complexity of Left-Ideal, Suffix-Closed and Suffix-Free Regular Languages" (Brzozowski et al., 2016), suffix-closed languages are treated as one of the three special subclasses of suffix-convex regular languages, alongside left ideals and suffix-free languages. The paper emphasizes the complement duality: if 1, then 2 is a left ideal. Using this duality, it constructs a most-complex witness stream of suffix-closed languages and proves, for 3, bounds including syntactic semigroup size
4
reversal complexity
5
exactly
6
atoms, star complexity
7
with
8
restricted product complexity
9
unrestricted product complexity
00
and restricted and unrestricted Boolean-operation complexities matching the regular-language upper bounds in the forms stated there.
The earlier paper "Syntactic Complexity of Ideal and Closed Languages" (Brzozowski et al., 2010) places suffix-closed languages in the ideal/closed duality for regular languages. It studies closed languages as complements of ideal languages and presents the suffix-closed case as the complement class of left ideals. Its key quantitative conclusion for this branch is that there exist left ideals and suffix-closed languages of syntactic complexity
01
and it formulates
02
as the conjectured exact worst-case bound for suffix-closed languages, with exact tightness proved for small 03 and explicit extremal automata reaching the bound.
These results concern only one member of the idefix-closed triad, but they show that at least the suffix-closed branch is rich enough to support a detailed algebraic and state-complexity theory independent of the contextual-grammar motivation.
7. Terminological scope and neighboring notions
The term idefix-closed should not be conflated with idefix-free. In "Idefix-Free Languages and Their Application in External Contextual Grammars" (Ködding et al., 25 Jun 2026), idefix-free languages are the three families of prefix-free, suffix-free, and infix-free languages. That paper explicitly contrasts them with the closed counterparts 04, 05, and 06, and shows that the free and closed families are largely incomparable. The contrast is particularly sharp in the grammar setting: for external contextual grammars with infix-free selection languages,
07
whereas prefix-free and suffix-free selection languages still allow infinite generated languages and remain distinct from the generated-language families arising from prefix-, suffix-, or infix-closed selection.
The word closed also has unrelated meanings elsewhere in formal-language theory. In "Strategical languages of infinite words" (Arfi et al., 2010), a language 08 is closed in the prefix topology on infinite words, and the paper proves
09
Its canonical generating strategy is
10
By contrast, "Closures in Formal Languages: Concatenation, Separation, and Algorithms" (0901.3763) uses positive-closed to mean
11
that is, closure under nonempty concatenation. These are different notions from idefix-closedness, even though the same adjective appears.
Accordingly, “idefix-closed languages” is best understood as a domain-specific collective name for the three regular families 12, 13, and 14, rather than as a universal notion of closedness across formal-language research. Within that specific domain, the term captures a coherent trio of closure properties, a nontrivial subregular hierarchy, and a productive interface with contextual grammar theory (Ködding et al., 21 Jul 2025).