diff options
author | David Aspinall <da@inf.ed.ac.uk> | 2007-12-13 12:59:41 +0000 |
---|---|---|
committer | David Aspinall <da@inf.ed.ac.uk> | 2007-12-13 12:59:41 +0000 |
commit | e825be01903ffed4af4d04b4c2fc41052ecafd91 (patch) | |
tree | 4087a41937aa035b4f7dd9651295a51ffc9303c3 /etc/coq | |
parent | f916f8a84abd57b8cdd3ef7bc54c96b88c268076 (diff) |
Renamed file
Diffstat (limited to 'etc/coq')
-rw-r--r-- | etc/coq/utf8-sample.v | 22 |
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 |