Monadic Second-Order Logic on Finite Sequences

被引:4
|
作者
D'Antoni, Loris [1 ]
Veanes, Margus [2 ]
机构
[1] Univ Wisconsin, Madison, WI 53706 USA
[2] Microsoft Res, Redmond, WA USA
关键词
Symbolic automata; SWS1S; MSO logic; DECISION DIAGRAMS; AUTOMATA;
D O I
10.1145/3093333.3009844
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We extend the weak monadic second-order logic of one successor for finite strings (M2L-STR) to symbolic alphabets by allowing character predicates to range over decidable quantifier free theories instead of finite alphabets. We call this logic, which is able to describe sequences over complex and potentially infinite domains, symbolic M2L-STR (S-M2L-STR). We present a decision procedure for S-M2L-STR based on a reduction to symbolic finite automata, a decidable extension of finite automata that allows transitions to carry predicates and can therefore model complex alphabets. The reduction constructs a symbolic automaton over an alphabet consisting of pairs of symbols where the first element of each pair is a symbol in the original formula's alphabet, while the second element is a bit-vector. To handle this modified alphabet we show that the Cartesian product of two decidable Boolean algebras, e.g., the product of formula's algebra and bit-vector's algebra, also forms a decidable Boolean algebra. To make the decision procedure practical, we propose two efficient representations of the Cartesian product of two Boolean algebras, one based on algebraic decision diagrams and one on a variant of Shannon expansions. Finally, we implement our decision procedure and evaluate it on more than 10,000 formulas. Despite the generality, our implementation has comparable performance with the state-of-the-art M2L-STR solvers.
引用
收藏
页码:232 / 245
页数:14
相关论文
共 50 条
  • [31] Linear delay enumeration and monadic second-order logic
    Courcelle, Bruno
    DISCRETE APPLIED MATHEMATICS, 2009, 157 (12) : 2675 - 2700
  • [32] Monadic second-order logic, tree automata, and constraint logic programming
    Morawietz, F
    MATHEMATICS OF SYNTACTIC STRUCTURE: TREES AND THEIR LOGICS, 1999, 44 : 41 - 81
  • [33] Where First-Order and Monadic Second-Order Logic Coincide
    Elberfeld, Michael
    Grohe, Martin
    Tantau, Till
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2016, 17 (04)
  • [34] The complexity of first-order and monadic second-order logic revisited
    Frick, M
    Grohe, M
    17TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2002, : 215 - 224
  • [35] Where First-Order and Monadic Second-Order Logic Coincide
    Elberfeld, Michael
    Grohe, Martin
    Tantau, Till
    2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2012, : 265 - 274
  • [36] The complexity of first-order and monadic second-order logic revisited
    Frick, M
    Grohe, M
    ANNALS OF PURE AND APPLIED LOGIC, 2004, 130 (1-3) : 3 - 31
  • [37] Incremental reasoning on monadic second-order logics with logic programming
    Unel, Gulay
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2016, 85 (02) : 316 - 331
  • [38] Expressive power of monadic second-order logic and modal μ-calculus
    Rohde, P
    AUTOMATA, LOGICS, AND INFINITE GAMES: A GUIDE TO CURRENT RESEARCH, 2002, 2500 : 239 - 257
  • [39] Map genus, forbidden maps, and monadic second-order logic
    Courcelle, B.
    Dussaux, V.
    ELECTRONIC JOURNAL OF COMBINATORICS, 2002, 9
  • [40] On the coprimeness relation from the viewpoint of monadic second-order logic
    Speranski, S. O.
    Pakhomov, F. N.
    IZVESTIYA MATHEMATICS, 2022, 86 (06) : 1225 - 1239