summaryrefslogtreecommitdiff
path: root/coq.ml
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2013-12-05 07:55:11 +0100
committerGravatar Stephane Glondu <steph@glondu.net>2013-12-05 07:55:11 +0100
commita77bca84565b26aeedec3b210d761240d9d261f4 (patch)
treebfa74f2072f5522cf27cb8e076e2d8ef4a4b69e6 /coq.ml
parent7242d756645c923803c1ffe130be41114c25185a (diff)
Imported Upstream version 0.4upstream/0.4
Diffstat (limited to 'coq.ml')
-rw-r--r--coq.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/coq.ml b/coq.ml
index 7371913..132fbf7 100644
--- a/coq.ml
+++ b/coq.ml
@@ -148,6 +148,8 @@ module Leibniz = struct
let path = ["Coq"; "Init"; "Logic"]
let eq_refl = lazy (init_constant path "eq_refl")
let eq_refl ty x = lapp eq_refl [| ty;x|]
+ let eq ty = Term.mkApp (init_constant path "eq", [| ty |])
+
end
module Option = struct