author | urbanc |
Fri, 20 Apr 2012 11:45:06 +0000 | |
changeset 348 | bea94f1e6771 |
parent 334 | d47c2143ab8a |
child 350 | 8ce9a432680b |
permissions | -rw-r--r-- |
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
1 |
\documentclass[acmtocl]{acmtrans2m} |
24 | 2 |
\usepackage{isabelle} |
3 |
\usepackage{isabellesym} |
|
4 |
\usepackage{amsmath} |
|
5 |
\usepackage{amssymb} |
|
6 |
\usepackage{tikz} |
|
7 |
\usepackage{pgf} |
|
125 | 8 |
\usetikzlibrary{arrows,automata,decorations,fit,calc} |
9 |
\usetikzlibrary{shapes,shapes.arrows,snakes,positioning} |
|
10 |
\usepgflibrary{shapes.misc} % LATEX and plain TEX and pure pgf |
|
11 |
\usetikzlibrary{matrix} |
|
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
12 |
%%\usepackage{pdfsetup} |
24 | 13 |
\usepackage{ot1patch} |
14 |
\usepackage{times} |
|
52
4a517c6ac07d
tuning of the syntax; needs the stmaryrd latex package
urbanc
parents:
24
diff
changeset
|
15 |
\usepackage{stmaryrd} |
233 | 16 |
\usepackage{mathpartir} |
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
17 |
\usepackage{longtable} |
123 | 18 |
|
24 | 19 |
\urlstyle{rm} |
20 |
\isabellestyle{it} |
|
21 |
\renewcommand{\isastyleminor}{\it}% |
|
22 |
\renewcommand{\isastyle}{\normalsize\it}% |
|
23 |
||
174 | 24 |
\newcommand*{\threesim}{% |
25 |
\mathrel{\vcenter{\offinterlineskip |
|
26 |
\hbox{$\sim$}\vskip-.35ex\hbox{$\sim$}\vskip-.35ex\hbox{$\sim$}}}} |
|
24 | 27 |
|
28 |
\def\dn{\,\stackrel{\mbox{\scriptsize def}}{=}\,} |
|
29 |
\renewcommand{\isasymequiv}{$\dn$} |
|
30 |
\renewcommand{\isasymemptyset}{$\varnothing$} |
|
31 |
\renewcommand{\isacharunderscore}{\mbox{$\_\!\_$}} |
|
32 |
||
83 | 33 |
\newcommand{\isasymcalL}{\ensuremath{\cal{L}}} |
90 | 34 |
\newcommand{\isasymbigplus}{\ensuremath{\bigplus}} |
35 |
||
94 | 36 |
\newcommand{\bigplus}{\mbox{\Large\bf$+$}} |
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
37 |
|
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
38 |
\newtheorem{thrm}{Theorem}[section] |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
39 |
\newtheorem{lmm}{Lemma}[section] |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
40 |
\newtheorem{dfntn}{Definition}[section] |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
41 |
\newtheorem{prpstn}{Proposition}[section] |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
42 |
|
24 | 43 |
|
172 | 44 |
\title{A Formalisation of the Myhill-Nerode Theorem\\ based on Regular |
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
45 |
Expressions$^\star$} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
46 |
%%\thanks{This is a revised and expanded version of \cite{WuZhangUrban11}.} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
47 |
\author{Chunhan Wu\\PLA University of Science and Technology Nanjing, China \and |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
48 |
Xingyuan Zhang\\PLA University of Science and Technology Nanjing, China \and |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
49 |
Christian Urban\\ King's College London, United Kingdom} |
24 | 50 |
|
51 |
\begin{abstract} |
|
88 | 52 |
There are numerous textbooks on regular languages. Nearly all of them |
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
53 |
introduce the subject by describing finite automata and only |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
54 |
mentioning on the side a connection with regular |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
55 |
expressions. Unfortunately, automata are not so straightforward to |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
56 |
formalise in theorem provers. The reason is that a natural |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
57 |
representation for automata are graphs, matrices or functions, none of |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
58 |
which are inductive datatypes. Also convenient operations for disjoint |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
59 |
unions of graphs, matrices and functions are not easily formalisiable |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
60 |
in Isabelle/HOL, the theorem prover we are using. In contrast, regular |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
61 |
expressions can be defined conveniently as a datatype and a |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
62 |
corresponding reasoning infrastructure comes for free. We show in this |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
63 |
paper that a central result from formal language theory---the |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
64 |
Myhill-Nerode Theorem---can be recreated using only regular |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
65 |
expressions. From this theorem many closure properties of regular |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
66 |
languages follow. |
24 | 67 |
\end{abstract} |
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
68 |
\category{F.4.1}{Mathematical Logic and Formal Languages}{Mechanical Theorem Proving} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
69 |
\category{F.4.3}{Mathematical Logic and Formal Languages}{Formal Languages} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
70 |
\terms{Interactive theorem proving, regular languages} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
71 |
\keywords{Myhill-Nerode theorem, regular expressions, Isabelle theorem prover} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
72 |
\begin{document} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
73 |
\begin{bottomstuff} |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
74 |
Corresponding Author: Christian Urban, Department of Informatics, King's College London, |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
75 |
Strand, London WC2R 2LS, UK. Email: christian.urban@kcl.ac.uk.\\ |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
76 |
$^\star$This is a revised and expanded version of \cite{WuZhangUrban11}. |
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
77 |
\end{bottomstuff} |
167 | 78 |
\maketitle |
75 | 79 |
|
348
bea94f1e6771
made changes for another journal submission of the MH-paper
urbanc
parents:
334
diff
changeset
|
80 |
|
24 | 81 |
\input{session} |
82 |
||
83 |
\end{document} |
|
84 |
||
85 |
%%% Local Variables: |
|
86 |
%%% mode: latex |
|
87 |
%%% TeX-master: t |
|
88 |
%%% End: |