ex/lexprod.thy
author lcp
Wed, 01 Dec 1993 13:05:25 +0100
changeset 22 17b6487e1ac7
parent 0 7949f97df77a
permissions -rw-r--r--
HOL/llist/LList_corec_subset1: does not need induction

(*  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