Skip to main content

Showing 1–22 of 22 results for author: Moreira, N

Searching in archive cs. Search in all archives.
.
  1. arXiv:2404.11746  [pdf, ps, other

    cs.FL

    On the Representation of Block Languages

    Authors: Guilherme Duarte, Nelma Moreira, Luca Prigioniero, Rogério Reis

    Abstract: In this paper we consider block languages, namely sets of words having the same length, and we propose a new representation for these languages. In particular, given an alphabet of size $k$ and a length $\ell$, these languages can be represented by bitmaps of size $k^\ell$, in which each bit indicates whether the correspondent word, according to the lexicographical order, belongs to the language (… ▽ More

    Submitted 17 April, 2024; originally announced April 2024.

  2. arXiv:2202.01594  [pdf, ps, other

    cs.FL

    Approximate NFA Universality and Related Problems Motivated by Information Theory

    Authors: Stavros Konstantinidis, Mitja Mastnak, Nelma Moreira, Rogério Reis

    Abstract: In coding and information theory, it is desirable to construct maximal codes that can be either variable length codes or error control codes of fixed length. However deciding code maximality boils down to deciding whether a given NFA is universal, and this is a hard problem (including the case of whether the NFA accepts all words of a fixed length). On the other hand, it is acceptable to know whet… ▽ More

    Submitted 11 April, 2022; v1 submitted 3 February, 2022; originally announced February 2022.

    Comments: 23 pages

    MSC Class: 68Q45 (Primary) 68W25 (Secondary) ACM Class: F.1.1; F.4.3

  3. arXiv:2103.13175  [pdf, ps, other

    cs.FL

    On the Uniform Distribution of Regular Expressions

    Authors: Sabine Broda, António Machiavelo, Nelma Moreira, Rogério Reis

    Abstract: Although regular expressions do not correspond univocally to regular languages, it is still worthwhile to study their properties and algorithms. For the average case analysis one often relies on the uniform random generation using a specific grammar for regular expressions, that can represent regular languages with more or less redundancy. Generators that are uniform on the set of expressions are… ▽ More

    Submitted 24 March, 2021; originally announced March 2021.

  4. arXiv:1902.08272  [pdf, ps, other

    cs.FL

    The computational power of parsing expression grammars

    Authors: Bruno Loff, Nelma Moreira, Rogério Reis

    Abstract: We study the computational power of parsing expression grammars (PEGs). We begin by constructing PEGs with unexpected behaviour, and surprising new examples of languages with PEGs, including the language of palindromes whose length is a power of two, and a binary-counting language. We then propose a new computational model, the scaffolding automaton, and prove that it exactly characterises the com… ▽ More

    Submitted 14 February, 2020; v1 submitted 21 February, 2019; originally announced February 2019.

  5. arXiv:1805.01829  [pdf, ps, other

    cs.FL

    Regular Expressions and Transducers over Alphabet-invariant and User-defined Labels

    Authors: Stavros Konstantinidis, Nelma Moreira, Rogerio Reis, Joshua Young

    Abstract: We are interested in regular expressions and transducers that represent word relations in an alphabet-invariant way---for example, the set of all word pairs u,v where v is a prefix of u independently of what the alphabet is. Current software systems of formal language objects do not have a mechanism to define such objects. We define transducers in which transition labels involve what we call set s… ▽ More

    Submitted 4 May, 2018; originally announced May 2018.

  6. arXiv:1601.06312  [pdf, ps, other

    cs.IT

    Channels with Synchronization/Substitution Errors and Computation of Error Control Codes

    Authors: Stavros Konstantinidis, Nelma Moreira, Rogerio Reis

    Abstract: We introduce the concept of an \ff-maximal error-detecting block code, for some parameter \ff{} between 0 and 1, in order to formalize the situation where a block code is close to maximal with respect to being error-detecting. Our motivation for this is that constructing a maximal error-detecting code is a computationally hard problem. We present a randomized algorithm that takes as input two posi… ▽ More

    Submitted 28 July, 2016; v1 submitted 23 January, 2016; originally announced January 2016.

    MSC Class: 94B; 68P30 ACM Class: E.4

  7. arXiv:1510.09092  [pdf, ps, other

    cs.FL

    Formalization of context-free language theory

    Authors: Marcus V. M. Ramos, Ruy J. G. B. de Queiroz, Nelma Moreira, José Carlos Bacelar Almeida

    Abstract: Context-free language theory is a subject of high importance in computer language processing technology as well as in formal language theory. This paper presents a formalization, using the Coq proof assistant, of fundamental results related to context-free grammars and languages. These include closure properties (union, concatenation and Kleene star), grammar simplification (elimination of useless… ▽ More

    Submitted 30 October, 2015; originally announced October 2015.

  8. arXiv:1510.04748  [pdf, ps, other

    cs.FL

    Formalization of the pum** lemma for context-free languages

    Authors: Marcus V. M. Ramos, Ruy J. G. B. de Queiroz, Nelma Moreira, José Carlos Bacelar Almeida

    Abstract: Context-free languages (CFLs) are highly important in computer language processing technology as well as in formal language theory. The Pum** Lemma is a property that is valid for all context-free languages, and is used to show the existence of non context-free languages. This paper presents a formalization, using the Coq proof assistant, of the Pum** Lemma for context-free languages.

    Submitted 15 October, 2015; originally announced October 2015.

  9. arXiv:1509.03254  [pdf, other

    cs.FL

    A Survey on Operational State Complexity

    Authors: Yuan Gao, Nelma Moreira, Rogério Reis, Sheng Yu

    Abstract: Descriptional complexity is the study of the conciseness of the various models representing formal languages. The state complexity of a regular language is the size, measured by the number of states of the smallest, either deterministic or nondeterministic, finite automaton that recognises it. Operational state complexity is the study of the state complexity of operations over languages. In this s… ▽ More

    Submitted 10 September, 2015; originally announced September 2015.

  10. arXiv:1504.04715  [pdf, other

    cs.FL

    Symbolic Manipulation of Code Properties

    Authors: Stavros Konstantinidis, Casey Meijer, Nelma Moreira, Rogério Reis

    Abstract: The FAdo system is a symbolic manipulator of formal languages objects, implemented in Python. In this work, we extend its capabilities by implementing methods to manipulate transducers and we go one level higher than existing formal language systems and implement methods to manipulate objects representing classes of independent languages (widely known as code properties). Our methods allow users t… ▽ More

    Submitted 1 August, 2016; v1 submitted 18 April, 2015; originally announced April 2015.

    Comments: Extended version of the CIAA 2016 paper, "Implementation of Code Properties via Transducers", LNCS 9705, pp. 189-201, Springer, 2016

  11. arXiv:1503.00279  [pdf, ps, other

    cs.FL

    Partial Derivative Automaton for Regular Expressions with Shuffle

    Authors: Sabine Broda, António Machiavelo, Nelma Moreira, Rogério Reis

    Abstract: We generalize the partial derivative automaton to regular expressions with shuffle and study its size in the worst and in the average case. The number of states of the partial derivative automata is in the worst case at most 2^m, where m is the number of letters in the expression, while asymptotically and on average it is no more than (4/3)^m.

    Submitted 1 March, 2015; originally announced March 2015.

  12. arXiv:1407.0160  [pdf, ps, other

    cs.FL

    Distinguishability Operations and Closures on Regular Languages

    Authors: Cezar Câmpeanu, Nelma Moreira, Rogério Reis

    Abstract: Given a regular language $L$, we study the language of words $\mathsf{D}(L)$, that distinguish between pairs of different left-quotients of $L$. We characterize this distinguishability operation, show that its iteration has always a fixed point, and we generalize this result to operations derived from closure operators and Boolean operators. We give an upper bound for the state complexity of the d… ▽ More

    Submitted 10 December, 2014; v1 submitted 1 July, 2014; originally announced July 2014.

  13. arXiv:1310.1841  [pdf, ps, other

    cs.FL

    Symmetric Groups and Quotient Complexity of Boolean Operations

    Authors: Jason Bell, Janusz Brzozowski, Nelma Moreira, Rogério Reis

    Abstract: The quotient complexity of a regular language L is the number of left quotients of L, which is the same as the state complexity of L. Suppose that L and L' are binary regular languages with quotient complexities m and n, and that the transition semigroups of the minimal deterministic automata accepting L and L' are the symmetric groups S_m and S_n of degrees m and n, respectively. Denote by o any… ▽ More

    Submitted 7 October, 2013; originally announced October 2013.

  14. arXiv:1302.0750  [pdf, ps, other

    cs.FL

    Incomplete Transition Complexity of Basic Operations on Finite Languages

    Authors: Eva Maia, Nelma Moreira, Rogério Reis

    Abstract: The state complexity of basic operations on finite languages (considering complete DFAs) has been in studied the literature. In this paper we study the incomplete (deterministic) state and transition complexity on finite languages of boolean operations, concatenation, star, and reversal. For all operations we give tight upper bounds for both description measures. We correct the published state com… ▽ More

    Submitted 4 February, 2013; originally announced February 2013.

    Comments: 13 pages

  15. Deciding KAT and Hoare Logic with Derivatives

    Authors: Ricardo Almeida, Sabine Broda, Nelma Moreira

    Abstract: Kleene algebra with tests (KAT) is an equational system for program verification, which is the combination of Boolean algebra (BA) and Kleene algebra (KA), the algebra of regular expressions. In particular, KAT subsumes the propositional fragment of Hoare logic (PHL) which is a formal system for the specification and verification of programs, and that is currently the base of most tools for check… ▽ More

    Submitted 8 October, 2012; originally announced October 2012.

    Comments: In Proceedings GandALF 2012, arXiv:1210.2028

    Journal ref: EPTCS 96, 2012, pp. 127-140

  16. arXiv:1009.3599  [pdf, other

    cs.FL

    Small NFAs from Regular Expressions: Some Experimental Results

    Authors: Hugo Gouveia, Nelma Moreira, Rogério Reis

    Abstract: Regular expressions (res), because of their succinctness and clear syntax, are the common choice to represent regular languages. However, efficient pattern matching or word recognition depend on the size of the equivalent nondeterministic finite automata (NFA). We present the implementation of several algorithms for constructing small epsilon-free NFAss from res within the FAdo system, and a compa… ▽ More

    Submitted 18 September, 2010; originally announced September 2010.

    Comments: Proceedings of 6th Conference on Computability in Europe (CIE 2010), pages 194-203, Ponta Delgada, Azores, Portugal, June/July 2010

  17. State Elimination Ordering Strategies: Some Experimental Results

    Authors: Nelma Moreira, Davide Nabais, Rogério Reis

    Abstract: Recently, the problem of obtaining a short regular expression equivalent to a given finite automaton has been intensively investigated. Algorithms for converting finite automata to regular expressions have an exponential blow-up in the worst-case. To overcome this, simple heuristic methods have been proposed. In this paper we analyse some of the heuristics presented in the literature and prop… ▽ More

    Submitted 10 August, 2010; originally announced August 2010.

    Comments: In Proceedings DCFS 2010, arXiv:1008.1270

    Journal ref: EPTCS 31, 2010, pp. 139-148

  18. arXiv:0908.3315  [pdf, ps, other

    cs.FL

    Exact generation of acyclic deterministic finite automata

    Authors: Marco Almeida, Nelma Moreira, Rogério Reis

    Abstract: We give a canonical representation for trim acyclic deterministic finite automata (Adfa) with n states over an alphabet of k symbols. Using this normal form, we present a backtracking algorithm for the exact generation of Adfas. This algorithm is a non trivial adaptation of the algorithm for the exact generation of minimal acyclic deterministic finite automata, presented by Almeida et al.

    Submitted 23 August, 2009; originally announced August 2009.

    Comments: DCFS'08

  19. Testing the Equivalence of Regular Languages

    Authors: Marco Almeida, Nelma Moreira, Rogério Reis

    Abstract: The minimal deterministic finite automaton is generally used to determine regular languages equality. Antimirov and Mosses proposed a rewrite system for deciding regular expressions equivalence of which Almeida et al. presented an improved variant. Hopcroft and Karp proposed an almost linear algorithm for testing the equivalence of two deterministic finite automata that avoids minimisation. In t… ▽ More

    Submitted 29 July, 2009; originally announced July 2009.

    Journal ref: EPTCS 3, 2009, pp. 47-57

  20. arXiv:0906.3853  [pdf, ps, other

    cs.FL

    Aspects of enumeration and generation with a string automata representation

    Authors: Marco Almeida, Nelma Moreira, Rogério Reis

    Abstract: In general, the representation of combinatorial objects is decisive for the feasibility of several enumerative tasks. In this work, we show how a (unique) string representation for (complete) initially-connected deterministic automata (ICDFAs) with n states over an alphabet of k symbols can be used for counting, exact enumeration, sampling and optimal coding, not only the set of ICDFAs but, to s… ▽ More

    Submitted 21 June, 2009; originally announced June 2009.

  21. arXiv:0906.2477  [pdf, ps, other

    cs.FL

    On the Representation of Finite Automata

    Authors: Rogério Reis, Nelma Moreira, Marco Almeida

    Abstract: We give an unique string representation, up to isomorphism, for initially connected deterministic finite automata (ICDFAs) with n states over an alphabet of k symbols. We show how to generate all these strings for each n and k, and how its enumeration provides an alternative way to obtain the exact number of ICDFAs.

    Submitted 13 June, 2009; originally announced June 2009.

    Comments: DCFS 2005

    Report number: DCC-2005-04

  22. Constraint Categorial Grammars

    Authors: Luis Damas, Nelma Moreira

    Abstract: Although unification can be used to implement a weak form of $β$-reduction, several linguistic phenomena are better handled by using some form of $λ$-calculus. In this paper we present a higher order feature description calculus based on a typed $λ$-calculus. We show how the techniques used in \CLG for resolving complex feature constraints can be efficiently extended. \CCLG is a simple formalism… ▽ More

    Submitted 4 July, 1995; originally announced July 1995.

    Comments: 12 pages, 5 Postscript figures, uses llncs.sty and epsfig.sty. To appear in Proceedings of EPIA'95, 7th Portuguese Conference on Artificial Intelligence, Funchal- Madeira Island, Portugal 3-6 October , 1995