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