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