Fixed two bugs in pattern-matching compilation - first bug was a missing lift when the return predicate was assumed to be   a simple evar - second problem was in the inference of a custom inversion predicate in   case of matching on a term in a constrained type (like "vect (S n)"):   the rel bound to local definitions in the instance of evars where   instantiated (by other evars) which is wrong per se but which contradicted   the assumptions of find_projectable_vars in evarutil.ml which assumed that   this did not occur; solved the problem by not instantiating references to   local definition which (probably) will not loose some opportunity of   unification in presence of non unfolded local definitions, ... - also cleaned a bit prepare_predicate
Fixed two bugs in pattern-matching compilation
- first bug was a missing lift when the return predicate was assumed to be
  a simple evar
- second problem was in the inference of a custom inversion predicate in
  case of matching on a term in a constrained type (like "vect (S n)"):
  the rel bound to local definitions in the instance of evars where
  instantiated (by other evars) which is wrong per se but which contradicted
  the assumptions of find_projectable_vars in evarutil.ml which assumed that
  this did not occur; solved the problem by not instantiating references to
  local definition which (probably) will not loose some opportunity of
  unification in presence of non unfolded local definitions, ...
- also cleaned a bit prepare_predicate

git-svn-id: 44dc50bdcc0f5d1a212c497508dc9452e0b35e2b@13112 85f007b7-540e-0410-9357-904b9bb8a0f7

william-lawvere/coq,maximedenes/coq,pirapira/coq2rust,SkySkimmer/coq,jhjourdan/coq,aspiwack/coq,pirapira/coq2rust,coq/coq,ale-f/coq,pirapira/coq2rust,JasonGross/coq,maximedenes/coq,jpdeplaix/coq,Matafou/coq,gares/coq,jpdeplaix/coq,mlasson/coq,JasonGross/coq,SkySkimmer/coq,aspiwack/coq,letouzey/coq-wip,letouzey/coq-wip,TheTypoMaster/coq,Zimmi48/coq,gmalecha/coq,jpdeplaix/coq,Matafou/coq,Zimmi48/coq,maximedenes/coq,SkySkimmer/coq,TOSPIO/coq,Lionel-Rieg/coq,maximedenes/coq,william-lawvere/coq,8l/coq,tomprince/coq,coq/coq,gmalecha/coq,william-lawvere/coq,Lionel-Rieg/coq,TOSPIO/coq,mattam82/Coq-misc,ppedrot/coq,mattam82/coq,shindere/coq,gares/coq,Ptival/coq,Ptival/coq,ejgallego/coq,silene/coq,tomprince/coq,barras/coq,pirbo/coq,asr/coq,asr/coq,Ptival/coq,jhjourdan/coq,JasonGross/coq,ppedrot/coq,pirbo/coq,herbelin/coq-hh,amintimany/coq,gmalecha/coq,gares/coq,ppedrot/coq,gares/coq,letouzey/coq-wip,ejgallego/coq,8l/coq,herbelin/github-coq,TheTypoMaster/coq,pirbo/coq,shindere/coq,herbelin/coq-hh,herbelin/github-coq,mattam82/coq,silene/coq,barras/coq,shindere/coq,amintimany/coq,gares/coq,letouzey/coq-wip,Lionel-Rieg/coq,ale-f/coq,ejgallego/coq,mattam82/Coq-misc,jhjourdan/coq,SkySkimmer/coq,TOSPIO/coq,ppedrot/coq,JasonGross/coq,tomprince/coq,8l/coq,mlasson/coq,silene/coq,ale-f/coq,coq/coq,ppedrot/coq,aspiwack/coq,mattam82/coq,herbelin/github-coq,letouzey/coq-wip,Zimmi48/coq,Matafou/coq,TheTypoMaster/coq,asr/coq,maximedenes/coq,mlasson/coq,barras/coq,Zimmi48/coq,ejgallego/coq,amintimany/coq,coq/coq