src/HOL/Isar_examples/Group.thy
changeset 7356 1714c91b8729
parent 7133 64c9f2364dae
child 7433 27887c52b9c8
equal deleted inserted replaced
7355:4c43090659ca 7356:1714c91b8729
   135  (see above), we may still instantiate group < monoid properly as
   135  (see above), we may still instantiate group < monoid properly as
   136  follows.
   136  follows.
   137 *};
   137 *};
   138 
   138 
   139 instance group < monoid;
   139 instance group < monoid;
   140   by (expand_classes,
   140   by (intro_classes,
   141        rule group_assoc,
   141        rule group_assoc,
   142        rule group_left_unit,
   142        rule group_left_unit,
   143        rule group_right_unit);
   143        rule group_right_unit);
   144 
   144 
   145 
   145