src/HOLCF/Discrete0.ML
author slotosch
Sun May 25 11:07:52 1997 +0200 (1997-05-25)
changeset 3323 194ae2e0c193
parent 3018 e65b60b28341
child 5068 fb28eaa07e01
permissions -rw-r--r--
eliminated the constant less by the introduction of the axclass sq_ord
added explicit type ::'a::po in the following theorems:
minimal2UU,antisym_less_inverse,box_less,not_less2not_eq,monofun_pair
and dist_eqI (in domain-package)
added instances
instance fun :: (term,sq_ord)sq_ord
instance "->" :: (term,sq_ord)sq_ord
instance "**" :: (sq_ord,sq_ord)sq_ord
instance "*" :: (sq_ord,sq_ord)sq_ord
instance "++" :: (pcpo,pcpo)sq_ord
instance u :: (sq_ord)sq_ord
instance lift :: (term)sq_ord
instance discr :: (term)sq_ord
     1 (*  Title:      HOLCF/Discrete0.ML
     2     ID:         $Id$
     3     Author:     Tobias Nipkow
     4     Copyright   1997 TUM
     5 
     6 Proves that 'a discr is a po
     7 *)
     8 
     9 goalw thy [less_discr_def] "(x::('a::term)discr) << x";
    10 by (rtac refl 1);
    11 qed "less_discr_refl";
    12 
    13 goalw thy [less_discr_def]
    14   "!!x. [| (x::('a::term)discr) << y; y << z |] ==> x <<  z";
    15 by (etac trans 1);
    16 by (assume_tac 1);
    17 qed "less_discr_trans";
    18 
    19 goalw thy [less_discr_def]
    20   "!!x. [| (x::('a::term)discr) << y; y << x |] ==> x=y";
    21 by (assume_tac 1);
    22 qed "less_discr_antisym";