doc-src/Intro/prod.thy
author wenzelm
Wed, 13 Aug 2008 20:57:16 +0200
changeset 27848 eda38d6e55da
parent 105 216d6ed87399
permissions -rw-r--r--
removed obsolete theorems; handle generic XML markup as well (plain <markup> instead of <... class=markup>); misc tuning/update according to Pure/Generic/markup.ML;

Prod = FOL +
types   "*" 2                                 (infixl 20)
arities "*"     :: (term,term)term
consts  fst     :: "'a * 'b => 'a"
        snd     :: "'a * 'b => 'b"
        Pair    :: "['a,'b] => 'a * 'b"       ("(1<_,/_>)")
rules   fst     "fst(<a,b>) = a"
        snd     "snd(<a,b>) = b"
end