src/HOLCF/Discrete0.ML
author wenzelm
Sat, 23 Dec 2000 22:50:39 +0100
changeset 10733 59f82484e000
parent 5068 fb28eaa07e01
child 12030 46d57d0290a2
permissions -rw-r--r--
hide type node item;

(*  Title:      HOLCF/Discrete0.ML
    ID:         $Id$
    Author:     Tobias Nipkow
    Copyright   1997 TUM

Proves that 'a discr is a po
*)

Goalw [less_discr_def] "(x::('a::term)discr) << x";
by (rtac refl 1);
qed "less_discr_refl";

Goalw [less_discr_def]
  "!!x. [| (x::('a::term)discr) << y; y << z |] ==> x <<  z";
by (etac trans 1);
by (assume_tac 1);
qed "less_discr_trans";

Goalw [less_discr_def]
  "!!x. [| (x::('a::term)discr) << y; y << x |] ==> x=y";
by (assume_tac 1);
qed "less_discr_antisym";