aboutsummaryrefslogtreecommitdiff
path: root/isa/Example.ML
diff options
context:
space:
mode:
Diffstat (limited to 'isa/Example.ML')
-rw-r--r--isa/Example.ML13
1 files changed, 13 insertions, 0 deletions
diff --git a/isa/Example.ML b/isa/Example.ML
new file mode 100644
index 00000000..929c7ad8
--- /dev/null
+++ b/isa/Example.ML
@@ -0,0 +1,13 @@
+(*
+ Example proof script for Isabelle Proof General.
+
+ $Id$
+*)
+
+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";