src/HOLCF/Discrete0.ML
author paulson
Wed Apr 23 11:02:19 1997 +0200 (1997-04-23)
changeset 3018 e65b60b28341
parent 2841 c2508f4ab739
child 3323 194ae2e0c193
permissions -rw-r--r--
Ran expandshort
     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] "less (x::('a::term)discr) x";
    10 by (rtac refl 1);
    11 qed "less_discr_refl";
    12 
    13 goalw thy [less_discr_def]
    14   "!!x. [| less (x::('a::term)discr) y; less y z |] ==> less 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. [| less (x::('a::term)discr) y; less y x |] ==> x=y";
    21 by (assume_tac 1);
    22 qed "less_discr_antisym";