aboutsummaryrefslogtreecommitdiffhomepage
path: root/hol98/example.sml
blob: c0f90e1a87a0d1e41374c8e9386792aa512a3fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(*
    Example proof script for HOL Proof General.

    $Id$
*)    

g `A /\ B ==> B /\ A`;
e DISCH_TAC;
e CONJ_TAC;
e (IMP_RES_TAC AND_INTRO_THM);
e (IMP_RES_TAC AND_INTRO_THM);
val and_comms = top_thm(); drop();

(* this is not quite like proofs in the other systems, 
   can anyone tell me a more similar proof in HOL? 
   I want to split the IMP_RES_TAC into two steps.  *)