doc-src/TutorialI/Recdef/document/Nested2.tex
 changeset 10645 175ccbd5415a parent 10617 adc0ed64a120 child 10654 458068404143
     1.1 --- a/doc-src/TutorialI/Recdef/document/Nested2.tex	Mon Dec 11 20:11:57 2000 +0100
1.2 +++ b/doc-src/TutorialI/Recdef/document/Nested2.tex	Tue Dec 12 11:57:33 2000 +0100
1.3 @@ -61,9 +61,8 @@
1.4  \isacommand{recdef} has been supplied with the congruence theorem
1.5  \isa{map{\isacharunderscore}cong}:
1.6  \begin{isabelle}%
1.7 -\ \ \ \ \ xs\ {\isacharequal}\ ys\ {\isasymLongrightarrow}\isanewline
1.8 -\ \ \ \ \ {\isacharparenleft}{\isasymAnd}x{\isachardot}\ x\ {\isasymin}\ set\ ys\ {\isasymLongrightarrow}\ f\ x\ {\isacharequal}\ g\ x{\isacharparenright}\ {\isasymLongrightarrow}\isanewline
1.9 -\ \ \ \ \ map\ f\ xs\ {\isacharequal}\ map\ g\ ys%
1.10 +\ \ \ \ \ {\isasymlbrakk}xs\ {\isacharequal}\ ys{\isacharsemicolon}\ {\isasymAnd}x{\isachardot}\ x\ {\isasymin}\ set\ ys\ {\isasymLongrightarrow}\ f\ x\ {\isacharequal}\ g\ x{\isasymrbrakk}\isanewline
1.11 +\ \ \ \ \ {\isasymLongrightarrow}\ map\ f\ xs\ {\isacharequal}\ map\ g\ ys%
1.12  \end{isabelle}
1.13  Its second premise expresses (indirectly) that the second argument of
1.14  \isa{map} is only applied to elements of its third argument. Congruence