aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/coq
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-13 12:59:41 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-12-13 12:59:41 +0000
commite825be01903ffed4af4d04b4c2fc41052ecafd91 (patch)
tree4087a41937aa035b4f7dd9651295a51ffc9303c3 /etc/coq
parentf916f8a84abd57b8cdd3ef7bc54c96b88c268076 (diff)
Renamed file
Diffstat (limited to 'etc/coq')
-rw-r--r--etc/coq/utf8-sample.v22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/coq/utf8-sample.v b/etc/coq/utf8-sample.v
new file mode 100644
index 00000000..caa82a0e
--- /dev/null
+++ b/etc/coq/utf8-sample.v
@@ -0,0 +1,22 @@
+(* -*- coding: utf-8; -*- *)
+
+Add LoadPath "/usr/lib/coq/ide".
+Require Import utf8.
+
+(* Printing of unicode notation, in *goals* *)
+Lemma test : forall A:Prop, A -> A.
+auto.
+Qed.
+
+(* Parsing of unicode notation, in *goals* *)
+Lemma test2 : ∀ A:Prop, A → A.
+intro.
+intro.
+auto.
+Qed.
+
+(* Printing of unicode notation, in *response* *)
+Check (fun (X:Set)(x:X) => x).
+
+(* Parsing of unicode notation, in *response* *)
+Check (∀A, A→A). \ No newline at end of file