doc-src/Intro/prod.thy
author wenzelm
Mon Oct 01 21:19:50 2007 +0200 (2007-10-01)
changeset 24803 38577b4b1fde
parent 105 216d6ed87399
permissions -rw-r--r--
Norbert Schirmer: record improvements;
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