diff options
| author | Matthieu Sozeau | 2014-06-20 12:16:20 +0200 |
|---|---|---|
| committer | Matthieu Sozeau | 2014-06-20 12:16:20 +0200 |
| commit | 8b90dc406730123640f186c8b39f6329a3f434a4 (patch) | |
| tree | 41d1a2787829d40d2acdce394be8c5df2408d07b /tactics | |
| parent | dbe87dc85d7bd1c7d597a7a6ee00ffc1b70948ad (diff) | |
Add an e_type_of to avoid losing universe constraints.
Diffstat (limited to 'tactics')
| -rw-r--r-- | tactics/inv.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tactics/inv.ml b/tactics/inv.ml index 0ff6b69a5c..dc88795216 100644 --- a/tactics/inv.ml +++ b/tactics/inv.ml @@ -123,6 +123,7 @@ let make_inv_predicate env evd indf realargs id status concl = let refl_term = eqdata.Coqlib.refl in let refl_term = Evarutil.evd_comb1 (Evd.fresh_global env) evd refl_term in let refl = mkApp (refl_term, [|eqnty; rhs|]) in + let _ = Evarutil.evd_comb1 (Typing.e_type_of env) evd refl in let args = refl :: args in build_concl eqns args (succ n) restlist in |
