aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/omega
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-03-31 23:20:25 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2017-04-01 02:34:24 +0200
commit3df2431a80f9817ce051334cb9c3b1f465bffb60 (patch)
treedb9ec5c21eeae52bb9bc4b391e261496835f03bc /plugins/omega
parentce029533a1f0fc6ac9e28d162350a64446522246 (diff)
Actually exporting delayed universes in the EConstr implementation.
For now we only normalize sorts, and we leave instances for the next commit.
Diffstat (limited to 'plugins/omega')
-rw-r--r--plugins/omega/coq_omega.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omega/coq_omega.ml b/plugins/omega/coq_omega.ml
index adf926958..a2016cb03 100644
--- a/plugins/omega/coq_omega.ml
+++ b/plugins/omega/coq_omega.ml
@@ -1714,7 +1714,7 @@ let onClearedName2 id tac =
end })
let rec is_Prop sigma c = match EConstr.kind sigma c with
- | Sort (Prop Null) -> true
+ | Sort s -> Sorts.is_prop (ESorts.kind sigma s)
| Cast (c,_,_) -> is_Prop sigma c
| _ -> false