doc-src/Intro/gate2.thy
changeset 105 216d6ed87399
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/doc-src/Intro/gate2.thy	Wed Nov 10 05:06:55 1993 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +Gate2 = FOL +
     1.5 +consts  "~&"     :: "[o,o] => o" (infixl 35)
     1.6 +        "#"      :: "[o,o] => o" (infixl 30)
     1.7 +        If       :: "[o,o,o] => o"       ("if _ then _ else _")
     1.8 +rules   nand_def "P ~& Q == ~(P & Q)"    
     1.9 +        xor_def  "P # Q  == P & ~Q | ~P & Q"
    1.10 +        If_def   "if P then Q else R == P&Q | ~P&R"
    1.11 +end