doc-src/Intro/gate2.thy
author blanchet
Fri Apr 30 09:36:45 2010 +0200 (2010-04-30)
changeset 36569 3a29eb7606c3
parent 105 216d6ed87399
permissions -rw-r--r--
added "no_atp" for theorems that are automatically used or included by Sledgehammer when appropriate (about combinators and fequal)
     1 Gate2 = FOL +
     2 consts  "~&"     :: "[o,o] => o" (infixl 35)
     3         "#"      :: "[o,o] => o" (infixl 30)
     4         If       :: "[o,o,o] => o"       ("if _ then _ else _")
     5 rules   nand_def "P ~& Q == ~(P & Q)"    
     6         xor_def  "P # Q  == P & ~Q | ~P & Q"
     7         If_def   "if P then Q else R == P&Q | ~P&R"
     8 end