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