Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Agamemnon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nathan Lhote
Agamemnon
Commits
b6cc8d06
Commit
b6cc8d06
authored
3 years ago
by
filiot
Browse files
Options
Downloads
Patches
Plain Diff
after meeting of April 2022
parent
5295cffe
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.tex
+231
-7
231 additions, 7 deletions
main.tex
with
231 additions
and
7 deletions
main.tex
+
231
−
7
View file @
b6cc8d06
\documentclass
[a4paper,UKenglish,cleveref, autoref, thm-restate]
{
article
}
\usepackage
{
amssymb,amsthm,amsmath
}
\newtheorem
{
theorem
}{
Theorem
}
\newtheorem
{
corollary
}{
Corollary
}
\bibliographystyle
{
alpha
}
% the mandatory bibstyle
\title
{
FO Model-Checking Superlinear
\\
Transductions with Origin
\\
\small
{
and also a logic for SSTs
}}
%TODO Please add
\title
{
Exporegular functions
}
%TODO Please add
\author
{}
...
...
@@ -17,7 +22,14 @@
\begin{abstract}
The abstract.
We introduce a new class of functions of exponential growth (at
most). It captures the class of polyregular functions and of
functions definable by SST with copy. We provide diverse
characterizations of exporegular functions: monadic-second order
interpretations (MSOMI). As an application, we prove that
model-checking non-deterministic SST with copy as well as
deterministic k-pebble transducers against a first-order logic
defining properties of their origin graphs is decidable.
\end{abstract}
...
...
@@ -28,17 +40,229 @@ The abstract.
\label
{
sec:prelim
}
\subsection
{
Words, languages and transductions
}
\subsection
{
Relational structures and logical interpretations
}
\subsection
{
SSTs and pebble transducers, semantics with an without origin
}
\subsection
{
Exporegular functions
}
An exporegular function is a function
$
f :
\Sigma
^
*
\rightarrow
\Sigma
^
*
$
defined by a monadic second-order interpretation
\footnote
{
We
could add copy to MSOMI just as in Courcelle to avoid undesirable
cornercase behaviours with small words.
}
$
T
=
(
\phi
_{
dom
}
(
\overline
{
X
}
)
,
\phi
_
\leq
(
\overline
{
X
}
,
\overline
{
Y
}
)
,
\phi
_
\sigma
(
{
\overline
{
X
}}
))
$
where each of those formulas are MSO
formulas over signature
$
\{
x
\leq
y,
\sigma
(
x
)
\}
$
. We denote by
MSOMI(s2s) those MSO-interpretations whose output structure is a
string (it is decidable), or just MSOMI if this is clear from the
context. If instead FO formulas are used, we denote FO interpretations
with monadic parameters by MSOI.
We denote by
\textsf
{
ExpF
}
the class of exporegular functions.
As an example, consider the following function. Let
$
\Sigma
=
\{
a,b
\}
$
and
$
\Gamma
=
\Sigma\times
\{
0
,
1
\}\cup
\#
$
. Let
$
u
\in\Sigma
^
*
$
.
Given a
subset
$
U
\subseteq
Pos
(
u
)
$
, we let
$
u
_
U
\in
\Gamma
^
*
$
such that
$
|u
_
U|
=
|u|
$
and for all positions
$
p
$
,
$
u
_
U
(
p
)
=
(
u
(
p
)
, p
\in
U
)
$
. Given another subset
$
V
$
,
$
U
\leq
_{
lex
}
V
$
if
$
U
=
V
$
or the
smallest
$
x
$
such that
$
x
\in
V
$
iff
$
x
\not\in
U
$
satisfies
$
x
\in
V
$
and
$
x
\not\in
U
$
. Finally, we let
$
subsets
(
u
)
=
\prod
_{
U
\subseteq
Pos
(
u
)
\text
{
in
lexicographic order
}}
u
_
U
\#
$
. For example,
$$
subsets
(
ab
)
=
(
a,
0
)(
b,
0
)
\#
(
a,
0
)(
b,
1
)
\#
(
a,
1
)(
b,
0
)
\#
(
a,
1
)(
b,
1
)
\#
$$
It is easy to see that
$
subsets
\in\textsf
{
ExpF
}$
.
\begin{theorem}
[Backward translation theorem]
Given an MSOMI
$
T
$
(from
$
\sigma
$
-relational structures to
$
\beta
$
-relational structures) and some FO formula
$
\phi
$
over
$
\beta
$
,
$
T
^{
-
1
}
(
\phi
)
$
, the set of
$
\sigma
$
-relational structures
$
A
$
such that
$
T
(
A
)
\models
\phi
$
, is
$
MSO
[
\sigma
]
$
-definable.
\end{theorem}
\begin{proof}
Idea: any first-order quantification
$
\exists
x
$
in
$
\phi
$
is
replaced by the monadic quantification
$
\exists
\overline
{
X
}$
,
the atoms
$
x
\leq
y
$
are replaced by
$
\phi
_
\leq
(
\overline
{
X
}
,
\overline
{
Y
}
)
$
, etc.
\end{proof}
\begin{corollary}
The inverse image of any regular language by an exporegular
function is regular. In particular, exporegular functions have
regular domains.
\end{corollary}
\subsection
{
NMSOMI relations
}
Just as MSOT can be extended with parameters to add some form of
non-determinism, MSOMI can also be extended with parameters to define
exporegular relations, and the backward translation theorem still
holds. We denote by
$
\textsf
{
ExpR
}$
the class of exporegular
relations.
\section
{
Expressiveness of exporegular functions
}
\begin{theorem}
NSST
$_{
copy
}$
$
\subseteq
$
\textsf
{
ExpR
}
.
\end{theorem}
\begin{proof}
See IPAD notes.
\end{proof}
\subsection
{
Lexicographic MSOMI and SST
}
An MSOMI
$
T
$
is lexicographic if
$
\phi
_{
\leq
}
(
\overline
{
X
}
,
\overline
{
Y
}
)
$
is of the following form, for
$
n
=
|
\overline
{
X
}
|
=
|
\overline
{
Y
}
|
$
:
$$
\overline
{
X
}
=
\overline
{
Y
}
\vee
\bigvee
_{
i
=
1
}^{
n
}
(
\bigwedge
_{
1
\leq
j<i
}
X
_
j
=
Y
_
j
)
\wedge
\exists
x
\ \textsf
{
first
-
diff
}
(
x,X
_
i,Y
_
i
)
\wedge
\psi
_
i
(
x,X
_
i,Y
_
i
)
$$
where
$
\psi
_
i
$
are MSO-formulas and
$
\textsf
{
first
-
diff
}
(
x,X
_
i,Y
_
i
)
$
holds true if
$
x
$
is the
$
\leq
$
-smallest position in
$
X
_
i
\cup
Y
_
i
$
such that
$
x
\in
X
_
i
\leftrightarrow
y
\not\in
Y
_
i
$
.
An MSOMI
$
T
$
is
\emph
{
purely
}
lexicographic if all
$
\psi
_
i
(
x,X
_
i,Y
_
i
)
$
are of the form
$
x
\not\in
X
_
i
\wedge
x
\in
Y
_
i
$
.
\begin{theorem}
A transduction
$
f
$
is definable by an SST with copy iff it is
definable by a purely lexicographic MSOMI.
\end{theorem}
\subsection
{
Polyregular functions
}
\begin{theorem}
\textsf
{
PolyF
}
$
\subseteq
$
\textsf
{
ExpF
}
\end{theorem}
\begin{proof}
\textsf
{
PolyF
}
= MSOI
$
\subseteq
$
MSOMI =
\textsf
{
ExpF
}
\end{proof}
\subsection
{
ExpoRegular functions of polynomial growth
}
\begin{theorem}
$
\textsf
{
ExpF
}
\cap
O
(
n
^
d
)
=
\textsf
{
PolyF
}$
\end{theorem}
\begin{proof}
See mail Nathan sent to Mikolaj on Saturday 2 April
2022. Moreover, an MSOMI of
$
O
(
n
^
d
)
$
growth can be converted into
an MSOI of dimension
$
d
$
(with
$
d
$
first-order parameters).
\end{proof}
Moreover, it is decidable whether an
\subsection
{
Closure properties
}
\begin{theorem}
FOI
$
\circ
$
MSOMI = MSOMI
\end{theorem}
\begin{proof}
Use standard ideas for composition logical transductions: formula
substitutions. The first-order parameters of the FOI becomes
monadic parameters.
\end{proof}
\section
{
FO model-checking of transductions with origins: SSTs and pebble transducers
}
\label
{
sec:mc
}
\subsection
{
The Backward Translation Theorem
}
\subsection
{
Model-checking (copyfull) SSTs with origin
}
\begin{itemize}
\item
Origin := input position where the output position was created in a
register update.
\item
FO[o] := FO[
$
\leq
_
in,
\leq
_
out,o
(
x,y
)
$
], i.e. FO over origin graphs
\end{itemize}
\begin{theorem}
Model-checking non-deterministic SST with copy against FO[o] is decidable.
\end{theorem}
\begin{proof}
Use the backward translation theorem.
\end{proof}
\begin{theorem}
Model-checking
$
O
(
n
^
2
)
$
deterministic SST with copy against MSO[o] is undecidable.
\end{theorem}
\begin{proof}
See IPAD notes.
\end{proof}
\subsection
{
Model-checking pebble transducers with origin
}
\section
{
SSTs and lexicographic MSO-interpretations
}
\label
{
sec:sst-lex
}
Origin = head position
\begin{theorem}
Model-checking non-deterministic 2-pebble transducers against FO[o] is undecidable.
\end{theorem}
\begin{proof}
See IPAD notes.
\end{proof}
\begin{theorem}
Model-checking deterministic pebble transducers against FO[o] is decidable.
\end{theorem}
\begin{proof}
Use DPT = MSOI and the backward translation theorem.
\end{proof}
\section
{
Some remaining questions
}
\subsection
{
Expressiveness
}
\begin{itemize}
\item
does
$
MSOT
\circ
MSOMI
\subseteq
MSOMI
$
holds ? Using Khrone
Rhodes theorem of Mikolaj, it seems that the only difficult case
is to post-compose a reversible Mealy machine with an
MSOMI. Candidate composition which does not seem to be easy to
show its membership to MSOMI:
$$
even
-
filter
\circ
(
1
-
filter
\circ
subsets
)
$$
where
$
1
-
filter
$
only keeps the positions marked
$
1
$
in
the results of the function
$
subsets
$
and
$
even
-
filter
$
only
keeps the even positions. It is easy to see that
$
(
1
-
filter
\circ
subsets
)
$
is MSOMI.
\item
Is
\textsf
{
ExpF
}
the smallest subset including the function
$
subsets
$
and the polyregular functions and closed under
composition ?
\end{itemize}
\subsection
{
Computational models
}
\begin{itemize}
\item
recursive programming language corresponding or being
captured by MSOMI ?
\item
pebble transducer model ? candidate: transducer with
unboundedly many invisible pebbles.
\item
what about MTT ? They have doubly-exponential growth, but do
they capture MSOMI ?
\item
MSOMI(succ) ? They have non-regular domains. Do they
correspond to LINSPACE ?
\item
``input rewriting sweeping transducers'': like sweeping
transducers but they can rewrite their input (in a
letter-to-letter mode) and stops whenever the input belongs to
some regular language. They should correspond to MSOMI(succ).
\end{itemize}
\bibliography
{
biblio
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment