Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
158 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Two-dimensional Dyck words (2307.16522v2)

Published 31 Jul 2023 in cs.FL

Abstract: We propose different ways of lifting the notion of Dyck language from words to 2-dimensional (2D) pictures, by means of new definitions of increasing comprehensiveness. Two of the proposals are based on alternative definitions of a Dyck language, which are equivalent over words but not on pictures. First, the property that any two pairs of matching parentheses are well-nested or disjoint is rephrased for rectangular boxes and leads to the well-nested Dyck, $DW_k$. This is a generalization of the known Chinese box language, but, unlike the Chinese boxes, $DW_k$ is not recognizable by a tiling system. Second, the Dyck cancellation rule is rephrased as a neutralization rule, mapping a quadruple of symbols representing the corners of a subpicture onto neutral symbols.The neutralizable Dyck language $DN_k$ is obtained by iterating neutralizations, starting from 2-by-2 subpictures, until the picture is wholly neutralized. Third, we define the Dyck crossword $DC_k$ as the row-column combination of Dyck word languages, which prescribes that each column and row is a Dyck word. The relation between matching parentheses is represented in $DC_k$ by an edge of a graph situated on the picture grid. Such edges form a circuit, of path length multiple of four, of alternating row and column matches. Length-four circuits have rectangular shape, while longer ones exhibit a large variety of forms. A proper subset of $DC_k$, called quaternate, is also introduced by excluding all circuits of length greater than 4. We prove that $DN_k$ properly includes $DW_k$, and that it coincides with the quaternate $DC_k$ such that the neutralizability relation between subpictures induces a partial order. The 2D languages well-nested, neutralizable, quaternate and Dyck crossword are ordered by strict inclusions. This work can be also seen as a first step towards the definition of context-free picture languages.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (16)
  1. J. Berstel. Transductions and Context-Free Languages. Teubner, Stuttgart, 1979.
  2. J. Berstel and L. Boasson. Towards an algebraic theory of context-free languages. Fundam. Informaticae, 25(3):217–239, 1996.
  3. N. Chomsky and M. Schützenberger. The algebraic theory of context-free languages. In Brafford and Hirschenber, editors, Computer programming and formal systems, pages 118–161. North-Holland, Amsterdam, 1963.
  4. Two-dimensional models. In J. Pin, editor, Handbook of Automata Theory, pages 303–333. European Mathematical Society Publishing House, 2021.
  5. S. Crespi-Reghizzi and M. Pradella. Tile rewriting grammars and picture languages. Theor. Comput. Sci., 340(1):257–272, 2005.
  6. F. Drewes. Grammatical Picture Generation: A Tree-Based Approach. Springer, 2006.
  7. The complexity of regex crosswords. Inf. Comput., 286:104777, 2022.
  8. D. Giammarresi and A. Restivo. Two-dimensional languages. In G. Rozenberg and A. Salomaa, editors, Handbook of formal languages, vol. 3, pages 215–267. Springer, 1997.
  9. M. Latteux and D. Simplot. Recognizable picture languages and domino tiling. Theor. Comput. Sci., 178(1-2):275–283, 1997.
  10. O. Matz. Regular expressions and context-free grammars for picture languages. In 14th Annual Symposium on Theoretical Aspects of Computer Science, volume 1200 of LNCS, pages 283–294, 1997.
  11. Puzzle grammars and context-free array grammars. Int. Journ. of Pattern Recognition and Artificial Intelligence, 5:663–676, 1991.
  12. A. Okhotin. Non-erasing variants of the Chomsky—Schützenberger Theorem. In Proc. of the 16th Intern. Conf. on Developments in Language Theory, DLT’12, pages 121–129, Berlin, Heidelberg, 2012. Springer-Verlag.
  13. M. Pradella and S. Crespi-Reghizzi. A sat-based parser and completer for pictures specified by tiling. Pattern Recognit., 41(2):555–566, 2008.
  14. D. Průša. Two-dimensional Languages (PhD Thesis). Charles University, Faculty of Mathematics and Physics, Czech Republic, 2004.
  15. D. Simplot. A characterization of recognizable picture languages by tilings by finite sets. Theor. Comput. Sci., 218(2):297–323, 1999.
  16. Some results on picture languages. Pattern Recognition, 32(2):295–304, 1999.

Summary

We haven't generated a summary for this paper yet.