22 \end{isamarkuptext}% |
22 \end{isamarkuptext}% |
23 \isacommand{defs}\ nand{\isacharunderscore}def{\isacharcolon}\ {\isachardoublequote}nand\ A\ B\ {\isasymequiv}\ {\isasymnot}{\isacharparenleft}A\ {\isasymand}\ B{\isacharparenright}{\isachardoublequote}\isanewline |
23 \isacommand{defs}\ nand{\isacharunderscore}def{\isacharcolon}\ {\isachardoublequote}nand\ A\ B\ {\isasymequiv}\ {\isasymnot}{\isacharparenleft}A\ {\isasymand}\ B{\isacharparenright}{\isachardoublequote}\isanewline |
24 \ \ \ \ \ exor{\isacharunderscore}def{\isacharcolon}\ {\isachardoublequote}exor\ A\ B\ {\isasymequiv}\ A\ {\isasymand}\ {\isasymnot}B\ {\isasymor}\ {\isasymnot}A\ {\isasymand}\ B{\isachardoublequote}% |
24 \ \ \ \ \ exor{\isacharunderscore}def{\isacharcolon}\ {\isachardoublequote}exor\ A\ B\ {\isasymequiv}\ A\ {\isasymand}\ {\isasymnot}B\ {\isasymor}\ {\isasymnot}A\ {\isasymand}\ B{\isachardoublequote}% |
25 \begin{isamarkuptext}% |
25 \begin{isamarkuptext}% |
26 \noindent% |
26 \noindent% |
27 where \isacommand{defs}\indexbold{*defs} is a keyword and \isa{nand_def} and |
27 where \isacommand{defs}\indexbold{*defs} is a keyword and |
28 \isa{exor_def} are user-supplied names. |
28 \isa{nand{\isacharunderscore}def} and \isa{exor{\isacharunderscore}def} are user-supplied names. |
29 The symbol \indexboldpos{\isasymequiv}{$IsaEq} is a special form of equality |
29 The symbol \indexboldpos{\isasymequiv}{$IsaEq} is a special form of equality |
30 that must be used in constant definitions. |
30 that must be used in constant definitions. |
31 Declarations and definitions can also be merged% |
31 Declarations and definitions can also be merged% |
32 \end{isamarkuptext}% |
32 \end{isamarkuptext}% |
33 \isacommand{constdefs}\ nor\ {\isacharcolon}{\isacharcolon}\ gate\isanewline |
33 \isacommand{constdefs}\ nor\ {\isacharcolon}{\isacharcolon}\ gate\isanewline |
34 \ \ \ \ \ \ \ \ \ {\isachardoublequote}nor\ A\ B\ {\isasymequiv}\ {\isasymnot}{\isacharparenleft}A\ {\isasymor}\ B{\isacharparenright}{\isachardoublequote}\isanewline |
34 \ \ \ \ \ \ \ \ \ {\isachardoublequote}nor\ A\ B\ {\isasymequiv}\ {\isasymnot}{\isacharparenleft}A\ {\isasymor}\ B{\isacharparenright}{\isachardoublequote}\isanewline |
35 \ \ \ \ \ \ \ \ \ \ exor\isadigit{2}\ {\isacharcolon}{\isacharcolon}\ gate\isanewline |
35 \ \ \ \ \ \ \ \ \ \ exor\isadigit{2}\ {\isacharcolon}{\isacharcolon}\ gate\isanewline |
36 \ \ \ \ \ \ \ \ \ {\isachardoublequote}exor\isadigit{2}\ A\ B\ {\isasymequiv}\ {\isacharparenleft}A\ {\isasymor}\ B{\isacharparenright}\ {\isasymand}\ {\isacharparenleft}{\isasymnot}A\ {\isasymor}\ {\isasymnot}B{\isacharparenright}{\isachardoublequote}% |
36 \ \ \ \ \ \ \ \ \ {\isachardoublequote}exor\isadigit{2}\ A\ B\ {\isasymequiv}\ {\isacharparenleft}A\ {\isasymor}\ B{\isacharparenright}\ {\isasymand}\ {\isacharparenleft}{\isasymnot}A\ {\isasymor}\ {\isasymnot}B{\isacharparenright}{\isachardoublequote}% |
37 \begin{isamarkuptext}% |
37 \begin{isamarkuptext}% |
38 \noindent\indexbold{*constdefs}% |
38 \noindent\indexbold{*constdefs}% |
39 in which case the default name of each definition is \isa{$f$_def}, where |
39 in which case the default name of each definition is $f$\isa{{\isacharunderscore}def}, where |
40 $f$ is the name of the defined constant.% |
40 $f$ is the name of the defined constant.% |
41 \end{isamarkuptext}% |
41 \end{isamarkuptext}% |
42 \end{isabellebody}% |
42 \end{isabellebody}% |
43 %%% Local Variables: |
43 %%% Local Variables: |
44 %%% mode: latex |
44 %%% mode: latex |