src/HOLCF/sprod1.thy
author wenzelm
Thu Aug 27 20:46:36 1998 +0200 (1998-08-27)
changeset 5400 645f46a24c72
parent 243 c22b85994e17
permissions -rw-r--r--
made tutorial first;
nipkow@243
     1
(*  Title: 	HOLCF/sprod1.thy
nipkow@243
     2
    ID:         $Id$
nipkow@243
     3
    Author: 	Franz Regensburger
nipkow@243
     4
    Copyright   1993  Technische Universitaet Muenchen
nipkow@243
     5
nipkow@243
     6
Partial ordering for the strict product
nipkow@243
     7
*)
nipkow@243
     8
nipkow@243
     9
Sprod1 = Sprod0 +
nipkow@243
    10
nipkow@243
    11
consts
nipkow@243
    12
  less_sprod	:: "[('a ** 'b),('a ** 'b)] => bool"	
nipkow@243
    13
nipkow@243
    14
rules
nipkow@243
    15
nipkow@243
    16
  less_sprod_def "less_sprod(p1,p2) == @z.\
nipkow@243
    17
\	 ( p1=Ispair(UU,UU) --> z = True)\
nipkow@243
    18
\	&(~p1=Ispair(UU,UU) --> z = (   Isfst(p1) << Isfst(p2) &\
nipkow@243
    19
\					Issnd(p1) << Issnd(p2)))"
nipkow@243
    20
nipkow@243
    21
end
nipkow@243
    22