Spider diagrams provide a visual logic to express relations between sets and their elements, extending the expressiveness of Venn diagrams. Sound and complete inference systems for spider diagrams have been developed and it is known that they are equivalent in expressive power to Monadic First-Order Logic with equality, MFOL[=]. In this paper, we further characterize their expressiveness by articulating a link between them and formal languages. First, we establish that spider diagrams define precisely the languages that are finite unions of languages of the form K⊔⊔Γ⁎ where K is a finite commutative language and Γ is a finite set of letters. We note that it was previously established that spider diagrams define commutative star-free languages. As a corollary K⊔⊔Γ⁎ all languages of the form are commutative star-free languages. We further demonstrate that every commutative star-free language is also such a finite union. In summary, we establish that spider diagrams define precisely: (a) languages definable in MFOL[=], (b) the commutative star-free regular languages, and (c) finite unions of the form K⊔⊔Γ⁎ as just described.
|Number of pages||16|
|Journal||Journal of Visual Languages and Computing|
|Publication status||Published - 27 Feb 2013|
- Spider diagrams
- Diagrammatic logics
- Regular languages
- Star-free languages