src/HOL/ex/LexProd.thy
author paulson
Mon, 29 Jul 1996 18:31:39 +0200
changeset 1893 fa58f4a06f21
parent 1476 608483c2122a
permissions -rw-r--r--
Works up to main theorem, then XXX...X

(*  Title:      HOL/ex/lex-prod.thy
    ID:         $Id$
    Author:     Tobias Nipkow, TU Munich
    Copyright   1993  TU Munich

The lexicographic product of two relations.
*)

LexProd = WF + Prod +
consts "**" :: "[('a*'a)set, ('b*'b)set] => (('a*'b)*('a*'b))set" (infixl 70)
rules
lex_prod_def "ra**rb == {p. ? a a' b b'. 
        p = ((a,b),(a',b')) & ((a,a') : ra | a=a' & (b,b') : rb)}"
end