aboutsummaryrefslogtreecommitdiffhomepage
path: root/isa/Example.ML
blob: 57733a488aad3827935729fba33ee583389733a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(*  -*- isa -*-

    Example proof script for Isabelle Proof General.

    $Id$

    The line at the top of this comment forces 
    Proof General's classic Isabelle mode
    (instead of Isar: you can't use both at once).
*)

Goal "A & B --> B & A";
  by (rtac impI 1);
  by (etac conjE 1);
  by (rtac conjI 1);
  by (assume_tac 1);
  by (assume_tac 1);
qed "and_comms";