src/HOLCF/Sprod1.ML
author paulson
Wed Jul 05 16:37:52 2000 +0200 (2000-07-05)
changeset 9248 e1dee89de037
parent 9245 428385c4bc50
child 12030 46d57d0290a2
permissions -rw-r--r--
massive tidy-up: goal -> Goal, remove use of prems, etc.
slotosch@2640
     1
(*  Title:      HOLCF/Sprod1.ML
nipkow@243
     2
    ID:         $Id$
clasohm@1461
     3
    Author:     Franz Regensburger
nipkow@243
     4
    Copyright   1993  Technische Universitaet Muenchen
nipkow@243
     5
nipkow@243
     6
*)
nipkow@243
     7
nipkow@243
     8
(* ------------------------------------------------------------------------ *)
nipkow@243
     9
(* less_sprod is a partial order on Sprod                                   *)
nipkow@243
    10
(* ------------------------------------------------------------------------ *)
nipkow@243
    11
paulson@9248
    12
Goalw [less_sprod_def]"(p::'a ** 'b) << p";
paulson@9245
    13
by (fast_tac (HOL_cs addIs [refl_less]) 1);
paulson@9245
    14
qed "refl_less_sprod";
nipkow@243
    15
paulson@9248
    16
Goalw [less_sprod_def]
paulson@9245
    17
        "[|(p1::'a ** 'b) << p2;p2 << p1|] ==> p1=p2";
paulson@9245
    18
by (rtac Sel_injective_Sprod 1);
paulson@9245
    19
by (fast_tac (HOL_cs addIs [antisym_less]) 1);
paulson@9245
    20
by (fast_tac (HOL_cs addIs [antisym_less]) 1);
paulson@9245
    21
qed "antisym_less_sprod";
nipkow@243
    22
paulson@9248
    23
Goalw [less_sprod_def]
paulson@9245
    24
        "[|(p1::'a**'b) << p2;p2 << p3|] ==> p1 << p3";
paulson@9248
    25
by (blast_tac (HOL_cs addIs [trans_less]) 1);
paulson@9245
    26
qed "trans_less_sprod";