Journal/document/root.tex
author urbanc
Fri, 20 Apr 2012 11:45:06 +0000
changeset 348 bea94f1e6771
parent 334 d47c2143ab8a
child 350 8ce9a432680b
permissions -rw-r--r--
made changes for another journal submission of the MH-paper
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
348
bea94f1e6771 made changes for another journal submission of the MH-paper
urbanc
parents: 334
diff changeset
     1
\documentclass[acmtocl]{acmtrans2m}
24
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
     2
\usepackage{isabelle}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
     3
\usepackage{isabellesym}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
     4
\usepackage{amsmath}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
     5
\usepackage{amssymb}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
     6
\usepackage{tikz}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
     7
\usepackage{pgf}
125
62925473bf6b added pictures for seq-case
urbanc
parents: 123
diff changeset
     8
\usetikzlibrary{arrows,automata,decorations,fit,calc}
62925473bf6b added pictures for seq-case
urbanc
parents: 123
diff changeset
     9
\usetikzlibrary{shapes,shapes.arrows,snakes,positioning}
62925473bf6b added pictures for seq-case
urbanc
parents: 123
diff changeset
    10
\usepgflibrary{shapes.misc} % LATEX and plain TEX and pure pgf
62925473bf6b added pictures for seq-case
urbanc
parents: 123
diff changeset
    11
\usetikzlibrary{matrix}
348
bea94f1e6771 made changes for another journal submission of the MH-paper
urbanc
parents: 334
diff changeset
    12
%%\usepackage{pdfsetup}
24
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    13
\usepackage{ot1patch}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    14
\usepackage{times}
52
4a517c6ac07d tuning of the syntax; needs the stmaryrd latex package
urbanc
parents: 24
diff changeset
    15
\usepackage{stmaryrd}
233
e2dc11e12e0b added section about SUBSEQ and SUPSEQ
urbanc
parents: 200
diff changeset
    16
\usepackage{mathpartir}
348
bea94f1e6771 made changes for another journal submission of the MH-paper
urbanc
parents: 334
diff changeset
    17
\usepackage{longtable}
123
23c0e6f2929d polished everywhere...two cases still missing
urbanc
parents: 116
diff changeset
    18
24
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    19
\urlstyle{rm}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    20
\isabellestyle{it}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    21
\renewcommand{\isastyleminor}{\it}%
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    22
\renewcommand{\isastyle}{\normalsize\it}%
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    23
174
2b414a8a7132 more on the section about derivatives
urbanc
parents: 172
diff changeset
    24
\newcommand*{\threesim}{%
2b414a8a7132 more on the section about derivatives
urbanc
parents: 172
diff changeset
    25
  \mathrel{\vcenter{\offinterlineskip
2b414a8a7132 more on the section about derivatives
urbanc
parents: 172
diff changeset
    26
  \hbox{$\sim$}\vskip-.35ex\hbox{$\sim$}\vskip-.35ex\hbox{$\sim$}}}}
24
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    27
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    28
\def\dn{\,\stackrel{\mbox{\scriptsize def}}{=}\,}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    29
\renewcommand{\isasymequiv}{$\dn$}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    30
\renewcommand{\isasymemptyset}{$\varnothing$}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    31
\renewcommand{\isacharunderscore}{\mbox{$\_\!\_$}}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    32
83
f438f4dbaada a bit more on the paper
urbanc
parents: 82
diff changeset
    33
\newcommand{\isasymcalL}{\ensuremath{\cal{L}}}
90
97b783438316 added an example
urbanc
parents: 88
diff changeset
    34
\newcommand{\isasymbigplus}{\ensuremath{\bigplus}}
97b783438316 added an example
urbanc
parents: 88
diff changeset
    35
94
5b12cd0a3b3c latest on the paper
urbanc
parents: 92
diff changeset
    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
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    43
172
21ee3a852a02 more on the journal paper
urbanc
parents: 167
diff changeset
    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
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    50
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    51
\begin{abstract} 
88
1436fc451bb9 added something about Setalt and folds
urbanc
parents: 83
diff changeset
    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
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    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
61d0a412a3ae added a journal version
urbanc
parents: 162
diff changeset
    78
\maketitle
75
d63baacbdb16 parts of the 3 section
urbanc
parents: 61
diff changeset
    79
348
bea94f1e6771 made changes for another journal submission of the MH-paper
urbanc
parents: 334
diff changeset
    80
24
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    81
\input{session}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    82
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    83
\end{document}
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    84
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    85
%%% Local Variables:
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    86
%%% mode: latex
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    87
%%% TeX-master: t
f72c82bf59e5 added paper
urbanc
parents:
diff changeset
    88
%%% End: