AGV 8.4 -- Homogenous Inequality Testing is Automatic
Previous chapter: Translation from Linear Arithmetic to Automata
This is a learning note of a course in CISPA, UdS. Taught by Bernd Finkbeiner
Introduction
In the previous section, we used $x+y=z$ as an example. By extend that into a more general inequality
$$g_1x_1+\dots+g_\ell x_\ell\leq h_1y_1+\dots +h_my_m$$
where $x_1,\dots,x_\ell,y_1,\dots,y_m$ are free variables, and $g_1,\dots,g_\ell,h_1,\dots,h_m$ are positive integer constants. Such inequality can be described by a Büchi automaton.
$\textbf{Lemma 8.1. }\textit{Let }\lbrace x_1,\dots,x_\ell,y_1,\dots,y_m\textit{ be a set of free variables, and let }g_1,\dots,g_\ell,h_1,\dots,h_m\newline\textit{be positive integer constants. There exists a Büchi automaton }\mathcal{A}\textit{ such that}$
$$\mathcal{L(A)}=\lbrace\alpha_\sigma\mid\sigma\models g_1x_1+\dots+g_\ell g_\ell\leq h_1 y_1+\dots+h_m y_m\rbrace$$
It is easy to start with constructing an automaton $\mathcal{A}_{\textsf{valid},\ell+m}$ that checks whether the word $\alpha_\sigma$ is well-formed:
- checks that the separation symbol $({$},\dots,{$})$ occurs exactly once, and
- the separation symbol does not appear at the beginning of the word.