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