added some basic documentation about method induction_schema extracted from old NEWS
authorbulwahn
Wed, 21 Dec 2011 14:38:21 +0100
changeset 45944 e586f6d136b7
parent 45943 8c4a5e664fbc
child 45945 aa8100cc02dc
added some basic documentation about method induction_schema extracted from old NEWS
doc-src/IsarRef/Thy/HOL_Specific.thy
doc-src/IsarRef/Thy/document/HOL_Specific.tex
--- a/doc-src/IsarRef/Thy/HOL_Specific.thy	Wed Dec 21 14:24:29 2011 +0100
+++ b/doc-src/IsarRef/Thy/HOL_Specific.thy	Wed Dec 21 14:38:21 2011 +0100
@@ -493,6 +493,7 @@
     @{method_def (HOL) relation} & : & @{text method} \\
     @{method_def (HOL) lexicographic_order} & : & @{text method} \\
     @{method_def (HOL) size_change} & : & @{text method} \\
+    @{method_def (HOL) induction_schema} & : & @{text method} \\
   \end{matharray}
 
   @{rail "
@@ -502,6 +503,8 @@
     ;
     @@{method (HOL) size_change} ( orders (@{syntax clasimpmod} * ) )
     ;
+    @@{method (HOL) induction_schema}
+    ;
     orders: ( 'max' | 'min' | 'ms' ) *
   "}
 
@@ -541,6 +544,12 @@
   For local descent proofs, the @{syntax clasimpmod} modifiers are
   accepted (as for @{method auto}).
 
+  \item @{method (HOL) induction_schema} derives user-specified
+   induction rules from well-founded induction and completeness of
+   patterns. This factors out some operations that are done internally
+   by the function package and makes them available separately. See
+   @{file "~~/src/HOL/ex/Induction_Schema.thy"} for examples.
+
   \end{description}
 *}
 
--- a/doc-src/IsarRef/Thy/document/HOL_Specific.tex	Wed Dec 21 14:24:29 2011 +0100
+++ b/doc-src/IsarRef/Thy/document/HOL_Specific.tex	Wed Dec 21 14:38:21 2011 +0100
@@ -707,6 +707,7 @@
     \indexdef{HOL}{method}{relation}\hypertarget{method.HOL.relation}{\hyperlink{method.HOL.relation}{\mbox{\isa{relation}}}} & : & \isa{method} \\
     \indexdef{HOL}{method}{lexicographic\_order}\hypertarget{method.HOL.lexicographic-order}{\hyperlink{method.HOL.lexicographic-order}{\mbox{\isa{lexicographic{\isaliteral{5F}{\isacharunderscore}}order}}}} & : & \isa{method} \\
     \indexdef{HOL}{method}{size\_change}\hypertarget{method.HOL.size-change}{\hyperlink{method.HOL.size-change}{\mbox{\isa{size{\isaliteral{5F}{\isacharunderscore}}change}}}} & : & \isa{method} \\
+    \indexdef{HOL}{method}{induction\_schema}\hypertarget{method.HOL.induction-schema}{\hyperlink{method.HOL.induction-schema}{\mbox{\isa{induction{\isaliteral{5F}{\isacharunderscore}}schema}}}} & : & \isa{method} \\
   \end{matharray}
 
   \begin{railoutput}
@@ -729,6 +730,9 @@
 \rail@cnont{\hyperlink{syntax.clasimpmod}{\mbox{\isa{clasimpmod}}}}[]
 \rail@endplus
 \rail@end
+\rail@begin{1}{}
+\rail@term{\hyperlink{method.HOL.induction-schema}{\mbox{\isa{induction{\isaliteral{5F}{\isacharunderscore}}schema}}}}[]
+\rail@end
 \rail@begin{4}{\isa{orders}}
 \rail@plus
 \rail@nextplus{1}
@@ -779,6 +783,12 @@
   For local descent proofs, the \hyperlink{syntax.clasimpmod}{\mbox{\isa{clasimpmod}}} modifiers are
   accepted (as for \hyperlink{method.auto}{\mbox{\isa{auto}}}).
 
+  \item \hyperlink{method.HOL.induction-schema}{\mbox{\isa{induction{\isaliteral{5F}{\isacharunderscore}}schema}}} derives user-specified
+   induction rules from well-founded induction and completeness of
+   patterns. This factors out some operations that are done internally
+   by the function package and makes them available separately. See
+   \verb|~~/src/HOL/ex/Induction_Schema.thy| for examples.
+
   \end{description}%
 \end{isamarkuptext}%
 \isamarkuptrue%