doc-src/IsarRef/Thy/document/Quick_Reference.tex
author wenzelm
Thu, 12 Feb 2009 11:19:54 +0100
changeset 30057 efcbbd7baa02
parent 26907 75466ad27dd7
child 30172 afdf7808cfd0
permissions -rw-r--r--
updated generated files;
wenzelm@26779
     1
%
wenzelm@26779
     2
\begin{isabellebody}%
wenzelm@26779
     3
\def\isabellecontext{Quick{\isacharunderscore}Reference}%
wenzelm@26779
     4
%
wenzelm@26779
     5
\isadelimtheory
wenzelm@26779
     6
\isanewline
wenzelm@26779
     7
\isanewline
wenzelm@26779
     8
%
wenzelm@26779
     9
\endisadelimtheory
wenzelm@26779
    10
%
wenzelm@26779
    11
\isatagtheory
wenzelm@26779
    12
\isacommand{theory}\isamarkupfalse%
wenzelm@26779
    13
\ Quick{\isacharunderscore}Reference\isanewline
wenzelm@26779
    14
\isakeyword{imports}\ Main\isanewline
wenzelm@26779
    15
\isakeyword{begin}%
wenzelm@26779
    16
\endisatagtheory
wenzelm@26779
    17
{\isafoldtheory}%
wenzelm@26779
    18
%
wenzelm@26779
    19
\isadelimtheory
wenzelm@26779
    20
%
wenzelm@26779
    21
\endisadelimtheory
wenzelm@26779
    22
%
wenzelm@26779
    23
\isamarkupchapter{Isabelle/Isar quick reference \label{ap:refcard}%
wenzelm@26779
    24
}
wenzelm@26779
    25
\isamarkuptrue%
wenzelm@26779
    26
%
wenzelm@26779
    27
\isamarkupsection{Proof commands%
wenzelm@26779
    28
}
wenzelm@26779
    29
\isamarkuptrue%
wenzelm@26779
    30
%
wenzelm@26779
    31
\isamarkupsubsection{Primitives and basic syntax%
wenzelm@26779
    32
}
wenzelm@26779
    33
\isamarkuptrue%
wenzelm@26779
    34
%
wenzelm@26779
    35
\begin{isamarkuptext}%
wenzelm@26779
    36
\begin{tabular}{ll}
wenzelm@26902
    37
    \hyperlink{command.fix}{\mbox{\isa{\isacommand{fix}}}}~\isa{x} & augment context by \isa{{\isachardoublequote}{\isasymAnd}x{\isachardot}\ {\isasymbox}{\isachardoublequote}} \\
wenzelm@26902
    38
    \hyperlink{command.assume}{\mbox{\isa{\isacommand{assume}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} & augment context by \isa{{\isachardoublequote}{\isasymphi}\ {\isasymLongrightarrow}\ {\isasymbox}{\isachardoublequote}} \\
wenzelm@26902
    39
    \hyperlink{command.then}{\mbox{\isa{\isacommand{then}}}} & indicate forward chaining of facts \\
wenzelm@26902
    40
    \hyperlink{command.have}{\mbox{\isa{\isacommand{have}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} & prove local result \\
wenzelm@26902
    41
    \hyperlink{command.show}{\mbox{\isa{\isacommand{show}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} & prove local result, refining some goal \\
wenzelm@26902
    42
    \hyperlink{command.using}{\mbox{\isa{\isacommand{using}}}}~\isa{a} & indicate use of additional facts \\
wenzelm@26902
    43
    \hyperlink{command.unfolding}{\mbox{\isa{\isacommand{unfolding}}}}~\isa{a} & unfold definitional equations \\
wenzelm@26902
    44
    \hyperlink{command.proof}{\mbox{\isa{\isacommand{proof}}}}~\isa{{\isachardoublequote}m\isactrlsub {\isadigit{1}}{\isachardoublequote}}~\dots~\hyperlink{command.qed}{\mbox{\isa{\isacommand{qed}}}}~\isa{{\isachardoublequote}m\isactrlsub {\isadigit{2}}{\isachardoublequote}} & indicate proof structure and refinements \\
wenzelm@26902
    45
    \hyperlink{command.braceleft}{\mbox{\isa{\isacommand{{\isacharbraceleft}}}}}~\isa{{\isachardoublequote}{\isasymdots}{\isachardoublequote}}~\hyperlink{command.braceright}{\mbox{\isa{\isacommand{{\isacharbraceright}}}}} & indicate explicit blocks \\
wenzelm@26902
    46
    \hyperlink{command.next}{\mbox{\isa{\isacommand{next}}}} & switch blocks \\
wenzelm@26902
    47
    \hyperlink{command.note}{\mbox{\isa{\isacommand{note}}}}~\isa{{\isachardoublequote}a\ {\isacharequal}\ b{\isachardoublequote}} & reconsider facts \\
wenzelm@26902
    48
    \hyperlink{command.let}{\mbox{\isa{\isacommand{let}}}}~\isa{{\isachardoublequote}p\ {\isacharequal}\ t{\isachardoublequote}} & abbreviate terms by higher-order matching \\
wenzelm@26779
    49
  \end{tabular}
wenzelm@26779
    50
wenzelm@26852
    51
  \medskip
wenzelm@26852
    52
wenzelm@26852
    53
  \begin{tabular}{rcl}
wenzelm@26902
    54
    \isa{{\isachardoublequote}theory{\isasymdash}stmt{\isachardoublequote}} & = & \hyperlink{command.theorem}{\mbox{\isa{\isacommand{theorem}}}}~\isa{{\isachardoublequote}name{\isacharcolon}\ props\ proof\ \ {\isacharbar}{\isachardoublequote}}~~\hyperlink{command.definition}{\mbox{\isa{\isacommand{definition}}}}~\isa{{\isachardoublequote}{\isasymdots}\ \ {\isacharbar}\ \ {\isasymdots}{\isachardoublequote}} \\[1ex]
wenzelm@30057
    55
    \isa{{\isachardoublequote}proof{\isachardoublequote}} & = & \isa{{\isachardoublequote}prfx\isactrlsup {\isacharasterisk}{\isachardoublequote}}~\hyperlink{command.proof}{\mbox{\isa{\isacommand{proof}}}}~\isa{{\isachardoublequote}method\isactrlsup {\isacharquery}\ stmt\isactrlsup {\isacharasterisk}{\isachardoublequote}}~\hyperlink{command.qed}{\mbox{\isa{\isacommand{qed}}}}~\isa{{\isachardoublequote}method\isactrlsup {\isacharquery}{\isachardoublequote}} \\
wenzelm@26902
    56
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \isa{{\isachardoublequote}prfx\isactrlsup {\isacharasterisk}{\isachardoublequote}}~\hyperlink{command.done}{\mbox{\isa{\isacommand{done}}}} \\[1ex]
wenzelm@26902
    57
    \isa{prfx} & = & \hyperlink{command.apply}{\mbox{\isa{\isacommand{apply}}}}~\isa{method} \\
wenzelm@26902
    58
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.using}{\mbox{\isa{\isacommand{using}}}}~\isa{{\isachardoublequote}facts{\isachardoublequote}} \\
wenzelm@26902
    59
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.unfolding}{\mbox{\isa{\isacommand{unfolding}}}}~\isa{{\isachardoublequote}facts{\isachardoublequote}} \\
wenzelm@26902
    60
    \isa{stmt} & = & \hyperlink{command.braceleft}{\mbox{\isa{\isacommand{{\isacharbraceleft}}}}}~\isa{{\isachardoublequote}stmt\isactrlsup {\isacharasterisk}{\isachardoublequote}}~\hyperlink{command.braceright}{\mbox{\isa{\isacommand{{\isacharbraceright}}}}} \\
wenzelm@26902
    61
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.next}{\mbox{\isa{\isacommand{next}}}} \\
wenzelm@26902
    62
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.note}{\mbox{\isa{\isacommand{note}}}}~\isa{{\isachardoublequote}name\ {\isacharequal}\ facts{\isachardoublequote}} \\
wenzelm@26902
    63
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.let}{\mbox{\isa{\isacommand{let}}}}~\isa{{\isachardoublequote}term\ {\isacharequal}\ term{\isachardoublequote}} \\
wenzelm@26902
    64
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.fix}{\mbox{\isa{\isacommand{fix}}}}~\isa{{\isachardoublequote}var\isactrlsup {\isacharplus}{\isachardoublequote}} \\
wenzelm@26902
    65
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.assume}{\mbox{\isa{\isacommand{assume}}}}~\isa{{\isachardoublequote}name{\isacharcolon}\ props{\isachardoublequote}} \\
wenzelm@26902
    66
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.then}{\mbox{\isa{\isacommand{then}}}}\isa{{\isachardoublequote}\isactrlsup {\isacharquery}{\isachardoublequote}}~\isa{goal} \\
wenzelm@26902
    67
    \isa{goal} & = & \hyperlink{command.have}{\mbox{\isa{\isacommand{have}}}}~\isa{{\isachardoublequote}name{\isacharcolon}\ props\ proof{\isachardoublequote}} \\
wenzelm@26902
    68
    & \isa{{\isachardoublequote}{\isacharbar}{\isachardoublequote}} & \hyperlink{command.show}{\mbox{\isa{\isacommand{show}}}}~\isa{{\isachardoublequote}name{\isacharcolon}\ props\ proof{\isachardoublequote}} \\
wenzelm@26852
    69
  \end{tabular}%
wenzelm@26779
    70
\end{isamarkuptext}%
wenzelm@26779
    71
\isamarkuptrue%
wenzelm@26779
    72
%
wenzelm@26779
    73
\isamarkupsubsection{Abbreviations and synonyms%
wenzelm@26779
    74
}
wenzelm@26779
    75
\isamarkuptrue%
wenzelm@26779
    76
%
wenzelm@26779
    77
\begin{isamarkuptext}%
wenzelm@26852
    78
\begin{tabular}{rcl}
wenzelm@26902
    79
    \hyperlink{command.by}{\mbox{\isa{\isacommand{by}}}}~\isa{{\isachardoublequote}m\isactrlsub {\isadigit{1}}\ m\isactrlsub {\isadigit{2}}{\isachardoublequote}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} &
wenzelm@26902
    80
      \hyperlink{command.proof}{\mbox{\isa{\isacommand{proof}}}}~\isa{{\isachardoublequote}m\isactrlsub {\isadigit{1}}{\isachardoublequote}}~\hyperlink{command.qed}{\mbox{\isa{\isacommand{qed}}}}~\isa{{\isachardoublequote}m\isactrlsub {\isadigit{2}}{\isachardoublequote}} \\
wenzelm@26902
    81
    \hyperlink{command.ddot}{\mbox{\isa{\isacommand{{\isachardot}{\isachardot}}}}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.by}{\mbox{\isa{\isacommand{by}}}}~\isa{rule} \\
wenzelm@26902
    82
    \hyperlink{command.dot}{\mbox{\isa{\isacommand{{\isachardot}}}}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.by}{\mbox{\isa{\isacommand{by}}}}~\isa{this} \\
wenzelm@26902
    83
    \hyperlink{command.hence}{\mbox{\isa{\isacommand{hence}}}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.then}{\mbox{\isa{\isacommand{then}}}}~\hyperlink{command.have}{\mbox{\isa{\isacommand{have}}}} \\
wenzelm@26902
    84
    \hyperlink{command.thus}{\mbox{\isa{\isacommand{thus}}}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.then}{\mbox{\isa{\isacommand{then}}}}~\hyperlink{command.show}{\mbox{\isa{\isacommand{show}}}} \\
wenzelm@26902
    85
    \hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{a} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.note}{\mbox{\isa{\isacommand{note}}}}~\isa{a}~\hyperlink{command.then}{\mbox{\isa{\isacommand{then}}}} \\
wenzelm@26902
    86
    \hyperlink{command.with}{\mbox{\isa{\isacommand{with}}}}~\isa{a} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{{\isachardoublequote}a\ {\isasymAND}\ this{\isachardoublequote}} \\[1ex]
wenzelm@26902
    87
    \hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{this} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.then}{\mbox{\isa{\isacommand{then}}}} \\
wenzelm@26902
    88
    \hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{this}~\hyperlink{command.have}{\mbox{\isa{\isacommand{have}}}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.hence}{\mbox{\isa{\isacommand{hence}}}} \\
wenzelm@26902
    89
    \hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{this}~\hyperlink{command.show}{\mbox{\isa{\isacommand{show}}}} & \isa{{\isachardoublequote}{\isasymequiv}{\isachardoublequote}} & \hyperlink{command.thus}{\mbox{\isa{\isacommand{thus}}}} \\
wenzelm@26852
    90
  \end{tabular}%
wenzelm@26779
    91
\end{isamarkuptext}%
wenzelm@26779
    92
\isamarkuptrue%
wenzelm@26779
    93
%
wenzelm@26779
    94
\isamarkupsubsection{Derived elements%
wenzelm@26779
    95
}
wenzelm@26779
    96
\isamarkuptrue%
wenzelm@26779
    97
%
wenzelm@26779
    98
\begin{isamarkuptext}%
wenzelm@26852
    99
\begin{tabular}{rcl}
wenzelm@26902
   100
    \hyperlink{command.also}{\mbox{\isa{\isacommand{also}}}}\isa{{\isachardoublequote}\isactrlsub {\isadigit{0}}{\isachardoublequote}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   101
      \hyperlink{command.note}{\mbox{\isa{\isacommand{note}}}}~\isa{{\isachardoublequote}calculation\ {\isacharequal}\ this{\isachardoublequote}} \\
wenzelm@26902
   102
    \hyperlink{command.also}{\mbox{\isa{\isacommand{also}}}}\isa{{\isachardoublequote}\isactrlsub n\isactrlsub {\isacharplus}\isactrlsub {\isadigit{1}}{\isachardoublequote}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   103
      \hyperlink{command.note}{\mbox{\isa{\isacommand{note}}}}~\isa{{\isachardoublequote}calculation\ {\isacharequal}\ trans\ {\isacharbrackleft}OF\ calculation\ this{\isacharbrackright}{\isachardoublequote}} \\
wenzelm@26902
   104
    \hyperlink{command.finally}{\mbox{\isa{\isacommand{finally}}}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   105
      \hyperlink{command.also}{\mbox{\isa{\isacommand{also}}}}~\hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{calculation} \\[0.5ex]
wenzelm@26902
   106
    \hyperlink{command.moreover}{\mbox{\isa{\isacommand{moreover}}}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   107
      \hyperlink{command.note}{\mbox{\isa{\isacommand{note}}}}~\isa{{\isachardoublequote}calculation\ {\isacharequal}\ calculation\ this{\isachardoublequote}} \\
wenzelm@26902
   108
    \hyperlink{command.ultimately}{\mbox{\isa{\isacommand{ultimately}}}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   109
      \hyperlink{command.moreover}{\mbox{\isa{\isacommand{moreover}}}}~\hyperlink{command.from}{\mbox{\isa{\isacommand{from}}}}~\isa{calculation} \\[0.5ex]
wenzelm@26902
   110
    \hyperlink{command.presume}{\mbox{\isa{\isacommand{presume}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   111
      \hyperlink{command.assume}{\mbox{\isa{\isacommand{assume}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} \\
wenzelm@26902
   112
    \hyperlink{command.def}{\mbox{\isa{\isacommand{def}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ x\ {\isasymequiv}\ t{\isachardoublequote}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   113
      \hyperlink{command.fix}{\mbox{\isa{\isacommand{fix}}}}~\isa{x}~\hyperlink{command.assume}{\mbox{\isa{\isacommand{assume}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ x\ {\isasymequiv}\ t{\isachardoublequote}} \\
wenzelm@26902
   114
    \hyperlink{command.obtain}{\mbox{\isa{\isacommand{obtain}}}}~\isa{{\isachardoublequote}x\ {\isasymWHERE}\ a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   115
      \isa{{\isachardoublequote}{\isasymdots}{\isachardoublequote}}~\hyperlink{command.fix}{\mbox{\isa{\isacommand{fix}}}}~\isa{x}~\hyperlink{command.assume}{\mbox{\isa{\isacommand{assume}}}}~\isa{{\isachardoublequote}a{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} \\
wenzelm@26902
   116
    \hyperlink{command.case}{\mbox{\isa{\isacommand{case}}}}~\isa{c} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   117
      \hyperlink{command.fix}{\mbox{\isa{\isacommand{fix}}}}~\isa{x}~\hyperlink{command.assume}{\mbox{\isa{\isacommand{assume}}}}~\isa{{\isachardoublequote}c{\isacharcolon}\ {\isasymphi}{\isachardoublequote}} \\
wenzelm@26902
   118
    \hyperlink{command.sorry}{\mbox{\isa{\isacommand{sorry}}}} & \isa{{\isachardoublequote}{\isasymapprox}{\isachardoublequote}} &
wenzelm@26902
   119
      \hyperlink{command.by}{\mbox{\isa{\isacommand{by}}}}~\isa{cheating} \\
wenzelm@26852
   120
  \end{tabular}%
wenzelm@26779
   121
\end{isamarkuptext}%
wenzelm@26779
   122
\isamarkuptrue%
wenzelm@26779
   123
%
wenzelm@26779
   124
\isamarkupsubsection{Diagnostic commands%
wenzelm@26779
   125
}
wenzelm@26779
   126
\isamarkuptrue%
wenzelm@26779
   127
%
wenzelm@26779
   128
\begin{isamarkuptext}%
wenzelm@26779
   129
\begin{tabular}{ll}
wenzelm@26902
   130
    \hyperlink{command.pr}{\mbox{\isa{\isacommand{pr}}}} & print current state \\
wenzelm@26902
   131
    \hyperlink{command.thm}{\mbox{\isa{\isacommand{thm}}}}~\isa{a} & print fact \\
wenzelm@26902
   132
    \hyperlink{command.term}{\mbox{\isa{\isacommand{term}}}}~\isa{t} & print term \\
wenzelm@26902
   133
    \hyperlink{command.prop}{\mbox{\isa{\isacommand{prop}}}}~\isa{{\isasymphi}} & print meta-level proposition \\
wenzelm@26902
   134
    \hyperlink{command.typ}{\mbox{\isa{\isacommand{typ}}}}~\isa{{\isasymtau}} & print meta-level type \\
wenzelm@26779
   135
  \end{tabular}%
wenzelm@26779
   136
\end{isamarkuptext}%
wenzelm@26779
   137
\isamarkuptrue%
wenzelm@26779
   138
%
wenzelm@26779
   139
\isamarkupsection{Proof methods%
wenzelm@26779
   140
}
wenzelm@26779
   141
\isamarkuptrue%
wenzelm@26779
   142
%
wenzelm@26779
   143
\begin{isamarkuptext}%
wenzelm@26779
   144
\begin{tabular}{ll}
wenzelm@26779
   145
    \multicolumn{2}{l}{\textbf{Single steps (forward-chaining facts)}} \\[0.5ex]
wenzelm@26902
   146
    \hyperlink{method.assumption}{\mbox{\isa{assumption}}} & apply some assumption \\
wenzelm@26902
   147
    \hyperlink{method.this}{\mbox{\isa{this}}} & apply current facts \\
wenzelm@26902
   148
    \hyperlink{method.rule}{\mbox{\isa{rule}}}~\isa{a} & apply some rule  \\
wenzelm@26902
   149
    \hyperlink{method.rule}{\mbox{\isa{rule}}} & apply standard rule (default for \hyperlink{command.proof}{\mbox{\isa{\isacommand{proof}}}}) \\
wenzelm@26902
   150
    \hyperlink{method.contradiction}{\mbox{\isa{contradiction}}} & apply \isa{{\isachardoublequote}{\isasymnot}{\isachardoublequote}} elimination rule (any order) \\
wenzelm@26902
   151
    \hyperlink{method.cases}{\mbox{\isa{cases}}}~\isa{t} & case analysis (provides cases) \\
wenzelm@26902
   152
    \hyperlink{method.induct}{\mbox{\isa{induct}}}~\isa{x} & proof by induction (provides cases) \\[2ex]
wenzelm@26779
   153
wenzelm@26779
   154
    \multicolumn{2}{l}{\textbf{Repeated steps (inserting facts)}} \\[0.5ex]
wenzelm@26902
   155
    \hyperlink{method.-}{\mbox{\isa{{\isacharminus}}}} & no rules \\
wenzelm@26902
   156
    \hyperlink{method.intro}{\mbox{\isa{intro}}}~\isa{a} & introduction rules \\
wenzelm@26907
   157
    \hyperlink{method.intro-classes}{\mbox{\isa{intro{\isacharunderscore}classes}}} & class introduction rules \\
wenzelm@26902
   158
    \hyperlink{method.elim}{\mbox{\isa{elim}}}~\isa{a} & elimination rules \\
wenzelm@26902
   159
    \hyperlink{method.unfold}{\mbox{\isa{unfold}}}~\isa{a} & definitional rewrite rules \\[2ex]
wenzelm@26779
   160
wenzelm@26779
   161
    \multicolumn{2}{l}{\textbf{Automated proof tools (inserting facts)}} \\[0.5ex]
wenzelm@26902
   162
    \hyperlink{method.iprover}{\mbox{\isa{iprover}}} & intuitionistic proof search \\
wenzelm@26902
   163
    \hyperlink{method.blast}{\mbox{\isa{blast}}}, \hyperlink{method.fast}{\mbox{\isa{fast}}} & Classical Reasoner \\
wenzelm@26907
   164
    \hyperlink{method.simp}{\mbox{\isa{simp}}}, \hyperlink{method.simp-all}{\mbox{\isa{simp{\isacharunderscore}all}}} & Simplifier (+ Splitter) \\
wenzelm@26902
   165
    \hyperlink{method.auto}{\mbox{\isa{auto}}}, \hyperlink{method.force}{\mbox{\isa{force}}} & Simplifier + Classical Reasoner \\
wenzelm@26902
   166
    \hyperlink{method.arith}{\mbox{\isa{arith}}} & Arithmetic procedures \\
wenzelm@26779
   167
  \end{tabular}%
wenzelm@26779
   168
\end{isamarkuptext}%
wenzelm@26779
   169
\isamarkuptrue%
wenzelm@26779
   170
%
wenzelm@26779
   171
\isamarkupsection{Attributes%
wenzelm@26779
   172
}
wenzelm@26779
   173
\isamarkuptrue%
wenzelm@26779
   174
%
wenzelm@26779
   175
\begin{isamarkuptext}%
wenzelm@26779
   176
\begin{tabular}{ll}
wenzelm@26779
   177
    \multicolumn{2}{l}{\textbf{Operations}} \\[0.5ex]
wenzelm@26902
   178
    \hyperlink{attribute.OF}{\mbox{\isa{OF}}}~\isa{a} & rule resolved with facts (skipping ``\isa{{\isacharunderscore}}'') \\
wenzelm@26902
   179
    \hyperlink{attribute.of}{\mbox{\isa{of}}}~\isa{t} & rule instantiated with terms (skipping ``\isa{{\isacharunderscore}}'') \\
wenzelm@26902
   180
    \hyperlink{attribute.where}{\mbox{\isa{where}}}~\isa{{\isachardoublequote}x\ {\isacharequal}\ t{\isachardoublequote}} & rule instantiated with terms, by variable name \\
wenzelm@26902
   181
    \hyperlink{attribute.symmetric}{\mbox{\isa{symmetric}}} & resolution with symmetry rule \\
wenzelm@26902
   182
    \hyperlink{attribute.THEN}{\mbox{\isa{THEN}}}~\isa{b} & resolution with another rule \\
wenzelm@26907
   183
    \hyperlink{attribute.rule-format}{\mbox{\isa{rule{\isacharunderscore}format}}} & result put into standard rule format \\
wenzelm@26907
   184
    \hyperlink{attribute.elim-format}{\mbox{\isa{elim{\isacharunderscore}format}}} & destruct rule turned into elimination rule format \\[1ex]
wenzelm@26779
   185
wenzelm@26779
   186
    \multicolumn{2}{l}{\textbf{Declarations}} \\[0.5ex]
wenzelm@26902
   187
    \hyperlink{attribute.simp}{\mbox{\isa{simp}}} & Simplifier rule \\
wenzelm@26902
   188
    \hyperlink{attribute.intro}{\mbox{\isa{intro}}}, \hyperlink{attribute.elim}{\mbox{\isa{elim}}}, \hyperlink{attribute.dest}{\mbox{\isa{dest}}} & Pure or Classical Reasoner rule \\
wenzelm@26902
   189
    \hyperlink{attribute.iff}{\mbox{\isa{iff}}} & Simplifier + Classical Reasoner rule \\
wenzelm@26902
   190
    \hyperlink{attribute.split}{\mbox{\isa{split}}} & case split rule \\
wenzelm@26902
   191
    \hyperlink{attribute.trans}{\mbox{\isa{trans}}} & transitivity rule \\
wenzelm@26902
   192
    \hyperlink{attribute.sym}{\mbox{\isa{sym}}} & symmetry rule \\
wenzelm@26779
   193
  \end{tabular}%
wenzelm@26779
   194
\end{isamarkuptext}%
wenzelm@26779
   195
\isamarkuptrue%
wenzelm@26779
   196
%
wenzelm@26779
   197
\isamarkupsection{Rule declarations and methods%
wenzelm@26779
   198
}
wenzelm@26779
   199
\isamarkuptrue%
wenzelm@26779
   200
%
wenzelm@26779
   201
\begin{isamarkuptext}%
wenzelm@26779
   202
\begin{tabular}{l|lllll}
wenzelm@26902
   203
      & \hyperlink{method.rule}{\mbox{\isa{rule}}} & \hyperlink{method.iprover}{\mbox{\isa{iprover}}} & \hyperlink{method.blast}{\mbox{\isa{blast}}} & \hyperlink{method.simp}{\mbox{\isa{simp}}} & \hyperlink{method.auto}{\mbox{\isa{auto}}} \\
wenzelm@26907
   204
      &                &                   & \hyperlink{method.fast}{\mbox{\isa{fast}}} & \hyperlink{method.simp-all}{\mbox{\isa{simp{\isacharunderscore}all}}} & \hyperlink{method.force}{\mbox{\isa{force}}} \\
wenzelm@26779
   205
    \hline
wenzelm@26902
   206
    \hyperlink{attribute.Pure.elim}{\mbox{\isa{Pure{\isachardot}elim}}}\isa{{\isachardoublequote}{\isacharbang}{\isachardoublequote}} \hyperlink{attribute.Pure.intro}{\mbox{\isa{Pure{\isachardot}intro}}}\isa{{\isachardoublequote}{\isacharbang}{\isachardoublequote}}
wenzelm@26842
   207
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}    & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   208
    \hyperlink{attribute.Pure.elim}{\mbox{\isa{Pure{\isachardot}elim}}} \hyperlink{attribute.Pure.intro}{\mbox{\isa{Pure{\isachardot}intro}}}
wenzelm@26842
   209
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}    & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   210
    \hyperlink{attribute.elim}{\mbox{\isa{elim}}}\isa{{\isachardoublequote}{\isacharbang}{\isachardoublequote}} \hyperlink{attribute.intro}{\mbox{\isa{intro}}}\isa{{\isachardoublequote}{\isacharbang}{\isachardoublequote}}
wenzelm@26842
   211
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}    &                    & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}          &                     & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   212
    \hyperlink{attribute.elim}{\mbox{\isa{elim}}} \hyperlink{attribute.intro}{\mbox{\isa{intro}}}
wenzelm@26842
   213
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}    &                    & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}          &                     & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   214
    \hyperlink{attribute.iff}{\mbox{\isa{iff}}}
wenzelm@26842
   215
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}    &                    & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}          & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}         & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   216
    \hyperlink{attribute.iff}{\mbox{\isa{iff}}}\isa{{\isachardoublequote}{\isacharquery}{\isachardoublequote}}
wenzelm@26842
   217
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   218
    \hyperlink{attribute.elim}{\mbox{\isa{elim}}}\isa{{\isachardoublequote}{\isacharquery}{\isachardoublequote}} \hyperlink{attribute.intro}{\mbox{\isa{intro}}}\isa{{\isachardoublequote}{\isacharquery}{\isachardoublequote}}
wenzelm@26842
   219
      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   220
    \hyperlink{attribute.simp}{\mbox{\isa{simp}}}
wenzelm@26842
   221
      &                &                    &                      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}         & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   222
    \hyperlink{attribute.cong}{\mbox{\isa{cong}}}
wenzelm@26842
   223
      &                &                    &                      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}         & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26902
   224
    \hyperlink{attribute.split}{\mbox{\isa{split}}}
wenzelm@26842
   225
      &                &                    &                      & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}}         & \isa{{\isachardoublequote}{\isasymtimes}{\isachardoublequote}} \\
wenzelm@26779
   226
  \end{tabular}%
wenzelm@26779
   227
\end{isamarkuptext}%
wenzelm@26779
   228
\isamarkuptrue%
wenzelm@26779
   229
%
wenzelm@26779
   230
\isamarkupsection{Emulating tactic scripts%
wenzelm@26779
   231
}
wenzelm@26779
   232
\isamarkuptrue%
wenzelm@26779
   233
%
wenzelm@26779
   234
\isamarkupsubsection{Commands%
wenzelm@26779
   235
}
wenzelm@26779
   236
\isamarkuptrue%
wenzelm@26779
   237
%
wenzelm@26779
   238
\begin{isamarkuptext}%
wenzelm@26779
   239
\begin{tabular}{ll}
wenzelm@26902
   240
    \hyperlink{command.apply}{\mbox{\isa{\isacommand{apply}}}}~\isa{m} & apply proof method at initial position \\
wenzelm@26907
   241
    \hyperlink{command.apply-end}{\mbox{\isa{\isacommand{apply{\isacharunderscore}end}}}}~\isa{m} & apply proof method near terminal position \\
wenzelm@26902
   242
    \hyperlink{command.done}{\mbox{\isa{\isacommand{done}}}} & complete proof \\
wenzelm@26902
   243
    \hyperlink{command.defer}{\mbox{\isa{\isacommand{defer}}}}~\isa{n} & move subgoal to end \\
wenzelm@26902
   244
    \hyperlink{command.prefer}{\mbox{\isa{\isacommand{prefer}}}}~\isa{n} & move subgoal to beginning \\
wenzelm@26902
   245
    \hyperlink{command.back}{\mbox{\isa{\isacommand{back}}}} & backtrack last command \\
wenzelm@26779
   246
  \end{tabular}%
wenzelm@26779
   247
\end{isamarkuptext}%
wenzelm@26779
   248
\isamarkuptrue%
wenzelm@26779
   249
%
wenzelm@26779
   250
\isamarkupsubsection{Methods%
wenzelm@26779
   251
}
wenzelm@26779
   252
\isamarkuptrue%
wenzelm@26779
   253
%
wenzelm@26779
   254
\begin{isamarkuptext}%
wenzelm@26779
   255
\begin{tabular}{ll}
wenzelm@26907
   256
    \hyperlink{method.rule-tac}{\mbox{\isa{rule{\isacharunderscore}tac}}}~\isa{insts} & resolution (with instantiation) \\
wenzelm@26907
   257
    \hyperlink{method.erule-tac}{\mbox{\isa{erule{\isacharunderscore}tac}}}~\isa{insts} & elim-resolution (with instantiation) \\
wenzelm@26907
   258
    \hyperlink{method.drule-tac}{\mbox{\isa{drule{\isacharunderscore}tac}}}~\isa{insts} & destruct-resolution (with instantiation) \\
wenzelm@26907
   259
    \hyperlink{method.frule-tac}{\mbox{\isa{frule{\isacharunderscore}tac}}}~\isa{insts} & forward-resolution (with instantiation) \\
wenzelm@26907
   260
    \hyperlink{method.cut-tac}{\mbox{\isa{cut{\isacharunderscore}tac}}}~\isa{insts} & insert facts (with instantiation) \\
wenzelm@26907
   261
    \hyperlink{method.thin-tac}{\mbox{\isa{thin{\isacharunderscore}tac}}}~\isa{{\isasymphi}} & delete assumptions \\
wenzelm@26907
   262
    \hyperlink{method.subgoal-tac}{\mbox{\isa{subgoal{\isacharunderscore}tac}}}~\isa{{\isasymphi}} & new claims \\
wenzelm@26907
   263
    \hyperlink{method.rename-tac}{\mbox{\isa{rename{\isacharunderscore}tac}}}~\isa{x} & rename innermost goal parameters \\
wenzelm@26907
   264
    \hyperlink{method.rotate-tac}{\mbox{\isa{rotate{\isacharunderscore}tac}}}~\isa{n} & rotate assumptions of goal \\
wenzelm@26902
   265
    \hyperlink{method.tactic}{\mbox{\isa{tactic}}}~\isa{{\isachardoublequote}text{\isachardoublequote}} & arbitrary ML tactic \\
wenzelm@26907
   266
    \hyperlink{method.case-tac}{\mbox{\isa{case{\isacharunderscore}tac}}}~\isa{t} & exhaustion (datatypes) \\
wenzelm@26907
   267
    \hyperlink{method.induct-tac}{\mbox{\isa{induct{\isacharunderscore}tac}}}~\isa{x} & induction (datatypes) \\
wenzelm@26907
   268
    \hyperlink{method.ind-cases}{\mbox{\isa{ind{\isacharunderscore}cases}}}~\isa{t} & exhaustion + simplification (inductive predicates) \\
wenzelm@26779
   269
  \end{tabular}%
wenzelm@26779
   270
\end{isamarkuptext}%
wenzelm@26779
   271
\isamarkuptrue%
wenzelm@26779
   272
%
wenzelm@26779
   273
\isadelimtheory
wenzelm@26779
   274
%
wenzelm@26779
   275
\endisadelimtheory
wenzelm@26779
   276
%
wenzelm@26779
   277
\isatagtheory
wenzelm@26779
   278
\isacommand{end}\isamarkupfalse%
wenzelm@26779
   279
%
wenzelm@26779
   280
\endisatagtheory
wenzelm@26779
   281
{\isafoldtheory}%
wenzelm@26779
   282
%
wenzelm@26779
   283
\isadelimtheory
wenzelm@26779
   284
%
wenzelm@26779
   285
\endisadelimtheory
wenzelm@26779
   286
\isanewline
wenzelm@26779
   287
\end{isabellebody}%
wenzelm@26779
   288
%%% Local Variables:
wenzelm@26779
   289
%%% mode: latex
wenzelm@26779
   290
%%% TeX-master: "root"
wenzelm@26779
   291
%%% End: