doc-src/IsarRef/Thy/document/Generic.tex
changeset 30269 2fab27ea2a1f
parent 30172 afdf7808cfd0
child 30397 b6212ae21656
equal deleted inserted replaced
30268:5af6ed62385b 30269:2fab27ea2a1f
   501   \begin{description}
   501   \begin{description}
   502 
   502 
   503   \item \hyperlink{command.simproc-setup}{\mbox{\isa{\isacommand{simproc{\isacharunderscore}setup}}}} defines a named simplification
   503   \item \hyperlink{command.simproc-setup}{\mbox{\isa{\isacommand{simproc{\isacharunderscore}setup}}}} defines a named simplification
   504   procedure that is invoked by the Simplifier whenever any of the
   504   procedure that is invoked by the Simplifier whenever any of the
   505   given term patterns match the current redex.  The implementation,
   505   given term patterns match the current redex.  The implementation,
   506   which is provided as ML source text, needs to be of type \verb|"morphism -> simpset -> cterm -> thm option"|, where the \verb|cterm| represents the current redex \isa{r} and the result is
   506   which is provided as ML source text, needs to be of type \verb|morphism -> simpset -> cterm -> thm option|, where the \verb|cterm| represents the current redex \isa{r} and the result is
   507   supposed to be some proven rewrite rule \isa{{\isachardoublequote}r\ {\isasymequiv}\ r{\isacharprime}{\isachardoublequote}} (or a
   507   supposed to be some proven rewrite rule \isa{{\isachardoublequote}r\ {\isasymequiv}\ r{\isacharprime}{\isachardoublequote}} (or a
   508   generalized version), or \verb|NONE| to indicate failure.  The
   508   generalized version), or \verb|NONE| to indicate failure.  The
   509   \verb|simpset| argument holds the full context of the current
   509   \verb|simpset| argument holds the full context of the current
   510   Simplifier invocation, including the actual Isar proof context.  The
   510   Simplifier invocation, including the actual Isar proof context.  The
   511   \verb|morphism| informs about the difference of the original
   511   \verb|morphism| informs about the difference of the original