1274 \isarcmd{pr}^* & : & \isarkeep{\cdot} \\ |
1274 \isarcmd{pr}^* & : & \isarkeep{\cdot} \\ |
1275 \isarcmd{thm}^* & : & \isarkeep{theory~|~proof} \\ |
1275 \isarcmd{thm}^* & : & \isarkeep{theory~|~proof} \\ |
1276 \isarcmd{term}^* & : & \isarkeep{theory~|~proof} \\ |
1276 \isarcmd{term}^* & : & \isarkeep{theory~|~proof} \\ |
1277 \isarcmd{prop}^* & : & \isarkeep{theory~|~proof} \\ |
1277 \isarcmd{prop}^* & : & \isarkeep{theory~|~proof} \\ |
1278 \isarcmd{typ}^* & : & \isarkeep{theory~|~proof} \\ |
1278 \isarcmd{typ}^* & : & \isarkeep{theory~|~proof} \\ |
|
1279 \isarcmd{prf}^* & : & \isarkeep{theory~|~proof} \\ |
|
1280 \isarcmd{full_prf}^* & : & \isarkeep{theory~|~proof} \\ |
1279 \end{matharray} |
1281 \end{matharray} |
1280 |
1282 |
1281 These diagnostic commands assist interactive development. Note that $undo$ |
1283 These diagnostic commands assist interactive development. Note that $undo$ |
1282 does not apply here, the theory or proof configuration is not changed. |
1284 does not apply here, the theory or proof configuration is not changed. |
1283 |
1285 |
1313 context; the inferred type of $t$ is output as well. Note that these |
1319 context; the inferred type of $t$ is output as well. Note that these |
1314 commands are also useful in inspecting the current environment of term |
1320 commands are also useful in inspecting the current environment of term |
1315 abbreviations. |
1321 abbreviations. |
1316 \item [$\isarkeyword{typ}~\tau$] reads and prints types of the meta-logic |
1322 \item [$\isarkeyword{typ}~\tau$] reads and prints types of the meta-logic |
1317 according to the current theory or proof context. |
1323 according to the current theory or proof context. |
|
1324 \item [$\isarkeyword{prf}$] displays the (compact) proof term of the current |
|
1325 proof state (if present), or of the given theorems. Note that this |
|
1326 requires proof terms to be switched on for the current object logic |
|
1327 (see the ``Proof terms'' section of the Isabelle reference manual |
|
1328 for information on how to do this). |
|
1329 \item [$\isarkeyword{full_prf}$] is like $\isarkeyword{prf}$, but displays |
|
1330 the full proof term, i.e.\ also displays information omitted in |
|
1331 the compact proof term, which is denoted by ``$_$'' placeholders there. |
1318 \end{descr} |
1332 \end{descr} |
1319 |
1333 |
1320 All of the diagnostic commands above admit a list of $modes$ to be specified, |
1334 All of the diagnostic commands above admit a list of $modes$ to be specified, |
1321 which is appended to the current print mode (see also \cite{isabelle-ref}). |
1335 which is appended to the current print mode (see also \cite{isabelle-ref}). |
1322 Thus the output behavior may be modified according particular print mode |
1336 Thus the output behavior may be modified according particular print mode |