Debian Codegraph @

doc/PigNose/pnguide.tex

raw
1 %\documentclass[a4paper]{article}
2 \documentclass[a4paper,oneside]{memoir}
3 \usepackage[hscale=0.76,vscale=0.76]{geometry}
4 \setlength{\parindent}{0.0cm}
5 \setlength{\parskip}{1.4ex}
6 \usepackage{graphicx}
7 \usepackage{proof}
8 \usepackage{fancyvrb}
9 %%% Japanese
10 \usepackage{fontspec,xltxtra,xunicode}
11 \usepackage{indentfirst}
12
13 % freely available M+ fonts
14 \setmainfont[Mapping=tex-text]{M+ 2p}
15 \setsansfont[Mapping=tex-text]{M+ 2c}
16 \setmonofont[Mapping=tex-text]{M+ 2m medium}
17 %\setmainfont[Mapping=tex-text]{メイリオ}
18 %\setsansfont[Mapping=tex-text]{Hiragino Kaku Gothic ProN W3}
19 %\setmonofont[Mapping=tex-text]{Osaka-Mono}
20 %\setjamonofont{Osaka-Mono}
21 \XeTeXlinebreaklocale "ja"
22 \XeTeXlinebreakskip=0em plus 0.1em minus 0.01em
23 \XeTeXlinebreakpenalty=0
24 \renewcommand{\baselinestretch}{1.4}
25 \settowidth{\parindent}{あ}
26 %%%%
27 \usepackage{dcolumn,hhline,colortbl}
28 \usepackage[table]{xcolor}
29 %%%%% 色付表
30 \newcolumntype{G}{%
31 >{\columncolor[gray]{0.9}}c}
32 \newcolumntype{O}{%
33 >{\columncolor{orange}}c}
34 \newcolumntype{M}{%
35 >{\columncolor{green}}c}
36 \newcolumntype{Y}{%
37 >{\columncolor{yellow}}c}
38 \newcolumntype{C}{%
39 >{\columncolor{cyan}}c}
40 %%%% hyperref
41 %\usepackage[dvipdfm,colorlinks=true,linkcolor=blue]{hyperref}
42 \usepackage[colorlinks=true,linkcolor=blue]{hyperref}
43 %%%% numbering
44 %%% ToC down to susubsections
45 \settocdepth{subsubsection}
46 %%% Numbering down to sections
47 \setsecnumdepth{subsection}
48 %%% 名前定義を適当に
49 \def\figurename{{図}}
50 \def\tablename{表}
51 \def\contentsname{目次}
52 \def\listfigurename{図目次}
53 \def\listtablename{表目次}
54 \def\refname{参考文献}
55 \def\bibname{参考文献}
56 \def\indexname{索引}
57 \def\appendixname{付録}
58 %%%%%%%%%% Verbatim
59 \DefineVerbatimEnvironment%
60 {simplev}{Verbatim}
61 {fontsize=\small}
62 \DefineVerbatimEnvironment%
63 {examplev}{Verbatim}
64 {frame=leftline,fontsize=\small}
65 %%%%%%%%%%
66 \definecolor{shadecolor}{gray}{0.9}
67 \newenvironment{vvtm}%
68 {\parskip=0pt\lineskip=0pt\begin{center}\begin{minipage}{0.8\textwidth}\begin{snugshade}}%
69 {\end{snugshade}\end{minipage}\end{center}}
70 %\includeonly{appendix}
71 %%%%%%%%%%
72 \begin{document}
73 \headstyles{default}
74 \tightlists
75 \midsloppy
76 \raggedbottom
77 \chapterstyle{ell}
78 %%%%%%%%
79 \frontmatter
80 \pagestyle{empty}
81 % 表紙 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
82 \title{\textbf{PigNose 使用手引}\\ver 1.0 \\ --\textit{Draft}--}
83 \author{澤田 寿実\\
84 [email protected]}
85 \date{}
86 \maketitle
87 \begin{center}
88 \includegraphics[scale=0.5]{pignose.pdf}
89 \end{center}
90 \thispagestyle{empty}
91 \newpage
92 % 構成 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
93 \section*{はじめに}
94 本書は, CafeOBJ 言語で書かれた仕様のための自動定理証明システム
95 PigNose の利用手引である.
96 システムは SRA版 CafeOBJ インタプリタ\footnote{今の所, CafeOBJ 言語のイ
97 ンタプリタはこれしか存在しない. システムの入手先については第
98 ~\ref{sec:distribution}節を参照されたい.}
99 を拡張したものになっている.
100 従って, これを用いるには CafeOBJ インタプリタの使用法
101 についても知っておく必要がある. 本書では, PigNose 特有のコマンドについて
102 のみ説明するので, 必要に応じて CafeOBJ インタプリタのマニュアル\footnote{CafeOBJ インタプリタのマニュアルは
103 \url{http://cafeobj.org/download/} からダウンロード
104 出来る}.
105 を参照されたい.
106 また, ここでは CafeOBJ 言語についての説明も行わない. 本書では, CafeOBJ
107 言語については既知のものと仮定している. CafeOBJ 言語についての解説は, 文
108 献\cite{CafeRep}を参照して頂きたい.
109 % PigNose は resolution 原理を用いた反駁法によって定理証明を行うシステムで
110 % あるが, これについての解説も行わない.
111 % 必要に応じて, 参考文献 \cite{chang-lee} 等を参照して頂きたい.
112
113 % \section*{本書の構成}
114
115 本文は4部構成でPigNoseシステムの使用法が説明されている.
116 第I部でシステムのインストール法を述べ, 第II部で反駁エンジン,
117 第III部で詳細化検証, 第IV部で安全性モデル検査について説明する.
118
119 \section*{バグレポート/提案}
120
121 システムの不具合に関する報告や, 改善提案等に関する
122 連絡は, 電子メイルで \texttt{[email protected]} まで頂きたい.
123
124 \newpage
125 % 目次 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126 % \doparttoc
127 \tableofcontents
128 \newpage
129 %\listoffigures
130 %\newpage
131 \pagenumbering{arabic}
132 \mainmatter
133 % 本文 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
134 \include{part1}
135 \include{part2}
136 \include{part3}
137 \include{part4}
138 \include{part5}
139 \include{appendix}
140
141 \newpage
142
143 % BIB %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
144 \begin{center}
145 \begin{thebibliography}{99}\itemsep=0pt
146
147 \bibitem{chang-lee} Chang, C. and Lee. R.C.,
148 \textsl{Symbolic Logic and Mechanical Theorem Proving},
149 Academic Press, 1973
150
151 \bibitem{ha} Joseph Goguen and Grant Malcolm, ``A Hidden Agenda'', in
152 \emph{Theoretical Computer Science}, Vol.245 No.1, 2000, pp.55--101
153
154 \bibitem{otter} William McCune, ``\textsc{Otter3.0} Reference Manual
155 and Guide'', Technical Report ANL-94/6, Argonne National Laboratory,
156 1994, available at \texttt{http://www-unix.mcs.anl.gov/AR/otter/}
157
158 \bibitem{cafeobj} A.T.Nakagawa, T. Sawada, and K. Futatsugi,
159 ``\textsl{CafeOBJ Manual}'', avaiable at
160 \texttt{ftp://ftp.sra.co.jp/lang/CafeOBJ/Manual/}
161
162 \bibitem{CafeRep} R\u{a}zvan Diaconescu and Kokichi Futatsugi,
163 \textsf{CafeOBJ} \emph{Report}. World Scientific, 1998
164
165 \end{thebibliography}
166 \end{center}
167 \end{document}
168