doc-src/Tutorial/Misc/ConstDefs.thy
changeset 15339 a7b603bbc1e6
parent 15338 08519594b0e4
child 15340 cd18d7b73a64
equal deleted inserted replaced
15338:08519594b0e4 15339:a7b603bbc1e6
     1 ConstDefs = Types +
       
     2 constdefs nand :: gate
       
     3          "nand A B == ~(A & B)"
       
     4           exor :: gate
       
     5          "exor A B == A & ~B | ~A & B"
       
     6 end