doc-src/Intro/arith.thy
author wenzelm
Wed, 29 Apr 1998 11:26:59 +0200
changeset 4852 58b5006d36cc
parent 105 216d6ed87399
permissions -rw-r--r--
replaced thy_setup by 'setup' section; adapted to new PureThy.add_axioms / PureThy.add_defs; added 'nonterminals' section;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
105
216d6ed87399 Initial revision
lcp
parents:
diff changeset
     1
Arith = FOL +
216d6ed87399 Initial revision
lcp
parents:
diff changeset
     2
classes arith < term
216d6ed87399 Initial revision
lcp
parents:
diff changeset
     3
consts  "0"     :: "'a::arith"                  ("0")
216d6ed87399 Initial revision
lcp
parents:
diff changeset
     4
        "1"     :: "'a::arith"                  ("1")
216d6ed87399 Initial revision
lcp
parents:
diff changeset
     5
        "+"     :: "['a::arith,'a] => 'a"       (infixl 60)
216d6ed87399 Initial revision
lcp
parents:
diff changeset
     6
end