doc-src/TutorialI/Misc/document/types.tex
changeset 11457 279da0358aa9
parent 11456 7eb63f63e6c6
child 11866 fbd097aec213
equal deleted inserted replaced
11456:7eb63f63e6c6 11457:279da0358aa9
    27 \noindent%
    27 \noindent%
    28 Here \commdx{defs} is a keyword and
    28 Here \commdx{defs} is a keyword and
    29 \isa{nand{\isacharunderscore}def} and \isa{xor{\isacharunderscore}def} are user-supplied names.
    29 \isa{nand{\isacharunderscore}def} and \isa{xor{\isacharunderscore}def} are user-supplied names.
    30 The symbol \indexboldpos{\isasymequiv}{$IsaEq} is a special form of equality
    30 The symbol \indexboldpos{\isasymequiv}{$IsaEq} is a special form of equality
    31 that must be used in constant definitions.
    31 that must be used in constant definitions.
       
    32 Pattern-matching is not allowed: each definition must be of
       
    33 the form $f\,x@1\,\dots\,x@n~\isasymequiv~t$.
       
    34 Section~\ref{sec:Simp-with-Defs} explains how definitions are used
       
    35 in proofs.
       
    36 
    32 A \commdx{constdefs} command combines the effects of \isacommand{consts} and 
    37 A \commdx{constdefs} command combines the effects of \isacommand{consts} and 
    33 \isacommand{defs}.  For instance, we can introduce \isa{nand} and \isa{xor} by a 
    38 \isacommand{defs}.  For instance, we can introduce \isa{nand} and \isa{xor} by a 
    34 single command:%
    39 single command:%
    35 \end{isamarkuptext}%
    40 \end{isamarkuptext}%
    36 \isacommand{constdefs}\ nor\ {\isacharcolon}{\isacharcolon}\ gate\isanewline
    41 \isacommand{constdefs}\ nor\ {\isacharcolon}{\isacharcolon}\ gate\isanewline