2005
DOI: 10.1007/11548133_14
|View full text |Cite
|
Sign up to set email alerts
|

Context-Free Languages via Coalgebraic Trace Semantics

Abstract: In this paper we identify context-free grammars as coalgebras. To obtain the associated context-free languages (consisting of only finite-length strings) we introduce a general and novel technique of finite trace semantics for coalgebras. It builds on top of the (possibly infinite) trace semantics introduced earlier by the second author, but extracts only finite behavior. Interestingly the finite trace is uniquely characterized corecursively and hence it yields a final coalgebra in a suitable Kleisli category,… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
23
0

Year Published

2006
2006
2018
2018

Publication Types

Select...
6

Relationship

3
3

Authors

Journals

citations
Cited by 14 publications
(23 citation statements)
references
References 12 publications
(19 reference statements)
0
23
0
Order By: Relevance
“…of actions occurring in such an execution. This section describes a systematic way to capture such traces coalgebraically, following [HJ05,HJS07], which is general and generic. Here we concentrate on the powerset case.…”
Section: Trace Semantics Coalgebraicallymentioning
confidence: 99%
See 1 more Smart Citation
“…of actions occurring in such an execution. This section describes a systematic way to capture such traces coalgebraically, following [HJ05,HJS07], which is general and generic. Here we concentrate on the powerset case.…”
Section: Trace Semantics Coalgebraicallymentioning
confidence: 99%
“…The following result (from [HJ05]) combines initial algebras and final coalgebras for a description of trace semantics.…”
Section: Lifting the Functormentioning
confidence: 99%
“…Here + denotes the coproduct (or disjoint union), P ω the finite power set, and (A + X) * is the set of all the strings of finite length over A and X. According to the above definition, CFGs are coalgebras for the functor P ω ((A + (−)) * ), and indeed a coalgebraic account of context-free grammars and context-free languages using the above functor (without the finiteness condition on the power set) is presented in [5]. There, the focus is mainly on finite skeletal parsed trees (i.e.…”
Section: Context-free Languages Via Grammarsmentioning
confidence: 99%
“…This may explain why not so much algebraic or coalgebraic work has been devoted to study the theory of context-free languages. The first, and only, coalgebraic treatment of context-free languages we are aware of, is presented in [5]. In this paper context-free languages are described indirectly, as the result of flattening finite skeletal parsed trees.…”
Section: Introductionmentioning
confidence: 99%
“…In this paper, we will confine our presentation to the possibilistic setting, leaving the probabilistic setting for further work. For this setting the categorical trace semantics of finite state automata [8] and context-free languages [9] are clear examples, and are close conceptual predecessors of testing semantics. What appears to be new is our ability to bring Turing machines into the same setting.…”
Section: Introduction: the Problem Of Testingmentioning
confidence: 99%