aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorMatthieu Sozeau2014-05-26 13:58:56 +0200
committerMatthieu Sozeau2014-05-26 14:16:26 +0200
commit15999903f875f4b5dbb3d5240d2ca39acc3cd777 (patch)
tree9906d3cf7d95d4d3f0e996811aa429532b825f0d /tactics
parentd8176e6baaa33692ed82b9ac3c6e57e85f51dff0 (diff)
- Fix in kernel conversion not folding the universe constraints
correctly when comparing stacks. - Disallow Type i <= Prop/Set constraints, that would otherwise allow constraints that make a universe lower than Prop. - Fix stm/lemmas that was pushing constraints to the global context, it is done depending on the constant/variable polymorphic status now. - Adapt generalized rewriting in Type code to these fixes.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tactics.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 8ed8f18566..8fe0a68933 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -1286,7 +1286,6 @@ let specialize (c,lbind) g =
let flags = { (default_unify_flags ()) with resolve_evars = true } in
let clause = clenv_unify_meta_types ~flags clause in
let (thd,tstack) = whd_nored_stack clause.evd (clenv_value clause) in
- let nargs = List.length tstack in
let rec chk = function
| [] -> []
| t::l -> if occur_meta t then [] else t :: chk l