document property 'disc_map_iff'
authordesharna
Mon, 19 May 2014 11:27:02 +0200
changeset 56992 d0e5225601d3
parent 56991 8e9ca31e9b8e
child 56993 e5366291d6aa
document property 'disc_map_iff'
src/Doc/Datatypes/Datatypes.thy
--- a/src/Doc/Datatypes/Datatypes.thy	Thu May 15 16:15:44 2014 +0200
+++ b/src/Doc/Datatypes/Datatypes.thy	Mon May 19 11:27:02 2014 +0200
@@ -843,8 +843,8 @@
 
 text {*
 The functorial theorems are partitioned in two subgroups. The first subgroup
-consists of properties involving the constructors and either a set function, the
-map function, or the relator:
+consists of properties involving the constructors or the destructors and either
+a set function, the map function, or the relator:
 
 \begin{indentblock}
 \begin{description}
@@ -853,10 +853,16 @@
 @{thm list.set(1)[no_vars]} \\
 @{thm list.set(2)[no_vars]}
 
+\item[@{text "t."}\hthm{set\_empty}\rm:] ~ \\
+@{thm list.set_empty[no_vars]}
+
 \item[@{text "t."}\hthm{map} @{text "[simp, code]"}\rm:] ~ \\
 @{thm list.map(1)[no_vars]} \\
 @{thm list.map(2)[no_vars]}
 
+\item[@{text "t."}\hthm{disc\_map\_iff} @{text "[simp]"}\rm:] ~ \\
+@{thm list.disc_map_iff[no_vars]}
+
 \item[@{text "t."}\hthm{rel\_inject} @{text "[simp]"}\rm:] ~ \\
 @{thm list.rel_inject(1)[no_vars]} \\
 @{thm list.rel_inject(2)[no_vars]}
@@ -878,6 +884,9 @@
 \begin{indentblock}
 \begin{description}
 
+\item[@{text "t."}\hthm{set\_map}\rm:] ~ \\
+@{thm list.set_map[no_vars]}
+
 \item[@{text "t."}\hthm{map\_comp}\rm:] ~ \\
 @{thm list.map_cong0[no_vars]}
 
@@ -908,12 +917,6 @@
 \item[@{text "t."}\hthm{rel\_mono}\rm:] ~ \\
 @{thm list.rel_mono[no_vars]}
 
-\item[@{text "t."}\hthm{set\_empty}\rm:] ~ \\
-@{thm list.set_empty[no_vars]}
-
-\item[@{text "t."}\hthm{set\_map}\rm:] ~ \\
-@{thm list.set_map[no_vars]}
-
 \end{description}
 \end{indentblock}
 *}