aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isa/Example2.ML15
1 files changed, 15 insertions, 0 deletions
diff --git a/isa/Example2.ML b/isa/Example2.ML
new file mode 100644
index 00000000..5d904930
--- /dev/null
+++ b/isa/Example2.ML
@@ -0,0 +1,15 @@
+(*
+ Example proof script for Isabelle Proof General.
+
+ $Id$
+
+ 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";