aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
authorMatthieu Sozeau2016-06-29 11:55:31 +0200
committerMatthieu Sozeau2016-06-29 11:55:31 +0200
commit5e979cf6020eea9fa0feaa77c7436a29443e35db (patch)
tree7f2d28d1bfb9dfb72788b434ecada5603afecb57 /stm
parent58b6784fee71a16719bc4f268dc42830c06a5c63 (diff)
parent40ee96a0392fbc0945c48b5b134aa1be36f86225 (diff)
Merge branch 'bug4527' into trunk
Diffstat (limited to 'stm')
-rw-r--r--stm/lemmas.ml5
1 files changed, 5 insertions, 0 deletions
diff --git a/stm/lemmas.ml b/stm/lemmas.ml
index 50dceb8e6b..6b78ce72cc 100644
--- a/stm/lemmas.ml
+++ b/stm/lemmas.ml
@@ -465,6 +465,11 @@ let start_proof_com kind thms hook =
let recguard,thms,snl = look_for_possibly_mutual_statements thms in
let evd, nf = Evarutil.nf_evars_and_universes !evdref in
let thms = List.map (fun (n, (t, info)) -> (n, (nf t, info))) thms in
+ let () =
+ match levels with
+ | None -> ()
+ | Some l -> ignore (Evd.universe_context evd ?names:l)
+ in
let evd =
if pi2 kind then evd
else (* We fix the variables to ensure they won't be lowered to Set *)