doc-src/Intro/prod.thy
author wenzelm
Thu Jul 14 19:28:24 2005 +0200 (2005-07-14)
changeset 16842 5979c46853d1
parent 105 216d6ed87399
permissions -rw-r--r--
tuned;
lcp@105
     1
Prod = FOL +
lcp@105
     2
types   "*" 2                                 (infixl 20)
lcp@105
     3
arities "*"     :: (term,term)term
lcp@105
     4
consts  fst     :: "'a * 'b => 'a"
lcp@105
     5
        snd     :: "'a * 'b => 'b"
lcp@105
     6
        Pair    :: "['a,'b] => 'a * 'b"       ("(1<_,/_>)")
lcp@105
     7
rules   fst     "fst(<a,b>) = a"
lcp@105
     8
        snd     "snd(<a,b>) = b"
lcp@105
     9
end