expand_classes renamed to intro_classes;
authorwenzelm
Wed, 25 Aug 1999 20:46:40 +0200
changeset 7356 1714c91b8729
parent 7355 4c43090659ca
child 7357 d0e16da40ea2
expand_classes renamed to intro_classes;
doc-src/IsarRef/generic.tex
src/HOL/Isar_examples/Group.thy
--- a/doc-src/IsarRef/generic.tex	Wed Aug 25 20:45:19 1999 +0200
+++ b/doc-src/IsarRef/generic.tex	Wed Aug 25 20:46:40 1999 +0200
@@ -194,11 +194,11 @@
 
 \section{Axiomatic Type Classes}\label{sec:axclass}
 
-\indexisarcmd{axclass}\indexisarcmd{instance}
+\indexisarcmd{axclass}\indexisarcmd{instance}\indexisarmeth{intro-classes}
 \begin{matharray}{rcl}
   \isarcmd{axclass} & : & \isartrans{theory}{theory} \\
   \isarcmd{instance} & : & \isartrans{theory}{proof(prove)} \\
-  expand_classes & : & \isarmeth \\
+  intro_classes & : & \isarmeth \\
 \end{matharray}
 
 Axiomatic type classes are provided by Isabelle/Pure as a purely
@@ -222,18 +222,17 @@
   holding.  Class axioms may not contain more than one type variable.  The
   class axioms (with implicit sort constraints added) are bound to the given
   names.  Furthermore a class introduction rule is generated, which is
-  employed by method $expand_classes$ in support instantiation proofs of this
+  employed by method $intro_classes$ in support instantiation proofs of this
   class.
   
 \item [$\isarkeyword{instance}~c@1 < c@2$ and $\isarkeyword{instance}~t ::
   (\vec s)c$] setup up a goal stating the class relation or type arity.  The
-  proof would usually proceed by the $expand_classes$ method, and then
+  proof would usually proceed by the $intro_classes$ method, and then
   establish the characteristic theorems of the type classes involved.  After
   finishing the proof the theory will be augmented by a type signature
   declaration corresponding to the resulting theorem.
-\item [Method $expand_classes$] iteratively expands the class introduction
+\item [Method $intro_classes$] iteratively expands the class introduction
   rules
-%FIXME intro classIs etc;
 \end{descr}
 
 See theory \texttt{HOL/Isar_examples/Group} for a simple example of using
--- a/src/HOL/Isar_examples/Group.thy	Wed Aug 25 20:45:19 1999 +0200
+++ b/src/HOL/Isar_examples/Group.thy	Wed Aug 25 20:46:40 1999 +0200
@@ -137,7 +137,7 @@
 *};
 
 instance group < monoid;
-  by (expand_classes,
+  by (intro_classes,
        rule group_assoc,
        rule group_left_unit,
        rule group_right_unit);