Explain the transformation rewrite
attempts step by step
#232
Labels
doc-request
Request for missing documenation
rewrite
attempts step by step
#232
What question should the reference manual answer?
How does the
rewrite
tactic proceed? Which steps would I perform if I were to do it manually?Additional context
The improved error message "error: tactic 'rewrite' failed, motive is not type correct" is really helpful and contains the explanation I was looking for (reformatted for better presentation):
Perhaps some of this wisdom could be added to the reference manual entry for
rewrite
. This improved entry could include the example from test casemotiveNotTypeCorrect
and perhaps exemplify the workarounds.The text was updated successfully, but these errors were encountered: