58 research outputs found

    On the additive theory of prime numbers II

    Get PDF
    The undecidability of the additive theory of primes (with identity) as well as the theory Th(N,+, n -> p\_n), where p\_n denotes the (n+1)-th prime, are open questions. As a possible approach, we extend the latter theory by adding some extra function. In this direction we show the undecidability of the existential part of the theory Th(N, +, n -> p\_n, n -> r\_n), where r\_n is the remainder of p\_n divided by n in the euclidian division

    Tree inclusions in windows and slices

    Get PDF
    PP is an embedded subtree of TT if PP can be obtained by deleting some nodes from TT: if a node vv is deleted, all edges adjacent to vv are also deleted, and outgoing edges are replaced by edges going from the parent of vv (if it exists) to the children of vv. Deciding whether PP is an embedded subtree of TT is known to be NP-complete. Given two trees (a target TT and a pattern PP) and a natural number ww, we address two problems: 1. counting the number of windows of TT having height exactly ww and containing pattern PP as an embedded subtree, and 2. counting the number of slices of TT having height exactly ww and containing pattern PP as an embedded subtree

    Multiple serial episode matching

    Get PDF
    12In a previous paper we generalized the Knuth-Morris-Pratt (KMP) pattern matching algorithm and defined a non-conventional kind of RAM, the MP--RAMs (RAMS equipped with extra operations), and designed an O(n)O(n) on-line algorithm for solving the serial episode matching problem on MP--RAMs when there is only one single episode. We here give two extensions of this algorithm to the case when we search for several patterns simultaneously and compare them. More preciseley, given q+1q+1 strings (a text tt of length nn and qq patterns m1,,mqm_1,\ldots,m_q) and a natural number ww, the {\em multiple serial episode matching problem} consists in finding the number of size ww windows of text tt which contain patterns m1,,mqm_1,\ldots,m_q as subsequences, i.e. for each mim_i, if mi=p1,,pkm_i=p_1,\ldots ,p_k, the letters p1,,pkp_1,\ldots ,p_k occur in the window, in the same order as in mim_i, but not necessarily consecutively (they may be interleaved with other letters).} The main contribution is an algorithm solving this problem on-line in time O(nq)O(nq)

    The algebra of binary trees is affine complete

    Full text link
    A function on an algebra is congruence preserving if, for any congruence, it maps pairs of congruent elements onto pairs of congruent elements. We show that on the algebra of binary trees whose leaves are labeled by letters of an alphabet containing at least three letters, a function is congruence preserving if and only if it is polynomial.Comment: 9 pages, 1 figur

    Decidability and p-destinies

    No full text

    C'est é-lé-mentaire

    No full text

    Definability, decidability and complexity

    No full text

    Comment vérifier l'accès à une page Web

    No full text
    corecore