setoid_replace E1 with E2
setoid_replace E1 with E2

now replaces E1 with E2 either generating the goal E1 R E2
or the goal E2 R E1 (as expected).

Note: the relation R is guessed when more than one is applicable.
This is not very nice, since it can guess the wrong one.

Since making the tactic compute R requires much code refactoring, I
would suggest the user to always use cutrewrite in place of setoid_rewrite.


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

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