English
Related papers

Related papers: On Practical Regular Expressions

200 papers

Recently, the separated fragment (SF) of first-order logic has been introduced. Its defining principle is that universally and existentially quantified variables may not occur together in atoms. SF properly generalizes both the…

Logic in Computer Science · Computer Science 2017-06-14 Marco Voigt

Characterizing the computational power of neural network architectures in terms of formal language theory remains a crucial line of research, as it describes lower and upper bounds on the reasoning capabilities of modern AI. However, when…

Computation and Language · Computer Science 2025-04-15 Alexandra Butoi , Ghazal Khalighinejad , Anej Svete , Josef Valvoda , Ryan Cotterell , Brian DuSell

We consider the problem of symbolic reachability analysis of higher-order context-free processes. These models are generalizations of the context-free processes (also called BPA processes) where each process manipulates a data structure…

Logic in Computer Science · Computer Science 2007-05-29 Ahmed Bouajjani , Antoine Meyer

This paper presents the main features of a system that aims to transform regular expressions into shorter equivalent expressions. The system is also capable of computing other operations useful for simplification, such as checking the…

Symbolic Computation · Computer Science 2023-07-14 Baudouin Le Charlier

We consider a general class of decision problems concerning formal languages, called ``(one-dimensional) unboundedness predicates'', for automata that feature reversal-bounded counters (RBCA). We show that each problem in this class reduces…

Formal Languages and Automata Theory · Computer Science 2023-01-25 Pascal Baumann , Flavio D'Alessandro , Moses Ganardi , Oscar Ibarra , Ian McQuillan , Lia Schütze , Georg Zetzsche

The theory of sequences, supported by many SMT solvers, can model program data types including bounded arrays and lists. Sequences are parameterized by the element data type and provide operations such as accessing elements, concatenation,…

Programming Languages · Computer Science 2025-09-09 Denghang Hu , Taolue Chen , Philipp Rümmer , Fu Song , Zhilin Wu

We investigate analytically the problem of enumeration of nonequivalent primitive words in the braid group B_n for n >> 1 by analysing the random word statistics and the target space on the basis of the locally free group approximation. We…

Statistical Mechanics · Physics 2009-10-30 Alain Comtet , Sergei Nechaev

What-if analysis is widely used to explore hypothetical scenarios and evaluate alternative pathways to desired results. However, current approaches are fragmented: systems implement what-if capabilities under diverse terminologies with…

Human-Computer Interaction · Computer Science 2026-04-13 Sneha Gathani , Kevin Li , Raghav Thind , Sirui Zeng , Matthew Xu , Peter J. Haas , Cagatay Demiralp , Zhicheng Liu

Long-horizon multivariate time-series forecasting is challenging because realistic predictions must (i) denoise heterogeneous signals, (ii) track time-varying cross-series dependencies, and (iii) remain stable and physically plausible over…

Machine Learning · Computer Science 2025-12-02 Hongwei Ma , Junbin Gao , Minh-ngoc Tran

We introduce a discrete dynamical system on the integers, defined by moving a composite $m$ forward to $m+\pi(m)$ and a prime $p$ backward to $p-\mathrm{prevprime}(p)$. This map produces trajectories whose contraction properties are closely…

General Mathematics · Mathematics 2025-09-16 Hendrik Wladimir Albrecht Edwin Kuipers

Deployed language and vision-language models must decide, on each input, whether to answer directly, retrieve evidence, defer to a stronger model, or abstain. Contrary to the common monotonicity intuition, greater per-input expressivity is…

Artificial Intelligence · Computer Science 2026-05-08 Zhaoyang Jiang , Zhizhong Fu , Yunsoo Kim , Jiacong Mi , Zicheng Li , Xuanqi Peng , Honghan Wu

We study discrete-time predictable forward processes when trading times do not coincide with performance evaluation times in a binomial tree model for the financial market. The key step in the construction of these processes is to solve a…

Mathematical Finance · Quantitative Finance 2023-12-05 Gechun Liang , Moris S. Strub , Yuwei Wang

Programming-by-example is the task of synthesizing a program that is consistent with a set of user-provided input-output examples. As examples are often an under-specification of one's intent, a good synthesizer must choose the intended…

Machine Learning · Computer Science 2025-04-18 Saujas Vaduguru , Daniel Fried , Yewen Pu

A sound and complete algorithm for nominal unification of higher-order expressions with a recursive let is described, and shown to run in nondeterministic polynomial time. We also explore specializations like nominal letrec-matching for…

Logic in Computer Science · Computer Science 2023-06-22 Manfred Schmidt-Schauß , Temur Kutsia , Jordi Levy , Mateu Villaret , Yunus Kutz

Regular expressions (regexes) are widely used in different fields of computer science, such as programming languages, string processing, and databases. However, existing tools for synthesizing or repairing regexes always assume that the…

Software Engineering · Computer Science 2022-11-02 Shujun Wang , Yongqiang Tian andDengcheng He

Machine reading comprehension (MRC) that requires discrete reasoning involving symbolic operations, e.g., addition, sorting, and counting, is a challenging task. According to this nature, semantic parsing-based methods predict interpretable…

Computation and Language · Computer Science 2022-05-05 Yongwei Zhou , Junwei Bao , Chaoqun Duan , Haipeng Sun , Jiahui Liang , Yifan Wang , Jing Zhao , Youzheng Wu , Xiaodong He , Tiejun Zhao

In general, first-order predicate logic extended with linear integer arithmetic is undecidable. We show that the Bernays-Sch\"onfinkel-Ramsey fragment ($\exists^* \forall^*$-sentences) extended with a restricted form of linear integer…

Logic in Computer Science · Computer Science 2017-05-25 Matthias Horbach , Marco Voigt , Christoph Weidenbach

Hybrid automata are a natural framework for modeling and analyzing systems which exhibit a mixed discrete continuous behaviour. However, the standard operational semantics defined over such models implicitly assume perfect knowledge of the…

Systems and Control · Computer Science 2013-08-27 Alberto Casagrande , Tommaso Dreossi , Carla Piazza

Symbolic automata are finite state automata that support potentially infinite alphabets, such as the set of rational numbers, generally applied to regular expressions/languages over finite words. In symbolic automata (or automata modulo…

Formal Languages and Automata Theory · Computer Science 2023-10-05 Margus Veanes , Thomas Ball , Gabriel Ebner , Olli Saarikivi

Natural language provides an accessible and expressive interface to specify long-term tasks for robotic agents. However, non-experts are likely to specify such tasks with high-level instructions, which abstract over specific robot actions…

Robotics · Computer Science 2021-11-30 Valts Blukis , Chris Paxton , Dieter Fox , Animesh Garg , Yoav Artzi