aboutsummaryrefslogtreecommitdiffhomepage
path: root/etc/coq
diff options
context:
space:
mode:
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