Skip to content

Commit

Permalink
Fix the build of simple wallet document
Browse files Browse the repository at this point in the history
  • Loading branch information
pirapira committed Feb 14, 2017
1 parent ab0fe2c commit c8d5ea5
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ lem/.hollogs
tester/*.native
tester/_build
output/
simplewallet/
tester/coverage/
tester/bisect*.out
*.marks
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ document/output.pdf: ContractSem.thy RelationalSem.thy example/Deed.thy document
sh document_generation.sh

simplewallet: document/simplewallet.pdf
document/simplewallet.pdf: ContractSem.thy RelationalSem.thy example/Deed.thy document/root.tex lem/Evm.thy lem/Word256.thy lem/Word160.thy lem/Word8.thy lem/Keccak.thy
document/simplewallet.pdf: ContractSem.thy RelationalSem.thy example/Deed.thy simple_wallet_document/root.tex lem/Evm.thy lem/Word256.thy lem/Word160.thy lem/Word8.thy lem/Keccak.thy
sh wallet_generation.sh

lem-thy: lem/Block.thy lem/Evm.thy lem/Keccak.thy lem/Rlp.thy lem/Word160.thy lem/Word256.thy lem/Word8.thy lem/Keccak.thy lem/Word4.thy
Expand Down
5 changes: 4 additions & 1 deletion ROOT
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ session "simplewallet" = "HOL" +
"lem/Word8"
"lem/Keccak"
"lem/Evm"
"Hoare"
"HoareTripleForInstructions"
"HoareTripleForInstructions2"
theories
"example/SimpleWallet"
document_files
document_files (in simple_wallet_document)
"root.tex"


Expand Down
67 changes: 67 additions & 0 deletions simple_wallet_document/root.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
\documentclass[11pt,a4paper]{article}
\usepackage{isabelle,isabellesym}

% further packages required for unusual symbols (see also
% isabellesym.sty), use only when needed

%\usepackage{amssymb}
%for \<leadsto>, \<box>, \<diamond>, \<sqsupset>, \<mho>, \<Join>,
%\<lhd>, \<lesssim>, \<greatersim>, \<lessapprox>, \<greaterapprox>,
%\<triangleq>, \<yen>, \<lozenge>

%\usepackage{eurosym}
%for \<euro>

%\usepackage[only,bigsqcap]{stmaryrd}
%for \<Sqinter>

%\usepackage{eufrak}
%for \<AA> ... \<ZZ>, \<aa> ... \<zz> (also included in amssymb)

%\usepackage{textcomp}
%for \<onequarter>, \<onehalf>, \<threequarters>, \<degree>, \<cent>,
%\<currency>

% this should be the last package used
\usepackage{pdfsetup}

% urls in roman style, theory text in math-similar italics
\urlstyle{rm}
\isabellestyle{it}

% for uniform font size
%\renewcommand{\isastyle}{\isastyleminor}


\begin{document}

\title{A simple wallet}
\author{Yoichi Hirai\footnote{\texttt{i@yoichihirai.com}}}
\maketitle

\tableofcontents

% sane default for proof documents
\parindent 0pt\parskip 0.5ex

\newpage

\begin{itemize}
\item This document is produced from the code available at
\url{https://github.com/pirapira/eth-isabelle}.
\item To get updates on this project and similar ones, follow \url{http://gitter.im/ethereum/formal-methods}.
\end{itemize}

% generated text of all theories
\input{session}

% optional bibliography
%\bibliographystyle{abbrv}
%\bibliography{root}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

0 comments on commit c8d5ea5

Please sign in to comment.