-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsrs.tex
More file actions
45 lines (34 loc) · 1.39 KB
/
Copy pathsrs.tex
File metadata and controls
45 lines (34 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\chapter{String Rewriting Systems}\label{chap:SRS}
\chapterauthor{Dieter Hofbauer and Johannes Waldmann}
\section{Introduction}
This chapter describes the syntax and semantics for \emph{String Rewriting Systems} (SRSs).
String rewriting is replacement of sub-strings.
Each string can be seen as a term.
For the purposes of the Termination Competition,
each SRS $R$ is translated to a TRS $T$,
and the semantics of $R$ is the TRS semantics of $T$.
\textbf{Example.}
The SRS $R=\{aabb \to bbbaaa\}$
is translated to the TRS $T=\{a(a(b(b(x_1))))\to b(b(b(a(a(a(x_1))))))\}$
over signature $\{a/1, b/1\}$ with variable $x_1$.
\section{Syntax}
A SRS is a TRS (see Section: TRS/Syntax) where
% \begin{itemize}
% \item
the signature contains unary symbols only,
% \item
and in each rule, the variable in the left-hand side is equal to the variable in the right-hand side.
% \end{itemize}
\textbf{Example.}
The SRS $R=\{aabb \to bbbaaa\}$ is represented by
\begin{center}
\begin{verbatim}
(format TRS) (fun a 1) (fun b 1)
(rule (a (a (b (b x1)))) (b (b (b (a (a (a x1)))))))
\end{verbatim}
\end{center}
\section{Semantics}
see Section: TRS/Semantics. All concepts (termination, nontermination),
modifications (full rewriting, innermost and outermost rewriting, relative rewriting)
and measures (complexity) do apply.
In previous Termination Competitions, categories Full Rewriting and Relative Rewriting have been used.