*** empty log message ***
authornipkow
Wed, 14 Mar 2001 18:40:01 +0100
changeset 11206 5bea3a8abdc3
parent 11205 67cec35dbc58
child 11207 08188224c24e
*** empty log message ***
doc-src/TutorialI/Misc/document/simp.tex
doc-src/TutorialI/Misc/simp.thy
doc-src/TutorialI/todo.tobias
--- a/doc-src/TutorialI/Misc/document/simp.tex	Wed Mar 14 17:38:49 2001 +0100
+++ b/doc-src/TutorialI/Misc/document/simp.tex	Wed Mar 14 18:40:01 2001 +0100
@@ -123,7 +123,17 @@
 Both \isa{{\isacharparenleft}no{\isacharunderscore}asm{\isacharunderscore}simp{\isacharparenright}} and \isa{{\isacharparenleft}no{\isacharunderscore}asm{\isacharunderscore}use{\isacharparenright}} run forever on
 the problematic subgoal above.
 Note that only one of the modifiers is allowed, and it must precede all
-other arguments.%
+other arguments.
+
+\begin{warn}
+Assumptions are simplified in a left-to-right fashion. If an
+assumption can help in simplifying one to the left of it, this may get
+overlooked. In such cases you have to rotate the assumptions explicitly:
+\isacommand{apply}\isa{{\isacharparenleft}rotate{\isacharunderscore}tac}~$n$\isa{{\isacharparenright}}\indexbold{*rotate_tac}
+causes a cyclic shift by $n$ positions from right to left, if $n$ is
+positive, and from left to right, if $n$ is negative.
+Beware that such rotations make proofs quite brittle.
+\end{warn}%
 \end{isamarkuptext}%
 %
 \isamarkupsubsubsection{Rewriting with Definitions%
--- a/doc-src/TutorialI/Misc/simp.thy	Wed Mar 14 17:38:49 2001 +0100
+++ b/doc-src/TutorialI/Misc/simp.thy	Wed Mar 14 18:40:01 2001 +0100
@@ -121,6 +121,16 @@
 the problematic subgoal above.
 Note that only one of the modifiers is allowed, and it must precede all
 other arguments.
+
+\begin{warn}
+Assumptions are simplified in a left-to-right fashion. If an
+assumption can help in simplifying one to the left of it, this may get
+overlooked. In such cases you have to rotate the assumptions explicitly:
+\isacommand{apply}@{text"(rotate_tac"}~$n$@{text")"}\indexbold{*rotate_tac}
+causes a cyclic shift by $n$ positions from right to left, if $n$ is
+positive, and from left to right, if $n$ is negative.
+Beware that such rotations make proofs quite brittle.
+\end{warn}
 *}
 
 subsubsection{*Rewriting with Definitions*}
--- a/doc-src/TutorialI/todo.tobias	Wed Mar 14 17:38:49 2001 +0100
+++ b/doc-src/TutorialI/todo.tobias	Wed Mar 14 18:40:01 2001 +0100
@@ -57,8 +57,6 @@
 
 Advanced recdef: explain recdef_tc?
 
-warning: simp of asms from l to r; may require reordering (rotate_tac)
-
 Adjust FP textbook refs: new Bird, Hudak
 Discrete math textbook: Rosen?