Papers
Topics
Authors
Recent
Search
2000 character limit reached

Idefix-Closed Languages Overview

Updated 6 July 2026
  • 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 INFINF, PREPRE, and SUFSUF. 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 LL be a language over an alphabet VV. 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 INFINF xyzL    yLxyz\in L \implies y\in L, equivalently L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}
Prefix-closed PREPRE xyL    xLxy\in L \implies x\in L, equivalently PREPRE0
Suffix-closed PREPRE1 PREPRE2, equivalently PREPRE3

These are closure conditions on factors of accepted words. The paper also notes that if PREPRE4 is regular, then PREPRE5 and PREPRE6 are regular, and that the idefix-closed families are all subfamilies of PREPRE7. 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 PREPRE8, PREPRE9, and SUFSUF0

The internal structure of the idefix-closed families is asymmetric. The principal containments proved in the hierarchy are

SUFSUF1

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

SUFSUF2

witnesses SUFSUF3. The language

SUFSUF4

lies in SUFSUF5, while

SUFSUF6

lies in SUFSUF7. Hence

SUFSUF8

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 SUFSUF9-controlled and LL0-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,

LL1

and these inclusions are proper (Ködding et al., 21 Jul 2025). One witness used for LL2 is

LL3

which is presented in the paper as an element of LL4, and therefore also outside LL5 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 LL6 and LL7: LL8

LL9

VV0

VV1

VV2

Representative witnesses are given explicitly. For example,

VV3

is used to separate VV4 from VV5, while

VV6

separates VV7 from VV8. The language

VV9

lies in INFINF0, and

INFINF1

lies in INFINF2.

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 INFINF3 is a triple

INFINF4

where INFINF5 is an alphabet, INFINF6 is a finite set of selection pairs INFINF7, INFINF8 is the selection language, INFINF9 is a finite set of contexts, and xyzL    yLxyz\in L \implies y\in L0 is the axiom set.

The paper considers two derivation modes. In an external contextual grammar, a word xyzL    yLxyz\in L \implies y\in L1 derives xyzL    yLxyz\in L \implies y\in L2 if xyzL    yLxyz\in L \implies y\in L3 and

xyzL    yLxyz\in L \implies y\in L4

for some xyzL    yLxyz\in L \implies y\in L5. In an internal contextual grammar, a word xyzL    yLxyz\in L \implies y\in L6 derives xyzL    yLxyz\in L \implies y\in L7 if xyzL    yLxyz\in L \implies y\in L8, xyzL    yLxyz\in L \implies y\in L9, and

L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}0

A key structural principle is monotonicity: L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}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,

L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}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: L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}3 is strictly larger than L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}4, L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}5 and L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}6 are incomparable, both are strictly below L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}7, and many standard generated-language families such as those arising from L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}8, L=Inf(L):={yxyzL for some x,zV}L = Inf(L) := \{\,y \mid xyz\in L \text{ for some } x,z\in V^*\,\}9, PREPRE0, PREPRE1, PREPRE2, and PREPRE3 remain incomparable with PREPRE4 and PREPRE5.

For internal contextual grammars, the same broad pattern reappears: PREPRE6 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 PREPRE7 is incomparable to PREPRE8 or PREPRE9, or whether it is a subset of one of them. The new hierarchy settles this issue by locating xyL    xLxy\in L \implies x\in L0 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 xyL    xLxy\in L \implies x\in L1, then xyL    xLxy\in L \implies x\in L2 is a left ideal. Using this duality, it constructs a most-complex witness stream of suffix-closed languages and proves, for xyL    xLxy\in L \implies x\in L3, bounds including syntactic semigroup size

xyL    xLxy\in L \implies x\in L4

reversal complexity

xyL    xLxy\in L \implies x\in L5

exactly

xyL    xLxy\in L \implies x\in L6

atoms, star complexity

xyL    xLxy\in L \implies x\in L7

with

xyL    xLxy\in L \implies x\in L8

restricted product complexity

xyL    xLxy\in L \implies x\in L9

unrestricted product complexity

PREPRE00

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

PREPRE01

and it formulates

PREPRE02

as the conjectured exact worst-case bound for suffix-closed languages, with exact tightness proved for small PREPRE03 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 PREPRE04, PREPRE05, and PREPRE06, 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,

PREPRE07

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 PREPRE08 is closed in the prefix topology on infinite words, and the paper proves

PREPRE09

Its canonical generating strategy is

PREPRE10

By contrast, "Closures in Formal Languages: Concatenation, Separation, and Algorithms" (0901.3763) uses positive-closed to mean

PREPRE11

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 PREPRE12, PREPRE13, and PREPRE14, 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).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Idefix-Closed Languages.