doc-src/IsarRef/Thy/document/Generic.tex
changeset 27094 2cf13a72e170
parent 27072 051a88965e50
child 27210 2a8d03e0bbb9
equal deleted inserted replaced
27093:66d6da816be7 27094:2cf13a72e170
   390   \indexouternonterm{simpmod}
   390   \indexouternonterm{simpmod}
   391   \begin{rail}
   391   \begin{rail}
   392     ('simp' | 'simp\_all') ('!' ?) opt? (simpmod *)
   392     ('simp' | 'simp\_all') ('!' ?) opt? (simpmod *)
   393     ;
   393     ;
   394 
   394 
   395     opt: '(' ('no\_asm' | 'no\_asm\_simp' | 'no\_asm\_use' | 'asm\_lr' | 'depth\_limit' ':' nat) ')'
   395     opt: '(' ('no\_asm' | 'no\_asm\_simp' | 'no\_asm\_use' | 'asm\_lr' ) ')'
   396     ;
   396     ;
   397     simpmod: ('add' | 'del' | 'only' | 'cong' (() | 'add' | 'del') |
   397     simpmod: ('add' | 'del' | 'only' | 'cong' (() | 'add' | 'del') |
   398       'split' (() | 'add' | 'del')) ':' thmrefs
   398       'split' (() | 'add' | 'del')) ':' thmrefs
   399     ;
   399     ;
   400   \end{rail}
   400   \end{rail}
   440   not themselves simplified (cf.\ \verb|asm_simp_tac|), and ``\isa{{\isachardoublequote}{\isacharparenleft}no{\isacharunderscore}asm{\isacharunderscore}use{\isacharparenright}{\isachardoublequote}}'' means assumptions are simplified but are not used
   440   not themselves simplified (cf.\ \verb|asm_simp_tac|), and ``\isa{{\isachardoublequote}{\isacharparenleft}no{\isacharunderscore}asm{\isacharunderscore}use{\isacharparenright}{\isachardoublequote}}'' means assumptions are simplified but are not used
   441   in the simplification of each other or the conclusion (cf.\ \verb|full_simp_tac|).  For compatibility reasons, there is also an option
   441   in the simplification of each other or the conclusion (cf.\ \verb|full_simp_tac|).  For compatibility reasons, there is also an option
   442   ``\isa{{\isachardoublequote}{\isacharparenleft}asm{\isacharunderscore}lr{\isacharparenright}{\isachardoublequote}}'', which means that an assumption is only used
   442   ``\isa{{\isachardoublequote}{\isacharparenleft}asm{\isacharunderscore}lr{\isacharparenright}{\isachardoublequote}}'', which means that an assumption is only used
   443   for simplifying assumptions which are to the right of it (cf.\ \verb|asm_lr_simp_tac|).
   443   for simplifying assumptions which are to the right of it (cf.\ \verb|asm_lr_simp_tac|).
   444 
   444 
   445   Giving an option ``\isa{{\isachardoublequote}{\isacharparenleft}depth{\isacharunderscore}limit{\isacharcolon}\ n{\isacharparenright}{\isachardoublequote}}'' limits the number of
   445   The configuration option \isa{{\isachardoublequote}depth{\isacharunderscore}limit{\isachardoublequote}} limits the number of
   446   recursive invocations of the simplifier during conditional
   446   recursive invocations of the simplifier during conditional
   447   rewriting.
   447   rewriting.
   448 
   448 
   449   \medskip The Splitter package is usually configured to work as part
   449   \medskip The Splitter package is usually configured to work as part
   450   of the Simplifier.  The effect of repeatedly applying \verb|split_tac| can be simulated by ``\isa{{\isachardoublequote}{\isacharparenleft}simp\ only{\isacharcolon}\ split{\isacharcolon}\ a\isactrlsub {\isadigit{1}}\ {\isasymdots}\ a\isactrlsub n{\isacharparenright}{\isachardoublequote}}''.  There is also a separate \isa{split}
   450   of the Simplifier.  The effect of repeatedly applying \verb|split_tac| can be simulated by ``\isa{{\isachardoublequote}{\isacharparenleft}simp\ only{\isacharcolon}\ split{\isacharcolon}\ a\isactrlsub {\isadigit{1}}\ {\isasymdots}\ a\isactrlsub n{\isacharparenright}{\isachardoublequote}}''.  There is also a separate \isa{split}