File: Example2.ML

package info (click to toggle)
proofgeneral 3.5-4.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 8,120 kB
  • ctags: 3,972
  • sloc: lisp: 34,872; makefile: 452; sh: 323; perl: 205; ansic: 43
file content (15 lines) | stat: -rw-r--r-- 343 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(*
    Example proof script for Isabelle Proof General.

    Example2.ML,v 8.0 2004/04/17 23:40:00 da Exp

    Same as Example.ML, except using X-Symbol input tokens.
*)

Goal "A \\<and> B \\<longrightarrow> B \\<and> A";
  by (rtac impI 1);
  by (etac conjE 1);
  by (rtac conjI 1);
  by (assume_tac 1);
  by (assume_tac 1);
qed "and_comms";