doc-src/TutorialI/basics.tex
changeset 10978 5eebea8f359f
parent 10971 6852682eaf16
child 10983 59961d32b1ae
equal deleted inserted replaced
10977:4b47d8aaf5af 10978:5eebea8f359f
    60     proofs}} in the above theory template.  A complete grammar of the basic
    60     proofs}} in the above theory template.  A complete grammar of the basic
    61 constructs is found in the Isabelle/Isar Reference Manual.
    61 constructs is found in the Isabelle/Isar Reference Manual.
    62 
    62 
    63 HOL's theory collection is available online at
    63 HOL's theory collection is available online at
    64 \begin{center}\small
    64 \begin{center}\small
    65     \url{http://isabelle.in.tum.de/library/}
    65     \url{http://isabelle.in.tum.de/library/HOL/}
    66 \end{center}
    66 \end{center}
    67 and is recommended browsing. Note that most of the theories 
    67 and is recommended browsing. Note that most of the theories 
    68 are based on classical Isabelle without the Isar extension. This means that
    68 are based on classical Isabelle without the Isar extension. This means that
    69 they look slightly different than the theories in this tutorial, and that all
    69 they look slightly different than the theories in this tutorial, and that all
    70 proofs are in separate ML files.
    70 proofs are in separate ML files.
   231 \isa{\isasymlambda{}x.~x} and \isa{\isasymforall{}x.~x=x} instead.
   231 \isa{\isasymlambda{}x.~x} and \isa{\isasymforall{}x.~x=x} instead.
   232 \item Identifiers\indexbold{identifier} may contain \isa{_} and \isa{'}.
   232 \item Identifiers\indexbold{identifier} may contain \isa{_} and \isa{'}.
   233 \end{itemize}
   233 \end{itemize}
   234 
   234 
   235 For the sake of readability the usual mathematical symbols are used throughout
   235 For the sake of readability the usual mathematical symbols are used throughout
   236 the tutorial. Their ASCII-equivalents are shown in figure~\ref{fig:ascii} in
   236 the tutorial. Their ASCII-equivalents are shown in table~\ref{tab:ascii} in
   237 the appendix.
   237 the appendix.
   238 
   238 
   239 
   239 
   240 \section{Variables}
   240 \section{Variables}
   241 \label{sec:variables}
   241 \label{sec:variables}
   277 Isabelle/Isar is the Emacs-based \bfindex{Proof
   277 Isabelle/Isar is the Emacs-based \bfindex{Proof
   278   General}~\cite{Aspinall:TACAS:2000,proofgeneral}.
   278   General}~\cite{Aspinall:TACAS:2000,proofgeneral}.
   279 
   279 
   280 Some interfaces (including the shell level) offer special fonts with
   280 Some interfaces (including the shell level) offer special fonts with
   281 mathematical symbols. For those that do not, remember that ASCII-equivalents
   281 mathematical symbols. For those that do not, remember that ASCII-equivalents
   282 are shown in figure~\ref{fig:ascii} in the appendix.
   282 are shown in table~\ref{tab:ascii} in the appendix.
   283 
   283 
   284 Finally, a word about semicolons.\indexbold{$Isar@\texttt{;}} 
   284 Finally, a word about semicolons.\indexbold{$Isar@\texttt{;}} 
   285 Commands may but need not be terminated by semicolons.
   285 Commands may but need not be terminated by semicolons.
   286 At the shell level it is advisable to use semicolons to enforce that a command
   286 At the shell level it is advisable to use semicolons to enforce that a command
   287 is executed immediately; otherwise Isabelle may wait for the next keyword
   287 is executed immediately; otherwise Isabelle may wait for the next keyword