doc-src/Intro/bool_nat.thy
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 105 216d6ed87399
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
     1 BoolNat = Arith +
     2 types   bool,nat    0
     3 arities bool,nat    :: arith
     4 consts  Suc         :: "nat=>nat"
     5 rules   add0        "0 + n = n::nat"
     6         addS        "Suc(m)+n = Suc(m+n)"
     7         nat1        "1 = Suc(0)"
     8         or0l        "0 + x = x::bool"
     9         or0r        "x + 0 = x::bool"
    10         or1l        "1 + x = 1::bool"
    11         or1r        "x + 1 = 1::bool"
    12 end