aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2000-04-04 17:37:38 +0000
committerDavid Aspinall2000-04-04 17:37:38 +0000
commit2de776e12a4cdc1db0f47d2cc3ca1df968709b36 (patch)
tree0bd395c6f46e08295a96730563bf9c490abd823f
parent71ff892b0d2e29441997e31b80bce7b99175b41e (diff)
Save as Example.ML, except using X-Symbol input tokens.
-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";