Partly reverting r14539 about fully expanding "let-in"s and not just expanding them up to the last Var/Rel they are aliased to.
Partly reverting r14539 about fully expanding "let-in"s and not just
expanding them up to the last Var/Rel they are aliased to.

The analysis made in r14539 about ill-typed pattern-unification in bug
however, when abstracting over a "let-in" (in solve_pattern_eqn), the
alias must be preserved for ensuring the correctness of typing.

In short, "let-in"s are back considered for pattern-unification as
constants of which we don't want to know the content but
solve_pattern_eqn now takes into account that they have a value.

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

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