doc-src/IsarRef/syntax.tex
changeset 21717 410ca6910f6f
parent 21358 f48800c3d573
child 24016 cf022cc710ae
equal deleted inserted replaced
21716:8fcacb0e3b15 21717:410ca6910f6f
   433   theory & : & \isarantiq \\
   433   theory & : & \isarantiq \\
   434   thm & : & \isarantiq \\
   434   thm & : & \isarantiq \\
   435   prop & : & \isarantiq \\
   435   prop & : & \isarantiq \\
   436   term & : & \isarantiq \\
   436   term & : & \isarantiq \\
   437   const & : & \isarantiq \\
   437   const & : & \isarantiq \\
       
   438   abbrev & : & \isarantiq \\
   438   typeof & : & \isarantiq \\
   439   typeof & : & \isarantiq \\
   439   typ & : & \isarantiq \\
   440   typ & : & \isarantiq \\
   440   thm_style & : & \isarantiq \\
   441   thm_style & : & \isarantiq \\
   441   term_style & : & \isarantiq \\
   442   term_style & : & \isarantiq \\
   442   text & : & \isarantiq \\
   443   text & : & \isarantiq \\
   463 \texttt{{\at}{\ttlbrace}thm~sym~[no_vars]{\ttrbrace}} would print the
   464 \texttt{{\at}{\ttlbrace}thm~sym~[no_vars]{\ttrbrace}} would print the
   464 statement where all schematic variables have been replaced by fixed ones,
   465 statement where all schematic variables have been replaced by fixed ones,
   465 which are easier to read.
   466 which are easier to read.
   466 
   467 
   467 \indexisarant{theory}\indexisarant{thm}\indexisarant{prop}\indexisarant{term}\indexisarant{const}
   468 \indexisarant{theory}\indexisarant{thm}\indexisarant{prop}\indexisarant{term}\indexisarant{const}
   468 \indexisarant{typeof}\indexisarant{typ}\indexisarant{thm-style}
   469 \indexisarant{abbrev}\indexisarant{typeof}\indexisarant{typ}\indexisarant{thm-style}
   469 \indexisarant{term-style}\indexisarant{text}\indexisarant{goals}
   470 \indexisarant{term-style}\indexisarant{text}\indexisarant{goals}
   470 \indexisarant{subgoals}\indexisarant{prf}\indexisarant{full-prf}\indexisarant{ML}
   471 \indexisarant{subgoals}\indexisarant{prf}\indexisarant{full-prf}\indexisarant{ML}
   471 \indexisarant{ML-type}\indexisarant{ML-struct}
   472 \indexisarant{ML-type}\indexisarant{ML-struct}
   472 
   473 
   473 \begin{rail}
   474 \begin{rail}
   478     'theory' options name |
   479     'theory' options name |
   479     'thm' options thmrefs |
   480     'thm' options thmrefs |
   480     'prop' options prop |
   481     'prop' options prop |
   481     'term' options term |
   482     'term' options term |
   482     'const' options term |
   483     'const' options term |
       
   484     'abbrev' options term |
   483     'typeof' options term |
   485     'typeof' options term |
   484     'typ' options type |
   486     'typ' options type |
   485     'thm\_style' options name thmref |
   487     'thm\_style' options name thmref |
   486     'term\_style' options name term |
   488     'term\_style' options name term |
   487     'text' options name |
   489     'text' options name |
   515 \item [$\at\{prop~\phi\}$] prints a well-typed proposition $\phi$.
   517 \item [$\at\{prop~\phi\}$] prints a well-typed proposition $\phi$.
   516 
   518 
   517 \item [$\at\{term~t\}$] prints a well-typed term $t$.
   519 \item [$\at\{term~t\}$] prints a well-typed term $t$.
   518 
   520 
   519 \item [$\at\{const~c\}$] prints a well-defined constant $c$.
   521 \item [$\at\{const~c\}$] prints a well-defined constant $c$.
       
   522   
       
   523 \item [$\at\{abbrev~c\,\vec x\}$] prints a constant abbreviation
       
   524   $c\,\vec x \equiv rhs$ as defined in the current context.
   520 
   525 
   521 \item [$\at\{typeof~t\}$] prints the type of a well-typed term $t$.
   526 \item [$\at\{typeof~t\}$] prints the type of a well-typed term $t$.
   522 
   527 
   523 \item [$\at\{typ~\tau\}$] prints a well-formed type $\tau$.
   528 \item [$\at\{typ~\tau\}$] prints a well-formed type $\tau$.
   524   
   529