2011
DOI: 10.1007/978-3-642-22944-2_25
|View full text |Cite
|
Sign up to set email alerts
|

Context-Free Languages, Coalgebraically

Abstract: Abstract. We give a coalgebraic account of context-free languages using the functor D(X) = 2 × X A for deterministic automata over an alphabet A, in three different but equivalent ways: (i) by viewing context-free grammars as D-coalgebras; (ii) by defining a format for behavioural differential equations (w.r.t. D) for which the unique solutions are precisely the context-free languages; and (iii) as the D-coalgebra of generalized regular expressions in which the Kleene star is replaced by a unique fixed point o… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
24
0

Year Published

2012
2012
2017
2017

Publication Types

Select...
4
3

Relationship

5
2

Authors

Journals

citations
Cited by 16 publications
(24 citation statements)
references
References 14 publications
0
24
0
Order By: Relevance
“…This gives the expected correspondence between two of the three different coalgebraic approaches to context-free languages introduced in [38] (the third approach is about fixed-point expressions and as such is outside the scope of this paper). ⊳ Similarly, the algebraic structure induced by λ on the final F -coalgebra factors uniquely through the algebraic structure induced by κ.…”
Section: Morphisms and Solutionsmentioning
confidence: 91%
“…This gives the expected correspondence between two of the three different coalgebraic approaches to context-free languages introduced in [38] (the third approach is about fixed-point expressions and as such is outside the scope of this paper). ⊳ Similarly, the algebraic structure induced by λ on the final F -coalgebra factors uniquely through the algebraic structure induced by κ.…”
Section: Morphisms and Solutionsmentioning
confidence: 91%
“…The associated coalgebra o, t : 1 → F T 1 is given by The above characterization of context free languages over an alphabet A is different and complementary to the coalgebraic account of context-free languages presented in [44]. The latter, in fact, uses the functor D(X) = 2 × X A for deterministic automata (instead of the Moore automata with output in 2 B * above, for B a set of variables), and the idempotent semiring monad T (X) = P ω ((X + A) * ) (instead of our side effect monad) to study different but equivalent ways to present context-free languages: using grammars, behavioural differential equations and generalized regular expressions in which the Kleene star is replaced by a unique fixed point operator.…”
Section: T T T T T T T T T T T T T T T T T Tmentioning
confidence: 99%
“…This format is an adaptation and extension of the formats presented in [WBR11] and [BRW12]. As we will show later in this article, the formal power series characterizable in this way correspond exactly to various notions of algebraic power series.…”
Section: Context-free Systemsmentioning
confidence: 99%
“…In [WBR11], we extended this coalgebraic picture further, giving a characterization of the context-free languages as solutions to systems of behavioural differential equations, in which all Brzozowski derivatives are presented as polynomials over the set of variables, and in [BRW12], we have generalized the theory to formal power series in noncommuting variables, providing a new characterization of so-called algebraic or context-free power series, coinciding with the familiar generalization from context-free languages to algebraic power series.…”
Section: Introductionmentioning
confidence: 99%