doc-src/TutorialI/Recdef/document/Nested2.tex
 changeset 10589 b2d1b393b750 parent 10267 325ead6d9457 child 10601 894f845c3dbf
     1.1 --- a/doc-src/TutorialI/Recdef/document/Nested2.tex	Mon Dec 04 23:36:16 2000 +0100
1.2 +++ b/doc-src/TutorialI/Recdef/document/Nested2.tex	Mon Dec 04 23:38:19 2000 +0100
1.3 @@ -61,8 +61,9 @@
1.4  \isacommand{recdef} has been supplied with the congruence theorem
1.5  \isa{map{\isacharunderscore}cong}:
1.6  \begin{isabelle}%
1.7 -\ \ \ \ \ {\isasymlbrakk}xs\ {\isacharequal}\ ys{\isacharsemicolon}\ {\isasymAnd}x{\isachardot}\ x\ {\isasymin}\ set\ ys\ {\isasymLongrightarrow}\ f\ x\ {\isacharequal}\ g\ x{\isasymrbrakk}\isanewline
1.8 -\ \ \ \ \ {\isasymLongrightarrow}\ map\ f\ xs\ {\isacharequal}\ map\ g\ ys%
1.9 +\ \ \ \ \ xs\ {\isacharequal}\ ys\ {\isasymLongrightarrow}\isanewline
1.10 +\ \ \ \ \ {\isacharparenleft}{\isasymAnd}x{\isachardot}\ x\ {\isasymin}\ set\ ys\ {\isasymLongrightarrow}\ f\ x\ {\isacharequal}\ g\ x{\isacharparenright}\ {\isasymLongrightarrow}\isanewline
1.11 +\ \ \ \ \ 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