From e825be01903ffed4af4d04b4c2fc41052ecafd91 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Thu, 13 Dec 2007 12:59:41 +0000 Subject: Renamed file --- etc/coq/utf8-sample.v | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 etc/coq/utf8-sample.v (limited to 'etc') 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 -- cgit v1.2.3