induct etc.: admit multiple rules;
authorwenzelm
Fri, 23 Dec 2005 15:16:58 +0100
changeset 18505 95e6c9ef7488
parent 18504 6574d62fe76b
child 18506 96260fb11449
induct etc.: admit multiple rules;
doc-src/IsarRef/generic.tex
--- a/doc-src/IsarRef/generic.tex	Fri Dec 23 15:16:56 2005 +0100
+++ b/doc-src/IsarRef/generic.tex	Fri Dec 23 15:16:58 2005 +0100
@@ -1353,7 +1353,7 @@
 
   open: '(' 'open' ')'
   ;
-  rule: ('type' | 'set') ':' nameref | 'rule' ':' thmref
+  rule: ('type' | 'set') ':' (nameref +) | 'rule' ':' (thmref +)
   ;
   definst: name ('==' | equiv) term | inst
   ;
@@ -1402,13 +1402,13 @@
     \edrv x \in A   & induct & \dots         & \Text{set induction (of $A$)} \\
     \dots           & induct & \dots ~ R     & \Text{explicit rule $R$} \\
   \end{matharray}
-
-  Several instantiations may be given, each referring to some part of a mutual
-  inductive definition or datatype --- only related partial induction rules
-  may be used together, though.  Any of the lists of terms $P, x, \dots$
-  refers to the \emph{suffix} of variables present in the induction rule.
-  This enables the writer to specify only induction variables, or both
-  predicates and variables, for example.
+  
+  Several instantiations may be given, each referring to some part of
+  a mutual inductive definition or datatype --- only related partial
+  induction rules may be used together, though.  Any of the lists of
+  terms $P, x, \dots$ refers to the \emph{suffix} of variables present
+  in the induction rule.  This enables the writer to specify only
+  induction variables, or both predicates and variables, for example.
   
   Instantiations may be definitional: equations $x \equiv t$ introduce local
   definitions, which are inserted into the claim and discharged after applying